* { box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --fg: #f2f2f2;
  --muted: #8d8d8d;
  --line: #292929;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
}

button, a { font: inherit; color: inherit; }

.site-header {
  height: 76px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10,10,10,.94);
  backdrop-filter: blur(12px);
}

.brand {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .2em;
  font-weight: 700;
}

.about-toggle {
  border: 0;
  background: none;
  padding: 8px 0;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: .18em;
}

.hero {
  min-height: 68vh;
  padding: 13vh 8vw 10vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .25em;
}

h1 {
  margin: 0;
  max-width: 950px;
  font-size: clamp(48px, 8vw, 118px);
  line-height: .92;
  letter-spacing: -.055em;
  font-weight: 500;
}

.hero-copy {
  margin: 34px 0 0;
  color: #aaa;
  font-size: 14px;
  letter-spacing: .02em;
}

.gallery {
  width: 92vw;
  margin: 0 auto 12vw;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.artwork {
  position: relative;
  overflow: hidden;
  background: #151515;
  cursor: pointer;
  min-height: 300px;
}

.artwork:nth-child(1) { grid-column: span 7; aspect-ratio: 1.35; }
.artwork:nth-child(2) { grid-column: span 5; aspect-ratio: .9; }
.artwork:nth-child(3) { grid-column: span 4; aspect-ratio: .9; }
.artwork:nth-child(4) { grid-column: span 8; aspect-ratio: 1.5; }
.artwork:nth-child(5) { grid-column: span 6; aspect-ratio: 1.15; }
.artwork:nth-child(6) { grid-column: span 6; aspect-ratio: 1.15; }

.artwork img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease;
}

.artwork:hover img {
  transform: scale(1.045);
  filter: grayscale(0%);
}

.artwork-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .08em;
  opacity: 0;
  transform: translateY(8px);
  transition: .3s ease;
  text-shadow: 0 1px 10px #000;
}

.artwork:hover .artwork-info { opacity: 1; transform: translateY(0); }

.about {
  border-top: 1px solid var(--line);
  width: 84vw;
  margin: 0 auto 15vh;
  padding-top: 40px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.about p:last-child {
  margin: 0;
  max-width: 680px;
  font-size: clamp(20px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,.97);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 70px 9vw;
}

.lightbox.open { display: flex; }

.lightbox figure {
  margin: 0;
  max-width: 88vw;
  max-height: 86vh;
  text-align: center;
}

.lightbox img {
  display: block;
  max-width: 88vw;
  max-height: 78vh;
  object-fit: contain;
  margin: auto;
}

.lightbox figcaption {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: .15em;
  color: #aaa;
}

.close, .previous, .next {
  position: absolute;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 28px;
  padding: 15px;
}

.close { top: 18px; right: 25px; }
.previous { left: 25px; top: 50%; }
.next { right: 25px; top: 50%; }

footer {
  border-top: 1px solid var(--line);
  padding: 25px 4vw;
  display: flex;
  justify-content: space-between;
  color: #777;
  font-size: 9px;
  letter-spacing: .18em;
}

@media (max-width: 700px) {
  .site-header { height: 64px; padding: 0 5vw; }
  .hero { min-height: 58vh; padding: 11vh 7vw 9vh; }
  h1 { font-size: clamp(44px, 14vw, 76px); }
  .gallery {
    width: 90vw;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .artwork,
  .artwork:nth-child(n) {
    grid-column: auto;
    aspect-ratio: 1 / 1.08;
    min-height: 0;
  }
  .artwork-info { opacity: 1; transform: none; }
  .about {
    width: 86vw;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 12vh;
  }
  .lightbox { padding: 65px 18px; }
  .lightbox img { max-width: 92vw; max-height: 70vh; }
  .previous { left: 3px; }
  .next { right: 3px; }
}
