:root {
  color-scheme: light;
  --paper: #f4f3ef;
  --ink: #171a1f;
  --muted: #6d7076;
  --line: #c9c8c2;
  --blue: #2457d6;
  --amber: #f1a54a;
  --page: min(100% - 48px, 1480px);
  font-family: Inter, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; }

img, video { display: block; width: 100%; }

.site-header,
.hero,
.works,
.about,
footer {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  height: 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

nav { display: flex; gap: 32px; }

nav a,
.edition,
.eyebrow,
.work-meta > span,
footer {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a { text-decoration: none; }
nav a:hover { color: var(--blue); }
.edition { margin: 0; color: var(--muted); }

.hero {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 144px) 0;
}

.hero-copy {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
}

.eyebrow { color: var(--blue); font-weight: 700; margin: 0 0 26px; }

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

h1 {
  margin-bottom: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(4rem, 9vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.94;
  white-space: nowrap;
}

.text-link {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  font-weight: 650;
}

.text-link:hover { color: var(--blue); border-color: var(--blue); }

.works { padding: 150px 0; }

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 86px;
}

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

.section-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}

.section-heading > p:last-child {
  max-width: 32rem;
  margin: 0 0 6px auto;
  color: var(--muted);
  line-height: 1.75;
}

.work {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.55fr);
  gap: clamp(30px, 5vw, 86px);
  align-items: end;
  padding: 34px 0 100px;
  border-top: 1px solid var(--line);
}

.work-video {
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.65fr);
}

.work-video .video-shell { grid-column: 2; }
.work-video .work-meta { grid-row: 1; grid-column: 1; }

.media-button {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.media-button img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.7,.2,1);
}

.media-button:hover img { transform: scale(1.025); }

.view-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 10px 14px;
  background: rgba(244, 243, 239, 0.92);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.video-shell {
  display: grid;
  place-items: center;
  padding: clamp(22px, 4vw, 62px);
  background: #090b0e;
}

.video-shell video {
  width: min(100%, 500px);
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.work-meta > span { color: var(--blue); font-weight: 700; }

.work-meta h3 {
  margin: 22px 0 14px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.work-meta p { color: var(--muted); line-height: 1.7; }

.about {
  display: grid;
  grid-template-columns: 0.45fr 1.35fr 0.6fr;
  gap: 40px;
  padding: 110px 0 120px;
  border-top: 1px solid var(--line);
}

.about h2 {
  max-width: 850px;
  margin-bottom: 32px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(2.3rem, 4.5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.about div p { max-width: 600px; color: var(--muted); line-height: 1.8; }
.about > a { align-self: end; justify-self: end; text-underline-offset: 5px; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}

footer p { margin: 0; }
footer a { text-decoration: none; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  padding: 64px;
  border: 0;
  background: rgba(10, 12, 16, 0.96);
  color: white;
}

.lightbox::backdrop { background: transparent; }

.lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 2;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.4);
  background: transparent;
  color: white;
  cursor: pointer;
}

@media (max-width: 900px) {
  :root { --page: min(100% - 32px, 760px); }
  .hero { min-height: calc(100svh - 92px); padding: 72px 0; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading .eyebrow { grid-column: auto; }
  .section-heading > p:last-child { margin-left: 0; }
  .work, .work-video { grid-template-columns: 1fr; gap: 26px; padding-bottom: 82px; }
  .work-video .video-shell, .work-video .work-meta { grid-column: 1; }
  .work-video .video-shell { grid-row: 1; }
  .work-video .work-meta { grid-row: 2; }
  .about { grid-template-columns: 1fr; }
  .about > a { justify-self: start; }
}

@media (max-width: 560px) {
  :root { --page: calc(100% - 28px); }
  .site-header { height: 74px; }
  nav { gap: 18px; }
  .edition { font-size: 0.68rem; }
  .hero-copy { grid-template-columns: 1fr; gap: 44px; }
  h1 { font-size: clamp(2.9rem, 13vw, 4.5rem); }
  .hero { min-height: calc(100svh - 74px); padding: 56px 0; }
  .works { padding: 100px 0; }
  .section-heading { margin-bottom: 54px; }
  .about { padding: 82px 0; }
  .lightbox { padding: 52px 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .media-button img { transition: none; }
}
