*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0d0d0d;
  --surface: #141414;
  --border: #222;
  --text: #e8e8e8;
  --muted: #666;
  --accent: #c8a96e;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── NAV ── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

nav.scrolled {
  border-color: var(--border);
}

.nav-name {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 48px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}

.nav-logo:hover {
  opacity: 0.8;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--text);
}

/* hamburger — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── HERO ── */

#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.25;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.5) 0%, rgba(13,13,13,0.2) 50%, rgba(13,13,13,0.9) 100%);
}

.hero-inner {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

#hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

#hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

/* ── WAVEFORM ── */

.waveform {
  position: absolute;
  z-index: 1;
  bottom: 3rem;
  left: 3rem;
  right: 3rem;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 60px;
  opacity: 0.15;
}

.waveform span {
  flex: 1;
  background: var(--accent);
  border-radius: 2px;
  animation: wave 1.4s ease-in-out infinite;
}

.waveform span:nth-child(1)  { height: 20%; animation-delay: 0.0s; }
.waveform span:nth-child(2)  { height: 55%; animation-delay: 0.1s; }
.waveform span:nth-child(3)  { height: 80%; animation-delay: 0.2s; }
.waveform span:nth-child(4)  { height: 40%; animation-delay: 0.3s; }
.waveform span:nth-child(5)  { height: 70%; animation-delay: 0.4s; }
.waveform span:nth-child(6)  { height: 30%; animation-delay: 0.5s; }
.waveform span:nth-child(7)  { height: 90%; animation-delay: 0.6s; }
.waveform span:nth-child(8)  { height: 50%; animation-delay: 0.7s; }
.waveform span:nth-child(9)  { height: 65%; animation-delay: 0.8s; }
.waveform span:nth-child(10) { height: 25%; animation-delay: 0.9s; }
.waveform span:nth-child(11) { height: 75%; animation-delay: 1.0s; }
.waveform span:nth-child(12) { height: 45%; animation-delay: 1.1s; }
.waveform span:nth-child(13) { height: 100%; animation-delay: 1.2s; }
.waveform span:nth-child(14) { height: 55%; animation-delay: 1.3s; }
.waveform span:nth-child(15) { height: 35%; animation-delay: 0.0s; }
.waveform span:nth-child(16) { height: 80%; animation-delay: 0.15s; }
.waveform span:nth-child(17) { height: 60%; animation-delay: 0.3s; }
.waveform span:nth-child(18) { height: 20%; animation-delay: 0.45s; }
.waveform span:nth-child(19) { height: 70%; animation-delay: 0.6s; }
.waveform span:nth-child(20) { height: 45%; animation-delay: 0.75s; }
.waveform span:nth-child(21) { height: 90%; animation-delay: 0.9s; }
.waveform span:nth-child(22) { height: 30%; animation-delay: 1.05s; }
.waveform span:nth-child(23) { height: 65%; animation-delay: 1.2s; }
.waveform span:nth-child(24) { height: 50%; animation-delay: 0.05s; }
.waveform span:nth-child(25) { height: 85%; animation-delay: 0.2s; }
.waveform span:nth-child(26) { height: 40%; animation-delay: 0.35s; }
.waveform span:nth-child(27) { height: 70%; animation-delay: 0.5s; }
.waveform span:nth-child(28) { height: 25%; animation-delay: 0.65s; }
.waveform span:nth-child(29) { height: 55%; animation-delay: 0.8s; }
.waveform span:nth-child(30) { height: 15%; animation-delay: 0.95s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50%       { transform: scaleY(0.4); }
}

/* ── BUTTONS ── */

.btn {
  display: inline-block;
  background: var(--accent);
  color: #0d0d0d;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #0d0d0d;
  opacity: 1;
}

/* ── SHARED ── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}

section {
  padding: 8rem 0;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

section h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 3rem;
}

section h2 em {
  font-style: italic;
  color: var(--accent);
}

/* ── ABOUT ── */

#about {
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 6rem;
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-photo img {
  width: 100%;
  display: block;
  filter: grayscale(20%) contrast(1.05);
  border: 1px solid var(--border);
  object-fit: cover;
}

.about-photo img:first-child {
  height: 340px;
  object-position: center top;
}

.about-photo img:last-child {
  height: 260px;
  object-position: center 30%;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-skills ul {
  list-style: none;
  border-top: 1px solid var(--border);
}

.about-skills li {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.about-skills li:hover {
  color: var(--text);
}

/* ── STUDIO STRIP ── */

.studio-strip {
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.studio-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(15%) contrast(1.05);
  display: block;
}

/* ── WORK ── */

#work {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.project-card {
  background: var(--surface);
  padding: 2rem;
  transition: background 0.2s;
  cursor: default;
}

.project-card:hover {
  background: #1a1a1a;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.tag {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

.year {
  font-size: 0.75rem;
  color: var(--muted);
}

.project-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.project-card > p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.project-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-roles span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
}

/* ── ARTISTS ── */

#artists {
  border-top: 1px solid var(--border);
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.artist-card {
  background: var(--bg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s;
}

.artist-card:hover {
  background: var(--surface);
}

.artist-card--featured {
  background: var(--surface);
  border-left: 2px solid var(--accent);
}

.artist-card--featured:hover {
  background: #1a1a1a;
}

.artist-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

.artist-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}

.artist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.artist-tags span {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(200, 169, 110, 0.35);
  padding: 0.2rem 0.55rem;
}

@media (max-width: 900px) {
  .artists-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .artists-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .artist-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ── TV & BROADCAST ── */

#tv {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.tv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.tv-card {
  background: var(--surface);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s;
}

.tv-card:hover {
  background: #1a1a1a;
}

.tv-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tv-channel {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.25rem 0.65rem;
}

.tv-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.tv-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
}

@media (max-width: 640px) {
  .tv-grid {
    grid-template-columns: 1fr;
  }
}

/* ── GALLERY ── */

#gallery {
  border-top: 1px solid var(--border);
  padding-bottom: 0;
}

#gallery .container {
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 2px;
}

.gallery-item {
  overflow: hidden;
}

.gallery-item.gallery-tall {
  grid-row: span 2;
}

.gallery-item.gallery-wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: grayscale(15%);
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery-item.gallery-wide {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-item.gallery-tall {
    grid-row: span 1;
  }

  .gallery-item.gallery-wide {
    grid-column: span 2;
  }
}

/* ── CONTACT ── */

#contact {
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 6rem;
  align-items: center;
}

.contact-photo img {
  width: 100%;
  filter: grayscale(20%) contrast(1.05);
  border: 1px solid var(--border);
}

.contact-inner h2 {
  margin-bottom: 1rem;
}

.contact-inner > p {
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
}

.social-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--accent);
}

/* ── FOOTER ── */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  nav { padding: 1.25rem 1.5rem; }

  #hero { padding: 7rem 1.5rem 4rem; }

  .container { padding: 0 1.5rem; }

  footer { padding: 2rem 1.5rem; }

  .waveform { left: 1.5rem; right: 1.5rem; }

  section { padding: 5rem 0; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-photo {
    position: static;
    max-width: 480px;
  }

  .about-photo img:first-child {
    height: 260px;
  }

  .about-photo img:last-child {
    height: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-photo {
    max-width: 480px;
  }

  .studio-strip {
    height: 260px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  /* show hamburger, hide inline links */
  .nav-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    z-index: 99;
  }

  nav ul.open {
    display: flex;
  }

  nav ul a {
    font-size: 1.1rem;
    letter-spacing: 0.12em;
  }

  /* keep nav-name and toggle above the fullscreen menu */
  .nav-name,
  .nav-toggle {
    z-index: 100;
    position: relative;
  }

  #hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.5rem);
  }

  .hero-sub {
    font-size: 1rem;
  }

  .waveform {
    height: 40px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 1rem 1.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 1.5rem;
  }

  .social-links {
    flex-direction: column;
    gap: 1rem;
  }

  .social-links a,
  nav ul a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .contact-inner > .btn {
    font-size: 0.75rem;
    word-break: break-all;
  }
}
