:root {
  --paper: #f1f0eb;
  --paper-clear: #faf9f5;
  --ink: #111513;
  --ink-soft: #5f625e;
  --night: #141917;
  --night-soft: #232a27;
  --sage: #bed0c9;
  --sea: #6d9296;
  --rose: #b65655;
  --gold: #a97822;
  --line: rgba(17, 21, 19, 0.18);
  --line-light: rgba(250, 249, 245, 0.22);
  --header-height: 100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  line-height: 1.75;
  letter-spacing: 0;
}

body.dialog-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper-clear);
  padding: 8px 12px;
  font-family: "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 3px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--rose);
  transform-origin: left;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 4px 48px;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(241, 240, 235, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 220px;
  max-width: none;
  height: auto;
}

.site-nav,
.eyebrow,
.chapter-mark,
.hero-caption,
.work-year,
.work-index,
.work-cue,
.timeline-index,
.dialog-year,
.meta-item dt,
.rights,
.site-footer {
  font-family: "Noto Sans CJK SC", "Microsoft YaHei", Arial, sans-serif;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: flex;
  min-height: 680px;
  height: 92svh;
  max-height: 900px;
  align-items: center;
  overflow: hidden;
  background: #dcecee;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  animation: hero-settle 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(241, 240, 235, 0.96) 0%, rgba(241, 240, 235, 0.84) 29%, rgba(241, 240, 235, 0.12) 62%, rgba(20, 25, 23, 0.08) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 96px));
  margin: 36px auto 0;
}

.eyebrow,
.chapter-mark {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}

.eyebrow {
  color: var(--rose);
}

.hero h1 {
  display: flex;
  align-items: baseline;
  margin: 20px 0 0;
  font-size: 126px;
  font-weight: 500;
  line-height: 0.94;
}

.hero h1 em {
  color: var(--gold);
  font-size: 148px;
  font-style: normal;
}

.hero-note {
  max-width: 430px;
  margin: 32px 0 0;
  color: #303532;
  font-size: 20px;
  line-height: 1.8;
}

.hero-enter {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-family: "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  text-decoration: none;
}

.hero-enter .arrow {
  font-size: 18px;
  transition: transform 180ms ease;
}

.hero-enter:hover .arrow,
.hero-enter:focus-visible .arrow {
  transform: translateY(4px);
}

.hero-caption {
  position: absolute;
  right: 38px;
  bottom: 28px;
  z-index: 2;
  margin: 0;
  padding: 4px 8px;
  background: rgba(250, 249, 245, 0.76);
  color: #343936;
  font-size: 10px;
}

.prologue {
  background: var(--night);
  color: var(--paper-clear);
}

.prologue-inner,
.section-frame {
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
}

.prologue-inner {
  display: grid;
  grid-template-columns: 2fr 10fr;
  gap: 32px;
  padding: 110px 0 126px;
}

.prologue .chapter-mark {
  color: var(--sage);
}

.prologue h2 {
  max-width: 940px;
  margin: 0;
  font-size: 54px;
  font-weight: 400;
  line-height: 1.42;
}

.prologue h2::after {
  content: "";
  display: block;
  width: 78px;
  height: 4px;
  margin-top: 38px;
  background: var(--rose);
}

.prologue h2 + p {
  max-width: 620px;
  margin: 30px 0 0;
  color: rgba(250, 249, 245, 0.68);
  font-size: 17px;
}

.prologue-verse {
  margin: 38px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--rose);
}

.prologue-verse p {
  margin: 0;
  color: var(--paper-clear);
  font-size: 22px;
}

.prologue-verse cite {
  display: block;
  margin-top: 7px;
  color: var(--sage);
  font-family: "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-style: normal;
}

.gallery-section {
  padding: 118px 0 70px;
  background: var(--paper);
}

.gallery-heading {
  display: grid;
  grid-template-columns: 2fr 7fr 3fr;
  gap: 32px;
  align-items: end;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.gallery-heading .chapter-mark,
.timeline-heading .chapter-mark,
.about-section .chapter-mark {
  color: var(--rose);
}

.gallery-heading h2 {
  margin: 0;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.2;
}

.gallery-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.gallery-list {
  width: min(1380px, calc(100% - 48px));
  margin: 0 auto;
}

.work-entry {
  --work-accent: #6d9296;
  --work-matte: #d9e5e2;
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
  padding: 96px 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.work-entry:first-child {
  border-top: 0;
}

.work-entry:focus-visible {
  outline-offset: -12px;
}

.work-visual {
  position: relative;
  grid-column: 1 / span 7;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  background: var(--work-matte);
  box-shadow: 0 26px 70px rgba(17, 21, 19, 0.14);
}

.work-entry:nth-child(even) .work-visual {
  grid-column: 6 / -1;
}

.work-entry[data-format="landscape"] .work-visual {
  aspect-ratio: 16 / 10;
}

.work-entry[data-format="portrait"] .work-visual {
  aspect-ratio: 4 / 5;
  padding: 26px;
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.work-index {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--paper-clear);
  color: var(--ink);
  font-size: 11px;
  box-shadow: 0 6px 18px rgba(17, 21, 19, 0.12);
}

.work-copy {
  grid-column: 9 / -1;
  grid-row: 1;
  align-self: end;
  padding-bottom: 10px;
}

.work-entry:nth-child(even) .work-copy {
  grid-column: 1 / span 4;
}

.work-year {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--work-accent);
  font-size: 12px;
  font-weight: 700;
}

.work-year::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.work-title {
  display: block;
  margin: 0;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.25;
}

.work-summary {
  display: block;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.9;
}

.work-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
}

.work-cue span {
  color: var(--work-accent);
  font-size: 17px;
  transition: transform 180ms ease;
}

.work-entry:hover .work-visual img,
.work-entry:focus-visible .work-visual img {
  transform: scale(1.018);
  filter: saturate(1.04);
}

.work-entry:hover .work-cue span,
.work-entry:focus-visible .work-cue span {
  transform: translate(3px, -3px);
}

.timeline-section {
  padding: 118px 0 132px;
  background: var(--sage);
}

.timeline-inner {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 64px;
}

.timeline-heading {
  position: sticky;
  top: 122px;
  align-self: start;
}

.timeline-heading h2 {
  margin: 24px 0 0;
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
}

.timeline-heading > p:last-child {
  margin: 24px 0 0;
  color: #3f514a;
}

.timeline-list {
  border-top: 1px solid rgba(17, 21, 19, 0.28);
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr 42px;
  gap: 22px;
  align-items: center;
  width: 100%;
  min-height: 116px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid rgba(17, 21, 19, 0.28);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.timeline-item:focus-visible {
  outline-offset: 8px;
}

.timeline-index {
  color: #425a52;
  font-size: 11px;
}

.timeline-title {
  display: block;
  margin: 0;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.35;
}

.timeline-note {
  display: block;
  margin: 5px 0 0;
  color: #42514c;
  font-size: 14px;
}

.timeline-arrow {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(17, 21, 19, 0.34);
  border-radius: 50%;
  font-family: "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.timeline-item:hover .timeline-arrow,
.timeline-item:focus-visible .timeline-arrow {
  transform: rotate(45deg);
  background: var(--ink);
  color: var(--paper-clear);
}

.about-section {
  position: relative;
  overflow: hidden;
  padding: 122px 0 138px;
  background: var(--paper-clear);
}

.about-inner {
  display: grid;
  grid-template-columns: 2fr 4fr 6fr;
  gap: 32px;
  align-items: start;
}

.about-profile {
  min-width: 0;
}

.about-title-wrap {
  position: relative;
  min-height: 190px;
}

.about-title-wrap h2 {
  position: relative;
  z-index: 1;
  margin: 54px 0 0;
  font-size: 54px;
  font-weight: 500;
  line-height: 1.2;
}

.about-ghost {
  position: absolute;
  top: -72px;
  left: -22px;
  margin: 0;
  color: rgba(109, 146, 150, 0.13);
  font-size: 180px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.about-portrait {
  position: relative;
  width: min(320px, calc(100% - 12px));
  margin: 4px 0 0;
  aspect-ratio: 1;
}

.about-portrait::after {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 1px solid rgba(71, 125, 113, 0.52);
}

.about-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(17, 21, 19, 0.18);
  object-fit: cover;
}

.about-copy {
  padding-top: 194px;
}

.about-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.about-copy .about-lead {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 26px;
}

.about-copy .rights {
  margin-top: 34px;
  color: var(--sea);
  font-size: 11px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-end;
  min-height: 190px;
  padding: 52px 48px;
  background: var(--night);
  color: rgba(250, 249, 245, 0.62);
  font-size: 11px;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-title {
  margin-bottom: 8px;
  color: var(--paper-clear);
  font-family: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", SimSun, serif;
  font-size: 30px;
}

.site-footer a {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  color: var(--paper-clear);
  font-size: 20px;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  background: var(--paper-clear);
  color: var(--night);
}

.work-dialog {
  width: min(1480px, calc(100% - 32px));
  max-width: none;
  max-height: 94svh;
  padding: 0;
  border: 0;
  background: var(--paper-clear);
  color: var(--ink);
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.34);
}

.work-dialog[open] {
  animation: dialog-in 280ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.work-dialog::backdrop {
  background: rgba(8, 10, 9, 0.82);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  position: relative;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(250, 249, 245, 0.44);
  border-radius: 50%;
  background: rgba(17, 21, 19, 0.78);
  color: var(--paper-clear);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 29px;
  line-height: 1;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  background: var(--paper-clear);
  color: var(--ink);
}

.dialog-content {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(360px, 4fr);
}

.dialog-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 94svh;
  max-height: 940px;
  background: #0f1211;
}

.dialog-art a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

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

.dialog-copy {
  max-height: 94svh;
  overflow-y: auto;
  padding: 72px 46px 48px;
  scrollbar-color: var(--sage) transparent;
  scrollbar-width: thin;
}

.dialog-year {
  margin: 0 0 16px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
}

.dialog-copy h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.28;
}

.dialog-copy .lead {
  margin: 20px 0 0;
  color: var(--sea);
  font-size: 19px;
  line-height: 1.7;
}

.dialog-body {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.dialog-body p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.dialog-verse {
  margin: 30px 0 0;
  padding: 22px 0 0 20px;
  border-top: 1px solid var(--line);
  border-left: 3px solid var(--rose);
}

.dialog-verse p {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.75;
}

.dialog-verse cite {
  display: block;
  margin-top: 8px;
  color: var(--sea);
  font-family: "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 11px;
  font-style: normal;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin: 38px 0 0;
}

.meta-item {
  margin: 0;
  padding-top: 10px;
  border-top: 2px solid var(--sage);
}

.meta-item dt {
  color: var(--ink-soft);
  font-size: 10px;
}

.meta-item dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 14px;
}

.extra-images {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.extra-images figure {
  margin: 0;
}

.extra-images img {
  width: 100%;
  border: 1px solid var(--line);
}

.extra-images figcaption {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 12px;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.dialog-actions button,
.dialog-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 8px 12px;
  font-family: "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
}

.dialog-actions a {
  grid-column: 1 / -1;
}

.dialog-actions button:hover,
.dialog-actions button:focus-visible,
.dialog-actions a:hover,
.dialog-actions a:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-clear);
}

.reveal,
.work-entry,
.timeline-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible,
.work-entry.is-visible,
.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-settle {
  from {
    opacity: 0;
    transform: scale(1.055);
  }
  to {
    opacity: 1;
    transform: scale(1.01);
  }
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1100px) {
  :root {
    --header-height: 88px;
  }

  .site-header {
    padding-top: 3px;
    padding-right: 28px;
    padding-bottom: 3px;
    padding-left: 28px;
  }

  .brand-logo {
    width: 190px;
  }

  .hero-copy,
  .prologue-inner,
  .section-frame {
    width: min(1060px, calc(100% - 56px));
  }

  .hero h1 {
    font-size: 92px;
  }

  .hero h1 em {
    font-size: 108px;
  }

  .prologue h2 {
    font-size: 44px;
  }

  .gallery-heading h2 {
    font-size: 52px;
  }

  .gallery-list {
    width: calc(100% - 24px);
  }

  .work-entry {
    gap: 24px;
    padding: 74px 16px;
  }

  .work-copy {
    grid-column: 9 / -1;
  }

  .work-title {
    font-size: 34px;
  }

  .work-summary {
    font-size: 15px;
  }

  .timeline-inner {
    gap: 42px;
  }

  .about-inner {
    grid-template-columns: 2fr 4fr 6fr;
  }

  .about-title-wrap h2 {
    font-size: 44px;
  }

  .about-ghost {
    font-size: 142px;
  }

  .dialog-content {
    grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
  }
}

@media (max-width: 820px) {
  .brand-logo {
    width: 170px;
  }

  .hero {
    min-height: 620px;
    height: 90svh;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(241, 240, 235, 0.94) 0%, rgba(241, 240, 235, 0.7) 46%, rgba(241, 240, 235, 0.14) 100%);
  }

  .hero h1 {
    font-size: 76px;
  }

  .hero h1 em {
    font-size: 88px;
  }

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

  .hero-caption {
    display: none;
  }

  .prologue-inner,
  .gallery-heading,
  .timeline-inner,
  .about-inner {
    grid-template-columns: 1fr;
  }

  .prologue-inner {
    gap: 34px;
    padding: 86px 0 96px;
  }

  .prologue h2 {
    font-size: 38px;
  }

  .gallery-section {
    padding-top: 90px;
  }

  .gallery-heading {
    gap: 22px;
  }

  .gallery-heading h2 {
    font-size: 46px;
  }

  .work-entry {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 66px 16px;
  }

  .work-entry .work-visual,
  .work-entry:nth-child(even) .work-visual,
  .work-entry .work-copy,
  .work-entry:nth-child(even) .work-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .work-copy {
    max-width: 600px;
    padding: 0;
  }

  .work-entry:nth-child(even) .work-copy {
    order: 2;
  }

  .work-entry[data-format="portrait"] .work-visual {
    aspect-ratio: 4 / 5;
    padding: 22px;
  }

  .work-title {
    font-size: 38px;
  }

  .timeline-section {
    padding: 90px 0 102px;
  }

  .timeline-heading {
    position: static;
    margin-bottom: 46px;
  }

  .timeline-heading h2 {
    font-size: 58px;
  }

  .about-section {
    padding: 92px 0 102px;
  }

  .about-inner {
    gap: 26px;
  }

  .about-title-wrap {
    min-height: 150px;
  }

  .about-portrait {
    width: min(310px, calc(100% - 12px));
  }

  .about-title-wrap h2 {
    margin-top: 30px;
  }

  .about-ghost {
    top: -52px;
    left: -8px;
    font-size: 124px;
  }

  .about-copy {
    padding-top: 0;
  }

  .dialog-content {
    grid-template-columns: 1fr;
  }

  .dialog-art {
    height: auto;
    max-height: none;
  }

  .dialog-art a {
    height: auto;
    max-height: 58svh;
  }

  .dialog-art img {
    width: auto;
    height: auto;
    max-height: 58svh;
  }

  .dialog-copy {
    max-height: none;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    min-height: var(--header-height);
    padding: 3px 18px;
  }

  .brand-logo {
    width: 145px;
  }

  .site-nav {
    gap: 17px;
    font-size: 12px;
  }

  .hero {
    min-height: 600px;
    height: 88svh;
  }

  .hero-copy,
  .prologue-inner,
  .section-frame {
    width: calc(100% - 36px);
  }

  .hero-copy {
    margin-top: 52px;
  }

  .hero-media img {
    object-position: 66% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(241, 240, 235, 0.88) 0%, rgba(241, 240, 235, 0.74) 48%, rgba(20, 25, 23, 0.1) 100%);
  }

  .hero h1 {
    margin-top: 16px;
    font-size: 58px;
  }

  .hero h1 em {
    font-size: 68px;
  }

  .hero-note {
    max-width: 310px;
    margin-top: 24px;
    font-size: 15px;
  }

  .hero-enter {
    margin-top: 30px;
  }

  .prologue h2 {
    font-size: 30px;
  }

  .prologue h2 + p {
    font-size: 15px;
  }

  .prologue-verse p {
    font-size: 18px;
  }

  .gallery-heading {
    padding-bottom: 38px;
  }

  .gallery-heading h2 {
    font-size: 36px;
  }

  .gallery-list {
    width: 100%;
  }

  .work-entry {
    padding: 54px 18px;
  }

  .work-entry[data-format="portrait"] .work-visual {
    padding: 12px;
  }

  .work-index {
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
  }

  .work-title {
    font-size: 30px;
  }

  .work-summary {
    margin-top: 16px;
    font-size: 14px;
  }

  .work-cue {
    margin-top: 24px;
  }

  .timeline-item {
    grid-template-columns: 44px 1fr 38px;
    gap: 12px;
    min-height: 98px;
  }

  .timeline-title {
    font-size: 21px;
  }

  .timeline-note {
    display: none;
  }

  .timeline-arrow {
    width: 36px;
    height: 36px;
  }

  .about-title-wrap h2 {
    font-size: 38px;
  }

  .about-portrait {
    width: min(270px, calc(100% - 12px));
  }

  .about-copy .about-lead {
    font-size: 22px;
  }

  .about-copy p {
    font-size: 16px;
  }

  .site-footer {
    min-height: 168px;
    padding: 38px 18px;
  }

  .site-footer div > p:last-child {
    max-width: 220px;
  }

  .work-dialog {
    width: 100%;
    height: 100svh;
    max-height: 100svh;
  }

  .dialog-close {
    position: fixed;
    top: 12px;
    right: 12px;
  }

  .dialog-art a,
  .dialog-art img {
    max-height: 48svh;
  }

  .dialog-copy {
    padding: 36px 20px 44px;
  }

  .dialog-copy h2 {
    font-size: 32px;
  }

  .dialog-copy .lead {
    font-size: 17px;
  }

  .meta-grid {
    gap: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .work-entry,
  .timeline-item {
    opacity: 1;
    transform: none;
  }
}
