:root {
  --bg: #f4f3ef;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #6f6b63;
  --line: #d8d2c5;
  --accent: #235c58;
  --display: "Didot", "Bodoni 72", "Iowan Old Style", "Times New Roman", "Noto Serif SC", serif;
  --sans: Arial, "Helvetica Neue", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: 0;
}

h1,
h2,
strong,
em,
p,
dd,
a {
  overflow-wrap: anywhere;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 20px 28px;
  background: color-mix(in srgb, var(--bg) 90%, white);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: 0.01em;
}

.brand span {
  margin-left: 6px;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
  color: var(--muted);
}

nav a:hover,
nav a[aria-current="page"],
footer a:hover,
.section-heading a:hover {
  color: var(--ink);
}

.lang-toggle,
.gallery-item,
.lightbox button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.lang-toggle {
  justify-self: end;
  min-width: 54px;
  padding: 6px 10px;
}

main {
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  width: 100vw;
  min-height: calc(100vh - 73px);
  margin-left: calc(50% - 50vw);
  margin-bottom: 54px;
  overflow: hidden;
  background: #111;
  color: white;
}

.home-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0,0,0,0.58), rgba(0,0,0,0.18) 42%, rgba(0,0,0,0.05)),
    linear-gradient(0deg, rgba(0,0,0,0.42), rgba(0,0,0,0) 44%);
}

.home-hero img {
  width: 100%;
  height: calc(100vh - 73px);
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.home-hero-text {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 6vw, 86px);
  bottom: clamp(34px, 8vh, 92px);
  width: min(520px, calc(100vw - 48px));
}

.kicker {
  margin: 0 0 14px;
  color: currentColor;
  opacity: 0.78;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
}

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

h1 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(48px, 8vw, 116px);
  font-weight: 300;
  line-height: 0.95;
}

h1 span,
.zh-title {
  color: var(--muted);
}

.home-hero h1 span {
  display: block;
}

.home-hero .bio {
  max-width: 430px;
  margin-top: 22px;
  padding-left: 18px;
  border-left: 1px solid rgba(255,255,255,0.52);
  font-family: var(--sans);
  font-size: clamp(13px, 1.05vw, 16px);
  line-height: 1.58;
  color: rgba(255,255,255,0.84);
  text-shadow: 0 1px 18px rgba(0,0,0,0.5);
}

.hero-link {
  display: inline-flex;
  margin-top: 26px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lead {
  font-size: 24px;
  line-height: 1.35;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: repeat(2, minmax(260px, 34vh));
  gap: 18px;
  margin-bottom: 72px;
}

.feature {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.feature-large {
  grid-row: span 2;
}

.feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.feature:hover img {
  transform: scale(1.025);
}

.feature span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  padding: 6px 8px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
}

.index-band,
.page-title,
.year-section,
.about-layout,
.work-heading,
.statement {
  border-top: 1px solid var(--line);
}

.section-heading,
.page-title,
.about-layout,
.work-heading {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 52px;
}

.section-heading {
  align-items: baseline;
  padding: 24px 0;
}

.section-heading h2,
.year-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 400;
}

.section-heading a,
footer,
.work-row span,
.work-row em,
.work-card span,
.work-card em,
dt,
.back-link {
  color: var(--muted);
}

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

.work-row {
  display: grid;
  grid-template-columns: 72px 1fr 0.8fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.work-row:hover strong,
.work-card:hover strong {
  color: var(--accent);
}

.page-title {
  padding: 58px 0 42px;
}

.page-title p,
.about-text {
  max-width: 780px;
}

.works-by-year {
  padding-bottom: 80px;
}

.year-section {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 34px 0 48px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 18px;
}

.work-card {
  display: grid;
  gap: 7px;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper);
  margin-bottom: 4px;
}

.work-card strong {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
}

.work-card em,
.work-row em {
  font-style: normal;
}

.about-layout {
  min-height: 72vh;
  padding: 70px 0;
}

.about-text p {
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: 23px;
  line-height: 1.36;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
}

.text-button:hover {
  border-color: var(--ink);
}

.work-detail {
  padding-bottom: 80px;
}

.work-heading {
  padding: 44px 0 28px;
}

.work-heading h1,
.page-title h1,
.about-layout h1 {
  font-size: clamp(42px, 6vw, 78px);
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
}

.work-heading dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.work-heading div div {
  min-width: 0;
}

dt {
  font-size: 12px;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
}

.hero-image {
  margin: 0;
  background: var(--paper);
}

.hero-image img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.statement {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 52px;
  padding: 28px 0 46px;
}

.statement::before {
  content: "Statement";
  color: var(--muted);
}

.statement p {
  font-size: 19px;
}

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

.gallery-item {
  padding: 0;
  background: var(--paper);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 54px 24px 24px;
  background: rgba(12, 12, 12, 0.88);
}

.lightbox[hidden] {
  display: none;
}

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

.lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  padding: 7px 10px;
  color: white;
  border-color: rgba(255,255,255,0.5);
}

footer {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 34px 0 28px;
  border-top: 1px solid var(--line);
}

@media (max-width: 840px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 16px 18px;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .lang-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  main,
  footer {
    width: min(100vw - 32px, 1280px);
  }

  .home-intro,
  .home-hero,
  .section-heading,
  .page-title,
  .about-layout,
  .work-heading,
  .statement,
  .year-section {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-hero {
    min-height: calc(100vh - 105px);
    margin-bottom: 38px;
  }

  .home-hero img {
    height: calc(100vh - 105px);
    min-height: 580px;
    object-position: 58% center;
  }

  h1 {
    font-size: clamp(40px, 14vw, 62px);
  }

  .work-heading h1,
  .page-title h1,
  .about-layout h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1.03;
  }

  .home-hero .bio,
  .lead {
    font-size: 17px;
  }

  .featured-grid,
  .work-grid,
  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .feature,
  .feature-large {
    min-height: 260px;
    grid-row: auto;
  }

  .work-row {
    grid-template-columns: 58px 1fr;
  }

  .work-row em {
    grid-column: 2;
  }

  footer {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
