/* Liam & Lex — shared styles for /liamandlex and every album page.
   Each page sets --accent, --accent2, --bg, --cover on <body>. */

*, *::before, *::after { box-sizing: border-box; }
:root {
	--accent: #ffb454; --accent2: #ffd9a8; --bg: #0d0b16;
	--ink: #f6f3ee; --muted: rgba(246,243,238,.64); --line: rgba(255,255,255,.1);
	--card: rgba(255,255,255,.05); --ink-on-accent: #0b0b0f;
	--display: 'Bricolage Grotesque', system-ui, sans-serif;
	--body: 'DM Sans', system-ui, sans-serif;
	--r: 18px;
}
html { background: var(--bg); }
body.ll {
	margin: 0; min-height: 100vh; color: var(--ink); background: var(--bg);
	font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.has-dock { padding-bottom: 96px; }
a { color: var(--accent2); text-decoration-color: color-mix(in srgb, var(--accent) 50%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }

/* Cover-tinted backdrop glow */
.glow { position: fixed; inset: -20vmax; z-index: -1; pointer-events: none;
	background: var(--cover) center/cover no-repeat; filter: blur(90px) saturate(1.4); opacity: .32; transform: translateZ(0); }
.glow::after { content: ''; position: absolute; inset: 0;
	background: radial-gradient(ellipse at 50% 0%, transparent 0%, var(--bg) 70%); }

/* Top bar */
.topbar { max-width: 1160px; margin: 0 auto; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 18px var(--display); letter-spacing: -.01em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--accent); color: var(--ink-on-accent); font-size: 13px; font-weight: 800; transform: rotate(-6deg); transition: transform .3s; }
.brand:hover .brand-mark { transform: rotate(6deg) scale(1.06); }
.shelf { display: flex; gap: 8px; }
.shelf a { border-radius: 8px; overflow: hidden; opacity: .55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .2s, transform .2s, outline-color .2s; }
.shelf a:hover { opacity: 1; transform: translateY(-2px); }
.shelf a.on { opacity: 1; outline-color: var(--accent); }
.shelf img { width: 36px; height: 36px; }

main { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { margin: 0 0 88px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin-bottom: 26px; }
h2 span { display: inline-block; margin-left: 10px; font: 500 14px var(--body); letter-spacing: 0; color: var(--muted); vertical-align: middle; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 72px; align-items: center; padding: 36px 0 12px; }
.record-wrap { position: relative; aspect-ratio: 1; }
.cover { position: relative; z-index: 2; width: 100%; border-radius: 14px;
	box-shadow: 0 40px 80px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.record { position: absolute; z-index: 1; top: 3%; left: 3%; width: 94%; height: 94%; border-radius: 50%; transform: translateX(12%);
	background: repeating-radial-gradient(circle, #111 0 2px, #1c1c1c 2px 4px);
	box-shadow: 0 20px 50px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.05);
	transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.record::before { content: ''; position: absolute; inset: 0; border-radius: 50%;
	background: conic-gradient(from 30deg, transparent 0 10%, rgba(255,255,255,.12) 14%, transparent 20% 60%, rgba(255,255,255,.08) 64%, transparent 70%); }
.record .label { position: absolute; inset: 33%; border-radius: 50%; background-size: cover; background-position: center; box-shadow: 0 0 0 4px var(--accent); }
.record .label::after { content: ''; position: absolute; inset: 44%; border-radius: 50%; background: #0a0a0a; }
.record-wrap:hover .record, .record-wrap[data-playing="1"] .record { transform: translateX(30%); }
.record-wrap[data-playing="1"] .record { animation: spin 4s linear infinite; }
@keyframes spin { from { transform: translateX(30%) rotate(0); } to { transform: translateX(30%) rotate(360deg); } }

.eyebrow { margin: 0 0 14px; font: 700 13px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(46px, 7vw, 92px); font-weight: 800; text-wrap: balance; }
.sub { margin: 18px 0 0; font-size: 20px; color: var(--muted); }
.actions { display: flex; align-items: center; gap: 18px; margin: 32px 0 26px; flex-wrap: wrap; }
.btn-play { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 15px 26px 15px 20px;
	background: var(--accent); color: var(--ink-on-accent); font-weight: 700; font-size: 17px;
	box-shadow: 0 10px 30px -8px var(--accent); transition: transform .15s, box-shadow .2s; }
.btn-play:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 40px -8px var(--accent); }
.btn-play svg { width: 24px; height: 24px; }
[data-play-all] .i-pause, body.is-playing [data-play-all] .i-play { display: none; }
body.is-playing [data-play-all] .i-pause { display: block; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.runtime { color: var(--muted); font-size: 15px; }

.listen { display: flex; flex-wrap: wrap; gap: 10px; }
.svc { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px;
	background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
	transition: background .2s, box-shadow .2s, transform .15s; backdrop-filter: blur(6px); }
.svc svg { width: 20px; height: 20px; color: var(--accent2); --ink-on-accent: var(--bg); }
.svc:hover { color: var(--ink); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px var(--accent); transform: translateY(-1px); }
.listen.small .svc { font-size: 14px; padding: 7px 14px 7px 10px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; margin-top: 72px; }
.intro p { margin: 0 0 1em; font-size: 19px; max-width: 64ch; }
.intro p:first-child { font-size: 22px; line-height: 1.5; }
.stats { display: grid; gap: 12px; margin: 0; }
.stats div { padding: 18px 22px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.stats dt { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stats dd { margin: 2px 0 0; font: 800 38px/1.1 var(--display); color: var(--accent2); }

/* Tracklist */
.tracks { list-style: none; margin: 0 0 26px; padding: 0; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.track { position: relative; border-top: 1px solid var(--line); }
.track:first-child { border-top: 0; }
.track-btn { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; width: 100%;
	padding: 14px 22px 14px 14px; border: 0; background: none; text-align: left; transition: background .15s; }
.track-btn:hover { background: rgba(255,255,255,.05); }
.num { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 600 15px var(--display); color: var(--muted); }
.num .pi, .num .eq { display: none; }
.num .pi { width: 18px; height: 18px; }
.track-btn:hover .num .n { display: none; }
.track-btn:hover .num .pi { display: block; color: var(--accent); }
.track.current .num { background: var(--accent); color: var(--ink-on-accent); }
.track.current .num .n, .track.current .num .pi { display: none; }
.track.current .num .eq { display: flex; }
body:not(.is-playing) .track.current .num .eq i { animation-play-state: paused; }
.eq { gap: 2px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; background: currentColor; border-radius: 1px; animation: eq .9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.3s; } .eq i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.meta { display: grid; gap: 2px; min-width: 0; }
.meta .t { font-weight: 700; font-size: 17px; }
.track.current .meta .t { color: var(--accent2); }
.note { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; font: italic 500 12px var(--body); color: var(--accent2); background: color-mix(in srgb, var(--accent) 16%, transparent); vertical-align: 2px; }
.meta .c { font-size: 13px; color: var(--muted); }
.dur { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--muted); }
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s linear; }
.fine { color: var(--muted); font-size: 15px; margin: 0 0 12px; }

/* Video */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8), 0 0 0 1px var(--line); max-width: 860px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 21px/1.3 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 30px var(--body); color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--accent2); }
.faq .ans { padding: 0 0 18px; color: rgba(246,243,238,.82); }
.faq .ans p { margin: 0 0 .9em; }

/* More albums */
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.more-card { display: block; color: var(--ink); text-decoration: none; }
.more-card img { border-radius: 12px; margin-bottom: 12px; box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.more-card:hover img { transform: translateY(-6px) rotate(-1.5deg); box-shadow: 0 30px 50px -20px rgba(0,0,0,.9), 0 0 0 3px var(--accent); }
.more-card strong { display: block; font: 700 18px/1.2 var(--display); }
.more-card span { font-size: 14px; color: var(--muted); }
.more-card:hover { color: var(--ink); }

.foot { max-width: 1160px; margin: 0 auto; padding: 32px 24px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }

/* Dock player */
.dock { position: fixed; z-index: 50; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(720px, calc(100% - 24px));
	border-radius: 20px; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
	box-shadow: 0 20px 60px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.12); overflow: hidden; animation: dockin .4s cubic-bezier(.2,.8,.2,1); }
@keyframes dockin { from { transform: translate(-50%, 120%); } }
.dock-bar { height: 4px; background: rgba(255,255,255,.08); cursor: pointer; }
.dock-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.dock-in { display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; }
.dock-art img { width: 48px; height: 48px; border-radius: 9px; }
.dock-meta { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.dock-meta strong, .dock-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-meta span { font-size: 13px; color: var(--muted); }
.dock-ctl { display: flex; align-items: center; gap: 4px; }
.dock-ctl button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; }
.dock-ctl button:hover { background: rgba(255,255,255,.1); }
.dock-ctl svg { width: 20px; height: 20px; }
.dock-ctl .big { width: 46px; height: 46px; background: var(--accent); color: var(--ink-on-accent); }
.dock-ctl .big:hover { background: var(--accent2); }
.dock .i-play { display: none; }
.dock.paused .i-play { display: block; } .dock.paused .i-pause { display: none; }
.dock-time { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 78px; text-align: right; }

/* ---------- Landing page ---------- */
.ll-home .hero-home { padding: 56px 0 40px; text-align: center; }
.ll-home .hero-home h1 { font-size: clamp(64px, 13vw, 168px); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.ll-home .hero-home h1 .amp { color: var(--accent); font-style: italic; font-weight: 400; display: inline-block; transform: rotate(-8deg); }
.ll-home .hero-home .sub { font-size: clamp(18px, 2.2vw, 24px); max-width: 640px; margin: 22px auto 0; }
.ll-home .actions { justify-content: center; }
.stack { display: flex; justify-content: center; margin: 8px auto 34px; height: 170px; }
.stack img { width: 150px; height: 150px; border-radius: 10px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1); margin: 0 -18px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.stack img:nth-child(1) { transform: rotate(-12deg) translateY(16px); }
.stack img:nth-child(2) { transform: rotate(-4deg); z-index: 1; }
.stack img:nth-child(3) { transform: rotate(4deg); z-index: 1; }
.stack img:nth-child(4) { transform: rotate(12deg) translateY(16px); }
.stack:hover img:nth-child(1) { transform: rotate(-16deg) translate(-30px, 10px); }
.stack:hover img:nth-child(2) { transform: rotate(-5deg) translate(-10px, -10px); }
.stack:hover img:nth-child(3) { transform: rotate(5deg) translate(10px, -10px); }
.stack:hover img:nth-child(4) { transform: rotate(16deg) translate(30px, 10px); }

.albums { display: grid; gap: 28px; }
.album-card { --a: var(--accent); position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center;
	padding: 28px; border-radius: 28px; background: linear-gradient(135deg, color-mix(in srgb, var(--card-bg) 92%, white 8%), var(--card-bg));
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -30px rgba(0,0,0,.8); overflow: hidden; isolation: isolate; }
.album-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--card-cover) center/cover; filter: blur(60px) saturate(1.4); opacity: .28; transform: scale(1.3); }
.album-card .art { position: relative; display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -16px rgba(0,0,0,.8); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.album-card .art:hover { transform: rotate(-2deg) scale(1.02); }
.album-card .art::after { content: 'Open album →'; position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); font-size: 13px; font-weight: 700; color: #fff; opacity: 0; transform: translateY(6px); transition: .25s; }
.album-card .art:hover::after { opacity: 1; transform: none; }
.album-card .eyebrow { color: var(--a); }
.album-card h2 { font-size: clamp(32px, 4.4vw, 54px); margin: 0 0 12px; }
.album-card h2 a { color: var(--ink); text-decoration: none; }
.album-card h2 a:hover { color: var(--a); }
.album-card p.blurb { margin: 0 0 22px; color: rgba(246,243,238,.82); font-size: 18px; max-width: 56ch; }
.album-card .row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.album-card .btn-play { background: var(--a); box-shadow: 0 10px 30px -10px var(--a); padding: 11px 20px 11px 15px; font-size: 15px; }
.album-card .btn-play svg { width: 20px; height: 20px; }
.album-card .svc svg { color: var(--a); }
.album-card .svc:hover { box-shadow: inset 0 0 0 1px var(--a); }
.album-card .new { position: absolute; top: 22px; right: 24px; padding: 4px 12px; border-radius: 999px; background: var(--a); color: var(--ink-on-accent); font: 800 12px var(--body); letter-spacing: .12em; text-transform: uppercase; }

.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story div { padding: 26px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.story b { display: block; font: 800 44px/1 var(--display); color: var(--accent); margin-bottom: 10px; }
.story p { margin: 0; color: rgba(246,243,238,.82); }
.hidden-tracks { display: none; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
	body.ll { font-size: 16px; }
	.topbar { padding: 16px; }
	.shelf img { width: 30px; height: 30px; }
	.brand { font-size: 0; gap: 0; }
	main { padding: 0 16px; }
	section { margin-bottom: 64px; }
	.hero { grid-template-columns: 1fr; gap: 36px; text-align: center; padding-top: 12px; }
	.record-wrap { width: min(86vw, 420px); margin: 0 auto; }
	.record { transform: translateX(8%); }
	.record-wrap:hover .record, .record-wrap[data-playing="1"] .record { transform: translateX(18%); }
	@keyframes spin { from { transform: translateX(18%) rotate(0); } to { transform: translateX(18%) rotate(360deg); } }
	.actions, .listen { justify-content: center; }
	.about { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
	.stats { grid-template-columns: repeat(3, 1fr); }
	.stats div { padding: 14px; text-align: center; }
	.stats dd { font-size: 28px; }
	.intro p:first-child { font-size: 19px; }
	.track-btn { padding: 12px 14px 12px 8px; gap: 10px; }
	.meta .t { font-size: 16px; }
	.note { margin: 2px 0 0; }
	h2 span { display: block; margin: 8px 0 0; }
	.more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.more-card strong { font-size: 14px; } .more-card span { font-size: 12px; }
	.dock { bottom: 8px; }
	.dock-time { display: none; }
	.dock-ctl #dock-prev { display: none; }
	.album-card { grid-template-columns: 1fr; padding: 18px; gap: 22px; text-align: center; }
	.album-card .art { max-width: 340px; margin: 0 auto; }
	.album-card .row, .album-card .listen { justify-content: center; }
	.album-card p.blurb { margin-left: auto; margin-right: auto; }
	.story { grid-template-columns: 1fr; }
	.stack { height: 120px; margin-bottom: 22px; } .stack img { width: 100px; height: 100px; margin: 0 -12px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
