@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
  --bg: #f7f5f1;
  --surface: #ffffff;
  --text: #171717;
  --muted: #77736d;
  --line: #dedbd5;
  --accent: #171717;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
}

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

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

.logo { font-weight: 700; letter-spacing: .08em; }

nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
nav a:hover, footer a:hover, .text-link:hover { opacity: .55; }

.shop-link {
  border: 1px solid var(--text);
  padding: 10px 15px;
  border-radius: 999px;
}

.hero {
  min-height: 78vh;
  padding: 8vw 7vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--muted);
}

h1 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: .94;
  letter-spacing: -.05em;
  margin: 0;
}

h1 em, h2 em {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.intro {
  max-width: 430px;
  margin: 30px 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 16px;
}

.hero-actions { display: flex; align-items: center; gap: 24px; }

.button {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.text-link { font-size: 14px; font-weight: 700; }

.hero-art { display: flex; justify-content: center; }

.art-placeholder {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #e6e2dc;
  color: #8b867e;
  font-size: 12px;
  letter-spacing: .12em;
}

.art-placeholder small {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
}

.featured {
  width: min(100%, 540px);
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.section {
  padding: 8vw 7vw;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 45px;
}

h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -.04em;
}

.section-note { color: var(--muted); font-size: 13px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}

.art-card {
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  overflow: hidden;
}

.art-card .art-placeholder {
  width: 100%;
  height: 100%;
  transition: transform .4s ease, filter .4s ease;
}

.art-card:hover .art-placeholder {
  transform: scale(1.025);
  filter: brightness(.92);
}

.art-card.tall { grid-row: span 2; }
.art-card.wide { grid-column: span 2; }

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
}

.about-copy {
  max-width: 520px;
  line-height: 1.8;
  color: var(--muted);
}

.about-copy .button { margin-top: 12px; }

footer {
  padding: 30px 7vw;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

footer div { display: flex; gap: 20px; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.88);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox p { color: white; margin: 16px 0 0; font-size: 13px; }

.close {
  position: absolute;
  top: 18px;
  right: 24px;
  border: 0;
  background: none;
  color: white;
  font-size: 42px;
  cursor: pointer;
}

@media (max-width: 800px) {
  .site-header { padding: 0 5vw; }
  nav a:not(.shop-link) { display: none; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 14vw;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 230px;
  }

  .art-card.wide { grid-column: span 2; }
  .art-card.tall { grid-row: span 2; }

  .about { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-note { margin-top: 15px; }

  footer { display: block; }
  footer div { margin-top: 15px; }
}
