:root {
  --ink: #101114;
  --soft-black: #1b1d21;
  --porcelain: #f7f5f0;
  --mist: #d8dce2;
  --silver: #a8b0ba;
  --blue: #8ea7b8;
  --jade: #2f5d50;
  --wine: #7b3f46;
  --line: rgba(16, 17, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  color: var(--porcelain);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 245, 240, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 2px;
  font-family: "Noto Serif SC", "Songti SC", serif;
}

.brand span {
  font-size: 20px;
}

.brand small {
  font-size: 11px;
  color: currentColor;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover {
  opacity: 1;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 6px;
  color: inherit;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  padding: 0;
  min-height: calc(100vh - 54px);
  max-height: 860px;
  overflow: hidden;
  background: var(--soft-black);
}

.hero img {
  height: calc(100vh - 54px);
  min-height: 620px;
  max-height: 860px;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 17, 20, 0.82), rgba(16, 17, 20, 0.24) 58%, rgba(16, 17, 20, 0.18));
}

.hero-content {
  position: absolute;
  left: 7%;
  bottom: 16%;
  width: min(560px, 82vw);
  color: var(--porcelain);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Cormorant Garamond", "Noto Serif SC", "Songti SC", serif;
  font-weight: 500;
}

h1 {
  margin-bottom: 4px;
  font-size: 76px;
  line-height: 1;
}

.roman {
  margin-bottom: 28px;
  color: var(--mist);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
}

.hero-note {
  max-width: 440px;
  color: rgba(247, 245, 240, 0.82);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
}

.button-light {
  color: var(--ink);
  background: var(--porcelain);
}

.button-ghost {
  color: var(--porcelain);
  border-color: rgba(247, 245, 240, 0.45);
}

section {
  padding: 88px 7%;
  scroll-margin-top: 86px;
}

.band-light {
  background: #eef1f2;
}

.band-dark {
  color: var(--porcelain);
  background: var(--soft-black);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 42px;
  line-height: 1.18;
}

.intro-grid,
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 54px;
  align-items: start;
}

.intro-grid > p {
  max-width: 740px;
  color: #363a40;
  font-size: 18px;
  line-height: 2;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.stats div {
  min-height: 118px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats div:nth-child(2n) {
  border-right: 0;
}

.stats div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stats strong {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 500;
}

.stats span {
  color: #636b74;
  font-size: 13px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
}

.toolbar label {
  display: grid;
  gap: 8px;
  min-width: 210px;
  color: #4f5660;
  font-size: 12px;
}

input,
select {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  color: var(--ink);
  background: #ffffff;
}

.view-toggle {
  display: flex;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.view-toggle button {
  min-width: 64px;
  border: 0;
  color: #4f5660;
  background: #ffffff;
  cursor: pointer;
}

.view-toggle button.is-active {
  color: var(--porcelain);
  background: var(--ink);
}

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

.works-grid.is-list {
  grid-template-columns: 1fr;
}

.work-card {
  display: grid;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.works-grid.is-list .work-card {
  grid-template-columns: 120px 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 150px;
}

.work-year {
  color: var(--jade);
  font-family: Georgia, serif;
  font-size: 28px;
}

.work-card h3 {
  margin: 16px 0 8px;
  font-size: 22px;
}

.work-role {
  color: #5d6570;
  font-size: 14px;
}

.work-note {
  margin: 18px 0 22px;
  color: #3c4148;
  line-height: 1.8;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: #384049;
  background: #eef1f2;
  font-size: 12px;
}

.pill.status {
  color: var(--porcelain);
  background: var(--wine);
}

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

.character-card {
  overflow: hidden;
  border: 1px solid rgba(216, 220, 226, 0.22);
  border-radius: 8px;
  background: #24272c;
}

.character-card img {
  height: 360px;
  object-fit: cover;
}

.character-card div {
  padding: 22px;
}

.character-card p {
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 14px;
}

.character-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

.character-card ul {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
}

.character-card li {
  padding: 6px 9px;
  border: 1px solid rgba(216, 220, 226, 0.24);
  border-radius: 999px;
  color: var(--mist);
  font-size: 12px;
}

.character-card span {
  color: rgba(247, 245, 240, 0.72);
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery-item {
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--mist);
  cursor: zoom-in;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 880px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 124px;
  width: 1px;
  background: var(--line);
}

.timeline-list article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 34px;
  padding: 28px 0;
}

.timeline-list time {
  color: var(--jade);
  font-family: Georgia, serif;
  font-size: 24px;
}

.timeline-list h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.timeline-list p {
  max-width: 640px;
  color: #4b525b;
  line-height: 1.8;
}

dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: #606873;
}

dd {
  margin: 0;
}

.about-grid aside {
  padding: 28px;
  border-left: 3px solid var(--jade);
  background: #eef1f2;
}

.about-grid aside h3 {
  margin: 0 0 8px;
}

.about-grid aside p {
  color: #424951;
  line-height: 1.9;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 7%;
  color: rgba(247, 245, 240, 0.68);
  background: var(--ink);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--mist);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 36px;
  background: rgba(16, 17, 20, 0.9);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(247, 245, 240, 0.42);
  border-radius: 6px;
  color: var(--porcelain);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .works-grid,
  .character-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

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

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

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: rgba(247, 245, 240, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .hero img {
    min-height: 640px;
  }

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

  .hero-overlay {
    background: linear-gradient(0deg, rgba(16, 17, 20, 0.9), rgba(16, 17, 20, 0.12) 62%);
  }

  .hero-content {
    left: 22px;
    right: 22px;
    bottom: 64px;
    width: auto;
  }

  h1 {
    font-size: 54px;
  }

  .roman {
    font-size: 22px;
  }

  .hero-actions,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar label,
  .view-toggle {
    width: 100%;
  }

  .view-toggle button {
    flex: 1;
  }

  section {
    padding: 62px 22px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .stats,
  .works-grid,
  .works-grid.is-list,
  .character-grid {
    grid-template-columns: 1fr;
  }

  .stats div,
  .stats div:nth-child(2n),
  .stats div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .works-grid.is-list .work-card {
    grid-template-columns: 1fr;
  }

  .character-card img {
    height: 420px;
  }

  .gallery-grid {
    grid-auto-rows: 180px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .timeline-list::before {
    left: 0;
  }

  .timeline-list article {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 24px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Editorial upgrade inspired by DESIGN.md systems: image-led, strict type, quiet chrome. */
:root {
  --black: #050506;
  --paper: #fbfaf7;
}

body {
  background: var(--paper);
}

.site-header {
  padding: 18px 42px;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 247, 0.88);
}

.site-nav {
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a {
  min-height: 34px;
  padding: 9px 12px;
  border-radius: 999px;
  transition: background 180ms ease, opacity 180ms ease;
}

.site-nav a:hover {
  background: rgba(247, 245, 240, 0.14);
}

.site-header.is-scrolled .site-nav a:hover {
  background: rgba(16, 17, 20, 0.06);
}

.hero {
  min-height: calc(100vh - 48px);
  background: var(--black);
}

.hero img {
  height: calc(100vh - 48px);
  filter: saturate(0.9) contrast(1.06);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 5, 6, 0.28), rgba(5, 5, 6, 0.18) 48%, rgba(5, 5, 6, 0.86)),
    linear-gradient(90deg, rgba(5, 5, 6, 0.86), rgba(5, 5, 6, 0.28) 58%, rgba(5, 5, 6, 0.2));
}

.hero-content {
  bottom: 19%;
  width: min(620px, 82vw);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.08em;
}

h1 {
  font-size: 92px;
  line-height: 0.96;
}

.roman {
  font-size: 32px;
}

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

.button {
  font-weight: 700;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-ghost {
  background: rgba(247, 245, 240, 0.04);
}

.hero-rail {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: rgba(247, 245, 240, 0.76);
  border-top: 1px solid rgba(247, 245, 240, 0.24);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-rail span {
  padding-top: 16px;
}

.hero-rail span + span {
  border-left: 1px solid rgba(247, 245, 240, 0.2);
  padding-left: 18px;
}

section {
  padding: 96px 7%;
}

.band-light,
.about-grid aside {
  background: #edf1f4;
}

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

.section-heading h2 {
  font-size: 50px;
  line-height: 1.06;
}

.section-deck {
  max-width: 680px;
  margin: 16px 0 0;
  color: #58606a;
  font-size: 16px;
  line-height: 1.8;
}

.stats {
  background: rgba(255, 255, 255, 0.58);
}

.editorial-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 42px;
  align-items: end;
  color: var(--porcelain);
  background: var(--black);
}

.feature-copy {
  max-width: 520px;
  padding-bottom: 18px;
}

.feature-copy h2 {
  margin-bottom: 22px;
  font-size: 56px;
  line-height: 1.02;
}

.feature-copy p:not(.eyebrow) {
  color: rgba(247, 245, 240, 0.72);
  line-height: 1.9;
}

.feature-frames {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 14px;
  align-items: end;
}

.feature-frames figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #1a1a1a;
}

.feature-frames figure:first-child {
  transform: translateY(-34px);
}

.feature-frames img {
  height: 560px;
  object-fit: cover;
}

.feature-frames figure:first-child img {
  height: 450px;
}

.feature-frames figcaption {
  padding: 14px 16px 16px;
  color: rgba(247, 245, 240, 0.66);
  border-top: 1px solid rgba(247, 245, 240, 0.12);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.toolbar {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

input,
select {
  background: #f6f7f7;
}

.works-grid {
  gap: 16px;
}

.work-card {
  grid-template-rows: 230px auto auto;
  overflow: hidden;
  min-height: 540px;
  padding: 0;
  transition: border-color 180ms ease, transform 180ms ease;
}

.work-card:hover {
  border-color: rgba(16, 17, 20, 0.34);
  transform: translateY(-2px);
}

.works-grid.is-list .work-card {
  grid-template-columns: 190px 1fr auto;
  grid-template-rows: auto;
  min-height: 190px;
  padding-right: 22px;
}

.work-image {
  height: 230px;
  object-fit: cover;
  object-position: center 22%;
  background: var(--mist);
}

.works-grid.is-list .work-image {
  width: 190px;
  height: 190px;
}

.work-card > div:not(.work-meta) {
  padding: 22px 0 0;
}

.work-card > div:not(.work-meta) .work-year,
.work-card > div:not(.work-meta) .work-role,
.work-card > div:not(.work-meta) .work-note {
  padding-left: 22px;
  padding-right: 22px;
}

.work-year {
  font-size: 22px;
}

.work-card h3 {
  margin: 12px 0 8px;
  padding: 0 22px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 25px;
  line-height: 1.24;
}

.work-meta {
  padding: 0 22px 22px;
}

.character-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.character-card:hover {
  border-color: rgba(216, 220, 226, 0.42);
  transform: translateY(-2px);
}

.character-card img {
  height: 420px;
}

.gallery-grid {
  grid-template-columns: 1.25fr 0.85fr 1fr 0.9fr;
  grid-auto-rows: 190px;
}

.gallery-item.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.timeline-list::before {
  left: 130px;
}

.timeline-list article {
  grid-template-columns: 124px 1fr;
}

@media (max-width: 980px) {
  .editorial-feature {
    grid-template-columns: 1fr;
  }

  .feature-frames {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-frames figure:first-child {
    transform: none;
  }

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

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

  .site-nav {
    gap: 0;
  }

  .hero-content {
    bottom: 104px;
  }

  h1 {
    font-size: 58px;
  }

  .roman {
    font-size: 24px;
  }

  .hero-rail {
    left: 22px;
    right: 22px;
    bottom: 22px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-rail span {
    padding-top: 8px;
  }

  .hero-rail span + span {
    border-left: 0;
    padding-left: 0;
  }

  section {
    padding: 66px 22px;
  }

  .section-heading h2,
  .feature-copy h2 {
    font-size: 34px;
  }

  .feature-frames {
    grid-template-columns: 1fr;
  }

  .feature-frames img,
  .feature-frames figure:first-child img {
    height: 420px;
  }

  .works-grid,
  .works-grid.is-list {
    grid-template-columns: 1fr;
  }

  .work-card,
  .works-grid.is-list .work-card {
    grid-template-columns: 1fr;
    grid-template-rows: 240px auto auto;
    min-height: auto;
    padding-right: 0;
  }

  .works-grid.is-list .work-image,
  .work-image {
    width: 100%;
    height: 240px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}
