/* ─── Reset & Base ───────────────────────────────────────────────── */

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

:root {
  --bg: #ffffff;
  --fg: #111111;
  --muted: #888888;
  --line: #e8e8e8;
  --max: 1280px;
  --pad: 24px;
  --header-h: 56px;
  --radius: 6px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ─── Landing ────────────────────────────────────────────────────── */

body.page-landing {
  overflow: hidden;
}

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
}

.landing-name {
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.landing-links {
  display: flex;
  gap: 22px;
}

.landing-links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.landing-links a:hover {
  text-decoration: none;
  opacity: 0.7;
}

.hero {
  position: fixed;
  inset: 0;
  display: block;
  cursor: pointer;
}

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

/* ─── Header ─────────────────────────────────────────────────────── */

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

.brand-name {
  font-size: 15px;
  letter-spacing: 0.02em;
}

.topnav {
  display: flex;
  gap: 22px;
}

.topnav a {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.topnav a.active {
  color: var(--fg);
}

.topnav a:hover {
  text-decoration: none;
  color: var(--fg);
}

/* ─── Container ──────────────────────────────────────────────────── */

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--pad) 80px;
  overflow-x: hidden;
}

/* ─── Masonry Grid ───────────────────────────────────────────────── */

.masonry {
  column-count: 4;
  column-gap: 18px;
}

@media (max-width: 1100px) {
  .masonry { column-count: 3; }
}

@media (max-width: 720px) {
  .masonry { column-count: 2; }
}

@media (max-width: 420px) {
  .masonry { column-count: 1; }
}

.tile {
  break-inside: avoid;
  margin-bottom: 18px;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f5f5;
}

.tile img {
  width: 100%;
  height: auto;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.tile:hover img {
  opacity: 0.94;
  transform: scale(1.012);
}

/* ─── Lightbox ───────────────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.97);
  z-index: 100;
}

.lightbox.is-open {
  display: flex;
}

.lb-figure {
  margin: 0;
  width: min(90vw, 1080px);
  height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

#lb-img {
  max-width: 100%;
  max-height: calc(min(88vh, 900px) - 50px);
  object-fit: contain;
  border-radius: var(--radius);
}

.lb-cap {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
}

.lb-btn {
  position: fixed;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--fg);
  user-select: none;
  line-height: 1;
}

.lb-close {
  top: 20px;
  right: 20px;
  font-size: 30px;
}

.lb-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 52px;
}

.lb-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 52px;
}

/* ─── About Layout ───────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  margin-top: 10px;
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Portrait column */

.about-portrait {
  padding-right: 12px;
  padding-bottom: 10px;
}

.about-portrait img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 22px;
}

/* Social links */

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  padding-top: 12px;
  padding-bottom: 16px;
  border-top: 1px solid var(--line);
}

.social-links a {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* Text column */

.about-text h1 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}

.about-text h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 32px 0 12px;
}

.about-text p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  max-width: 60ch;
  margin-bottom: 14px;
}

/* Exhibition lists */

.shows {
  list-style: none;
  border-top: 1px solid var(--line);
}

.shows li {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}

.year {
  flex-shrink: 0;
  width: 46px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.year-inline {
  color: var(--muted);
  font-size: 12px;
  margin-left: 6px;
}

/* Contact */

.contact {
  margin-top: 40px;
}

.contact a {
  font-size: 14px;
  color: #333;
  text-decoration: underline;
  text-underline-offset: 3px;
}