* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #ffffff;
}

html:not(.gate-unlocked),
html:not(.gate-unlocked) body {
  background: #050505;
}

html:not(.gate-unlocked) body > :not(.password-gate) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.gate-just-unlocked body > :not(.password-gate) {
  animation: gateContentFade 700ms ease both;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0;
}

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

a:hover,
a:focus {
  text-decoration: underline;
}

a:focus {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

p,
h1,
figure {
  margin: 0;
}

img {
  display: block;
}

.password-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 28px;
  overflow: hidden;
  color: #f1eeee;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 42, 42, 0.09), transparent 34%),
    linear-gradient(135deg, #050505 0%, #111111 48%, #060606 100%);
  transition: opacity 520ms ease, visibility 520ms ease;
}

.password-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.password-gate.is-unlocking {
  opacity: 0;
  visibility: hidden;
}

.password-gate__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.password-gate__kicker {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.46);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.password-gate__title {
  margin-bottom: 32px;
  color: #8d1818;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(48px, 12vw, 82px);
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.password-gate__label {
  display: block;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.password-gate__input {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 12px 0;
  color: #f1eeee;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
  outline: none;
  font: inherit;
}

.password-gate__input:focus {
  border-bottom-color: rgba(255, 42, 42, 0.75);
}

.password-gate__button {
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.password-gate__button:hover,
.password-gate__button:focus {
  color: #ff2a2a;
}

.password-gate__error {
  min-height: 1.6em;
  margin-top: 18px;
  color: #9f2020;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes gateContentFade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.page {
  min-height: 100vh;
}

.home-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #050505;
  color: #ffffff;
}

.home-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("images/home-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.82;
  filter: brightness(0.86) contrast(0.94);
}

.home-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.34) 46%, rgba(0, 0, 0, 0.52) 100%),
    rgba(0, 0, 0, 0.2);
}

.home-left-nav {
  position: absolute;
  top: 42px;
  left: 46px;
  z-index: 3;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
}

.home-brand,
.home-brand-cn,
.home-nav-links a {
  display: block;
  width: fit-content;
}

.home-brand {
  color: #ffffff;
  font-weight: 700;
}

.home-brand-cn {
  color: #ff1e1e;
  font-family: SimSun, "Songti SC", serif;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.home-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
}

.home-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 150px minmax(0, 620px) minmax(180px, 1fr);
  gap: 42px;
  width: 100%;
  min-height: 100vh;
  padding: 44px 48px 58px;
}

.home-copy {
  grid-column: 2;
  align-self: end;
  max-width: 600px;
  padding-top: 20vh;
}

.home-kicker {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-title {
  color: #ffffff;
  font-family: "Courier New", Courier, monospace;
  font-size: 20px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.home-title-cn {
  margin-top: 14px;
  color: #ff2a2a;
  font-family: SimSun, "Songti SC", serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.12em;
}

.home-body {
  max-width: 560px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.home-paragraph {
  margin-bottom: 1.35em;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

.home-letter-warning {
  max-width: 430px;
  margin-top: 28px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 42, 42, 0.78);
  color: #ffffff;
  transition: border-color 180ms ease;
}

.home-letter-warning:hover {
  border-color: #ff2a2a;
}

.home-letter-warning p {
  margin-bottom: 0.45em;
  color: rgba(255, 255, 255, 0.92);
  font-family: SimSun, "Songti SC", serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.home-letter-warning p:first-child,
.home-letter-warning p:nth-child(2) {
  color: #ff2a2a;
}

.home-issue {
  grid-column: 3;
  align-self: end;
  justify-self: end;
  min-width: 220px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.7);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.12em;
  text-align: right;
}

.home-issue-line {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.home-red-title {
  color: #ff1e1e;
  font-family: "Courier New", Courier, monospace;
  font-size: 44px;
  line-height: 0.95;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.04em;
}

.home-red-title-cn {
  display: block;
  color: #ff1e1e;
  font-family: SimSun, "Songti SC", serif;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.18em;
}

.page-with-bg {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #050505;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
}

.letter-page {
  background-image: none;
  background-color: #050505;
}

.archive-page {
  background-image: url("images/archive-bg.jpg");
}

.gallery-page {
  background-image: url("images/gallery-bg.jpg");
}

.films-page {
  background-image: url("images/films-bg.jpg");
}

.about-page {
  background-image: url("images/about-bg.jpg");
  background-color: #050505;
  background-position: center;
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.58);
}

.page-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  min-height: 100vh;
  padding: 44px 48px 72px;
}

.page-header {
  margin-bottom: 24vh;
  color: #ffffff;
}

.page-header a,
.page-header div {
  display: block;
  width: fit-content;
}

.page-left-nav {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.page-brand {
  color: #ffffff;
}

.page-brand-cn {
  color: #ff1e1e;
  font-family: SimSun, "Songti SC", serif;
  letter-spacing: 0.2em;
}

.page-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
}

.page-nav-links a {
  display: block;
  width: fit-content;
  color: #ffffff;
}

.page-nav-links a.is-active {
  color: #ff1e1e;
  border-bottom: 1px solid currentColor;
}

.nav-link.active {
  color: #ff2a2a;
  border-bottom: 1px solid currentColor;
}

.site-nav .nav-link:hover {
  color: #ff2a2a;
}

.project-title {
  max-width: 850px;
  margin-bottom: 52px;
}

.red-title {
  color: #ff1e1e;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(34px, 5vw, 44px);
  font-style: italic;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.04em;
}

.red-title-cn {
  margin-top: 4px;
  color: #ff1e1e;
  font-family: SimSun, "Songti SC", serif;
  font-size: clamp(24px, 3.6vw, 34px);
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.text-block {
  max-width: 620px;
}

.paragraph {
  max-width: 620px;
  margin-bottom: 1em;
  color: #ffffff;
}

.muted {
  margin-bottom: 10px;
  color: #c8c8c8;
}

.archive-list {
  max-width: 620px;
}

.archive-item {
  margin-bottom: 52px;
}

.gallery-list {
  width: 100%;
  max-width: 720px;
}

.gallery-image-block {
  width: 100%;
  margin-bottom: 116px;
}

.gallery-image {
  width: 100%;
  max-width: 720px;
  height: auto;
  min-height: 220px;
  object-fit: cover;
  color: #c8c8c8;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.caption {
  max-width: 520px;
  margin-top: 14px;
  color: #c8c8c8;
}

.about-overlay {
  background: rgba(0, 0, 0, 0.58);
}

.about-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 620px) minmax(240px, 330px);
  grid-template-rows: auto auto auto auto;
  gap: 34px 64px;
  max-width: 1220px;
  padding-bottom: 58px;
}

.about-page .page-header {
  grid-column: 1;
  grid-row: 1 / span 4;
  align-self: start;
  position: sticky;
  top: 44px;
  margin-bottom: 0;
}

.about-hero {
  grid-column: 2 / span 2;
  max-width: 780px;
  margin-top: 7vh;
}

.about-kicker {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.about-title {
  color: #ff2a2a;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(56px, 8vw, 108px);
  font-style: italic;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0.02em;
}

.about-title-cn {
  margin-top: 12px;
  color: #ff2a2a;
  font-family: SimSun, "Songti SC", serif;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.about-divider {
  width: min(100%, 720px);
  height: 1px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.35);
}

.about-number-note {
  grid-column: 2;
  max-width: 380px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.about-number-label,
.about-panel-label,
.about-side-label,
.about-poem-label {
  color: rgba(255, 255, 255, 0.58);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.about-number-line {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Courier New", Courier, monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-number-line span {
  color: #ff2a2a;
}

.about-number-caption {
  max-width: 300px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.52);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.7;
}

.about-body-panel {
  grid-column: 2;
  max-width: 620px;
  padding: 30px 34px 32px;
  color: #ffffff;
  background: rgba(15, 15, 15, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.about-panel-label {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.about-body p {
  margin-bottom: 1.3em;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-side-note {
  grid-column: 3;
  grid-row: 2 / span 2;
  align-self: start;
  max-width: 300px;
  padding-left: 18px;
  border-left: 1px solid #ff2a2a;
}

.about-side-label {
  color: #ff2a2a;
}

.about-side-note p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.75;
}

.about-poem {
  grid-column: 3;
  grid-row: 4;
  align-self: end;
  max-width: 330px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.about-poem-label {
  margin-bottom: 20px;
}

.about-poem-lines {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 42, 42, 0.82);
}

.about-poem-lines p {
  margin-bottom: 0.85em;
  color: rgba(255, 255, 255, 0.88);
  font-family: SimSun, "Songti SC", serif;
  font-size: 13px;
  line-height: 1.95;
}

.about-back {
  grid-column: 2 / span 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.66);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.archive-page {
  background-color: #050505;
  background-position: center;
}

.archive-page .page-overlay {
  background: rgba(0, 0, 0, 0.76);
}

.archive-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 900px);
  grid-template-rows: auto auto auto;
  gap: 0 86px;
  max-width: 1180px;
  padding-bottom: 58px;
}

.archive-page .page-header {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
  position: sticky;
  top: 44px;
  margin-bottom: 0;
}

.archive-hero {
  grid-column: 2;
  max-width: 860px;
  margin-top: 8vh;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.archive-kicker {
  margin-bottom: 22px;
  color: #ff2a2a;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.archive-title {
  color: #ff2a2a;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(54px, 8vw, 108px);
  font-style: italic;
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0.02em;
}

.archive-title-cn {
  margin-top: 10px;
  color: #ff2a2a;
  font-family: SimSun, "Songti SC", serif;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.18em;
}

.archive-subtitle {
  max-width: 560px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.8;
}

.archive-subtitle-cn {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-family: SimSun, "Songti SC", serif;
}

.archive-side-note {
  max-width: 280px;
  margin-top: 38px;
  margin-left: auto;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.52);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.archive-list {
  grid-column: 2;
  max-width: 900px;
  margin-top: 82px;
}

.archive-entry {
  margin: 0;
  padding: 34px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.archive-entry:hover {
  border-top-color: rgba(255, 42, 42, 0.74);
  background: rgba(255, 255, 255, 0.018);
}

.archive-entry-index {
  color: rgba(255, 255, 255, 0.6);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.archive-entry:hover .archive-entry-index,
.archive-entry:hover .archive-entry-title {
  color: #ffffff;
}

.archive-entry-content {
  max-width: 680px;
}

.archive-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.archive-entry-tag {
  color: #ff2a2a;
}

.archive-entry-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  transition: color 180ms ease;
}

.archive-entry-title-cn {
  margin-top: 8px;
  color: #ff2a2a;
  font-family: SimSun, "Songti SC", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.archive-entry-body {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.9;
}

.archive-entry-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.52);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.archive-footer-note {
  grid-column: 2;
  max-width: 900px;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.8;
}

.archive-footer-note p + p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.58);
  font-family: SimSun, "Songti SC", serif;
}

.archive-footer-note a {
  display: block;
  width: fit-content;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.letter-page {
  background-position: center;
}

.letter-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("images/letter-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: grayscale(25%) saturate(65%) brightness(55%) contrast(90%);
}

.letter-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: soft-light;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 3px 3px;
}

.letter-overlay {
  z-index: 1;
  background: rgba(0, 0, 0, 0.56);
}

.letter-layout {
  z-index: 3;
  display: grid;
  grid-template-columns: 150px minmax(300px, 1fr) minmax(340px, 500px);
  grid-template-rows: auto 1fr auto;
  gap: 42px;
  max-width: 1240px;
  padding-bottom: 44px;
}

.letter-page .page-header {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
  position: sticky;
  top: 44px;
  margin-bottom: 0;
}

.letter-hero {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  max-width: 650px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.letter-kicker {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.letter-title {
  color: #ff2a2a;
  font-family: "Courier New", Courier, monospace;
  font-size: clamp(42px, 6.5vw, 84px);
  font-style: italic;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.letter-title-cn {
  margin-top: 10px;
  color: #ff2a2a;
  font-family: SimSun, "Songti SC", serif;
  font-size: clamp(25px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.16em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.letter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.66);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.letter-panel {
  grid-column: 3;
  grid-row: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 460px;
  max-height: min(68vh, 660px);
  padding: 28px 30px 26px;
  overflow: hidden;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(3px);
  transition: background-color 180ms ease, border-color 180ms ease;
}

.letter-panel:hover {
  background: rgba(0, 0, 0, 0.58);
  border-color: rgba(255, 255, 255, 0.5);
}

.letter-panel-label {
  flex: 0 0 auto;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.66);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.letter-body {
  flex: 1 1 auto;
  max-width: none;
  min-height: 0;
  padding-right: 14px;
  overflow-y: auto;
  scrollbar-color: rgba(255, 255, 255, 0.34) transparent;
  scrollbar-width: thin;
}

.letter-body::-webkit-scrollbar {
  width: 3px;
}

.letter-body::-webkit-scrollbar-track {
  background: transparent;
}

.letter-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.34);
}

.letter-body p {
  margin-bottom: 1.15em;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.letter-body p:first-child {
  color: #ffffff;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.7;
}

.letter-final-note {
  flex: 0 0 auto;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.62);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.letter-final-note span {
  color: #ff2a2a;
  font-family: SimSun, "Songti SC", serif;
  font-style: normal;
  letter-spacing: 0.12em;
}

.letter-footer {
  grid-column: 2 / span 2;
  grid-row: 3;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.72);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.gallery-page {
  background-color: #070707;
}

.gallery-page .page-overlay {
  background: rgba(0, 0, 0, 0.72);
}

.gallery-content {
  max-width: 1280px;
}

.gallery-page .page-header {
  margin-bottom: 12vh;
}

.gallery-hero {
  max-width: 980px;
  margin: 0 0 86px clamp(0px, 14vw, 220px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}

.gallery-kicker {
  margin-bottom: 20px;
  color: #ff1e1e;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.gallery-title {
  color: #ffffff;
  font-size: clamp(48px, 9vw, 118px);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.05em;
}

.gallery-hero .red-title-cn {
  margin-top: 10px;
  font-size: clamp(25px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.gallery-subtitle {
  max-width: 670px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.8;
}

.gallery-subtitle-cn {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.64);
  font-family: SimSun, "Songti SC", serif;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 86px 34px;
  align-items: start;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.gallery-item {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item:hover {
  opacity: 0.94;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.012);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(-3px);
}

.gallery-item-large {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}

.gallery-item-side {
  grid-column: 9 / span 4;
}

.gallery-item-lower {
  grid-row: 2;
  margin-top: 82px;
}

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

.gallery-item:nth-of-type(4) {
  grid-row: 3;
}

.gallery-item:nth-of-type(5) {
  grid-column: 1 / span 4;
  grid-row: 4;
}

.gallery-item-tall {
  grid-column: 6 / span 4;
  grid-row: 4 / span 2;
  margin-top: 54px;
}

.gallery-item-offset {
  grid-column: 10 / span 3;
  grid-row: 4;
  margin-top: 148px;
}

.gallery-item-end {
  grid-row: 6;
  margin-left: clamp(0px, 5vw, 72px);
}

.gallery-page .gallery-image {
  width: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: 4 / 3;
  background-color: rgba(255, 255, 255, 0.1);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-item-large .gallery-image,
.gallery-item-tall .gallery-image {
  aspect-ratio: 4 / 5;
}

.gallery-item-wide .gallery-image,
.gallery-item-end .gallery-image {
  aspect-ratio: 16 / 10;
}

.gallery-item-side .gallery-image,
.gallery-item-offset .gallery-image {
  aspect-ratio: 1 / 1;
}

.gallery-caption {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease;
}

.gallery-number {
  margin-bottom: 8px;
  color: #ff1e1e;
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-photo-title {
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.gallery-meta {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  line-height: 1.5;
}

.gallery-note {
  max-width: 340px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-family: SimSun, "Songti SC", serif;
  font-size: 12px;
  line-height: 1.75;
}

.contact-block {
  margin-top: 56px;
}

.back {
  margin-top: 72px;
  color: #ffffff;
}

.back a {
  display: block;
  width: fit-content;
}

.films-content {
  max-width: 1180px;
}

.films-hero {
  max-width: 860px;
  margin-bottom: 72px;
}

.films-title {
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 7vw, 86px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.films-title-cn {
  margin-top: 8px;
  color: #ff1e1e;
  font-family: SimSun, "Songti SC", serif;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.12em;
}

.films-subtitle {
  max-width: 640px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.75;
}

.film-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  max-width: 920px;
}

.film-card {
  padding: 30px 34px 32px;
  color: #ffffff;
  background: rgba(12, 12, 12, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.film-card:hover {
  transform: translateY(-3px);
  background: rgba(12, 12, 12, 0.68);
  border-color: rgba(255, 255, 255, 0.3);
}

.film-number {
  margin-bottom: 18px;
  color: #ff1e1e;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.film-card h2 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.film-details {
  display: grid;
  gap: 18px;
  margin: 0;
}

.film-details div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
}

.film-details dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.film-details dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .home-layout {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .home-copy {
    grid-column: 2;
    max-width: 600px;
  }

  .home-issue {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    margin-top: 36px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 34px;
    max-width: 760px;
  }

  .about-page .page-header,
  .about-hero,
  .about-number-note,
  .about-body-panel,
  .about-side-note,
  .about-poem,
  .about-back {
    grid-column: 1;
    grid-row: auto;
  }

  .about-page .page-header {
    position: static;
    margin-bottom: 0;
  }

  .about-hero {
    margin-top: 10vh;
  }

  .about-side-note,
  .about-poem {
    max-width: 620px;
  }

  .archive-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
    max-width: 760px;
  }

  .archive-page .page-header,
  .archive-hero,
  .archive-list,
  .archive-footer-note {
    grid-column: 1;
    grid-row: auto;
  }

  .archive-page .page-header {
    position: static;
    margin-bottom: 0;
  }

  .archive-hero {
    margin-top: 12vh;
  }

  .archive-side-note {
    margin-left: 0;
  }

  .archive-list {
    margin-top: 62px;
  }

  .letter-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 46px;
    max-width: 760px;
  }

  .letter-page .page-header,
  .letter-hero,
  .letter-panel,
  .letter-footer {
    grid-column: 1;
    grid-row: auto;
  }

  .letter-page .page-header {
    position: static;
    margin-bottom: 0;
  }

  .letter-hero {
    align-self: start;
    max-width: 680px;
  }

  .letter-panel {
    align-self: start;
    max-width: 620px;
    max-height: none;
  }

  .letter-footer {
    margin-top: 10px;
  }

  .gallery-content {
    max-width: 760px;
  }

  .gallery-page .page-header {
    margin-bottom: 12vh;
  }

  .gallery-hero {
    margin: 0 0 56px;
  }

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

  .gallery-item,
  .gallery-item-large,
  .gallery-item-side,
  .gallery-item-lower,
  .gallery-item-wide,
  .gallery-item-tall,
  .gallery-item-offset,
  .gallery-item-end {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }

  .gallery-page .gallery-image,
  .gallery-item-large .gallery-image,
  .gallery-item-side .gallery-image,
  .gallery-item-lower .gallery-image,
  .gallery-item-tall .gallery-image,
  .gallery-item-offset .gallery-image {
    aspect-ratio: 4 / 3;
  }

  .gallery-item-wide .gallery-image,
  .gallery-item-end .gallery-image {
    aspect-ratio: 16 / 10;
  }

  .gallery-note {
    max-width: none;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 13px;
  }

  .home-page {
    min-height: 100svh;
  }

  .home-left-nav {
    top: 24px;
    left: 24px;
  }

  .home-layout {
    display: block;
    min-height: 100svh;
    padding: 180px 24px 44px;
  }

  .home-copy {
    max-width: none;
    padding-top: 0;
  }

  .home-kicker {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .home-title {
    font-size: 17px;
  }

  .home-title-cn {
    font-size: clamp(26px, 11vw, 38px);
  }

  .home-body {
    margin-top: 28px;
    padding-top: 22px;
  }

  .home-paragraph {
    margin-bottom: 1.25em;
    font-size: 13px;
    line-height: 1.78;
  }

  .home-letter-warning {
    margin-top: 24px;
  }

  .home-letter-warning p {
    font-size: 14px;
  }

  .home-issue {
    min-width: 0;
    margin-top: 42px;
    text-align: left;
    font-size: 10px;
  }

  .page-with-bg {
    background-attachment: scroll;
  }

  .page-content {
    padding: 28px 24px 56px;
  }

  .page-header {
    margin-bottom: 18vh;
  }

  .page-left-nav {
    font-size: 12px;
  }

  .page-nav-links {
    margin-top: 24px;
  }

  .project-title {
    margin-bottom: 44px;
  }

  .red-title {
    font-size: clamp(26px, 10vw, 34px);
    line-height: 1;
  }

  .red-title-cn {
    font-size: clamp(20px, 8vw, 28px);
  }

  .about-layout {
    gap: 28px;
    padding-bottom: 48px;
  }

  .about-hero {
    margin-top: 8vh;
  }

  .about-kicker {
    margin-bottom: 16px;
    font-size: 10px;
  }

  .about-title {
    font-size: clamp(42px, 16vw, 68px);
    line-height: 0.92;
  }

  .about-title-cn {
    font-size: clamp(20px, 7vw, 28px);
  }

  .about-divider {
    margin-top: 22px;
  }

  .about-number-note {
    max-width: none;
    padding: 16px 0;
  }

  .about-number-line {
    font-size: 13px;
  }

  .about-body-panel {
    max-width: none;
    padding: 24px 20px 26px;
  }

  .about-body p {
    font-size: 13px;
    line-height: 1.85;
  }

  .about-side-note {
    padding-left: 14px;
  }

  .about-poem {
    padding-top: 18px;
  }

  .about-poem-lines {
    padding-left: 14px;
  }

  .about-poem-lines p {
    font-size: 13px;
    line-height: 1.85;
  }

  .about-back {
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
  }

  .archive-layout {
    padding-bottom: 48px;
  }

  .archive-hero {
    margin-top: 10vh;
    padding-top: 14px;
  }

  .archive-kicker {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .archive-title {
    font-size: clamp(42px, 16vw, 68px);
    line-height: 0.92;
  }

  .archive-title-cn {
    font-size: clamp(23px, 8vw, 32px);
  }

  .archive-subtitle {
    margin-top: 24px;
    font-size: 12px;
  }

  .archive-side-note {
    max-width: none;
    margin-top: 28px;
    font-size: 10px;
  }

  .archive-list {
    margin-top: 48px;
  }

  .archive-entry {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 0 32px;
  }

  .archive-entry-index {
    font-size: 11px;
  }

  .archive-entry-meta {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .archive-entry-title {
    font-size: clamp(20px, 8vw, 28px);
  }

  .archive-entry-title-cn {
    font-size: 16px;
  }

  .archive-entry-body {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.85;
  }

  .archive-entry-note {
    font-size: 10px;
  }

  .archive-footer-note {
    margin-top: 24px;
    font-size: 11px;
  }

  .letter-layout {
    gap: 38px;
    padding-bottom: 44px;
  }

  .letter-hero {
    padding-top: 14px;
    padding-bottom: 16px;
  }

  .letter-kicker {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .letter-title {
    font-size: clamp(34px, 13vw, 54px);
    line-height: 0.94;
  }

  .letter-title-cn {
    font-size: clamp(22px, 8vw, 30px);
  }

  .letter-meta {
    gap: 8px 16px;
    margin-top: 22px;
    font-size: 10px;
  }

  .letter-panel {
    padding: 24px 20px 24px;
    max-height: none;
  }

  .letter-panel-label {
    margin-bottom: 22px;
    font-size: 10px;
    line-height: 1.6;
  }

  .letter-body p {
    font-size: 13px;
    line-height: 1.85;
  }

  .letter-body p:first-child {
    font-size: 12px;
  }

  .letter-final-note {
    margin-top: 28px;
    font-size: 10px;
  }

  .letter-footer {
    flex-direction: column;
    gap: 8px;
    font-size: 10px;
  }

  .gallery-image-block {
    margin-bottom: 84px;
  }

  .gallery-image {
    min-height: 180px;
  }

  .gallery-content {
    max-width: none;
  }

  .gallery-hero {
    margin-bottom: 46px;
    padding-top: 14px;
  }

  .gallery-title {
    font-size: clamp(38px, 15vw, 62px);
    line-height: 0.9;
  }

  .gallery-hero .red-title-cn {
    font-size: clamp(22px, 8vw, 30px);
  }

  .gallery-subtitle {
    margin-top: 24px;
    font-size: 12px;
  }

  .gallery-subtitle-cn {
    margin-top: 8px;
  }

  .gallery-grid {
    gap: 48px;
    padding-top: 24px;
  }

  .gallery-page .gallery-image {
    min-height: 0;
  }

  .gallery-caption {
    margin-top: 14px;
  }

  .back {
    margin-top: 56px;
  }

  .films-hero {
    margin-bottom: 48px;
  }

  .films-title {
    font-size: clamp(34px, 13vw, 52px);
  }

  .films-title-cn {
    font-size: clamp(23px, 8vw, 32px);
  }

  .films-subtitle {
    margin-top: 24px;
    font-size: 13px;
  }

  .film-list {
    gap: 24px;
  }

  .film-card {
    padding: 24px 20px 26px;
  }

  .film-details div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .film-details dd {
    font-size: 13px;
  }
}
