/*
Theme Name: Jeffrey X Guntly: Friends and Flames
Theme URI: https://github.com/jxburros/jxgffsite
Author: Jeffrey X Guntly
Description: Release site for the single Friends and Flames: countdown, pre-save and verified streaming links, blog, contact and socials, lyric teasers and bio, plus an unlisted password-protected listening room and EPK. In the constructivist-screenprint look of the single's cover. Everything is edited in Appearance > Customize > Friends and Flames.
Version: 1.5.2
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jxg-ff
*/

/* Anton (SIL Open Font License 1.1, see assets/fonts/OFL.txt): the brand's display voice, for headings, labels and buttons. */
@font-face {
	font-family: "Anton";
	src: url("assets/fonts/anton.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
/* Archivo (SIL Open Font License 1.1, see assets/fonts/OFL-Archivo.txt): running text, forms and fine print. */
@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	color-scheme: light;
	--paper: #efe6d2;
	--surface: #e4d9c2;
	--ink: #141414;
	--flame: #d4241c;       /* display sizes only: 4.2:1 on paper */
	--flame-text: #b51d16;  /* small red text and button fills */
	--navy: #1b2a41;
	--wood: #d2a465;
	--shadow: 6px 7px 0 rgba(20, 20, 20, 0.4);
	--gutter: clamp(16px, 5vw, 72px);
	--max: 1240px;
	/* Side margin that puts full-width blocks on the same left edge as the --max sections' content. */
	--edge: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
	--display: "Anton", "Oswald", "Arial Narrow", Impact, sans-serif;
	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .08 0 0 0 0 .08 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

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

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

body {
	margin: 0;
	background: var(--paper) var(--grain);
	color: var(--ink);
	font-family: var(--font);
	font-size: clamp(18px, 0.6vw + 13px, 20px);
	line-height: 1.55;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
/* Only the outer element of an inline SVG: the emblem nests sized <svg> elements that must keep their size. */
.emblem, .site-header__dots { display: block; max-width: 100%; height: auto; }

a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--flame-text); }
:focus-visible { outline: 3px solid var(--flame-text); outline-offset: 3px; }

p { margin: 0 0 1em; }

h1, h2, h3 { font-weight: 400; margin: 0; line-height: 0.95; letter-spacing: 0.04em; text-transform: uppercase; }

.accent { color: var(--flame-text); }

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }

/* Show one of a pair depending on whether the single is out (the body class is kept current by site.js). */
.is-pre .when-out, .is-out .when-pre { display: none !important; }

/* ---------- Shared pieces ---------- */

.name-lockup {
	display: inline-flex;
	flex-direction: column;
	font-size: 1em;
	line-height: 0.92;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink);
}

.kicker {
	margin: 0 0 0.6em;
	color: var(--flame-text);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.95em;
}

.section__title {
	font-size: clamp(42px, 6vw, 76px);
	color: var(--navy);
	margin-bottom: 0.45em;
}

.section__lede { color: var(--navy); max-width: 46ch; }

/* The tilted two-line title: the first word red with a paper outline and a hard shadow, the rest on a navy bar. */
.title-block {
	--size: clamp(58px, 15vw, 132px);
	display: block;
	/* Rotating about the bottom-left corner lifts the right end by about half a line: leave room above. */
	margin: calc(var(--size) * 0.45) 0 0.4em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 0.88;
	transform: rotate(-8deg);
	transform-origin: left bottom;
}
.title-block__top {
	display: block;
	font-size: var(--size);
	color: var(--flame);
	-webkit-text-stroke: calc(var(--size) * 0.05) var(--paper);
	paint-order: stroke fill;
	text-shadow: calc(var(--size) * 0.03) calc(var(--size) * 0.035) 0 rgba(20, 20, 20, 0.4);
	position: relative;
	z-index: 1;
	padding-left: 0.12em;
}
.title-block__bar {
	display: block;
	background: var(--navy);
	color: var(--paper);
	font-size: calc(var(--size) * 0.79);
	padding: 0.1em 0.25em 0.08em 0.18em;
	margin: -0.12em calc(var(--gutter) * -1 - 40px) 0 -0.08em;
	position: relative;
}
.title-block__bar > span { display: inline-block; white-space: nowrap; }

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	min-height: 52px;
	padding: 0.45em 1.1em;
	border: 3px solid var(--navy);
	background: transparent;
	color: var(--navy);
	font: inherit;
	font-size: 1.05em;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.button:hover { color: var(--paper); background: var(--navy); }
.button:active { transform: translate(4px, 5px); box-shadow: 2px 2px 0 rgba(20, 20, 20, 0.4); }
.button--flame { background: var(--flame-text); border-color: var(--flame-text); color: var(--paper); font-size: 1.25em; }
.button--flame:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button--navy { background: var(--navy); color: var(--paper); }
.button--navy:hover { background: var(--ink); border-color: var(--ink); }
.button--small { min-height: 44px; font-size: 0.9em; padding: 0.3em 0.9em; box-shadow: 4px 5px 0 rgba(20, 20, 20, 0.4); }

.link-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 16px; }
.link-list--buttons .link-list__item {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0.35em 1em;
	border: 3px solid var(--ink);
	background: var(--paper);
	color: var(--ink);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	box-shadow: 4px 5px 0 rgba(20, 20, 20, 0.35);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.link-list--buttons .link-list__item:hover { background: var(--ink); color: var(--paper); }
.link-list--buttons .link-list__item:active { transform: translate(3px, 4px); box-shadow: 1px 1px 0 rgba(20, 20, 20, 0.35); }
.link-list--navy .link-list__item { border-color: var(--navy); color: var(--navy); }
.link-list--navy .link-list__item:hover { background: var(--navy); color: var(--paper); }
.link-list--plain { gap: 6px 22px; }
.link-list--plain .link-list__item { color: inherit; text-transform: uppercase; letter-spacing: 0.06em; }

/* The flame full stop: the emblem's flame and facet (same paths as assets/img/emblem.svg), cap-height tall. */
.flame-mark {
	display: inline-block;
	width: 0.42em;
	height: 0.72em;
	margin-left: 0.28em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 380' preserveAspectRatio='none'%3E%3Cpath d='M110 0 L220 235.6 L176 380 L44 380 L0 235.6 Z' fill='%23d4241c'/%3E%3Cpath d='M164 190 L164 380 L75.4 380 Z' fill='%23efe6d2'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	vertical-align: baseline;
}

.notice { border-left: 6px solid var(--flame-text); background: var(--surface); padding: 0.6em 1em; color: var(--navy); }

.emblem { width: 100%; height: auto; overflow: visible; }
.emblem [data-layer="flame"], .emblem [data-layer="flame-facet"] {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: flicker 2.6s ease-in-out infinite;
}
@keyframes flicker {
	0%, 100% { transform: scale(1, 1); }
	30% { transform: scale(0.97, 1.04); }
	55% { transform: scale(1.02, 0.97); }
	80% { transform: scale(0.99, 1.02); }
}

/* ---------- Header ---------- */

.site-header {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--max);
	margin: 0 auto;
	padding: 28px var(--gutter) 0;
}
.site-header__name { text-decoration: none; font-size: clamp(26px, 3vw, 36px); }
.site-header__name .name-lockup::after {
	content: "";
	display: block;
	width: 2.1em;
	height: 4px;
	margin-top: 0.35em;
	background: var(--navy);
}
.site-header__actions { display: flex; align-items: center; gap: 22px; margin-right: clamp(0px, 9vw, 120px); }
.site-header__shop { color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--flame); }
.site-header__shop[aria-current] { color: var(--flame-text); }
.site-header__dots { position: absolute; top: 22px; right: var(--gutter); width: 74px; }
@media (max-width: 600px) {
	.site-header__dots { display: none; }
	.site-header__actions { margin-right: 0; gap: 14px; }
}

/* ---------- Home ---------- */

.hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(40px, 6vw, 72px);
	align-items: center;
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 110px);
}
@media (min-width: 960px) {
	.hero { grid-template-columns: 1.05fr 0.95fr; }
}
.hero__text { min-width: 0; }
.hero, .room, .epk__head { overflow-x: clip; } /* the title bar runs off the edge */
.hero__cover { margin: 0; position: relative; }
.hero__cover img { box-shadow: 12px 14px 0 rgba(20, 20, 20, 0.35); transform: rotate(1.5deg); }
.hero__credit {
	position: absolute;
	right: -14px;
	top: 0;
	writing-mode: vertical-rl;
	transform: translateX(100%);
	color: var(--navy);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.85em;
}
@media (max-width: 1100px) { .hero__credit { position: static; writing-mode: initial; transform: none; margin-top: 22px; } }

.countdown { margin: 2.2em 0 1.6em; }
.countdown__label { margin: 0 0 0.3em; color: var(--flame-text); text-transform: uppercase; letter-spacing: 0.1em; }
.countdown__units {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: 560px;
	margin: 0;
	padding: 0;
	border-top: 6px solid var(--ink);
	border-bottom: 3px solid var(--navy);
}
.countdown__units li {
	display: flex;
	flex-direction: column;
	padding: 0.25em 0 0.35em 0.4em;
	border-left: 3px solid var(--navy);
}
.countdown__units li:first-child { border-left: 0; padding-left: 0; }
.countdown__units span {
	font-size: clamp(46px, 7.4vw, 92px);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}
.countdown__units small { color: var(--navy); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8em; }
.countdown__date { margin: 0.6em 0 0; color: var(--navy); text-transform: uppercase; letter-spacing: 0.08em; }

.out-now { font-size: clamp(54px, 9vw, 120px); line-height: 1; color: var(--ink); text-transform: uppercase; margin: 0.5em 0 0.3em; }
.hero__cta { margin: 1.6em 0 0; }

.section {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(56px, 8vw, 104px) var(--gutter);
	position: relative;
}
.section + .section::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	width: 120px;
	height: 6px;
	background: var(--navy);
}

.presave {
	max-width: none;
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
	background: var(--navy) var(--grain);
	color: var(--paper);
	padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
	padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.section.presave::before, .presave + .section::before { display: none; }
@media (min-width: 860px) { .presave { grid-template-columns: minmax(220px, 0.7fr) 1.3fr; } }
.presave__art { max-width: 380px; width: 96px; margin: 0; }
@media (min-width: 860px) { .presave__art { width: 100%; margin: 0 auto; } }
.presave .section__title { color: var(--paper); }
.presave .section__lede { color: var(--surface); max-width: 46ch; }
.presave .link-list { margin-top: 22px; }
.presave .link-list--buttons .link-list__item { background: transparent; border-color: var(--paper); color: var(--paper); box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.45); }
.presave .link-list--buttons .link-list__item:hover { background: var(--paper); color: var(--navy); }
.presave .button--flame { box-shadow: 6px 7px 0 rgba(0, 0, 0, 0.45); }

.song { display: grid; gap: clamp(40px, 6vw, 72px); padding-bottom: clamp(32px, 4vw, 48px); }
@media (min-width: 960px) { .song { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.song__about p { max-width: 42ch; font-size: 1.05em; }

.lyrics {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px;
}
.lyric {
	background: var(--surface);
	border: 3px solid var(--ink);
	box-shadow: var(--shadow);
	transform: rotate(var(--tilt, 0deg));
	/* One fixed size, locked or revealed, so the grid never shifts when a card strikes. */
	height: 250px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.lyric__strip {
	margin: 0;
	padding: 0.35em 0.8em;
	background: var(--flame-text);
	color: var(--paper);
	font-size: 0.68em;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.lyric__text {
	margin: 0;
	padding: 0.7em 0.8em 0.9em;
	font-size: clamp(26px, 2.2vw, 32px);
	line-height: 1.02;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--navy);
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
/* One inline run, so the flame follows the last word instead of becoming its own flex row. */
.lyric__words { display: block; }
.lyric__last { white-space: nowrap; }
.lyric__text .flame-mark { display: inline-block; }
.lyric--locked { background: var(--ink); }
.lyric--locked .lyric__text {
	color: var(--paper);
	background: repeating-linear-gradient(-45deg, transparent 0 9px, rgba(212, 36, 28, 0.25) 9px 11px);
}

.bio__text { max-width: 60ch; font-size: 1.08em; }
.bio__follow { font-size: 1.1em; color: var(--flame-text); letter-spacing: 0.1em; margin: 1.6em 0 0.8em; }

/* ---------- Player: a match that burns down as it plays ---------- */

.player {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 18px 22px;
	max-width: 720px;
}
.player__play {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	border: 6px solid var(--flame);
	background: var(--ink);
	color: var(--paper);
	display: grid;
	place-items: center;
	cursor: pointer;
	padding: 0;
	box-shadow: 0 0 0 3px var(--paper);
}
.player__play:hover { background: var(--flame-text); }
.player__icon { width: 34px; height: 34px; fill: currentColor; }
.player__icon--pause, .player.is-playing .player__icon--play { display: none; }
.player.is-playing .player__icon--pause { display: block; }

.player__match {
	position: relative;
	height: 48px;
	cursor: pointer;
	touch-action: none;
}
.player__stick, .player__burnt {
	position: absolute;
	left: 0;
	top: 50%;
	height: 14px;
	margin-top: -7px;
	border-radius: 3px;
}
.player__stick { right: 0; background: var(--wood); box-shadow: 0 0 0 3px var(--paper); }
.player__burnt {
	width: var(--progress, 0%);
	background: linear-gradient(90deg, #2a2522, var(--ink) 92%, #5a1a12);
}
.player__spark {
	position: absolute;
	top: 50%;
	left: var(--progress, 0%);
	width: 26px;
	height: 44px;
	margin: -36px 0 0 -13px;
	color: var(--flame);
	pointer-events: none;
	filter: drop-shadow(0 0 6px rgba(212, 36, 28, 0.55));
}
.player__spark svg { width: 100%; height: 100%; }
.player.is-playing .player__spark { animation: flicker 0.9s ease-in-out infinite; transform-origin: 50% 100%; }
.player__time { font-variant-numeric: tabular-nums; letter-spacing: 0.06em; min-width: 6.5ch; text-align: right; }
@media (max-width: 520px) {
	.player { grid-template-columns: auto 1fr; }
	.player__time { grid-column: 2; text-align: left; margin-top: -10px; }
}

/* ---------- Shop (Shopify Buy Button, rendered in the page) ---------- */

.shop { margin-top: 1.4em; }
.shop__loading { color: var(--navy); }
.shop__nav { display: flex; flex-wrap: wrap; gap: 0.4em 1.4em; margin: 0 0 2em; }
.shop__nav a { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--flame-text); }
.shop__nav a:hover, .shop__nav a:focus-visible { color: var(--flame-text); }
.shop__nav a[hidden], .shop__collection[hidden] { display: none; }
.shop__collection { margin-top: 2.6em; scroll-margin-top: 1em; }
.shop__collection:first-of-type { margin-top: 0; }
.shop__collection-title { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 0.6em; }
.shop__error { border-left: 6px solid var(--flame-text); padding-left: 0.8em; }
.shop .shopify-buy__collection-products,
.shop .shopify-buy__product-set,
.shop [data-shop-products] > .shopify-buy__collection,
.shop .shopify-buy__collection {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 32px 28px;
}
.shop .shopify-buy__collection-products { grid-column: 1 / -1; }
.shop .shopify-buy__product {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: auto !important;
	margin: 0 !important;
	padding: 14px 14px 18px;
	background: var(--surface);
	border: 3px solid var(--ink);
	box-shadow: var(--shadow);
	font-family: var(--display);
}
.shop .shopify-buy__product[hidden] { display: none; }
.shop [data-shop-details] { cursor: pointer; }
.shop .shopify-buy__product__title[data-shop-details]:hover { color: var(--flame-text); }
.shop [data-shop-details]:focus-visible { outline: 3px solid var(--flame-text); outline-offset: 3px; }
.shop .shopify-buy__product-img-wrapper img,
.shop .shopify-buy__product__variant-img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--paper); }
.shop .shopify-buy__product__title {
	margin: 4px 0 0;
	/* Room for two lines, so every price starts on the same line whatever the title length. */
	min-height: 2.1em;
	font-size: 1.3em;
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink);
}
.shop .shopify-buy__product__price { color: var(--navy); letter-spacing: 0.06em; }
.shop .shopify-buy__price--compare { text-decoration: line-through; margin-right: 0.4em; opacity: 0.7; }
.shop .shopify-buy__option-select { display: grid; gap: 4px; }
.shop .shopify-buy__option-select__label { color: var(--flame-text); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75em; }
.shop .shopify-buy__option-select__select,
.shopify-buy__quantity {
	width: 100%;
	min-height: 44px;
	padding: 0 10px;
	border: 2px solid var(--ink);
	border-radius: 0;
	background: var(--paper);
	color: var(--ink);
	font: inherit;
}
.shopify-buy__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	width: 100%;
	margin-top: auto;
	padding: 0.4em 1em;
	border: 0;
	border-radius: 0;
	background: var(--flame-text);
	color: var(--paper);
	font-family: var(--display);
	font-size: 1.05em;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}
.shopify-buy__btn:hover, .shopify-buy__btn:focus-visible { background: var(--ink); }
.shopify-buy__btn[disabled], .shopify-buy__btn-disabled { background: #6b6358; cursor: not-allowed; }
.shopify-buy__btn--parent { margin-top: 8px; }
.shop .shopify-buy__btn-wrapper { margin-top: auto; }
.shop .shopify-buy__btn.shopify-buy__btn--next,
.shop .shopify-buy__collection-pagination-button { grid-column: 1 / -1; justify-self: start; width: auto; background: var(--navy); }
.shop .shopify-buy__select-icon { display: none; }
.shop .shopify-buy__option-select-wrapper { position: relative; }
.shop .shopify-buy__collection-pagination-button:not(.is-active) { display: none; }
.shop .visuallyhidden, .shopify-buy__visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.shop-section__all { margin-top: 2em; }
.shop-page__title { font-size: clamp(56px, 9vw, 120px); }
.shop-page__notes { margin-top: 3em; }

/* ---------- Time-boxed notices ---------- */

/* Radio play: a navy strip under the header on every public page until release. */
.radio-notice {
	display: grid;
	grid-template-columns: clamp(96px, 14vw, 170px) minmax(0, 1fr);
	gap: clamp(14px, 3vw, 32px);
	align-items: center;
	max-width: calc(var(--max) - 2 * var(--gutter));
	margin: 24px var(--gutter) 0;
	padding: clamp(16px, 3vw, 26px) clamp(16px, 3vw, 30px);
	background: var(--navy) var(--grain);
	color: var(--paper);
	box-shadow: var(--shadow);
}
@media (min-width: 1240px) { .radio-notice { margin-left: auto; margin-right: auto; } }
.radio-notice__mark { width: 100%; }
.radio-notice__kicker { margin: 0 0 0.3em; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.08em; color: var(--wood); }
.radio-notice__text { margin: 0 0 0.8em; max-width: 62ch; }
.radio-notice a:not(.button) { color: var(--paper); }
.radio-notice a:not(.button):hover { color: var(--wood); }
.radio-notice__links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.radio-notice .button:not(.button--flame) { border-color: var(--paper); color: var(--paper); box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.45); }
.radio-notice .button:not(.button--flame):hover { background: var(--paper); color: var(--navy); }
@media (max-width: 520px) {
	.radio-notice { grid-template-columns: 1fr; }
	.radio-notice__art { width: 96px; }
}

/* October donation: pledge and disclaimer at the top of the shop. */
.donation-notice {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(14px, 3vw, 32px);
	align-items: start;
	margin: 0 0 2.5em;
	padding: clamp(18px, 3vw, 30px);
	border: 4px solid var(--ink);
	background: var(--surface);
	box-shadow: var(--shadow);
}
.donation-notice__amount {
	margin: 0;
	font-family: var(--display);
	font-size: clamp(64px, 11vw, 132px);
	line-height: 0.9;
	color: var(--flame);
	transform: rotate(-8deg);
}
.donation-notice__title { font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; color: var(--navy); margin-bottom: 0.5em; }
.donation-notice__body p { max-width: 68ch; }
.donation-notice__fine { margin: 0; padding-top: 0.8em; border-top: 2px solid var(--ink); font-size: 0.9em; }
@media (max-width: 520px) {
	.donation-notice { grid-template-columns: 1fr; gap: 6px; }
	.donation-notice__amount { font-size: 72px; margin-bottom: 0.35em; }
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--ink) var(--grain);
	color: var(--paper);
	margin-top: clamp(40px, 6vw, 80px);
}
.site-footer__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 56px var(--gutter) 40px;
	display: grid;
	gap: 22px;
}
.site-footer .name-lockup { color: var(--paper); font-size: 40px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--wood); }
.site-footer__credit { text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer__credit .accent { color: #ef5a4c; }
.site-footer__stamp { font-size: 0.75em; letter-spacing: 0.12em; text-transform: uppercase; color: var(--surface); opacity: 0.8; }

/* ---------- Listening room ---------- */

.room {
	max-width: var(--max);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 80px) var(--gutter);
	display: grid;
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}
@media (min-width: 900px) { .room { grid-template-columns: minmax(240px, 0.75fr) 1.25fr; } }
.room__art { max-width: 420px; width: 70%; margin: 0 auto; }
@media (min-width: 900px) { .room__art { width: 100%; } }
.room__body { min-width: 0; }
.room .title-block { --size: clamp(60px, 9vw, 130px); }
.room__lede { font-size: 1.15em; color: var(--navy); max-width: 40ch; margin-top: 1.4em; }
.room__note { margin: 1.6em 0; padding: 0.8em 1em; border: 3px solid var(--flame-text); background: var(--surface); max-width: 60ch; }
.room__note p:last-child { margin: 0; }
.room .player { margin: 1.4em 0 1.6em; }
.room__contact { color: var(--navy); }

.gate-form { max-width: 520px; margin-top: 1.2em; }
.gate-form label { display: block; color: var(--flame-text); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.3em; }
.gate-form__row { display: flex; gap: 12px; flex-wrap: wrap; }
.gate-form input {
	flex: 1 1 220px;
	min-height: 56px;
	padding: 0 16px;
	border: 3px solid var(--ink);
	background: var(--paper);
	font: inherit;
	letter-spacing: 0.1em;
	color: var(--ink);
}
.gate-form__error { color: var(--flame-text); margin-top: 0.8em; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 1.6em 0; border-top: 3px solid var(--navy); }
.facts > div { padding: 0.6em 0.8em 0.7em 0; border-bottom: 1px solid rgba(27, 42, 65, 0.3); }
.facts dt { color: var(--flame-text); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75em; }
.facts dd { margin: 0.1em 0 0; color: var(--ink); text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.1em; }

/* ---------- EPK ---------- */

.epk { max-width: var(--max); margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter) 0; }
.epk__head { display: grid; gap: 40px; align-items: center; padding-bottom: 32px; }
@media (min-width: 900px) { .epk__head { grid-template-columns: 1.2fr 0.8fr; } }
.epk__name { font-size: clamp(56px, 9vw, 120px); margin-bottom: 0.4em; }
.epk .title-block { --size: clamp(52px, 7vw, 96px); }
.epk__cover { box-shadow: 12px 14px 0 rgba(20, 20, 20, 0.35); }
.epk__section { padding: clamp(40px, 5vw, 64px) 0; border-top: 6px solid var(--navy); }
.epk__section p { max-width: 64ch; }
.epk__columns { display: grid; gap: 32px; }
@media (min-width: 900px) { .epk__columns { grid-template-columns: 0.8fr 1.2fr; } }
.epk__sub { color: var(--flame-text); font-size: 1em; letter-spacing: 0.1em; margin: 0 0 0.6em; }
.epk__credits { list-style: none; padding: 0; margin: 0; }
.epk__credits li { padding: 0.2em 0; }
.epk .player { margin: 1.4em 0; }
.epk .player__time { color: var(--ink); }
.epk .link-list { margin-top: 18px; }
.epk__photos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.epk__photos a { text-decoration: none; display: grid; gap: 8px; }
.epk__photos img { box-shadow: var(--shadow); }
.epk__email { font-size: clamp(28px, 4vw, 48px); }
.epk__note { margin-top: 1.4em; color: var(--navy); }

.downloads { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.downloads a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 100%;
	padding: 0.7em 0.9em;
	border: 3px solid var(--ink);
	background: var(--surface);
	text-decoration: none;
	color: var(--ink);
	box-shadow: 4px 5px 0 rgba(20, 20, 20, 0.35);
}
.downloads a:hover { background: var(--ink); color: var(--paper); }
.downloads__name { text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.05em; }
.downloads__name::after { content: " \2193"; color: var(--flame-text); }
.downloads__meta { font-size: 0.75em; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }

/* ---------- Plain pages ---------- */

.plain-page { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter); }
.plain-page--404 { text-align: center; }
.plain-page__art { max-width: 260px; margin: 0 auto 32px; }
.entry-content > * { max-width: 68ch; }
.entry-content h2, .entry-content h3 { color: var(--navy); margin: 1.2em 0 0.5em; }
.entry-content blockquote { margin: 1em 0; padding-left: 1em; border-left: 6px solid var(--flame-text); }

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

@media print {
	body { background: #fff; }
	.site-header__cta, .player, .site-header__dots { display: none; }
}

/* Launch sections and navigation. */
[hidden] { display: none !important; }
.site-header__actions { flex-wrap: wrap; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.journal__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 24px; margin: 28px 0; }
.journal__card { padding: 24px; border: 3px solid var(--ink); background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.journal__card h3 { color: var(--navy); line-height: 1.2; overflow-wrap: anywhere; }
.contact a { overflow-wrap: anywhere; }
.plain-page .journal__card { margin: 28px 0; }
@media (max-width: 600px) {
	.site-header { flex-wrap: wrap; gap: 20px; }
	.site-header__actions { width: 100%; justify-content: flex-start; gap: 16px; }
}


/* Separate destinations / release 1.2. */
.contact-page, .bio-page { max-width: var(--max); }
.site-header { align-items: center; }
.site-header__actions { gap: clamp(12px, 2vw, 30px); }
.site-header__shop[aria-current="page"] { color: var(--flame-text); text-decoration: underline; text-underline-offset: 7px; }
.page-masthead { border-bottom: 5px solid var(--ink); margin-bottom: 48px; padding-bottom: 32px; }
.page-masthead h1 { font-size: clamp(50px, 8vw, 110px); max-width: 12ch; color: var(--navy); }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.editorial-grid h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 20px; line-height: 1.08; }
.lead-copy { font-size: clamp(24px, 3vw, 32px); color: var(--navy); }
.bio-page .lead-copy p:not(:first-child) { font-size: clamp(19px, 1.1vw + 14px, 22px); color: var(--ink); }
.entry-content p { max-width: 68ch; }
.release-aside { border: 3px solid var(--ink); padding: 24px; background: var(--surface); box-shadow: var(--shadow); }
.release-aside img { margin-bottom: 24px; }
.bio-page .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.bio-portrait { margin: 0; display: flex; flex-direction: column; border: 3px solid var(--ink); background: var(--navy); box-shadow: var(--shadow); }
.bio-portrait img { flex: 1 1 auto; width: 100%; min-height: 0; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 30%; }
.bio-page .release-aside { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bio-page .release-aside img { margin: 0; }
.bio-page .release-aside__text > :first-child { margin-top: 0; }
.bio-portrait figcaption { padding: 10px 16px; background: var(--ink); color: var(--paper); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; }
.release-aside h2 { line-height: 1.1; }
.bio-socials { margin-top: 64px; border-top: 3px solid var(--ink); padding-top: 32px; }
.bio-socials h2 { margin-bottom: 24px; }
.contact-sidebar { border-top: 12px solid var(--flame); padding: 28px; background: var(--surface); }
.contact-sidebar .link-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.contact-sidebar .link-list__item { display: block; }
.direct-email { margin: 32px 0 0; overflow-wrap: anywhere; }
.newsletter-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding: clamp(24px, 4vw, 56px); border: 4px solid var(--ink); border-top: 12px solid var(--flame); background: var(--surface); margin: 40px var(--edge); box-shadow: var(--shadow); }
.plain-page .newsletter-panel { margin-inline: 0; }
.newsletter-panel h2 { font-size: clamp(38px, 5vw, 62px); margin-bottom: 24px; line-height: 1.05; }
.newsletter-panel p { max-width: 44ch; }
.jxg-form { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.jxg-form label { font-size: 17px; font-weight: 600; }
.jxg-form input:not([type="checkbox"]), .jxg-form select, .jxg-form textarea { width: 100%; min-height: 48px; border: 2px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); padding: 12px; font: 18px/1.5 var(--font); margin-bottom: 12px; box-sizing: border-box; }
.jxg-form textarea { resize: vertical; }
.jxg-form .check-label { display: flex; align-items: start; gap: 12px; font-weight: 400; font: 16px/1.5 var(--font); }
.jxg-form input[type="checkbox"] { width: 22px; height: 22px; flex: 0 0 22px; accent-color: var(--flame-text); margin-top: 2px; }
.jxg-form .button { align-self: start; cursor: pointer; }
.form-fineprint { font: 14px/1.5 var(--font); margin: 8px 0; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { border-left: 6px solid var(--navy); padding: 16px; background: var(--paper); font: 17px/1.5 var(--font); scroll-margin-top: 30px; }
.page-doorways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 64px var(--edge); gap: 20px; }
.page-doorways a { border-top: 4px solid var(--ink); padding: 24px 0; font-size: 32px; line-height: 1.2; text-decoration: none; }
.page-doorways a span:first-child { display: block; font-size: 16px; margin-bottom: 16px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.press-kit h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; }
.press-kit h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.15; margin-bottom: 20px; }
.press-hero { border-bottom: 12px solid var(--flame); padding-bottom: 48px; gap: 40px; }
.press-pitch { font-size: clamp(23px, 3vw, 34px); line-height: 1.3; max-width: 28ch; margin: 28px 0; }
.press-tag { color: var(--flame-text); }
.press-hero figure { margin: 0; min-width: 0; }
.press-hero figcaption { font-size: 14px; margin-top: 14px; }
.press-hero .epk__cover { width: 100%; }
.press-hero .button { font-size: 17px; }
.press-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; padding: 28px 0; border-bottom: 3px solid var(--ink); }
.press-index a { font-size: 18px; }
.press-card { background: var(--surface); border: 2px solid var(--ink); padding: clamp(22px, 3vw, 36px); }
.press-card ul { padding-left: 24px; }
.press-card li { margin-bottom: 16px; }
.booking-card { margin-top: 32px; border-left: 8px solid var(--flame); }
.availability-note { border-left: 5px solid var(--flame); padding: 12px 20px; margin-top: 24px; }
.photo-request { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr; gap: 32px; align-items: center; padding: 32px; border: 3px solid var(--ink); background: var(--surface); }
.photo-request .emblem { width: 220px; max-height: 260px; margin: auto; }
.epk__email { overflow-wrap: anywhere; }
.listening-suite { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(24px, 5vw, 72px) var(--gutter); }
.listening-masthead { isolation: isolate; position: relative; border-bottom: 4px solid var(--ink); padding-bottom: 28px; margin-bottom: 40px; }
.listening-masthead::after { content: ''; position: absolute; inset: -40px 0 0 45%; background: url('assets/img/emblem.svg') center right / contain no-repeat; opacity: .1; pointer-events: none; z-index: -1; }
.listening-masthead .title-block { --size: clamp(58px, 9vw, 110px); font-size: clamp(50px, 9vw, 110px); margin: clamp(52px, 6vw, 84px) 0 40px; }
.listening-masthead .title-block__bar { margin-right: 0; }
.listening-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: center; }
.listening-cover { margin: 0; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.listening-console { background: var(--surface); padding: clamp(24px, 4vw, 40px); border: 3px solid var(--ink); }
.listening-suite h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.1; margin-bottom: 28px; }
.listening-suite h3 { font-size: 28px; line-height: 1.1; margin-bottom: 20px; }
.listening-suite audio[controls] { width: 100%; margin: 20px 0; }
.listening-gate { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.listening-gate .emblem { max-height: 440px; margin: auto; }
.listening-downloads, .listening-background { border-top: 4px solid var(--ink); margin-top: 56px; padding-top: 40px; }
.download-pending { padding: 24px; border: 2px dashed var(--navy); }
.download-pending p { font-size: 18px; }
.listening-background .button-row { margin-top: 28px; }
.journal__card h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.12; }
@media (max-width: 850px) {
 .editorial-grid, .newsletter-panel, .listening-grid, .listening-gate { grid-template-columns: minmax(0, 1fr); }
 .bio-page .release-aside { grid-template-columns: minmax(0, 1fr); gap: 24px; }
 .bio-page .release-aside img { margin-bottom: 0; }
 .bio-portrait img { flex: none; }
 .site-header { flex-wrap: wrap; }
 .site-header__actions { width: 100%; justify-content: start; }
 .site-header__dots { display: none; }
 .page-doorways { grid-template-columns: 1fr; }
 .press-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .press-hero { grid-template-columns: minmax(0, 1fr); }
 .press-hero figure { max-width: 520px; }
 .photo-request { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
 .site-header__actions { column-gap: 16px; row-gap: 12px; }
 .site-header__shop { font-size: 17px; }
 .press-index { grid-template-columns: 1fr; }
 .player { flex-wrap: wrap; }
 .player__time { width: 100%; text-align: right; }
}
@media print {
 .site-header, .site-footer, .press-index, .button-row, .newsletter-panel, .notice, .page-doorways { display: none !important; }
 .epk__head { break-inside: avoid; }
 .press-card, .epk__section { box-shadow: none; }
 .press-kit { padding: 0; }
 .epk__section { break-inside: auto; }
 .epk__contact { color: #141414; background: white; }
}

/* Typography: Anton for display (headings, labels, buttons, numbers); everything else stays in the body face. */
h1, h2, h3, .name-lockup, .kicker, .button, .link-list--buttons .link-list__item, .link-list--plain .link-list__item,
.site-header__shop, .hero__credit, .countdown, .out-now, .title-block, .lyric__strip, .lyric__text, .player__time,
.site-footer__credit, .site-footer__stamp, .facts dt, .facts dd, .downloads__name, .downloads__meta, .page-doorways a,
.press-index a, .press-tag, .bio__follow, .bio-portrait figcaption, .gate-form label, .gate-form input, .epk__email,
.hero__cta, .shopify-buy__btn, .shop__nav a {
	font-family: var(--display);
	font-weight: 400;
}
.button, .link-list--buttons .link-list__item, .site-header__shop, .page-doorways a, .press-index a { line-height: 1.2; }
.button { font-size: 1.1em; }
.button--flame { font-size: 1.3em; }
.button--small { font-size: 0.95em; }
.press-hero .button { font-size: 18px; }
.press-pitch { font-weight: 500; }
.lead-copy { font-weight: 500; line-height: 1.45; }
.bio-page .lead-copy p:not(:first-child) { font-size: 1em; font-weight: 400; }
.section__lede, .song__about p, .newsletter-panel p, .room__note, .press-card, .entry-content { line-height: 1.6; }
.availability-note p { margin: 0 0 0.6em; }
.availability-note .availability-note__link { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0; overflow-wrap: anywhere; }

/* Phones and small tablets: a cover thumbnail next to the kicker, so the art is on the first screen with the title,
   countdown and pre-save button. The hero's text column dissolves into the grid to make that one row. */
@media (max-width: 959px) {
	.hero { grid-template-columns: clamp(96px, 22vw, 180px) minmax(0, 1fr); column-gap: 18px; row-gap: 0; }
	.hero__text { display: contents; }
	.hero__text > * { grid-column: 1 / -1; }
	.hero__cover { grid-column: 1; grid-row: 1; }
	.hero__cover img { box-shadow: 5px 6px 0 rgba(20, 20, 20, 0.35); }
	.hero__credit { display: none; }
	.hero .kicker { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
	.hero .countdown { margin: 1.4em 0 0; }
	.hero__cta { margin-top: 1.4em; }
}
@media (max-width: 600px) {
	/* Stacked buttons at one full width: tidier and easier to tap. */
	.hero__cta { flex-direction: column; gap: 14px; }
	.hero__cta .button, .presave .button { display: flex; width: 100%; }
	.presave .link-list { display: grid; grid-template-columns: minmax(0, 1fr); }
	.presave .link-list--buttons .link-list__item { display: flex; justify-content: center; text-align: center; }
	.presave__art { width: 72px; }
	.lyric { height: 170px; }
}
