:root {
  --bg: #0a0f14;
  --bg-soft: #101820;
  --panel: #131c25;
  --text: #eef1f3;
  --muted: #a7b0b8;
  --line: rgba(255,255,255,.14);
  --accent: #efb07c;
  --accent-soft: #f6d2b2;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 64px);
  background: linear-gradient(to bottom, rgba(6,10,14,.82), rgba(6,10,14,0));
  backdrop-filter: blur(6px);
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: .42em;
  font-size: .92rem;
}
.site-nav { display: flex; gap: 30px; align-items: center; }
.site-nav a { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #d2d9df; }
.site-nav a:hover { color: white; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: white; padding: 7px 10px; }

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: end;
  padding: 150px clamp(24px, 6vw, 90px) 90px;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(8,15,21,.08), rgba(8,15,21,.18) 48%, #081017 100%),
    url("assets/hero-tangram.png") center center / cover no-repeat;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  height: 38%;
  bottom: 4%;
  background: #111922;
  clip-path: polygon(0 72%, 8% 58%, 16% 68%, 25% 34%, 36% 62%, 48% 28%, 59% 58%, 69% 38%, 80% 67%, 91% 45%, 100% 70%, 100% 100%, 0 100%);
  opacity: 0;
}
.hero::after {
  bottom: -7%;
  background: #080e13;
  transform: scaleX(1.1);
  opacity: 0;
}
.hero-noise {
  position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.hero-glow {
  position: absolute;
  width: 150px; height: 150px; border-radius: 50%;
  right: 10%; top: 20%;
  background: radial-gradient(circle, #ffd2a2 0, #f0a566 45%, rgba(240,165,102,0) 70%);
  filter: blur(1px);
  opacity: 0;
}
.hero-content, .hero-side, .scroll-cue { position: relative; z-index: 3; }
.hero-content { max-width: 840px; }
.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .76rem; color: var(--muted); margin: 0 0 18px; }
.hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  letter-spacing: .42em;
  font-size: clamp(3rem, 9vw, 8.2rem);
  margin: 0;
  line-height: .95;
}
.tagline { font-size: clamp(1.1rem, 2.1vw, 1.8rem); letter-spacing: .18em; text-transform: uppercase; color: #d4dce2; margin: 28px 0 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; transition: .25s ease; }
.button-primary { background: #f1f3f4; color: #0d1318; }
.button-primary:hover { background: var(--accent-soft); }
.button-ghost:hover { border-color: #fff; background: rgba(255,255,255,.05); }
.hero-note { margin-top: 62px; display: flex; gap: 18px; align-items: flex-start; color: #d1d7dc; font-size: .84rem; letter-spacing: .08em; }
.hero-note span { width: 34px; height: 1px; background: #d8dde1; margin-top: 13px; }
.hero-note a { color: white; }
.hero-side { align-self: center; justify-self: end; text-align: right; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: #bbc4cb; display: grid; gap: 38px; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; font-size: 1.5rem; color: #c5cdd3; }

.section { padding: 110px clamp(24px, 6vw, 90px); }
.section-dark { background: #090e13; }
.section-heading { max-width: var(--max); margin: 0 auto 44px; display: flex; justify-content: space-between; gap: 40px; align-items: end; }
h2 { font-family: "Space Grotesk", sans-serif; font-weight: 300; letter-spacing: .05em; font-size: clamp(2rem, 4vw, 4.2rem); line-height: 1.05; margin: 0; }
.section-copy { max-width: 360px; color: var(--muted); margin: 0; }

.featured-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.album-card { position: relative; overflow: hidden; background: #101820; border: 1px solid rgba(255,255,255,.08); }
.album-card img { aspect-ratio: 1/1; object-fit: cover; transition: transform .5s ease, filter .5s ease; }
.album-card:hover img { transform: scale(1.025); filter: brightness(.78); }
.album-meta { padding: 22px; }
.album-meta h3 { margin: 0 0 4px; font-size: 1.2rem; font-weight: 500; }
.album-meta p { color: var(--muted); margin: 0 0 14px; }
.album-meta a { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-soft); }

.next-album { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.3fr; gap: 70px; align-items: center; }
.next-copy p { color: var(--muted); max-width: 560px; }
.text-link { display: inline-block; margin-top: 14px; color: var(--accent-soft); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.studio-panel { min-height: 450px; background: linear-gradient(145deg, #18232d, #0e151b); border: 1px solid var(--line); padding: 28px; display: grid; grid-template-rows: 1fr auto; gap: 24px; }
.studio-screen { position: relative; overflow: hidden; background: #0b0f13; border: 1px solid rgba(255,255,255,.08); min-height: 250px; padding: 28px 18px; display: grid; gap: 16px; align-content: center; }
.track { height: 26px; border-radius: 2px; opacity: .82; background: linear-gradient(90deg, #4e6773 0 12%, #5b7c8a 12% 21%, transparent 21% 26%, #4e6773 26% 60%, transparent 60% 65%, #5b7c8a 65% 86%, transparent 86%); }
.track-b { transform: translateX(7%); background: linear-gradient(90deg, #755c52 0 19%, transparent 19% 24%, #8a6a5e 24% 72%, transparent 72% 81%, #755c52 81%); }
.track-c { transform: translateX(-4%); background: linear-gradient(90deg, #405f56 0 27%, transparent 27% 32%, #4d7468 32% 52%, transparent 52% 58%, #405f56 58% 94%, transparent 94%); }
.track-d { transform: translateX(10%); background: linear-gradient(90deg, #665c79 0 17%, transparent 17% 23%, #776a8d 23% 67%, transparent 67% 72%, #665c79 72%); }
.playhead { position: absolute; top: 0; bottom: 0; width: 1px; left: 62%; background: #f1c098; box-shadow: 0 0 12px rgba(241,192,152,.5); }
.wip-list { display: grid; gap: 8px; }
.wip-item { border: 0; border-top: 1px solid rgba(255,255,255,.08); background: transparent; color: white; padding: 12px 0 4px; text-align: left; display: grid; grid-template-columns: 32px 1fr auto; align-items: center; cursor: pointer; }
.wip-item small { color: var(--muted); }

.discography { padding-bottom: 120px; }
.cover-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cover { position: relative; overflow: hidden; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.06); }
.cover img { height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.cover span { position: absolute; inset: auto 10px 10px; padding: 8px 10px; background: rgba(5,8,11,.78); backdrop-filter: blur(4px); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(5px); transition: .25s ease; }
.cover:hover img { transform: scale(1.045); filter: brightness(.7); }
.cover:hover span { opacity: 1; transform: none; }
.centered { text-align: center; margin-top: 42px; }

.about { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: stretch; }
.portrait-placeholder { min-height: 460px; background: linear-gradient(135deg, #1b232a, #090d11 70%); border: 1px solid var(--line); display: grid; place-items: center; color: #68737b; letter-spacing: .16em; font-size: .72rem; }
.about-copy { align-self: center; }
.about-copy p { color: var(--muted); max-width: 700px; }

.newsletter {
	padding: 120px 24px;
	text-align: center;
}

.newsletter-inner {
	max-width: 760px;
	margin: 0 auto;
}

.newsletter .eyebrow {
	margin-bottom: 20px;
	font-size: 12px;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	opacity: 0.55;
}

.newsletter h2 {
	margin: 0 0 20px;
	font-size: clamp(34px, 5vw, 64px);
	font-weight: 300;
	line-height: 1.05;
}

.newsletter-text {
	max-width: 520px;
	margin: 0 auto 40px;
	font-size: 17px;
	line-height: 1.6;
	opacity: 0.7;
}

.newsletter-form {
	display: flex;
	max-width: 600px;
	margin: 0 auto;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.newsletter-form input[type="email"] {
	flex: 1;
	min-width: 0;
	padding: 18px 4px;
	background: transparent;
	border: 0;
	outline: none;
	color: inherit;
	font: inherit;
	font-size: 16px;
}

.newsletter-form input[type="email"]::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
	padding: 18px 4px 18px 24px;
	background: transparent;
	border: 0;
	cursor: pointer;
	color: inherit;
	font: inherit;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	white-space: nowrap;
}

.newsletter-form button:hover {
	opacity: 0.6;
}

.newsletter-note {
	margin-top: 16px;
	font-size: 12px;
	opacity: 0.4;
}

.newsletter-honeypot {
	position: absolute;
	left: -5000px;
}

@media (max-width: 600px) {
	.newsletter {
		padding: 80px 20px;
	}

	.newsletter-form {
		display: block;
		border-bottom: 0;
	}

	.newsletter-form input[type="email"] {
		display: block;
		width: 100%;
		border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	}

	.newsletter-form button {
		margin-top: 14px;
		padding: 16px 0;
	}
}

.site-footer { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 30px clamp(24px,6vw,90px); border-top: 1px solid var(--line); color: #95a0a8; font-size: .76rem; letter-spacing: .08em; }
.site-footer a { color: white; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 980px) {
  .site-nav { position: fixed; inset: 68px 20px auto 20px; background: #0b1117; border: 1px solid var(--line); padding: 18px; display: none; flex-direction: column; align-items: flex-start; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-side { display: none; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid article:last-child { grid-column: 1 / -1; max-width: 50%; }
  .next-album, .about, .newsletter { grid-template-columns: 1fr; }
  .cover-grid { grid-template-columns: repeat(3, 1fr); }
  .newsletter-copy { justify-self: start; }
}

@media (max-width: 640px) {
  .site-header { padding: 16px 18px; }
  .brand { letter-spacing: .28em; }
  .hero { padding: 130px 20px 72px; min-height: 88vh; }
  .hero h1 { letter-spacing: .18em; }
  .tagline { letter-spacing: .1em; }
  .section { padding: 76px 20px; }
  .section-heading { display: block; }
  .section-copy { margin-top: 18px; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-grid article:last-child { grid-column: auto; max-width: none; }
  .cover-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .studio-panel { padding: 16px; min-height: 370px; }
  .newsletter-form { grid-template-columns: 1fr; }
  .newsletter-form input { border-right: 1px solid rgba(255,255,255,.2); }
  .newsletter-form button { padding: 14px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
