/* ============================================================
   RICHTER JAN — style.css
   Minimal editorial · dark · serif display
   ============================================================ */

:root {
  --bg: #0e0e0e;
  --fg: #e8e2d9;
  --fg-muted: #9a9590;
  --accent: #c8b89a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
  --nav-h: 64px;
  --gap: clamp(24px, 4vw, 64px);
  --max: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  z-index: 100;
  background: linear-gradient(to bottom, rgba(14,14,14,0.95), transparent);
}

.nav-logo img { height: 36px; filter: invert(0); }

.nav-links {
  display: flex;
  gap: 36px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.7;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--fg);
}

/* ── MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: clamp(28px, 6vw, 48px);
  letter-spacing: 0.02em;
}
.mobile-social {
  display: flex;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 16px;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: var(--nav-h);
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.6s;
}
.hero-image-wrap:hover .hero-img { filter: grayscale(0%) contrast(1); }

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 100px) clamp(32px, 5vw, 80px);
  gap: 20px;
  border-left: 1px solid rgba(232,226,217,0.08);
}
.hero-intro {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero-text p {
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--fg-muted);
  max-width: 480px;
}
.hero-drive a {
  color: var(--accent);
  border-bottom: 1px solid rgba(200,184,154,0.3);
  transition: border-color 0.2s;
}
.hero-drive a:hover { border-color: var(--accent); }

/* ── TAGLINE ─────────────────────────────────────────────── */
.tagline {
  padding: clamp(80px, 10vw, 160px) clamp(20px, 4vw, 60px);
  text-align: center;
  border-top: 1px solid rgba(232,226,217,0.06);
}
.tagline h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 110px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.tagline-sub {
  display: block;
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ── ARTIST INTRO ────────────────────────────────────────── */
.artist-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  border-top: 1px solid rgba(232,226,217,0.06);
}
.artist-intro-img {
  position: relative;
  overflow: hidden;
}
.artist-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}
.btn-link {
  position: absolute;
  bottom: 32px;
  left: 32px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--fg-muted);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-link:hover { color: var(--accent); border-color: var(--accent); }

.artist-intro-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 100px) clamp(32px, 5vw, 80px);
  border-left: 1px solid rgba(232,226,217,0.08);
}
.discipline-list {
  font-family: var(--sans);
  font-size: clamp(16px, 2.2vw, 24px);
  line-height: 1.9;
  letter-spacing: 0.04em;
}
.discipline-list strong { font-weight: 500; }
.discipline-list em { font-style: italic; color: var(--accent); }

/* ── WORKS ───────────────────────────────────────────────── */
.works {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  border-top: 1px solid rgba(232,226,217,0.06);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: clamp(32px, 4vw, 64px);
}

.gallery {
  columns: 2;
  column-gap: 2px;
  width: 100%;
}
.gallery-item {
  break-inside: avoid;
  display: block;
  position: relative;
  overflow: hidden;
  margin-bottom: 2px;
}
.gallery-item img {
  width: 100%;
  display: block;
  filter: grayscale(10%);
  transition: filter 0.4s, transform 0.5s;
}
.gallery-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}
.gallery-item span {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: rgba(232,226,217,0.6);
  background: rgba(14,14,14,0.5);
  padding: 2px 6px;
  backdrop-filter: blur(4px);
}

.works-note {
  margin-top: clamp(40px, 5vw, 80px);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  text-align: center;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── TIMELINE ────────────────────────────────────────────── */
.timeline {
  border-top: 1px solid rgba(232,226,217,0.06);
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
}
.timeline-inner {
  max-width: 800px;
  margin: 0 auto;
}
.timeline-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(232,226,217,0.05);
  align-items: baseline;
}
.tl-year {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  white-space: nowrap;
}
.tl-year em { font-style: normal; opacity: 0.6; }
.tl-text {
  font-size: clamp(13px, 1.3vw, 15px);
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(232,226,217,0.08);
  padding: clamp(48px, 6vw, 96px) clamp(20px, 4vw, 60px) clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 24px 40px;
  align-items: start;
}
.footer-logo img { height: 40px; grid-column: 1; grid-row: 1; }
.footer-links {
  grid-column: 2; grid-row: 1;
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.footer-links a:hover { color: var(--fg); }
.footer-contact {
  grid-column: 3; grid-row: 1;
  font-size: 12px;
  color: var(--fg-muted);
}
.footer-contact a:hover { color: var(--accent); }
.footer-social {
  grid-column: 1 / -1; grid-row: 2;
  display: flex;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.footer-social span { opacity: 0.4; }
.footer-social a:hover { color: var(--fg); }
.footer-copy {
  grid-column: 1 / -1; grid-row: 3;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(154,149,144,0.5);
  text-transform: uppercase;
}

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.page-hero {
  padding-top: var(--nav-h);
  min-height: 80svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.page-hero-img { overflow: hidden; }
.page-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}
.page-hero-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(40px, 6vw, 100px) clamp(32px, 5vw, 80px);
  border-left: 1px solid rgba(232,226,217,0.08);
}
.page-hero-text h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 32px;
}
.page-hero-text h1 strong { font-weight: 500; }
.page-hero-text h1 em { font-style: italic; color: var(--accent); }

.about-poem {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  max-width: 640px;
  margin: 0 auto;
  border-top: 1px solid rgba(232,226,217,0.06);
}
.about-poem p {
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 2;
  font-style: italic;
  color: var(--fg-muted);
  text-align: center;
}

.about-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(232,226,217,0.06);
}
.about-cat {
  padding: clamp(32px, 4vw, 64px) clamp(20px, 3vw, 40px);
  border-right: 1px solid rgba(232,226,217,0.06);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: color 0.2s, background 0.2s;
}
.about-cat:last-child { border-right: none; }
.about-cat:hover { color: var(--fg); background: rgba(200,184,154,0.04); }

.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border-top: 1px solid rgba(232,226,217,0.06);
}
.about-gallery img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(15%);
  transition: filter 0.4s;
}
.about-gallery img:hover { filter: grayscale(0%); }

.about-statement {
  padding: clamp(60px, 8vw, 120px) clamp(20px, 4vw, 60px);
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid rgba(232,226,217,0.06);
}
.about-statement p {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--fg-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ── CONTACT PAGE ────────────────────────────────────────── */
.contact-wrap {
  min-height: 100svh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 120px) clamp(40px, 6vw, 100px);
}
.contact-left h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 32px;
}
.contact-left p {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 360px;
}
.contact-left a {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  color: var(--accent);
  border-bottom: 1px solid rgba(200,184,154,0.3);
  padding-bottom: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(60px, 8vw, 120px) clamp(40px, 6vw, 100px);
  border-left: 1px solid rgba(232,226,217,0.08);
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(232,226,217,0.15);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
}
.form-field textarea { min-height: 120px; }
.form-submit {
  align-self: flex-start;
  margin-top: 8px;
  background: none;
  border: 1px solid rgba(232,226,217,0.2);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.form-submit:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.form-success {
  display: none;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--accent);
  margin-top: 16px;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero,
  .artist-intro,
  .page-hero,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .hero-image-wrap,
  .page-hero-img { min-height: 50svh; }
  .hero-text,
  .artist-intro-text,
  .page-hero-text,
  .contact-form {
    border-left: none;
    border-top: 1px solid rgba(232,226,217,0.06);
  }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .gallery { columns: 2; }
  .about-categories,
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
  .timeline-item { grid-template-columns: 140px 1fr; }
  .footer {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .footer-logo,
  .footer-links,
  .footer-contact,
  .footer-social,
  .footer-copy { grid-column: 1; grid-row: auto; }
  .footer-links { flex-direction: column; gap: 12px; }
}

@media (max-width: 560px) {
  .gallery { columns: 1; }
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .contact-left,
  .contact-form { padding: 48px 24px; }
}
