/* Tokens, reset, typography, buttons. */
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #17132e;
	--ink-2: #241d47;
	--ink-3: #352c63;
	--red: #d8121f;
	--red-dark: #b00d18;
	--blue: #0f56c9;
	--gold: #f7a823;
	--paper: #fbf7f0;
	--paper-2: #f3ecdf;
	--white: #fff;
	--text: #26223d;
	--muted: #5d5873;
	--line: #e4dccd;
	--on-dark: #e9e6f5;
	--on-dark-muted: #bdb8d6;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 18px 50px rgba(23, 19, 46, .16);
	--font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
	--gutter: 20px;
	--callbar: 0px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	padding-bottom: var(--callbar);
	background: var(--paper);
	color: var(--text);
	font: 400 1.0625rem/1.65 var(--font-body);
	overflow-wrap: break-word;
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
.icon { flex: none; }

h1, h2, h3 {
	margin: 0 0 .5em;
	color: var(--ink);
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
blockquote { margin: 0; }
address { font-style: normal; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }
[id] { scroll-margin-top: 90px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 800px; }

.section { padding-block: clamp(56px, 8vw, 96px); }
.section-lede { max-width: 62ch; color: var(--muted); font-size: 1.125rem; margin-bottom: 2.25rem; }

.eyebrow {
	margin: 0 0 .75rem;
	color: var(--red);
	font: 600 .8rem/1.3 var(--font-mono);
	letter-spacing: .08em;
	text-transform: uppercase;
}
.eyebrow-light { color: var(--gold); }

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	background: var(--ink);
	color: var(--white);
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 10px 20px;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	font: 700 1rem/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { cursor: wait; opacity: .75; transform: none; }
.btn-lg { min-height: 54px; padding-inline: 26px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--paper-2); color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .65); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); color: var(--white); }

/* Generic page content */
.page-body { padding-block: clamp(40px, 6vw, 72px); }
.entry-content h2 { margin-top: 1.6em; font-size: 1.6rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1em 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.post-row { padding-block: 22px; border-bottom: 1px solid var(--line); }
.page-404-list a { color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .ticket { transition: none; }
	.btn:hover, .ticket:hover { transform: none; }
}
