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

:root {
  --bg: #1C1712;
  --text: #EDE5D8;
  --muted: #5A5048;
  --border: #2E2820;
  --nav-h: 58px;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* NAV */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
#nav.nav--scrolled {
  background: rgba(28,23,18,0.95);
  border-color: var(--border);
  backdrop-filter: blur(8px);
}
.nav-name { font-family: var(--font-serif); font-weight: 300; font-size: 17px; letter-spacing: 0.06em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; color: var(--muted); font-size: 20px; cursor: pointer; }

.mobile-menu {
  display: none; flex-direction: column;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--bg); border-bottom: 0.5px solid var(--border);
  z-index: 99; padding: 24px 40px; gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 40px 80px;
}
.hero-inner { display: flex; flex-direction: column; gap: 12px; }
.hero-sub { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hero-name {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(80px, 14vw, 160px);
  line-height: 0.9; letter-spacing: -0.02em;
}

/* SECTIONS */
.section { padding: 100px 40px; border-top: 0.5px solid var(--border); }
.section-header { margin-bottom: 56px; }
.section-label { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* PHOTOGRAPHY */
.works-grid { display: flex; flex-direction: column; gap: 80px; }
.work-item { display: flex; flex-direction: column; gap: 14px; }

.diptych-wrap {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; height: 560px;
}
.diptych-wrap img { transition: opacity 0.3s ease; }
.diptych-wrap img:hover { opacity: 0.88; }

.triptych-wrap {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; height: 560px;
}
.triptych-wrap img { transition: opacity 0.3s ease; }
.triptych-wrap img:hover { opacity: 0.88; }

.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work-title { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 15px; }
.work-year { font-size: 10px; letter-spacing: 0.08em; color: var(--muted); white-space: nowrap; flex-shrink: 0; }

/* VIDEO */
.video-work { margin-bottom: 80px; }
.video-work:last-child { margin-bottom: 0; }
.video-meta { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.video-desc { font-size: 13px; color: var(--muted); margin-bottom: 16px; max-width: 560px; }
.triptych-video { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.triptych-note { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); margin-top: 10px; }
.video-frame { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background: #28221A; }
.video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-frame--single { max-width: 860px; }

/* DRAWING */
.drawing-work { display: flex; flex-direction: column; gap: 24px; }
.drawing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.drawing-overview { width: 100%; height: auto; object-fit: unset; cursor: zoom-in; transition: opacity 0.3s; }
.drawing-overview:hover { opacity: 0.88; }
.drawing-details { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.drawing-details img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #28221A; transition: opacity 0.3s; }
.drawing-details img:hover { opacity: 0.88; }

/* ABOUT */
.about-inner { max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.about-inner p { font-size: 15px; line-height: 1.85; }

/* SHOP */
.shop-inner { display: flex; flex-direction: column; gap: 28px; max-width: 500px; }
.shop-intro { font-size: 15px; line-height: 1.8; }
.shop-btn {
  display: inline-block; padding: 12px 28px;
  border: 0.5px solid var(--muted);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: border-color 0.2s; align-self: flex-start;
}
.shop-btn:hover { border-color: var(--text); }

/* CONTACT */
.contact-inner a {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 300; letter-spacing: 0.02em;
  border-bottom: 0.5px solid var(--muted);
  transition: border-color 0.2s;
}
.contact-inner a:hover { border-color: var(--text); }

/* FOOTER */
footer { padding: 32px 40px; border-top: 0.5px solid var(--border); }
footer p { font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14, 12, 10, 0.96);
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }

.lightbox-inner {
  display: flex; flex-direction: column; align-items: center;
  max-width: 90vw; max-height: 90vh; gap: 16px;
}

.lightbox-inner img {
  max-width: 90vw; max-height: 80vh;
  width: auto; height: auto;
  object-fit: contain;
}

.lightbox-caption {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 300;
  font-size: 14px; color: var(--muted);
  letter-spacing: 0.04em;
}

.lightbox-close {
  position: fixed; top: 24px; right: 32px;
  background: none; border: none;
  color: var(--muted); font-size: 32px;
  cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--text); }

.lightbox-prev,
.lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: none; border: none;
  color: var(--muted); font-size: 24px;
  cursor: pointer; padding: 16px;
  transition: color 0.2s;
}
.lightbox-prev:hover, .lightbox-next:hover { color: var(--text); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .diptych-wrap, .triptych-wrap { height: 380px; }
  .triptych-video { grid-template-columns: 1fr; gap: 16px; }
  .drawing-grid { grid-template-columns: 1fr; }
  .drawing-details { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  #nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero { padding: calc(var(--nav-h) + 24px) 24px 60px; }
  .section { padding: 60px 24px; }
  .diptych-wrap { grid-template-columns: 1fr; height: auto; }
  .diptych-wrap img { aspect-ratio: 4/3; height: auto; }
  .triptych-wrap { grid-template-columns: 1fr; height: auto; }
  .triptych-wrap img { aspect-ratio: 4/3; height: auto; }
  .drawing-details { grid-template-columns: repeat(2, 1fr); }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  footer { padding: 24px; }
}
