/* =========================================================================
   This Child Changes Everything
   Built by City2Forest
   ========================================================================= */

:root {
	--bg: #06152D;            /* Midnight Heaven */
	--surface: #102C52;       /* Bethlehem Blue */
	--sky: #37689B;           /* Starlight Blue */
	--gold: #F3C66D;          /* Heavenly Gold */
	--gold-deep: #D9A94A;
	--glow: #FFF0C2;          /* Radiant Light */
	--text: #F8F1E5;          /* Sacred Ivory */
	--muted: #B9CBE0;         /* Winter Mist */
	--line: rgba(243, 198, 109, 0.28);
	--card: rgba(16, 44, 82, 0.55);
	--card-border: rgba(185, 203, 224, 0.14);

	--font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--font-label: "Cinzel", Georgia, serif;
	--font-body: "Montserrat", Arial, Helvetica, sans-serif;

	--max-w: 1120px;
	--narrow-w: 820px;
	--nav-h: 72px;
	--radius: 6px;
	--radius-lg: 14px;
	--pad-y: 88px;
	--pad-x: 32px;
	--ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (max-width: 768px) {
	:root {
		--pad-y: 56px;
		--pad-x: 20px;
		--nav-h: 64px;
	}
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 12px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg,
video,
iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--glow); }

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 2px;
}

p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }

::selection { background: var(--gold); color: var(--bg); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 1000;
	background: var(--gold);
	color: var(--bg);
	padding: 10px 16px;
	border-radius: var(--radius);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
	width: 100%;
	max-width: calc(var(--max-w) + var(--pad-x) * 2);
	margin: 0 auto;
	padding: 0 var(--pad-x);
}
.wrap--narrow { max-width: calc(var(--narrow-w) + var(--pad-x) * 2); }

/* ---------- Star + divider ---------- */
.star { width: 14px; height: 14px; fill: var(--gold); flex: none; }

.divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin: 0 auto;
	max-width: 360px;
}
.divider span {
	height: 1px;
	flex: 1;
	background: linear-gradient(90deg, transparent, var(--gold));
}
.divider span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.divider .star { width: 18px; height: 18px; filter: drop-shadow(0 0 6px rgba(255, 240, 194, 0.55)); }

/* ---------- Typography helpers ---------- */
.label {
	font-family: var(--font-label);
	font-weight: 500;
	font-size: 0.8rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 14px;
}
.label a { color: inherit; text-decoration: none; }

.section-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2.2rem, 4.6vw, 3.4rem);
	line-height: 1.08;
	color: var(--text);
	margin-bottom: 18px;
	letter-spacing: 0.005em;
}

.lead {
	font-size: clamp(1.02rem, 1.4vw, 1.14rem);
	color: var(--muted);
	max-width: 60ch;
}

.mini-title {
	font-family: var(--font-label);
	font-weight: 500;
	font-size: 0.78rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 28px 0 12px;
}

.fine { font-size: 0.88rem; color: var(--muted); margin-top: 16px; }

.prose { color: var(--muted); }
.prose p { margin-bottom: 1.15em; }
.prose em { color: var(--text); }
.prose h2, .prose h3 { font-family: var(--font-display); color: var(--text); margin: 1.4em 0 0.5em; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.6rem; }
.prose a { color: var(--gold); }
.prose img { border-radius: var(--radius); }

.text-link {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 600; font-size: 0.92rem; text-decoration: none;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	border-radius: var(--radius);
	border: 1px solid var(--gold);
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn .icon { flex: none; }
.btn--gold {
	background: var(--gold);
	color: var(--bg);
	box-shadow: 0 6px 24px rgba(243, 198, 109, 0.18);
}
.btn--gold:hover { background: var(--glow); color: var(--bg); box-shadow: 0 8px 30px rgba(255, 240, 194, 0.3); transform: translateY(-1px); }
.btn--ghost { background: rgba(6, 21, 45, 0.25); color: var(--text); }
.btn--ghost:hover { background: rgba(243, 198, 109, 0.12); color: var(--glow); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.78rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--nav-h);
	transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
	background: rgba(6, 21, 45, 0.92);
	box-shadow: 0 1px 0 var(--card-border);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header.is-over-hero:not(.is-scrolled) {
	background: transparent;
	box-shadow: none;
}
.site-header.is-scrolled {
	background: rgba(6, 21, 45, 0.86);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.site-header__inner {
	height: 100%;
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 var(--pad-x);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	text-decoration: none;
	font-family: var(--font-display);
	font-size: 1.3rem;
	font-weight: 600;
	white-space: nowrap;
}
.brand em { font-style: normal; color: var(--gold); }
.brand__star { width: 18px; height: 18px; fill: var(--gold); filter: drop-shadow(0 0 6px rgba(255, 240, 194, 0.5)); }
.site-header.is-over-hero:not(.is-scrolled) .brand { opacity: 0; pointer-events: none; }
.brand { transition: opacity 0.4s var(--ease); }

.site-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.site-nav a:not(.btn) {
	display: block;
	padding: 10px 12px;
	color: var(--text);
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: var(--radius);
	position: relative;
}
.site-nav a:not(.btn)::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 4px;
	height: 1px;
	background: var(--gold);
	transform: scaleX(0);
	transition: transform 0.3s var(--ease);
}
.site-nav a:not(.btn):hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--gold); }
.site-nav__cta { margin-left: 10px; }

.nav-toggle {
	display: none;
	position: relative;
	z-index: 201;
	width: 46px; height: 46px;
	border: 0;
	border-radius: 8px;
	background: rgba(6, 21, 45, 0.45);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	color: var(--text);
	cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 6px; justify-items: center; }
.nav-toggle__bars span {
	display: block;
	width: 24px; height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-grid; place-items: center; }
	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 200;
		background: radial-gradient(ellipse at 50% 0%, rgba(55, 104, 155, 0.35), transparent 60%), var(--bg);
		display: flex;
		align-items: center;
		justify-content: center;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.35s var(--ease), visibility 0.35s;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; }
	.site-nav ul { flex-direction: column; gap: 6px; text-align: center; }
	.site-nav a:not(.btn) { font-family: var(--font-display); font-size: 1.9rem; text-transform: none; letter-spacing: 0; font-weight: 600; }
	.site-nav__cta { margin: 18px 0 0; }
	.site-header.is-over-hero:not(.is-scrolled) .brand { opacity: 1; pointer-events: auto; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
	.brand__text em { display: none; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	height: 90vh;
	height: 90svh;
	min-height: 600px;
	max-height: 1200px;
	overflow: hidden;
	isolation: isolate;
	background: var(--bg);
	display: grid;
	place-items: start center;
}

.hero__scene { position: absolute; inset: 0; z-index: -1; }
.hero__fallback,
.hero__fallback img,
.hero__layer {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 50%;
}
.hero__layer--star { filter: brightness(1.3); transform: translate3d(0, calc(var(--py, 0px) + var(--star-shift, 0px)), 0) scale(1.04) !important; }
.hero.is-placed .hero__content { padding-top: var(--title-top, 180px); }
.hero__layer {
	transform: translate3d(0, var(--py, 0px), 0) scale(1.04);
	transform-origin: center center;
	will-change: transform;
	opacity: 0;
	transition: opacity 0.9s var(--ease);
}
.hero__fallback img { transform: scale(1.04); }
.hero.has-layers .hero__layer { opacity: 1; }
.hero.has-layers .hero__layer--star { opacity: 0; }
.hero.has-layers.is-in .hero__layer--star { animation: star-in 1.6s var(--ease) 0.25s forwards; }
.hero__fallback img { filter: none; }
.hero.has-layers.is-in .hero__fallback { opacity: 0; transition: opacity 0.9s var(--ease) 0.2s; }

@keyframes star-in {
	0% { opacity: 0; filter: brightness(0.6); }
	60% { opacity: 1; filter: brightness(1.6); }
	100% { opacity: 1; filter: brightness(1.3); }
}

.hero__veil {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 34% at 50% 44%, rgba(6, 21, 45, 0.55), rgba(6, 21, 45, 0) 70%),
		linear-gradient(180deg, rgba(6, 21, 45, 0.55) 0%, rgba(6, 21, 45, 0) 18%, rgba(6, 21, 45, 0) 62%, rgba(6, 21, 45, 0.55) 84%, var(--bg) 100%);
}

.hero__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	/* The star sits at roughly min(28.5% of the hero, 50% of the hero minus 14.6vw); start the title just under it. */
	padding: max(120px, calc(min(25.6svh, 45svh - 14.6vw) + 84px)) var(--pad-x) clamp(48px, 9svh, 110px);
}

.hero__title {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 0.98;
	margin: 0 0 22px;
	text-shadow: 0 2px 24px rgba(6, 21, 45, 0.6);
}
.hero__line { display: block; }
.hero__line--1 { color: var(--text); font-size: clamp(46px, min(6.6vw, 11svh), 96px); }
.hero__line--2 { color: var(--gold); font-size: clamp(36px, min(5.9vw, 9.8svh), 86px); }

.hero__divider { width: min(420px, 80%); max-width: none; }
.hero__subtitle {
	margin: 18px 0 0;
	font-family: var(--font-body);
	font-size: clamp(0.78rem, 1.15vw, 0.98rem);
	font-weight: 500;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	color: var(--text);
	padding-left: 0.42em; /* balance the trailing letter-spacing */
	text-shadow: 0 1px 12px rgba(6, 21, 45, 0.8);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: auto; }
.hero__actions .btn--ghost { background: rgba(6, 21, 45, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hero__actions .btn { box-shadow: 0 10px 30px rgba(6, 21, 45, 0.45); }

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	width: 28px; height: 44px;
	border: 1px solid rgba(248, 241, 229, 0.5);
	border-radius: 16px;
}
.hero__scroll span {
	position: absolute;
	left: 50%; top: 9px;
	width: 3px; height: 8px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: var(--gold);
	animation: scroll-dot 2.4s var(--ease) infinite;
}
@keyframes scroll-dot {
	0% { opacity: 0; transform: translateY(0); }
	30% { opacity: 1; }
	80% { opacity: 0; transform: translateY(14px); }
	100% { opacity: 0; }
}

/* Entrance: only when JS is running, so the hero is never blank without it. */
.js .hero__title,
.js .hero__divider,
.js .hero__subtitle,
.js .hero__actions { opacity: 0; transform: translateY(10px); }
.js .hero.is-in .hero__title { animation: rise 1s var(--ease) 0.7s forwards; }
.js .hero.is-in .hero__divider { animation: rise 0.9s var(--ease) 1.05s forwards; }
.js .hero.is-in .hero__subtitle { animation: rise 0.9s var(--ease) 1.2s forwards; }
.js .hero.is-in .hero__actions { animation: rise 0.9s var(--ease) 1.35s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 700px) {
	.hero { min-height: 560px; height: 88svh; }
	.hero__content { padding-top: calc(25svh + 64px); padding-bottom: 40px; }
	.hero__subtitle { letter-spacing: 0.3em; padding-left: 0.3em; }
	.hero__actions .btn { width: min(100%, 300px); }
	.hero__scroll { display: none; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--pad-y) 0; }
.section-head { text-align: center; margin: 0 auto 48px; max-width: 720px; }
.section-head .lead { margin: 0 auto; }

.section--listen { padding-top: calc(var(--pad-y) * 0.6); }
.section--story,
.section--sheet,
.section--covers,
.section--share { background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%); }
.section--lyrics { background: radial-gradient(ellipse 70% 40% at 50% 0%, rgba(55, 104, 155, 0.22), transparent 70%), var(--bg); }
.section--sing { background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(55, 104, 155, 0.18), transparent 70%), var(--bg); }

.card {
	background: var(--card);
	border: 1px solid var(--card-border);
	border-radius: var(--radius-lg);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Reveal on scroll (JS adds .is-visible) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Listen ---------- */
.listen {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 6vw, 80px);
	align-items: center;
}
.listen__art img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--card-border), 0 0 120px rgba(243, 198, 109, 0.08);
}
.listen__also { margin-top: 28px; color: var(--muted); font-size: 0.95rem; }

.player {
	margin: 24px 0 8px;
	padding: 18px 20px;
	border-radius: var(--radius-lg);
	background: var(--card);
	border: 1px solid var(--card-border);
}
.player__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; }
.player__star { width: 16px; height: 16px; fill: var(--gold); }
.player audio { width: 100%; }

.platforms {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 10px;
}
.platform {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 16px;
	border-radius: var(--radius);
	border: 1px solid var(--card-border);
	background: rgba(16, 44, 82, 0.5);
	color: var(--text);
	text-decoration: none;
	transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.platform:hover { border-color: var(--gold); background: rgba(243, 198, 109, 0.08); color: var(--text); transform: translateY(-2px); }
.platform__verb { display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.platform__verb .icon { width: 13px; height: 13px; }
.platform__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.platform--all { border-color: var(--line); }
.platform--all .platform__name { color: var(--gold); }

.coming-soon {
	margin-top: 26px;
	padding: 26px 26px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, rgba(243, 198, 109, 0.08), rgba(16, 44, 82, 0.4));
}
.coming-soon__star { width: 22px; height: 22px; fill: var(--gold); margin-bottom: 10px; filter: drop-shadow(0 0 8px rgba(255, 240, 194, 0.6)); }
.coming-soon p { color: var(--text); font-size: 1.05rem; }

.listen__video { margin-top: 64px; }

/* YouTube facade */
.yt {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #000;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.3s var(--ease); }
.yt:hover img { opacity: 1; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__play {
	position: absolute;
	left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	width: 72px; height: 72px;
	border-radius: 50%;
	border: 0;
	background: var(--gold);
	color: var(--bg);
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
	transition: transform 0.3s var(--ease);
}
.yt__play .icon { width: 30px; height: 30px; margin-left: 4px; }
.yt__play:hover { transform: translate(-50%, -50%) scale(1.06); }

/* ---------- Story ---------- */
.story {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
}
.scripture {
	margin: 28px 0 0;
	padding: 4px 0 4px 22px;
	border-left: 1px solid var(--gold);
}
.scripture p {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.3rem;
	line-height: 1.5;
	color: var(--text);
	margin-bottom: 10px;
}
.scripture cite { font-style: normal; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.story__body { font-size: 1.05rem; }
.story__body p:first-of-type::first-letter {
	float: left;
	font-family: var(--font-display);
	font-size: 4.1em;
	line-height: 0.82;
	padding: 6px 10px 0 0;
	color: var(--gold);
}
.story__credit { font-family: var(--font-label); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }

.pullquote { margin: clamp(56px, 8vw, 96px) auto 0; max-width: 900px; text-align: center; }
.pullquote blockquote { margin: 26px 0 0; }
.pullquote p {
	font-family: var(--font-display);
	font-weight: 500;
	font-style: italic;
	font-size: clamp(1.7rem, 3.6vw, 2.7rem);
	line-height: 1.3;
	color: var(--glow);
	text-shadow: 0 0 40px rgba(243, 198, 109, 0.2);
	margin: 0;
}

/* ---------- Lyrics ---------- */
.song {
	max-width: 1080px;
	margin: 0 auto;
	background: rgba(6, 21, 45, 0.55);
	border: 1px solid var(--card-border);
	border-radius: var(--radius-lg);
	padding: clamp(20px, 4vw, 44px);
}
.song__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 26px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--card-border);
}
.song__control { display: flex; align-items: center; gap: 10px; }
.song__control-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.song__print { margin-left: auto; }
.song__capo { order: 10; flex-basis: 100%; margin: 0; font-size: 0.88rem; color: var(--gold); min-height: 1.4em; }
.song__capo:empty { display: none; }

.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seg__btn {
	border: 0;
	background: transparent;
	color: var(--text);
	font: 600 0.78rem/1 var(--font-body);
	letter-spacing: 0.06em;
	padding: 11px 14px;
	cursor: pointer;
}
.seg__btn + .seg__btn { border-left: 1px solid var(--line); }
.seg__btn.is-active { background: var(--gold); color: var(--bg); }

.keypick { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.keypick__step {
	width: 40px;
	border: 0;
	background: transparent;
	color: var(--gold);
	font-size: 1.2rem;
	cursor: pointer;
}
.keypick__step:hover { background: rgba(243, 198, 109, 0.12); }
.keypick select {
	border: 0;
	border-left: 1px solid var(--line);
	border-right: 1px solid var(--line);
	border-radius: 0;
	background: var(--surface);
	color: var(--text);
	font: 600 0.9rem var(--font-body);
	padding: 8px 10px;
	min-height: 40px;
}

.song__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	padding: 16px 0 8px;
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.song__sheet {
	columns: 2 360px;
	column-gap: 48px;
	padding-top: 18px;
}
.song__print-title,
.song__print-credit { display: none; }

.verse { break-inside: avoid; margin: 0 0 30px; }
.verse__label {
	font-family: var(--font-label);
	font-weight: 500;
	font-size: 0.74rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--gold);
	margin-bottom: 10px;
}
.verse--chorus { padding-left: 18px; border-left: 1px solid var(--line); }
.verse--chorus .ln { color: var(--glow); }

.ln {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 1.6vw, 1.3rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--text);
}
.ln--gap { height: 0.9em; }
.cw { display: inline-flex; flex-direction: column; vertical-align: bottom; }
.c,
.cl {
	font-family: var(--font-body);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gold);
	line-height: 1.5;
	letter-spacing: 0.02em;
	white-space: nowrap;
	padding-right: 0.45em;
	min-height: 1.5em;
}
.w { white-space: pre-wrap; }
.ln--chords { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.cl { font-size: 0.95rem; }

/* Lyrics-only view */
.song.is-lyrics-only .c { display: none; }
.song.is-lyrics-only .verse--instrumental { display: none; }
.song.is-lyrics-only .ln { line-height: 1.55; }

/* ---------- Sheet music ---------- */
.sheet {
	display: grid;
	grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: center;
}
.sheet__preview {
	display: block;
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	transform: rotate(-2deg);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 14px 14px 0 -2px rgba(248, 241, 229, 0.12);
	transition: transform 0.5s var(--ease);
	background: #fff;
}
.sheet__preview:hover { transform: rotate(0deg) translateY(-4px); }
.facts {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--card-border);
}
.facts li { padding: 14px 0; border-bottom: 1px solid var(--card-border); font-weight: 500; }
.facts span { display: block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Sing it ---------- */
.steps {
	list-style: none;
	padding: 0;
	margin: 0 0 56px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	counter-reset: none;
}
.step {
	padding: 28px 26px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--card-border);
	background: rgba(16, 44, 82, 0.35);
}
.step__num {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	border: 1px solid var(--gold);
	color: var(--gold);
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: 16px;
}
.step h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }
.hashtag { color: var(--gold); font-weight: 600; word-break: break-word; }

.sing {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}
.hashcard {
	text-align: center;
	padding: 30px 22px;
	border-radius: var(--radius-lg);
	border: 1px solid var(--line);
	background: radial-gradient(ellipse at 50% 0%, rgba(243, 198, 109, 0.16), transparent 70%), rgba(16, 44, 82, 0.45);
}
.hashcard__star { width: 26px; height: 26px; fill: var(--gold); margin: 0 auto 10px; filter: drop-shadow(0 0 10px rgba(255, 240, 194, 0.6)); }
.hashcard__label { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.hashcard__tag {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.35rem, 2.4vw, 1.75rem);
	color: var(--gold);
	word-break: break-word;
	line-height: 1.2;
	margin-bottom: 16px;
}
.ideas { margin: 0; padding: 0; list-style: none; }
.ideas li { position: relative; padding: 8px 0 8px 26px; color: var(--muted); border-bottom: 1px solid var(--card-border); }
.ideas li::before {
	content: "";
	position: absolute;
	left: 4px; top: 17px;
	width: 8px; height: 8px;
	background: var(--gold);
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

/* ---------- Forms ---------- */
.form { padding: clamp(22px, 4vw, 38px); }
.form__title { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form__row--3 { grid-template-columns: 1fr 1.3fr 1.2fr; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 6px; color: var(--text); }
.field__help { font-size: 0.8rem; color: var(--muted); margin: 6px 0 0; }
.req { color: var(--gold); }

.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field select,
.field textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	border-radius: var(--radius);
	border: 1px solid rgba(185, 203, 224, 0.28);
	background: rgba(6, 21, 45, 0.65);
	color: var(--text);
	font: 400 1rem/1.4 var(--font-body);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--surface); color: var(--text); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(185, 203, 224, 0.55); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(243, 198, 109, 0.2); }
.field input[type="file"] {
	width: 100%;
	padding: 10px;
	border: 1px dashed rgba(185, 203, 224, 0.35);
	border-radius: var(--radius);
	color: var(--muted);
	font: 0.9rem var(--font-body);
	background: rgba(6, 21, 45, 0.4);
}
.field input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	border: 1px solid var(--gold);
	border-radius: var(--radius);
	background: transparent;
	color: var(--gold);
	font: 600 0.8rem var(--font-body);
	cursor: pointer;
}

.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 14px; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); flex: none; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__msg { margin: 14px 0 0; font-weight: 600; min-height: 1px; }
.form__msg:empty { display: none; }
.form__msg.is-ok,
.form-status.is-ok { color: var(--glow); padding: 14px 16px; border-radius: var(--radius); background: rgba(243, 198, 109, 0.12); border: 1px solid var(--line); }
.form__msg.is-error,
.form-status.is-error { color: #ffd0c4; padding: 14px 16px; border-radius: var(--radius); background: rgba(214, 54, 56, 0.15); border: 1px solid rgba(255, 130, 110, 0.35); }
.form.is-sending button[type="submit"] { opacity: 0.65; pointer-events: none; }
.form.is-done .field,
.form.is-done .check,
.form.is-done .form__row,
.form.is-done button[type="submit"] { display: none; }

/* ---------- Covers ---------- */
.covers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 360px)); justify-content: center; gap: 24px; }
.cover { overflow: hidden; display: flex; flex-direction: column; }
.cover__media { background: #000; }
.cover__media:empty { display: none; }
.cover__media .yt { border-radius: 0; box-shadow: none; }
.cover__media .btn { margin: 16px; }
.cover__audio { width: 100%; display: block; padding: 14px; background: var(--surface); }
.cover__embed iframe { display: block; width: 100%; border: 0; }
.cover__body { padding: 20px 22px 24px; }
.cover__style { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; font-weight: 600; }
.cover__name { font-family: var(--font-display); font-size: 1.55rem; margin-bottom: 4px; }
.cover__meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 10px; }
.cover__note { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--text); margin: 0; }

.empty {
	text-align: center;
	max-width: 560px;
	margin: 0 auto;
	padding: 48px 28px;
	border: 1px dashed var(--line);
	border-radius: var(--radius-lg);
}
.empty__star { width: 30px; height: 30px; fill: var(--gold); margin: 0 auto 14px; filter: drop-shadow(0 0 12px rgba(255, 240, 194, 0.6)); }
.empty__title { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; margin-bottom: 8px; color: var(--text); line-height: 1.2; }
.empty p { color: var(--muted); }

/* ---------- Updates ---------- */
.updates { text-align: center; padding: clamp(32px, 6vw, 60px) clamp(22px, 5vw, 56px); background: radial-gradient(ellipse at 50% 0%, rgba(243, 198, 109, 0.1), transparent 60%), var(--card); }
.updates__star { width: 28px; height: 28px; fill: var(--gold); margin: 0 auto 16px; filter: drop-shadow(0 0 12px rgba(255, 240, 194, 0.6)); }
.updates .lead { margin: 0 auto 28px; }
.updates .form { padding: 0; text-align: left; }
.updates .btn[type="submit"] { display: flex; margin: 4px auto 0; min-width: 240px; }
.updates .fine { text-align: center; }

/* ---------- Share ---------- */
.share {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}
.share__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.share__list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; width: 100%; }
.share__list a { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; font-weight: 600; }
.share__list a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer {
	padding: 72px 0 40px;
	text-align: center;
	border-top: 1px solid var(--card-border);
	background: linear-gradient(180deg, var(--bg), #040e1f);
}
.site-footer__star { width: 26px; height: 26px; fill: var(--gold); margin: 0 auto 14px; filter: drop-shadow(0 0 10px rgba(255, 240, 194, 0.5)); }
.site-footer__title { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; margin: 0; color: var(--text); line-height: 1.2; }
.site-footer__title span { color: var(--gold); }
.site-footer__sub { font-size: 0.72rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin: 6px 0 22px; }
.site-footer__credits { color: var(--muted); font-size: 0.95rem; }
.site-footer__social { list-style: none; padding: 0; margin: 0 0 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__social a,
.site-footer__menu a { color: var(--text); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer__social a:hover,
.site-footer__menu a:hover { color: var(--gold); }
.site-footer__menu ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__contact a { color: var(--gold); }
.site-footer__legal { font-size: 0.8rem; color: rgba(185, 203, 224, 0.75); max-width: 640px; margin: 22px auto 6px; }
.site-footer__legal a { color: inherit; margin-left: 6px; }
.site-footer__credit { font-size: 0.8rem; color: rgba(185, 203, 224, 0.75); margin: 0; }
.site-footer__credit a { color: var(--muted); }

/* ---------- Inner pages ---------- */
.page-main { padding: calc(var(--nav-h) + 64px) 0 var(--pad-y); min-height: 70vh; }
.page-head { text-align: center; margin-bottom: 40px; }
.page-head .divider { margin-bottom: 22px; }
.post-list { display: grid; gap: 22px; }
.post-card { padding: 28px; }
.post-card__date { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.post-card__title { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 10px; }
.post-card__title a { color: var(--text); text-decoration: none; }
.post-card__title a:hover { color: var(--gold); }
.post-hero { margin: 0 0 32px; }
.post-hero img { border-radius: var(--radius-lg); width: 100%; }
.post-cta { margin-top: 48px; padding: 28px; text-align: center; }
.post-cta p { font-family: var(--font-display); font-size: 1.6rem; color: var(--text); }
.post-cta .btn-row { justify-content: center; margin-top: 10px; }
.pagination { margin-top: 32px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 6px 12px; color: var(--text); }
.pagination .current { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.listen,
	.story,
	.sheet,
	.sing,
	.share { grid-template-columns: 1fr; }
	.listen__art { max-width: 420px; margin: 0 auto; }
	.sheet__preview { max-width: 300px; margin: 0 auto; }
	.steps { grid-template-columns: 1fr; }
	.sing__aside { order: 2; }
	.share { text-align: center; }
	.share .lead { margin-left: auto; margin-right: auto; }
	.share__actions { justify-content: center; }
	.share__list { justify-content: center; }
	.form__row--3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.form__row { grid-template-columns: 1fr; }
	.song__print { margin-left: 0; }
	.song__toolbar { gap: 14px; }
	.song__control { width: 100%; justify-content: space-between; }
	.song__sheet { columns: 1; }
	.facts { grid-template-columns: 1fr; }
	.btn-row .btn { flex: 1 1 100%; }
	.platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.platform__name { font-size: 1.15rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.hero__layer { transform: scale(1.08) !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Print: the chord chart ---------- */
@media print {
	@page { margin: 0.6in; }
	body { background: #fff !important; color: #000 !important; font-size: 11pt; }
	body > *:not(main),
	main > section:not(#lyrics),
	.section-head,
	.song__toolbar,
	.skip-link { display: none !important; }
	.section--lyrics { padding: 0 !important; background: none !important; }
	.song { border: 0; padding: 0; background: none; max-width: none; }
	.song__print-title { display: block; font-family: var(--font-display); font-size: 22pt; color: #000; margin-bottom: 4pt; }
	.song__meta { color: #444; padding-top: 0; }
	.song__sheet { columns: 2; column-gap: 0.4in; }
	.ln, .verse--chorus .ln { color: #000 !important; font-size: 12pt; }
	.c, .cl, .verse__label { color: #000 !important; }
	.c, .cl { font-weight: 700; }
	.verse { margin-bottom: 12pt; }
	.verse--chorus { border-left-color: #999; }
	.song__print-credit { display: block; column-span: all; margin-top: 12pt; font-size: 9pt; color: #555; }
	.js .reveal { opacity: 1 !important; transform: none !important; }
}
