:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #1d1d1f;
  --ink-soft: #3c3c43;
  --muted: #86868b;
  --line: rgba(0, 0, 0, 0.1);
  --line-soft: rgba(0, 0, 0, 0.06);
  --accent: #7a9a63;
  --maxw: 1120px;
  --pad: clamp(22px, 4vw, 56px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(122, 154, 99, 0.035), transparent 32rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
}

.nav {
  width: min(100%, 1320px);
  height: 64px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  font-size: 15px;
  color: var(--ink);
}

.nav-links a {
  padding: 8px 0;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.hero {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: clamp(86px, 10vw, 128px) var(--pad) 44px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  letter-spacing: 0;
}

.hero-prints {
  max-width: 980px;
  margin: clamp(38px, 6vw, 68px) auto 0;
}

.hero-prints img {
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.section-rule {
  width: min(calc(100% - var(--pad) * 2), var(--maxw));
  margin: clamp(28px, 5vw, 60px) auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.section-rule::before,
.section-rule::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.section-rule span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.gallery-section {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 72px) var(--pad) 0;
}

.section-heading {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 26px;
}

.work-item {
  min-width: 0;
}

.work-item img {
  width: 100%;
  aspect-ratio: 1.44 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f5f7;
  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.work-item:hover img {
  transform: translateY(-2px);
  filter: saturate(1.02);
}

.work-item h3 {
  margin: 16px 0 4px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0;
}

.work-item time {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.notes {
  width: min(calc(100% - var(--pad) * 2), var(--maxw));
  margin: clamp(64px, 9vw, 96px) auto 0;
  padding: clamp(42px, 6vw, 58px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.notes h2 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: 0;
}

.notes p:last-child {
  max-width: 660px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.site-footer {
  width: min(100%, var(--maxw));
  margin: 0 auto;
  padding: 36px var(--pad) 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  transition: color 180ms ease;
}

@media (max-width: 820px) {
  .nav {
    height: 58px;
  }

  .brand {
    font-size: 16px;
  }

  .nav-links {
    gap: 24px;
    font-size: 14px;
  }

  .hero {
    padding-top: 74px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-prints {
    width: min(108%, 720px);
    transform: translateX(-2%);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 18px;
  }
}

@media (max-width: 560px) {
  :root {
    --pad: 20px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero {
    padding-bottom: 28px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.14;
  }

  .hero-copy {
    max-width: 300px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .work-item h3 {
    font-size: 15px;
  }

  .notes {
    text-align: left;
  }

  .notes h2,
  .notes p:last-child {
    margin-left: 0;
    margin-right: 0;
  }

  .site-footer {
    flex-direction: column;
    gap: 6px;
    padding-bottom: 36px;
    text-align: center;
  }
}
