:root {
  --bg: #0a0a0a;
  --fg: #f2f2f2;
  --accent: #d4ff00;
  --line: #3a3a3a;
  --mono: "JetBrains Mono", "IBM Plex Mono", "Courier New", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--fg);
  text-decoration: none;
}
a:hover {
  background: var(--accent);
  color: var(--bg);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  border-bottom: 3px solid var(--fg);
  background: var(--bg);
}

.wordmark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}
.wordmark:hover { background: none; color: var(--accent); }

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-bottom: 3px solid var(--fg);
  overflow: hidden;
  padding: 2rem;
}

.generative-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
}

.hero-title {
  position: relative;
  z-index: 1;
  font-size: clamp(3.5rem, 16vw, 11rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
  mix-blend-mode: difference;
}
.hero-title span { color: var(--accent); mix-blend-mode: normal; }

.hero-sub {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  font-size: clamp(0.75rem, 2vw, 1rem);
  letter-spacing: 0.3em;
}

/* ---------- shared section bits ---------- */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.intro {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  border-bottom: 3px solid var(--fg);
}
.lead {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  line-height: 1.5;
}
.lead strong { color: var(--accent); font-weight: 700; }

/* ---------- artist sections ---------- */
.artist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 3px solid var(--fg);
  min-height: 70vh;
}
.artist.reverse { direction: rtl; }
.artist.reverse > * { direction: ltr; }

.artist-visual {
  position: relative;
  border-right: 3px solid var(--fg);
  background: #111;
  min-height: 320px;
}
.artist.reverse .artist-visual {
  border-right: none;
  border-left: 3px solid var(--fg);
}
.artist-canvas { opacity: 1; }

.artist-portrait {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 88%;
  width: auto;
  max-width: 82%;
  object-fit: contain;
  z-index: 1;
  filter: grayscale(0.1) contrast(1.05);
}

.artist-copy {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.artist-copy h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.artist-copy p {
  max-width: 46ch;
  font-size: 1.05rem;
  color: #cfcfcf;
}
.artist-copy p em {
  color: var(--accent);
  font-style: normal;
}
.artist-links {
  list-style: none;
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 4rem 2rem 2.5rem;
  text-align: center;
}
.footer-line {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.footer-line a { color: var(--accent); }
.footer-line a:hover { background: var(--accent); color: var(--bg); }
.footer-meta {
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 0.1em;
}

/* ---------- responsive ---------- */
@media (max-width: 800px) {
  .artist, .artist.reverse { grid-template-columns: 1fr; direction: ltr; }
  .artist-visual { border-right: none !important; border-left: none !important; border-bottom: 3px solid var(--fg); min-height: 260px; }
  .artist-copy { padding: 2.5rem 1.5rem; }
  .site-nav { gap: 1rem; font-size: 0.75rem; }
}
