:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --white: #ffffff;
  --ink: #171a18;
  --muted: #626963;
  --line: #d9ddd7;
  --pine: #385447;
  --seal: #a8342f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  line-height: 1.7;
}

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

.site-header {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 15px;
  font-weight: 650;
}

.seal {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  background: var(--seal);
  color: white;
  font-family: "Songti SC", serif;
  font-size: 17px;
}

nav {
  display: flex;
  gap: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 13px;
}

nav a,
.text-link,
footer a {
  text-underline-offset: 5px;
}

nav a:hover,
.text-link:hover,
footer a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  overflow: hidden;
  background: #e8ede8;
}

.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(66vw, 920px);
  height: 100%;
  object-fit: cover;
  object-position: 52% 42%;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f2f5f1 0%, #f2f5f1 38%, rgba(242, 245, 241, 0.86) 52%, rgba(242, 245, 241, 0.08) 78%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(560px, 82vw);
  padding: clamp(150px, 21vh, 220px) 0 100px clamp(24px, 8vw, 118px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pine);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 500;
  line-height: 1.08;
}

.hero-copy {
  max-width: 470px;
  margin-bottom: 30px;
  color: #333a35;
  font-size: clamp(17px, 2vw, 21px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 650;
}

.art-caption {
  position: absolute;
  z-index: 2;
  right: clamp(16px, 3vw, 42px);
  bottom: 22px;
  margin: 0;
  color: #434944;
  font-size: 11px;
  writing-mode: vertical-rl;
}

.collection {
  padding: 88px clamp(20px, 6vw, 92px) 110px;
  background: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1fr);
  column-gap: 8vw;
  max-width: 1180px;
  margin: 0 auto 56px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.25;
}

.section-heading > p:last-child {
  align-self: end;
  max-width: 430px;
  margin-bottom: 4px;
  color: var(--muted);
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
  max-width: 1180px;
  margin: 0 auto;
}

.art-item-offset {
  padding-top: 56px;
}

.art-frame {
  aspect-ratio: 0.88;
  overflow: hidden;
  background: #edf0eb;
}

.art-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.art-frame:hover img {
  transform: scale(1.018);
}

.frame-tall img {
  object-position: 50% 48%;
}

.art-meta {
  padding-top: 20px;
}

.art-meta h3 {
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 500;
}

.art-meta p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.8fr);
  gap: 10vw;
  padding: 88px clamp(20px, 8vw, 118px);
  border-top: 1px solid var(--line);
  background: #edf2ee;
}

.about > p {
  align-self: end;
  max-width: 500px;
  margin-bottom: 3px;
  color: #505952;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: #dfe3df;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  font-size: 11px;
}

footer a {
  color: white;
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px 18px;
  }

  nav {
    gap: 18px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-art {
    inset: auto 0 0;
    width: 100%;
    height: 61%;
    object-position: 50% 34%;
  }

  .hero-wash {
    background: linear-gradient(180deg, #f2f5f1 0%, #f2f5f1 43%, rgba(242, 245, 241, 0.76) 54%, rgba(242, 245, 241, 0.02) 78%);
  }

  .hero-content {
    width: auto;
    padding: 120px 24px 360px;
  }

  .hero-copy {
    max-width: 360px;
    font-size: 17px;
  }

  .art-caption {
    display: none;
  }

  .collection {
    padding: 64px 20px 80px;
  }

  .section-heading,
  .about {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .art-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .art-item-offset {
    padding-top: 0;
  }

  .art-frame {
    aspect-ratio: 1 / 1.08;
  }

  .about {
    padding: 64px 20px;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .art-frame img {
    transition: none;
  }
}
