:root {
  color-scheme: light;
  --navy: #071C48;
  --blue: #283C9C;
  --orange: #EC5C28;
  --paper: #f4f1ea;
  --ink: #142749;
  --muted: #4f5b68;
  --gutter: clamp(1rem, 4.5vw, 5rem);
  --inset: max(var(--gutter), calc((100% - 80rem) / 2));
  --section-space: clamp(3.75rem, 7.5vw, 7.5rem);
  font-family: "PingFang SC", "Noto Sans SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  z-index: 5;
  top: .5rem;
  left: var(--gutter);
  padding: .7rem 1rem;
  color: var(--navy);
  background: white;
  transform: translateY(-170%);
}
.skip-link:focus { transform: none; }

.masthead {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: clamp(.5rem, 1.4vw, 1.6rem) var(--gutter);
  color: white;
  background: linear-gradient(to bottom, #05132ad9, transparent);
}
.brand, .masthead nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.brand img { width: clamp(4.25rem, 9vw, 7.4rem); }
.masthead nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 clamp(.6rem, 2.8vw, 2.8rem); }
.masthead nav a { font-size: clamp(.75rem, 1.05vw, 1rem); text-decoration: none; }
.masthead a:hover { text-decoration: underline; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(30rem, 100vh, 68rem);
  min-height: clamp(30rem, 100svh, 68rem);
  padding: 12rem var(--gutter) clamp(1.5rem, 5vh, 4.5rem);
  background: var(--navy);
  color: white;
}
.station, .sky, .canopy, .station::after { position: absolute; inset: 0; }
.station { z-index: 0; overflow: hidden; }
.sky { z-index: 0; }
.canopy { z-index: 2; }
.sky img, .canopy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 22%;
}
.wordmark {
  position: absolute;
  z-index: 1;
  top: 11%;
  left: 3%;
  width: 94%;
  height: auto;
  font-family: "Arial Black", "Avenir Next Condensed", "DejaVu Sans", sans-serif;
  pointer-events: none;
}
.station::after {
  content: "";
  z-index: 3;
  background: linear-gradient(to top, #04132cf2, #04132c99 15%, transparent 43%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-top: 1px solid #ffffff61;
  padding-top: clamp(.85rem, 2vh, 1.5rem);
}
.station-name { display: flex; align-items: center; gap: .85rem; font-size: clamp(.78rem, 1vw, 1rem); }
.station-name span { padding-left: .85rem; border-left: 1px solid #ffffff80; color: #e1e7f1; }
h1 { margin-top: .45rem; font-size: clamp(1.75rem, 3.55vw, 4.3rem); font-weight: 650; line-height: 1.22; letter-spacing: -.04em; }
h1 span { display: inline-block; }
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-shrink: 0;
  min-height: 3.15rem;
  padding: .75rem 1.25rem;
  border-radius: 2px;
  background: var(--orange);
  color: #12182a;
  font-weight: 700;
  text-decoration: none;
}
.cta:hover { background: #ff7948; }
.cta:focus-visible { outline-color: white; }

.section { padding: var(--section-space) var(--inset); scroll-margin-top: .75rem; }
.section-intro { max-width: 54rem; }
.section-intro h2 {
  font-size: clamp(2rem, 3.7vw, 3.85rem);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.section-intro p { max-width: 39em; margin-top: 1.15rem; font-size: clamp(1rem, 1.25vw, 1.2rem); color: var(--muted); line-height: 1.8; }

.stories {
  --slide-size: clamp(32.5rem, 56vw, 62rem);
  --slide-gap: clamp(1rem, 2.7vw, 3rem);
  padding-inline: 0;
}
.stories .section-intro, .rail-controls { margin-inline: var(--inset); }
.media-rail {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: var(--inset);
  scrollbar-width: thin;
  scrollbar-color: #9dabb8 transparent;
  padding-block: .5rem 1rem;
  margin-top: clamp(1.5rem, 3.4vw, 3.5rem);
}
.media-rail:focus-visible { outline-offset: -3px; }
.media-rail::before, .media-rail::after { content: ""; }
.media-rail::before { flex: 0 0 var(--inset); }
/* Leave room for the last image to snap to the same reading edge as the first. */
.media-rail::after { flex: 0 0 calc(100% - var(--inset) - var(--slide-size)); }
.story-card {
  flex: 0 0 var(--slide-size);
  min-width: 0;
  scroll-snap-align: start;
}
.story-card + .story-card { margin-left: var(--slide-gap); }
.story-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #d7d8d4; }
.media-evidence img { object-fit: contain; background: var(--navy); }
.story-card figcaption { padding-top: clamp(1rem, 1.6vw, 1.65rem); }
.media-kind { color: var(--blue); font-size: .84rem; font-weight: 650; }
.story-card h3 { margin: .4rem 0 .35rem; font-size: clamp(1.3rem, 2vw, 1.95rem); font-weight: 600; line-height: 1.4; }
.story-card figcaption p { color: var(--muted); line-height: 1.75; }
.story-card a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--blue); }
.rail-controls {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 1.5vw, 1.4rem);
  margin-top: .8rem;
}
.rail-controls progress {
  appearance: none;
  width: clamp(3rem, 14vw, 12rem);
  height: 3px;
  border: 0;
  background: #c6c8c5;
  color: var(--blue);
}
.rail-controls progress::-webkit-progress-bar { background: #c6c8c5; }
.rail-controls progress::-webkit-progress-value { background: var(--blue); }
.rail-controls progress::-moz-progress-bar { background: var(--blue); }
.rail-count { font-size: .95rem; font-variant-numeric: tabular-nums; }
.rail-buttons { display: flex; gap: .5rem; margin-left: auto; }
.rail-buttons button {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  background: transparent;
  font-size: 1.35rem;
}
.rail-buttons button:hover:not([aria-disabled="true"]) { background: var(--blue); color: white; }
.rail-buttons button[aria-disabled="true"] { color: #697384; border-color: #aeb4ba; cursor: default; }
.rail-buttons button:focus-visible { outline-color: var(--blue); }

.zhiniao, .cooperation, footer { color: #f1f4fa; background: var(--navy); }
.zhiniao .section-intro, .layers, .zhiniao .boundary { max-width: 65rem; margin-inline: auto; }
.zhiniao .section-intro p, .cooperation .section-intro p { color: #c9d4e6; }
.layers {
  margin-top: clamp(1.8rem, 3.6vw, 3.6rem);
  padding: 0 clamp(1rem, 3vw, 2.8rem);
  border: 1px solid #ffffff40;
  border-radius: .85rem;
  background: #102750;
}
.layers details + details { border-top: 1px solid #ffffff35; }
.layers summary {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.05rem, 2vw, 1.8rem) 0;
  cursor: pointer;
  list-style: none;
}
.layers summary::-webkit-details-marker { display: none; }
.layer-number { display: block; color: #b9c8e1; font-size: .77rem; letter-spacing: .12em; }
.layer-title { display: block; margin-top: .35rem; font-size: clamp(1.3rem, 2.1vw, 2rem); font-weight: 600; line-height: 1.35; }
.indicator {
  display: grid;
  place-items: center;
  flex: 0 0 2.5rem;
  height: 2.5rem;
  border: 1px solid #ffffff66;
  border-radius: 50%;
}
.indicator::before {
  content: "";
  width: .48rem;
  height: .48rem;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
details[open] .indicator { color: var(--navy); background: #e5ebf5; transform: rotate(180deg); }
.layers summary:hover .indicator { border-color: white; }
.layer-panel { min-height: 0; overflow: hidden; }
.layer-panel ul { padding: 0 0 1.3rem; margin: 0; list-style: none; }
.layer-panel li {
  display: flex;
  align-items: baseline;
  gap: .85rem;
  padding: .8rem 0;
  border-top: 1px solid #ffffff29;
  color: #dae3f1;
  line-height: 1.65;
}
.layer-panel li::before { content: ""; flex: 0 0 .42rem; height: 2px; background: #f68655; }
.boundary { margin-top: 1.3rem; color: #c9d4e6; line-height: 1.75; font-size: .93rem; }

.merch, .cooperation {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
  gap: clamp(1.7rem, 5vw, 6rem);
}
.merch .section-intro, .cooperation .section-intro { border-top: 2px solid currentColor; padding-top: 1rem; }
.merch-stage { width: 100%; max-width: 56rem; justify-self: end; }
.merch-stage img { width: 100%; background: #ebe7de; }
.merch-stage figcaption { margin-top: .8rem; font-size: .91rem; line-height: 1.65; color: var(--muted); }
.cooperation { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.cooperation .terms { margin-top: 1.6rem; font-size: clamp(1.2rem, 1.6vw, 1.6rem); color: white; line-height: 1.55; }
.path { list-style: decimal-leading-zero; padding-left: 2.1rem; margin: 0; }
.path li { padding: 1rem .3rem; border-top: 1px solid #ffffff40; }
.path li::marker { color: #ffa982; font-variant-numeric: tabular-nums; }
.path h3 { font-size: clamp(1.15rem, 1.6vw, 1.55rem); font-weight: 600; }
.path p { margin-top: .3rem; color: #c9d4e6; line-height: 1.7; }
footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: 1rem var(--inset);
  border-top: 1px solid #ffffff36;
  font-size: .85rem;
  color: #c9d4e6;
}
footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }

@media (min-width: 53.751rem) and (hover: hover) and (pointer: fine) {
  .media-rail[data-ready] .story-card:not([aria-current="true"]):not(:hover):not(:focus-within) img { opacity: .64; }
}
@media (max-width: 59.999rem) {
  .merch, .cooperation { grid-template-columns: 1fr; }
  .merch-stage { justify-self: start; }
}
@media (max-width: 53.75rem) {
  .stories { --slide-size: 84vw; }
}
@media (max-width: 47.99rem) {
  .hero-copy { flex-direction: column; align-items: flex-start; }
}
@media (max-aspect-ratio: 1/1) {
  .wordmark { top: max(4.3rem, 13%); }
}
@media (min-aspect-ratio: 2/1) {
  .sky img, .canopy img { object-position: 54% 10%; }
  .wordmark { top: max(4rem, 9%); }
}
@media (orientation: landscape) and (max-height: 32rem) {
  .hero { min-height: max(19rem, 100svh); padding-top: 6rem; }
  .hero-copy { flex-direction: row; align-items: flex-end; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .story-card img { transition: opacity .2s ease; }
  .indicator { transition: transform .2s ease; }
  .layers details::details-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows .24s ease, opacity .24s ease, content-visibility .24s allow-discrete;
  }
  .layers details[open]::details-content { grid-template-rows: 1fr; opacity: 1; }
}
