:root{
  --bg: #0b0b0d;
  --bg-panel: #131215;
  --bg-panel-2: #1a181c;
  --line: #2a2830;
  --text: #ece6db;
  --text-muted: #8a8479;
  --text-faint: #56514b;
  --accent: #a8703c;
  --accent-dim: #6e4c2b;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg);
  color:var(--text);
  font-family:'Inter',sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

/* film grain overlay */
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  z-index:999;
  opacity:0.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:11px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--accent);
}

.display{
  font-family:'Big Shoulders Display',sans-serif;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0.01em;
  line-height:0.92;
}

a{ color:inherit; text-decoration:none; }

/* ===== SKIP LINK ===== */
.skip-link{
  position:absolute; left:-9999px; top:auto;
  background:var(--accent); color:#0b0b0d;
  padding:12px 20px; z-index:1000;
  font-family:'IBM Plex Mono',monospace; font-size:13px;
}
.skip-link:focus{ left:16px; top:16px; }

/* ===== NAV ===== */
header{
  position:fixed; top:0; left:0; right:0;
  z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 5vw;
  background:linear-gradient(to bottom, rgba(11,11,13,0.9), transparent);
}
.logo-mark{
  font-family:'IBM Plex Mono',monospace;
  font-size:13px;
  letter-spacing:0.14em;
  display:flex; align-items:center; gap:8px;
}
.logo-mark .logo-icon{ height:22px; width:auto; display:block; }
nav ul{
  list-style:none;
  display:flex; gap:36px;
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
nav ul li a{
  position:relative;
  color:var(--text-muted);
  transition:color 0.3s;
}
nav ul li a:hover, nav ul li a:focus-visible{ color:var(--text); }
nav ul li a::after{
  content:"";
  position:absolute; left:0; bottom:-6px;
  width:0; height:1px;
  background:var(--accent);
  transition:width 0.3s;
}
nav ul li a:hover::after, nav ul li a:focus-visible::after{ width:100%; }
.nav-toggle{ display:none; background:none; border:none; color:var(--text); font-size:22px; cursor:pointer; line-height:1; }

@media(max-width:820px){
  nav ul{ display:none; }
  nav ul.open{
    display:flex; flex-direction:column;
    position:fixed; top:70px; right:5vw;
    background:var(--bg-panel); padding:24px;
    border:1px solid var(--line); gap:18px;
  }
  .nav-toggle{ display:block; }
}

/* ===== HERO ===== */
.hero{
  min-height:100vh;
  display:flex; align-items:center; justify-content:space-between; gap:5vw;
  padding:120px 5vw 60px;
  position:relative;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(168,112,60,0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(168,112,60,0.05), transparent 60%),
    var(--bg);
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  box-shadow: inset 0 0 220px 60px rgba(0,0,0,0.75);
  pointer-events:none;
}
.hero-content{ max-width:720px; flex:1 1 auto; }
.hero-media{
  flex:0 0 auto;
  width:min(30vw, 380px);
  aspect-ratio:9/16;
  border:1px solid var(--line);
  position:relative;
  overflow:hidden;
  background:linear-gradient(160deg, #201d22, #0e0d10 70%);
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  box-shadow: inset 0 0 80px 20px rgba(0,0,0,0.5);
  pointer-events:none;
}
.hero-video{ width:100%; height:100%; object-fit:cover; display:block; }
@media(max-width:980px){
  .hero-media{ width:min(38vw, 300px); }
}
@media(max-width:820px){
  .hero{ flex-direction:column; justify-content:center; padding:120px 5vw 60px; }
  .hero-media{ display:none; }
}
.hero-eyebrow{ margin-bottom:22px; opacity:0; animation:rise 0.9s 0.1s forwards; }
h1.display{
  font-size:clamp(56px, 10vw, 148px);
  opacity:0; animation:rise 1s 0.25s forwards;
}
.hero-sub{
  max-width:520px;
  margin-top:26px;
  font-size:16px;
  line-height:1.6;
  color:var(--text-muted);
  opacity:0; animation:rise 1s 0.45s forwards;
}
.hero-cta{
  display:flex; gap:16px; margin-top:40px; flex-wrap:wrap;
  opacity:0; animation:rise 1s 0.6s forwards;
}
.btn{
  padding:14px 28px;
  font-size:13px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  border:1px solid var(--line);
  background:none;
  color:var(--text);
  font-family:'Inter',sans-serif;
  cursor:pointer;
  transition:all 0.3s;
  display:inline-block;
}
.btn:disabled{ opacity:0.5; cursor:not-allowed; pointer-events:none; }
.btn-solid{ background:var(--accent); border-color:var(--accent); color:#0b0b0d; font-weight:600; }
.btn-solid:hover:not(:disabled){ background:#bf7f46; }
.btn-outline:hover:not(:disabled){ border-color:var(--accent); color:var(--accent); }
.btn-small{ padding:10px 18px; font-size:12px; width:100%; }

@keyframes rise{
  from{ opacity:0; transform:translateY(18px); }
  to{ opacity:1; transform:translateY(0); }
}

.scroll-cue{
  position:absolute; bottom:36px; left:5vw;
  font-family:'IBM Plex Mono',monospace;
  font-size:11px; color:var(--text-faint);
  letter-spacing:0.1em;
  display:flex; align-items:center; gap:10px;
}
.scroll-cue::before{
  content:""; width:22px; height:1px; background:var(--text-faint);
}

/* ===== SECTION SHARED ===== */
section{ padding:140px 5vw; position:relative; }
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  flex-wrap:wrap; gap:20px;
  margin-bottom:64px;
  border-bottom:1px solid var(--line);
  padding-bottom:28px;
}
.section-head h2.display{ font-size:clamp(32px,4.5vw,56px); }
.catalog-tag{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;
  color:var(--text-faint);
  letter-spacing:0.08em;
}
.reveal{
  opacity:0; transform:translateY(24px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  h1.display, .hero-eyebrow, .hero-sub, .hero-cta{ opacity:1; animation:none; }
}

/* ===== RELEASE ===== */
.release{
  display:grid; grid-template-columns:1fr 1.1fr; gap:70px; align-items:center;
}
@media(max-width:820px){ .release{ grid-template-columns:1fr; gap:40px; } }
.art{
  aspect-ratio:1/1;
  background:
    radial-gradient(circle at 30% 30%, rgba(168,112,60,0.35), transparent 55%),
    linear-gradient(160deg, #201d22, #0e0d10 70%);
  border:1px solid var(--line);
  position:relative;
  overflow:hidden;
}
.art img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 30%; }
.art::after{
  content:"";
  position:absolute; inset:0;
  background:repeating-radial-gradient(circle, transparent 0 8px, rgba(255,255,255,0.015) 9px);
}
.play-btn{
  position:absolute; bottom:24px; left:24px;
  width:56px; height:56px; border-radius:50%;
  background:rgba(11,11,13,0.7);
  border:1px solid var(--accent);
  display:flex; align-items:center; justify-content:center;
  color:var(--accent);
  cursor:pointer;
  transition:background 0.3s;
  z-index:1;
}
.play-btn:hover{ background:var(--accent); color:#0b0b0d; }
.track-meta{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--text-faint); margin-top:18px; letter-spacing:0.04em; }
.release-credit{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.release-credit .artist-mark{ height:28px; width:auto; display:block; }
.release-credit .eyebrow{ margin-bottom:0; }
.release-info h3.display{ font-size:clamp(34px,5vw,64px); margin-bottom:18px; }
.release-info p{ color:var(--text-muted); line-height:1.7; max-width:440px; margin-bottom:30px; }
.stream-links{ display:flex; gap:16px; flex-wrap:wrap; }

/* ===== DISCOGRAPHY (More Music) ===== */
#discography .section-head{ margin-bottom:44px; }
.track-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:24px; }
@media(max-width:1180px){ .track-grid{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:720px){ .track-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px){ .track-grid{ grid-template-columns:1fr; } }
.track-art{
  aspect-ratio:1/1;
  background:linear-gradient(155deg,#1c1a1e,#0c0b0e 75%);
  border:1px solid var(--line);
  margin-bottom:16px;
  position:relative;
  overflow:hidden;
  transition:border-color 0.3s;
}
.track-card:hover .track-art{ border-color:var(--accent-dim); }
.track-art img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.track-art::after{
  content:"CSC";
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-family:'Big Shoulders Display'; font-weight:900; font-size:30px;
  color:rgba(236,230,219,0.06);
  letter-spacing:0.05em;
}
/* Real cover art replaces the placeholder watermark */
.track-art.has-art::after{ content:none; }
.track-art .play-btn{
  position:absolute; bottom:14px; left:14px;
  width:42px; height:42px;
}
.track-name{ font-size:14px; margin-bottom:6px; }
.track-links{
  display:flex; flex-wrap:wrap; gap:4px 10px;
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.03em;
}
.track-links a{ color:var(--text-faint); transition:color 0.3s; }
.track-links a:hover{ color:var(--accent); }

/* ===== DEVELOPMENT ===== */
.dev-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
@media(max-width:820px){ .dev-grid{ grid-template-columns:1fr; } }
.dev-card{
  background:var(--bg);
  padding:40px 34px;
  transition:background 0.35s;
}
.dev-card:hover{ background:var(--bg-panel); }
.dev-card .catalog-tag{ display:block; margin-bottom:24px; }
.dev-card h4{ font-family:'Big Shoulders Display'; font-weight:700; font-size:24px; text-transform:uppercase; margin-bottom:14px; }
.dev-card p{ color:var(--text-muted); font-size:14px; line-height:1.7; }

/* ===== MOMENT (full-bleed photo break) ===== */
.moment{
  padding:0; height:70vh; min-height:420px; max-height:760px;
  overflow:hidden; position:relative;
}
.moment img{
  width:100%; height:100%; object-fit:cover; display:block;
  filter:saturate(0.9);
}
.moment::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(11,11,13,0.85), transparent 40%);
  pointer-events:none;
}
.moment-caption{
  position:absolute; bottom:28px; left:5vw;
}

/* ===== SHOP ===== */
.shop-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
@media(max-width:980px){ .shop-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .shop-grid{ grid-template-columns:1fr; } }
.product-img{
  aspect-ratio:4/5;
  background:linear-gradient(155deg,#1c1a1e,#0c0b0e 75%);
  border:1px solid var(--line);
  margin-bottom:16px;
  position:relative;
  overflow:hidden;
  transition:border-color 0.3s;
}
.product:hover .product-img{ border-color:var(--accent-dim); }
.product-img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.product-img::after{
  content:"CSC";
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  font-family:'Big Shoulders Display'; font-weight:900; font-size:30px;
  color:rgba(236,230,219,0.06);
  letter-spacing:0.05em;
}
.product-name{ font-size:14px; margin-bottom:14px; }
.product-price{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--text-faint); margin-bottom:14px; }
#shop .section-head{ margin-bottom:20px; }
.shop-note{ color:var(--text-muted); font-size:14px; margin-bottom:56px; }
.shop-note a{ color:var(--accent); }
.shop-note a:hover{ text-decoration:underline; }
.product-size{
  width:100%; margin-bottom:10px;
  background:var(--bg-panel); border:1px solid var(--line); color:var(--text);
  font-family:'Inter',sans-serif; font-size:13px; padding:8px 10px;
}
.product-status{ font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--text-faint); margin-top:8px; min-height:1em; }

/* ===== ABOUT ===== */
.about{
  display:grid; grid-template-columns:0.7fr 0.9fr 1.1fr; gap:56px; align-items:start;
}
.about-portrait{
  aspect-ratio:3/4;
  border:1px solid var(--line);
  overflow:hidden;
  background:linear-gradient(160deg, #201d22, #0e0d10 70%);
}
.about-portrait img{ width:100%; height:100%; object-fit:cover; display:block; filter:grayscale(0.15); }
@media(max-width:980px){
  .about{ grid-template-columns:0.8fr 1.2fr; }
  .about-portrait{ grid-row:1 / 3; }
}
@media(max-width:820px){
  .about{ grid-template-columns:1fr; }
  .about-portrait{ grid-row:auto; max-width:320px; }
}
.about-statement p{ margin-bottom:20px; }
.about-statement p:last-child{ margin-bottom:0; }
.about-lead{ font-size:clamp(26px,3.2vw,38px); line-height:1.15; font-weight:600; }
.about-statement p:not(.about-lead):not(.about-tagline){ font-size:16px; line-height:1.7; color:var(--text-muted); max-width:480px; }
.about-tagline{ font-size:17px; line-height:1.5; font-weight:500; color:var(--text); padding-top:20px; border-top:1px solid var(--line); max-width:480px; }
.about-details{ display:flex; flex-direction:column; gap:28px; }
.about-row{ display:flex; justify-content:space-between; border-bottom:1px solid var(--line); padding-bottom:16px; font-size:14px; }
.about-row span:first-child{ color:var(--text-faint); font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.06em; }

/* ===== FOOTER ===== */
footer{
  padding:80px 5vw 40px;
  border-top:1px solid var(--line);
}
.footer-top{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:40px;
  margin-bottom:60px;
}
.footer-cta h2.display{ font-size:clamp(30px,4vw,52px); max-width:520px; }
.footer-links{ display:flex; gap:60px; flex-wrap:wrap; }
.footer-col h5{ font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.1em; color:var(--text-faint); margin-bottom:16px; text-transform:uppercase; }
.footer-col a{ display:block; font-size:14px; color:var(--text-muted); margin-bottom:10px; transition:color 0.3s; }
.footer-col a:hover{ color:var(--accent); }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--text-faint); letter-spacing:0.05em;
}

/* ===== SUCCESS / CANCEL PAGES ===== */
.status-page{
  min-height:100vh; display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  padding:0 5vw; gap:24px;
}
.status-page p{ color:var(--text-muted); line-height:1.7; max-width:480px; }
