/* A Place for Every Potion — creator & press kit. Palette and type follow the publisher pitch page. */
:root {
	--bg: #0f0b07;
	--panel: #19120b;
	--panel-2: #22190f;
	--line: rgba(243, 231, 201, .12);
	--line-strong: rgba(243, 231, 201, .24);
	--text: #f3e7c9;
	--muted: rgba(243, 231, 201, .68);
	--gold: #e3b25a;
	--gold-bright: #f1c878;
	--ink: #15100b;
	--no: #e0937a;
	--display: "Cinzel", "Trajan Pro", "Times New Roman", serif;
	--sans: "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--radius: 12px;
	--max: 1180px;
}

* { box-sizing: border-box; }

html {
	background: var(--bg);
	scroll-behavior: smooth;
	scroll-padding-top: 76px;
}

body {
	margin: 0;
	color: var(--text);
	background: radial-gradient(circle at 18% 0%, rgba(227, 178, 90, .10), transparent 38rem), var(--bg);
	font: 16px/1.55 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: var(--gold-bright); }
a:hover { color: #fff3d6; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

h1, h2, h3 {
	margin: 0 0 .45em;
	font-family: var(--display);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: .01em;
}
h2 { font-size: clamp(28px, 4.2vw, 40px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.muted { color: var(--muted); }

/* ── Top bar ─────────────────────────────────────────────── */
.topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(15, 11, 7, .88);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	text-decoration: none;
	font-family: var(--display);
	font-weight: 700;
	white-space: nowrap;
}
.brand img { width: 30px; height: 30px; border-radius: 6px; }
.topbar nav {
	display: flex;
	gap: 18px;
	margin-left: auto;
	overflow-x: auto;
	scrollbar-width: none;
}
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a { color: var(--muted); font-size: 14px; text-decoration: none; white-space: nowrap; }
.topbar nav a:hover { color: var(--text); }
@media (max-width: 760px) { .brand span { display: none; } }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: url(hero.jpg) center 30% / cover no-repeat;
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(15, 11, 7, .30) 0%, rgba(15, 11, 7, .62) 55%, var(--bg) 100%);
}
.hero .wrap { padding: 30px 0 48px; text-align: center; }
.hero h1 { margin: 0; }
.hero .logo { width: min(400px, 76%); height: auto; margin: 0 auto; filter: drop-shadow(0 12px 32px rgba(0, 0, 0, .7)); }
.kicker {
	margin: 0 0 14px;
	color: var(--gold);
	font: 700 13px/1.2 var(--sans);
	letter-spacing: .22em;
	text-transform: uppercase;
}
.hero .lede { max-width: 700px; margin: 6px auto 26px; font-size: 18px; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }

.buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
/* The hero's middle button sits on the page's centre line, under the logo, however wide its neighbours are: the outer
   two hug it from either side. Narrow screens keep the wrapping row above. */
@media (min-width: 820px) {
	.hero .buttons { display: grid; grid-template-columns: 1fr auto 1fr; }
	.hero .buttons .btn:first-child { justify-self: end; }
	.hero .buttons .btn:last-child { justify-self: start; }
}
.btn {
	display: inline-flex;
	/* Baseline, not center: centring two text sizes lands them differently in Safari and Chrome. */
	align-items: baseline;
	gap: 8px;
	padding: 12px 18px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	background: rgba(243, 231, 201, .07);
	color: var(--text);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: rgba(243, 231, 201, .13); border-color: var(--gold); color: #fff; }
.btn.primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.primary:hover { background: var(--gold-bright); color: var(--ink); }
/* The size note shares the label's baseline, then drops .02em so its figures centre on the middle of the label's
   lowercase (measured: 0.05 px off, against 0.3 px high on the bare baseline and ~1.5 px high in Safari before). */
.btn small { position: relative; top: .02em; font-weight: 500; opacity: .78; }
.btn.small { padding: 8px 14px; font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 26px; }
.chip {
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(15, 11, 7, .66);
	color: var(--muted);
	font-size: 14px;
}
.chip b { color: var(--text); font-weight: 600; }

/* ── Sections ────────────────────────────────────────────── */
section.block { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 26px; }
.section-head p { max-width: 700px; margin: 0; color: var(--muted); }
.section-head .rule { width: 56px; height: 3px; margin: 12px 0 14px; background: var(--gold); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* ── Trailer ─────────────────────────────────────────────── */
.player { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #000; aspect-ratio: 16 / 9; }
.player video { width: 100%; height: 100%; }
.player + .row { margin-top: 14px; }

/* ── Policy ──────────────────────────────────────────────── */
.policy { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.policy .lead { margin-bottom: 18px; font-size: 19px; font-weight: 600; }
.policy ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.policy li { position: relative; padding-left: 34px; }
.policy li::before { content: "✓"; position: absolute; left: 4px; top: 0; color: var(--gold); font-weight: 800; }
.policy li.note::before { content: "♪"; }
.policy li.date::before { content: "◷"; }
.policy li.link::before { content: "↗"; }
.policy li.no::before { content: "✕"; color: var(--no); }
.policy .meta { margin: 18px 0 0; color: var(--muted); font-size: 14px; }

/* ── Footage & images ────────────────────────────────────── */
.group { margin-top: 44px; }
.group:first-of-type { margin-top: 8px; }
.group-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 20px; margin-bottom: 14px; }
.group-head h3 { margin: 0 0 4px; }
.group-head p { max-width: 640px; margin: 0; color: var(--muted); font-size: 15px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid.tall { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.card .media { position: relative; background: #000; aspect-ratio: 16 / 9; }
.grid.tall .card .media { aspect-ratio: 9 / 16; }
.card .media img, .card .media video { width: 100%; height: 100%; object-fit: cover; }
.card .media.fit { background: var(--panel-2); }
.card .media.fit img { object-fit: contain; padding: 10px; }
.card .media.checker { background: repeating-conic-gradient(#2a2016 0% 25%, #211910 0% 50%) 50% / 22px 22px; }
.card .media.checker img { object-fit: contain; padding: 14px; }

.play { position: absolute; inset: 0; display: block; }
.play::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 54px;
	height: 54px;
	margin: -27px 0 0 -27px;
	border: 1px solid rgba(243, 231, 201, .4);
	border-radius: 50%;
	background: rgba(15, 11, 7, .66) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f3e7c9' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 22px no-repeat;
	transition: transform .15s, background-color .15s;
}
.play:hover::after { transform: scale(1.08); background-color: rgba(227, 178, 90, .8); }
.badge {
	position: absolute;
	right: 8px;
	bottom: 8px;
	padding: 2px 7px;
	border-radius: 6px;
	background: rgba(0, 0, 0, .74);
	color: var(--text);
	font: 600 12px/1.5 var(--sans);
	pointer-events: none;
}

.card .body { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.card .title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.card .sub { margin-top: -4px; color: var(--muted); font-size: 13px; }
.links { display: flex; flex-wrap: wrap; gap: 8px; }
.links a {
	padding: 4px 10px;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	color: var(--text);
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
}
.links a:hover { border-color: var(--gold); color: #fff; }

/* ── Fact sheet ──────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px; }
@media (max-width: 880px) { .facts { grid-template-columns: 1fr; } }
dl.factlist {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 10px 18px;
	margin: 0;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--panel);
}
dl.factlist dt { color: var(--muted); }
dl.factlist dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) {
	dl.factlist { grid-template-columns: 1fr; gap: 2px; }
	dl.factlist dd { margin-bottom: 10px; }
}
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; margin: 18px 0 24px; }
.numbers div { padding: 12px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); text-align: center; }
.numbers b { display: block; color: var(--gold-bright); font: 700 26px/1.2 var(--display); }
.numbers span { color: var(--muted); font-size: 13px; }
.prose h3 { margin-top: 22px; }
.prose ul { margin: 0; padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* ── Tips ────────────────────────────────────────────────── */
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tip { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.tip ul { display: grid; gap: 9px; margin: 0; padding-left: 18px; }
.tip b { color: var(--text); }

/* ── Contact & footer ────────────────────────────────────── */
.contact { text-align: center; }
.contact p { max-width: 620px; margin-inline: auto; color: var(--muted); }
.contact .email {
	display: inline-block;
	margin: 6px 0 22px;
	color: var(--gold-bright);
	font: 700 clamp(22px, 4.4vw, 34px)/1.2 var(--sans);
	text-decoration: none;
	overflow-wrap: anywhere;
}
.contact .buttons { margin-top: 4px; }
footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; text-align: center; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
