@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

:root {
  --bg: #fff;
  --soft: #f7f7f5;
  --text: #242424;
  --muted: #777;
  --line: #dededb;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-weight: 300;
  letter-spacing: .01em;
}
a { color: inherit; text-decoration: none; }
.site-header {
  height: 86px;
  max-width: var(--max);
  margin: auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark { font-size: 13px; letter-spacing: .22em; }
nav { display: flex; gap: 34px; }
nav a { font-size: 10px; letter-spacing: .16em; color: #555; }
nav a:hover { color: #111; }

.hero {
  min-height: 600px;
  max-width: var(--max);
  margin: auto;
  padding: 50px 32px 70px;
  display: grid;
  grid-template-columns: 35% 65%;
  align-items: center;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 20px;
  font-size: 10px;
  letter-spacing: .22em;
  color: #777;
}
h1 {
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: .98;
  font-weight: 300;
  letter-spacing: .07em;
}
.rule { width: 34px; border-top: 1px solid #777; margin: 27px 0; }
.intro { max-width: 330px; font-size: 13px; line-height: 1.9; color: #666; }
.button {
  display: inline-block;
  border: 1px solid #aaa;
  padding: 14px 20px;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: .17em;
}
.button span { margin-left: 25px; font-size: 15px; }
.hero-art {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img {
  width: 100%;
  height: 100%;
  max-height: 570px;
  object-fit: contain;
  object-position: right center;
  mix-blend-mode: multiply;

  /* Softly disappears into the white page on the left,
     keeping the artwork away from the headline. */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,.04) 8%,
    rgba(0,0,0,.28) 18%,
    rgba(0,0,0,.72) 32%,
    #000 48%,
    #000 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,.04) 8%,
    rgba(0,0,0,.28) 18%,
    rgba(0,0,0,.72) 32%,
    #000 48%,
    #000 100%
  );
}

.section { max-width: var(--max); margin: auto; padding: 90px 32px; }
.work { border-top: 1px solid var(--line); }
.centered { text-align: center; }
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 45px;
}
.art-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f3f3f1;
}
.art-card h3 { margin: 16px 0 5px; font-size: 14px; font-weight: 400; }
.art-card p { margin: 0; font-size: 11px; color: #888; }

.about { border-top: 1px solid var(--line); background: var(--soft); max-width: none; padding-left: max(32px, calc((100vw - var(--max)) / 2 + 32px)); padding-right: max(32px, calc((100vw - var(--max)) / 2 + 32px)); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 70px; }
.about h2 { margin: 5px 0; font-size: 30px; line-height: 1.55; font-weight: 300; letter-spacing: .08em; }
.bio { border-left: 1px solid var(--line); padding-left: 40px; }
.bio p { margin: 0; max-width: 310px; font-size: 13px; line-height: 2; color: #666; }

.timeline { max-width: 930px; margin: 40px auto 0; }
.credit {
  min-height: 104px;
  display: grid;
  grid-template-columns: 100px 30px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.year { font-size: 12px; letter-spacing: .15em; color: #777; }
.dot {
  width: 9px; height: 9px; border: 1px solid #999; border-radius: 50%;
  position: relative;
}
.dot:after {
  content: ""; position: absolute; left: 3px; top: 3px;
  width: 3px; height: 3px; background: #999; border-radius: 50%;
}
.credit-copy h3 { margin: 0 0 7px; font-size: 14px; font-weight: 400; }
.credit-copy p { margin: 0 0 5px; font-size: 11px; color: #777; }
.credit-copy small { font-size: 10px; color: #999; }

.contact {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
  align-items: center;
}
.contact-copy > p:last-child { max-width: 300px; font-size: 12px; line-height: 1.8; color: #777; }
.contact-links { display: flex; justify-content: space-between; gap: 25px; }
.contact-links a { font-size: 11px; color: #666; }
.contact-links span { margin-right: 10px; font-size: 17px; }

footer {
  max-width: var(--max);
  margin: auto;
  padding: 25px 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #999;
  font-size: 9px;
  letter-spacing: .08em;
}
footer a { font-size: 18px; color: #777; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 55px; }
  .hero-art { margin-top: 30px; max-height: 450px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 35px; }
  .bio { border-left: 0; border-top: 1px solid var(--line); padding: 25px 0 0; }
  .contact { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .site-header { padding: 0 20px; }
  nav { gap: 14px; }
  nav a:nth-child(3) { display: none; }
  .hero, .section { padding-left: 20px; padding-right: 20px; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .credit { grid-template-columns: 60px 22px 1fr; }
  .credit-copy small { line-height: 1.5; }
  .contact-links { flex-direction: column; }
  h1 { font-size: 48px; }
}


/* Click-to-enlarge artwork viewer */
.art-lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.art-lightbox-trigger img {
  transition: transform .45s ease, opacity .35s ease;
}

.art-lightbox-trigger:hover img {
  transform: scale(1.015);
  opacity: .9;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(255,255,255,.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox img {
  display: block;
  max-width: min(92vw, 1500px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 30px;
  z-index: 1001;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #bdbdb9;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: #333;
  font-family: Arial, sans-serif;
  font-size: 27px;
  font-weight: 300;
  line-height: 38px;
  cursor: pointer;
}

.lightbox-close:hover {
  background: #f5f5f3;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .hero-art img {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,.35) 18%,
      #000 42%,
      #000 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,.35) 18%,
      #000 42%,
      #000 100%
    );
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox img {
    max-width: 94vw;
    max-height: 84vh;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
  }
}
