:root {
  --bg: #0a0a0b;
  --panel: #151518;
  --text: #f2f0eb;
  --muted: #9a978f;
  --blue: #3aa0ff;
  --amber: #e7a54a;
  --radius: 14px;
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: clamp(16px, 0.35vw + 11px, 22px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter);
  background: linear-gradient(to bottom, rgba(10,10,11,.85), transparent);
}
.nav-logo img { height: clamp(40px, 3vw, 64px); width: auto; }
.nav nav { display: flex; gap: clamp(14px, 3vw, 32px); }
.nav nav a {
  text-decoration: none; font-weight: 600; font-size: .9rem;
  letter-spacing: .08em; text-transform: uppercase;
  transition: color .2s;
}
.nav nav a:hover { color: var(--blue); }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,11,.35), rgba(10,10,11,.9) 75%),
              linear-gradient(to bottom, transparent 60%, var(--bg));
}
.hero-content { position: relative; text-align: center; padding: 0 var(--gutter); }
.hero-logo { width: min(560px, 80vw); margin: 0 auto; filter: drop-shadow(0 8px 30px rgba(0,0,0,.6)); }
.hero-tag {
  font-family: "Permanent Marker", cursive;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--blue); margin: 4px 0 28px;
  transform: rotate(-2deg);
}

.btn {
  display: inline-block; text-decoration: none;
  padding: 14px 30px; border-radius: 999px;
  background: var(--blue); color: #04121f;
  font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(58,160,255,.35); }

/* Sections */
.section { padding: clamp(56px, 6vw, 120px) var(--gutter); scroll-margin-top: 72px; }
.section-title {
  font-weight: 800; font-size: clamp(2rem, 4.5vw, 5rem);
  text-transform: uppercase; letter-spacing: -.01em; line-height: 1;
  margin-bottom: clamp(24px, 3vw, 48px);
}
.section-title span {
  font-family: "Permanent Marker", cursive; font-weight: 400;
  color: var(--blue); font-size: .5em; vertical-align: top; margin-right: 8px;
}
.lede { font-size: clamp(1.2rem, 2vw, 2rem); font-weight: 600; line-height: 1.35; margin-bottom: 18px; }
.marker { font-family: "Permanent Marker", cursive; color: var(--amber); font-size: 1.3rem; margin-top: 24px; }

/* Music */
#music { padding-top: 24px; }
.spotify { display: block; width: 100%; height: clamp(352px, 60svh, 640px); border: 0; border-radius: 12px; }
.platforms { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }
.chip {
  text-decoration: none; padding: 10px 20px; border-radius: 999px;
  border: 1px solid #2c2c31; font-weight: 600; font-size: .9rem;
  transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }

/* About: full-bleed split */
.about {
  padding: 0; display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100svh; background: var(--panel);
}
.about-img { position: relative; min-height: 50svh; }
.about-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.about-text { align-self: center; padding: clamp(48px, 6vw, 120px) var(--gutter); max-width: 60ch; }
.about-text p:not(.lede):not(.marker) { color: var(--muted); margin-bottom: 12px; }

/* Gallery: edge to edge */
#gallery { padding-left: 0; padding-right: 0; padding-bottom: 0; }
#gallery .section-title { padding: 0 var(--gutter); }
.gallery {
  display: grid; gap: 6px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 24vw);
  grid-template-areas: "col ink ink off" "col por por off";
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-collage { grid-area: col; object-position: top; }
.g-ink { grid-area: ink; }
.g-off { grid-area: off; object-position: top; }
.g-porch { grid-area: por; }

/* Contact: full-bleed band */
.contact {
  text-align: center; min-height: 70svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(rgba(10,10,11,.75), rgba(10,10,11,.9)), url(assets/studio.webp) center 30%/cover;
}
.contact .section-title { margin-bottom: 16px; }
.contact .lede { color: var(--text); font-weight: 400; margin-bottom: 28px; }

/* Footer */
.footer {
  border-top: 1px solid #1f1f23;
  padding: 40px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--muted); font-size: .85rem;
}
.footer img { height: 36px; width: auto; opacity: .8; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; font-weight: 600; transition: color .2s; }
.footer-links a:hover { color: var(--blue); }

@media (max-width: 800px) {
  .nav nav a { font-size: .75rem; }
  .about { grid-template-columns: 1fr; min-height: 0; }
  .about-img { min-height: 60svh; }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 60vw 60vw 50vw 50vw;
    grid-template-areas: "col off" "col off" "ink ink" "por por";
  }
  .footer { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .nav-logo img { height: 34px; }
  .nav nav { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }
  .hero { background: url(assets/hero-poster.webp) center/cover; }
}
