/* ==========================================================================
   ANGELINA GONG — editorial portfolio
   Design tokens → base → layout → components → motion
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* colour */
  --paper:      #F4F0EA;
  --paper-deep: #EBE5DA;
  --paper-warm: #FAF7F2;
  --ink:        #17130F;
  --ink-soft:   #39332C;
  --muted:      #6B6257;
  --line:       rgba(23, 19, 15, .15);
  --line-soft:  rgba(23, 19, 15, .08);
  --accent:     #7A2B2B;
  --light:      #FFFDFA;

  /* type */
  --serif: "Bodoni Moda", "Didot", "Times New Roman", "Songti SC", Georgia, serif;
  --sans:  "Manrope", "Helvetica Neue", Arial, "PingFang SC", sans-serif;

  --fs-display: clamp(2.9rem, 8.4vw, 8.4rem);
  --fs-h1:      clamp(2.6rem, 6.6vw, 6.4rem);
  --fs-h2:      clamp(1.95rem, 4.4vw, 3.9rem);
  --fs-h3:      clamp(1.15rem, 1.7vw, 1.55rem);
  --fs-lead:    clamp(1.05rem, 1.42vw, 1.32rem);
  --fs-body:    clamp(1.03rem, 1.1vw, 1.13rem);
  --fs-small:   .8125rem;
  --fs-label:   .6875rem;

  /* space */
  --pad-x:  clamp(20px, 5vw, 88px);
  --gap:    clamp(16px, 1.8vw, 28px);
  --sec-y:  clamp(72px, 11vw, 152px);
  --maxw:   1440px;
  --nav-h:  72px;

  /* motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --dur:  .7s;
}

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

p, h1, h2, h3, h4, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[id] { scroll-margin-top: calc(var(--nav-h) + 18px); }

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-small);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* print-like grain, extremely subtle */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: .026;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. TYPE ---------- */
.display,
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.018em;
  text-wrap: balance;
}

.display {
  font-size: var(--fs-display);
  line-height: .9;
}

h1 { font-size: var(--fs-h1); line-height: .98; }
h2 { font-size: var(--fs-h2); line-height: 1.02; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }

.italic { font-style: italic; }
.accent { color: var(--accent); }

.label {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}
.label--ink { color: var(--ink); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.body-col p + p { margin-top: 1.05em; }
.body-col p { color: var(--ink-soft); text-wrap: pretty; }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* ---------- 4. LAYOUT ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.sec {
  padding-block: var(--sec-y);
  position: relative;
}
.sec--tight { padding-block: clamp(48px, 6vw, 88px); }
.sec + .sec { border-top: 1px solid var(--line-soft); }

/* section header: sticky index rail + content */
.sec-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 68px);
}
.sec-head__rail {
  grid-column: 1 / span 3;
  position: sticky;
  top: calc(var(--nav-h) + 28px);
}
.sec-head__title { grid-column: 4 / span 9; }

.sec-index {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .02em;
  color: var(--accent);
}
.sec-index span:last-child {
  font-family: var(--sans);
  font-size: var(--fs-label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 5. NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav--solid {
  background: rgba(244, 240, 234, .88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav--over { color: var(--light); }

.brand {
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand:hover { opacity: .7; }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 34px);
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-block: 6px;
  color: inherit;
  opacity: .72;
  transition: opacity .25s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: .6875rem;
  letter-spacing: .04em;
  opacity: .55;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { opacity: 1; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta {
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 9px 18px;
  opacity: .9;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav__cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav--over .nav__cta:hover { background: var(--light); color: var(--ink); border-color: var(--light); }

/* burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  position: relative;
}
.burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1px;
  background: currentColor;
  transition: transform .4s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 26px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 20px) var(--pad-x) 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu__list { display: grid; gap: 4px; }
.menu__item a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-block: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.menu__item b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: .8rem;
  color: var(--accent);
  min-width: 22px;
}
.menu__item em {
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.menu__foot { margin-top: 34px; display: grid; gap: 8px; }
body.menu-open { overflow: hidden; }

/* ---------- 6. HOME ---------- */
.home-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: #0d0b09;
  color: var(--light);
  overflow: hidden;
}
.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero__media img {
  /* 封面原图是 2.16:1 宽幅帧，直接 cover 铺满会左右裁掉约 1/4，人像被推成特写。
     这里把画面收到 86% 高、上下各留 7% 的窄边，裁切量降到约 13%，
     构图退后一档，也和点开后的播放器画面（完整显示）衔接得上。 */
  position: absolute;
  left: 0;
  top: 7%;
  width: 100%;
  height: 86%;
  object-fit: cover;
  /* 宽扁视口（如 1920×800）下会裁上下，30% 让画面偏上，保住头顶 */
  object-position: 50% 30%;
  animation: heroIn 1.6s var(--ease) both;
  background: #0d0b09;
  transition: opacity .6s var(--ease);
}
/* 外部播放器层：iframe 满铺，构图与烧字幕交给播放器自己 letterbox，不裁切 */
.home-hero__embed {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background: #0d0b09;
  transition: opacity .6s var(--ease);
}
.home-hero__embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
/* 入场动画是 fill:both，会一直压着 opacity；播放时要先把它撤掉才切得动 */
body.video-playing .home-hero__embed { opacity: 1; pointer-events: auto; }
body.video-playing .home-hero__media img { opacity: 0; animation: none; }
/* 播放时撤掉整幅压暗遮罩，只留顶部一条护住导航白字，底部让给播放器控制条 */
body.video-playing .home-hero__media::after {
  background: linear-gradient(180deg, rgba(10,8,6,.66) 0%, rgba(10,8,6,.30) 7%, rgba(10,8,6,0) 15%);
}
/* 播放时让界面让位：片子自带字幕，名字压在同一行会打架 */
.home-hero__name, .home-hero__meta { transition: opacity .5s var(--ease); }
body.video-playing .home-hero__name,
body.video-playing .home-hero__meta { opacity: 0; }
body.video-playing .play {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity .6s var(--ease);
  background:
    linear-gradient(180deg, rgba(10,8,6,.56) 0%, rgba(10,8,6,0) 26%, rgba(10,8,6,.10) 48%, rgba(10,8,6,.52) 74%, rgba(10,8,6,.80) 100%),
    radial-gradient(120% 90% at 50% 45%, rgba(10,8,6,0) 40%, rgba(10,8,6,.28) 100%);
}
@keyframes heroIn { from { transform: scale(1.06); opacity: .6; } to { transform: scale(1); opacity: 1; } }

.home-hero__top {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--nav-h) + clamp(28px, 5vw, 56px));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.home-hero__meta {
  display: grid;
  gap: 4px;
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .94;
}
.home-hero__meta--r { text-align: right; }
.home-hero__meta b {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: .06em;
  font-size: .8125rem;
  text-transform: none;
  opacity: .6;
}

.play {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding-top: 22vh;
  transition: opacity .45s var(--ease), visibility .45s;
}
/* 宽屏：这一帧左侧是一整块暗色吧台，播放键靠左既避开人脸也压得住画面 */
@media (min-width: 981px) {
  .play {
    place-items: center start;
    padding-top: 0;
    padding-left: clamp(34px, 9.5vw, 168px);
  }
}
.play__btn {
  position: relative;
  width: clamp(84px, 9vw, 118px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 250, .72);
  display: grid;
  place-items: center;
  color: var(--light);
  background: rgba(16, 12, 9, .30);
  backdrop-filter: blur(3px);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.play__btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 250, .22);
  animation: pulse 3.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);    opacity: .8; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
.play__btn svg { width: 20px; height: 20px; margin-left: 3px; }
.play__btn:hover {
  background: var(--light);
  color: var(--ink);
  border-color: var(--light);
  transform: scale(1.04);
}
.play__label {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-label);
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: .92;
  text-shadow: 0 1px 10px rgba(0,0,0,.55), 0 0 24px rgba(0,0,0,.35);
}

.home-hero__bottom {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(26px, 3.4vw, 46px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.home-hero__name {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: .01em;
}

/* next chapter */
.next-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 6px 26px;
  padding-block: clamp(28px, 4vw, 52px) clamp(24px, 3.2vw, 38px);
}
.next-row__label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(12px, 1.6vw, 20px);
  font-size: var(--fs-label);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}
.next-row__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}
.next-row__title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.1vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  transition: color .4s var(--ease), transform .5s var(--ease);
}
.next-row__arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  transition: background .4s var(--ease), border-color .4s var(--ease),
              color .4s var(--ease), transform .5s var(--ease);
}
.next-row__arrow svg { width: 15px; height: 11px; }
.next-row__sub {
  grid-column: 1 / -1;
  margin-top: 14px;
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.next-row:hover .next-row__title { color: var(--accent); transform: translateX(9px); }
.next-row:hover .next-row__arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateX(5px);
}

/* colophon */
.colophon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  padding-block: 18px 28px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.colophon a { transition: color .3s var(--ease); }
.colophon a:hover { color: var(--accent); }

/* ---------- 7. PAGE HEADER ---------- */
.page-head { padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 74px)); }
.page-head__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(26px, 4vw, 46px);
}
.page-head__kicker .label { color: var(--ink); }
.page-head__kicker .label:first-child { flex: none; white-space: nowrap; }
.page-head__kicker .label:last-child { margin-left: auto; color: var(--muted); }

.page-head__title { margin-bottom: clamp(24px, 3.4vw, 42px); }
.page-head__title h1 span { display: block; }
.page-head__lead { max-width: 46ch; }

/* variations */
.head--split { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.head--split .head__text { grid-column: 1 / span 7; }
.head--split .head__img { grid-column: 8 / span 5; align-self: end; }
.head--split .head__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.head--center { text-align: center; }
.head--center .page-head__lead { margin-inline: auto; }
.head--center .page-head__kicker { justify-content: center; }
.head--center .page-head__kicker .label:last-child { margin-left: 0; }

.head--plates {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: start;
}
.head--plates .head__text { grid-column: 4 / span 6; text-align: center; }
.head--plates .plate { grid-column: 1 / span 3; margin-top: clamp(48px, 9vw, 132px); }
.head--plates .plate--r { grid-column: 10 / span 3; margin-top: clamp(8px, 2vw, 26px); }

/* life-beyond content groups — editorial spread: head band + photo bands */
.group { display: block; }
.group__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  align-items: start;
  margin-bottom: clamp(20px, 2.6vw, 34px);
}
.group__head > div:first-child { grid-column: 1 / span 5; }
.group__head .body-col { grid-column: 7 / span 5; }
.group__head h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -.015em;
}

/* photo spread — one 12-col grid for the whole block, fixed row unit so every
   band is exactly a whole number of rows tall and edges always line up */
.ps {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(6px, .72vw, 10px);
  grid-auto-rows: clamp(64px, 6.2vw, 90px);
}
.ps__row { display: contents; }
.ps__item { min-width: 0; }
.ps__item--s3 { grid-column: span 3; }
.ps__item--s4 { grid-column: span 4; }
.ps__item--s5 { grid-column: span 5; }
.ps__item--s6 { grid-column: span 6; }
.ps__item--s7 { grid-column: span 7; }
.ps__item--r4 { grid-row: span 4; }
.ps__item--r5 { grid-row: span 5; }

/* ---------- 8. FIGURES / MEDIA ---------- */
.fig { position: relative; overflow: hidden; background: var(--paper-deep); }
.fig img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .8s var(--ease);
}
.fig--hover:hover img { transform: scale(1.035); }
/* 白色背景的图片需要一点边界，否则会和纸色融在一起 */
.fig--edge { box-shadow: inset 0 0 0 1px var(--line-soft); }

/* 文档/图纸类素材：装在白纸上，避免彩色图纸破坏整体配色 */
.doc-plate {
  aspect-ratio: 4 / 5;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  display: grid;
  place-items: center;
  padding: clamp(8px, 1vw, 14px);
  overflow: hidden;
}
.doc-plate img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 1.1s var(--ease);
}
.doc-plate:hover img { transform: scale(1.02); }
.fig--r45 img { aspect-ratio: 4/5; }
.fig--r34 img { aspect-ratio: 3/4; }
.fig--r11 img { aspect-ratio: 1/1; }
.fig--r32 img { aspect-ratio: 3/2; }
.fig--r169 img { aspect-ratio: 16/9; }
.fig--r21 img { aspect-ratio: 2/1; }
.fig--full img { aspect-ratio: auto; height: auto; }

.figcap {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  line-height: 1.5;
  color: var(--muted);
  text-transform: uppercase;
}
.figcap b { font-weight: 500; color: var(--ink-soft); }

/* reveal mask for images */
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img img { transform: scale(1.08); transition: transform 1.4s var(--ease); }
.js .reveal-img.is-in img { transform: scale(1); }

/* ---------- 9. STATS ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-block: clamp(30px, 4vw, 52px);
}
.stat {
  padding: clamp(22px, 3vw, 38px) 0;
  padding-inline: clamp(0px, 2vw, 28px);
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: .88;
  letter-spacing: -.03em;
  display: block;
  margin-bottom: 12px;
}
.stat__label {
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 10. TAGS ---------- */
.tagset { display: grid; gap: 22px; }
.tagset__group { display: grid; gap: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8125rem;
  letter-spacing: .02em;
  color: var(--ink-soft);
  transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.tag b {
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.tag:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tag:hover b { color: rgba(244,240,234,.6); }

/* ---------- 11. TIMELINE ---------- */
.tl {
  --tl-pad: clamp(18px, 2.4vw, 30px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  padding-left: var(--tl-pad);
}
.tl__item {
  display: grid;
  grid-template-columns: clamp(118px, 11.5vw, 158px) minmax(0, 1fr) clamp(132px, 15vw, 208px);
  gap: clamp(14px, 2.2vw, 34px);
  padding-block: clamp(24px, 3.2vw, 40px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.tl__item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--tl-pad) - 3px);
  top: calc(clamp(24px, 3.2vw, 40px) + 7px);
  width: 6px; height: 6px;
  background: var(--paper);
  border: 1px solid var(--accent);
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.tl__item:hover::before { background: var(--accent); transform: scale(1.4); }
.tl__year {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  letter-spacing: .01em;
  color: var(--accent);
  white-space: nowrap;
}
.tl__body { max-width: 62ch; }
.tl__body h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.24;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.tl__body p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- 12. BRANDS ---------- */
.brand-block { display: grid; gap: clamp(22px, 3vw, 38px); }

/* ---------- 13. GALLERY ---------- */
.gal {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: start;
}
.gal > * { grid-column: span 4; }
.gal .g-5 { grid-column: span 5; }
.gal .g-6 { grid-column: span 6; }
.gal .g-7 { grid-column: span 7; }
.gal .g-8 { grid-column: span 8; }
.gal .g-12 { grid-column: span 12; }
.gal .g-off-1 { margin-top: clamp(20px, 5vw, 76px); }
.gal .g-off-2 { margin-top: clamp(40px, 10vw, 150px); }

.gal-item { display: block; position: relative; }
.gal-item__zoom {
  position: absolute;
  inset: auto 12px 12px auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,253,250,.6);
  background: rgba(20,16,12,.28);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: var(--light);
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gal-item:hover .gal-item__zoom { opacity: 1; transform: none; }

/* ---------- 14. MODULES (creative direction) ---------- */
.mods { display: grid; gap: clamp(34px, 4.6vw, 68px); }
.mod {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: center;
}
.mod__text { grid-column: 1 / span 5; }
.mod__media { grid-column: 7 / span 6; }
.mod--flip .mod__text { grid-column: 8 / span 5; }
.mod--flip .mod__media { grid-column: 1 / span 6; grid-row: 1; }
.mod__no {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
}
.mod h3 { margin-bottom: 14px; }
.mod__text p { color: var(--ink-soft); font-size: .97rem; }
.mod__text p + p { margin-top: .9em; }

/* ---------- 15. QUOTE ---------- */
.pull {
  padding-block: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-block: clamp(36px, 5vw, 64px);
}
.pull blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  line-height: 1.16;
  letter-spacing: -.02em;
  max-width: 22ch;
  text-wrap: balance;
}
.pull--wide blockquote { max-width: none; }
.pull cite {
  display: block;
  margin-top: 22px;
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 16. PLACEHOLDER (reserved slots) ---------- */
.slot {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(23,19,15,.03) 0 1px, transparent 1px 8px),
    var(--paper-deep);
  border: 1px solid var(--line);
}
.slot::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(23,19,15,.07);
  pointer-events: none;
}
.slot--r45 { aspect-ratio: 4/5; }
.slot--r169 { aspect-ratio: 16/9; }
.slot--r34 { aspect-ratio: 3/4; }
.slot--r32 { aspect-ratio: 3/2; }
.slot--r11 { aspect-ratio: 1/1; }

.slot__tag {
  position: absolute;
  top: 20px; left: 22px; right: 22px;
  font-size: var(--fs-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.slot__note {
  position: absolute;
  bottom: 20px; left: 22px; right: 22px;
  font-size: .75rem;
  line-height: 1.6;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.slot__note code {
  display: block;
  margin-top: 7px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .6875rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  opacity: .7;
  overflow-wrap: anywhere;
}

/* inline pending note (no box) */
.pending-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding-block: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pending-note b {
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

/* ---------- 12b. BRAND LOGO WALL ---------- */
.logo-wall {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(16px, 2vw, 22px);
}
.logo-cat {
  display: grid;
  grid-template-columns: clamp(150px, 16vw, 210px) 1fr;
  gap: clamp(12px, 2vw, 28px);
  align-items: start;
}
.logo-cat > .label { padding-top: 8px; }
.logo-cells {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(2px, .5vw, 6px) clamp(6px, 1vw, 14px);
  background: var(--light);
  padding: clamp(16px, 2.2vw, 30px) clamp(14px, 2vw, 26px);
}
.logo-cell {
  min-height: clamp(40px, 3.8vw, 54px);
  display: grid;
  place-items: center;
  padding: 4px 8px;
  opacity: 1;
  transition: opacity .3s var(--ease);
}
.logo-cell img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(16px, 1.95vw, 25px);
  object-fit: contain;
}
/* 竖版标志（YSL / Beats / Yohji 手写体）单独放高一点，视觉重量才平衡 */
.logo-cell--tall img { max-height: clamp(26px, 3.2vw, 40px); }
.logo-cell:hover { opacity: .75; }

/* ---------- 17. CARDS / ENTRIES ---------- */
.entries { display: grid; gap: 0; }
.entry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  padding-block: clamp(28px, 3.6vw, 46px);
  border-top: 1px solid var(--line-soft);
}
.entry__no { grid-column: 1 / span 1; }
.entry__main { grid-column: 2 / span 11; }
.entry h3 { margin-bottom: 6px; }
.entry__meta {
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.entry__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
  margin-top: 22px;
}

/* link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease), gap .3s var(--ease), color .3s var(--ease);
}
.arrow-link:hover { border-color: var(--accent); color: var(--accent); gap: 18px; }
.arrow-link svg { width: 14px; height: 10px; flex: none; }
.arrow-link[data-pending] { color: var(--muted); }

/* Q&A cards */
.qa {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.qa__cell {
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: background .4s var(--ease);
}
.qa__cell:hover { background: rgba(255,255,255,.4); }
.qa__cell dt {
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.qa__cell dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  line-height: 1.45;
  letter-spacing: -.005em;
  text-wrap: pretty;
}
.qa__cell--wide { grid-column: 1 / -1; }

/* ---------- 18. LIST ROWS (small community items) ---------- */
.mini-list { display: grid; gap: 0; margin-top: 26px; }
.mini {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid var(--line-soft);
}
.mini__idx { font-family: var(--serif); font-size: .9rem; color: var(--muted); }
.mini h4 { font-family: var(--serif); font-weight: 400; font-size: 1.06rem; margin-bottom: 5px; }
.mini p { font-size: .93rem; color: var(--ink-soft); }

/* ---------- 19. FOOTER ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(44px, 6vw, 78px) 30px;
  margin-top: var(--sec-y);
}
.foot__top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: end;
}
.foot__title { grid-column: 1 / span 6; }
.foot__title h2 { font-size: clamp(1.9rem, 4.6vw, 3.6rem); }
.foot__links { grid-column: 8 / span 5; display: grid; gap: 2px; }
.foot__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .95rem;
  transition: color .3s var(--ease), padding-left .4s var(--ease);
}
.foot__link span:first-child { letter-spacing: .01em; }
.foot__link span:last-child {
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.foot__link:hover { color: var(--accent); padding-left: 6px; }
.foot__bottom {
  margin-top: clamp(36px, 5vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  font-size: var(--fs-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 20. LIGHTBOX ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #0B0908;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 56px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb img {
  max-width: 100%;
  max-height: 86svh;
  object-fit: contain;
  transform: scale(.97);
  transition: transform .5s var(--ease);
}
.lb.is-open img { transform: scale(1); }
.lb__cap {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,253,250,.72);
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
}
.lb__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 46px; height: 46px;
  color: var(--light);
  font-size: 22px;
  line-height: 1;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
}
.lb__close:hover { background: rgba(255,255,255,.12); }

.lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,253,250,.24);
  border-radius: 50%;
  color: var(--light);
  line-height: 1;
  transition: background .3s var(--ease), border-color .3s var(--ease), opacity .3s;
}
.lb__nav:hover { background: rgba(255,255,255,.14); border-color: rgba(255,253,250,.55); }
.lb__nav--prev { left: clamp(10px, 3vw, 34px); }
.lb__nav--next { right: clamp(10px, 3vw, 34px); }

.lb__count {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,253,250,.6);
  font-size: var(--fs-label);
  letter-spacing: .18em;
}

@media (max-width: 720px) {
  .lb__nav { width: 44px; height: 44px; opacity: .85; }
}

/* ---------- 章节过渡：整页纸色遮罩 ---------- */
.pageveil {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: var(--pad-x);
  background: var(--paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .42s var(--ease), visibility .42s;
}
.pageveil.is-covering {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pageveil.no-anim { transition: none; }

.pageveil__label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.6rem);
  letter-spacing: .01em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .38s var(--ease), transform .5s var(--ease);
}
.pageveil__label::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: .7;
}
.pageveil.is-covering .pageveil__label {
  opacity: 1;
  transform: none;
  transition-delay: .1s;
}

/* 滚到底部时，下一章的箭头自动亮起，提示「继续滚」 */
body.at-end .next-row__arrow {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: translateX(5px);
}
body.at-end .next-row__title { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .pageveil { transition: opacity .01s linear; }
  .pageveil__label { transition: none; }
}

/* ---------- 21. TOAST ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 22px;
  font-size: .8125rem;
  letter-spacing: .04em;
  max-width: min(92vw, 460px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity .35s var(--ease), transform .5s var(--ease), visibility .35s;
}
.toast.is-in {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- 22. MOTION ---------- */
.js .rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .rv.is-in { opacity: 1; transform: none; }

.js .stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .stagger.is-in > * { opacity: 1; transform: none; }
.js .stagger.is-in > *:nth-child(2) { transition-delay: .07s; }
.js .stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
.js .stagger.is-in > *:nth-child(4) { transition-delay: .21s; }
.js .stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
.js .stagger.is-in > *:nth-child(6) { transition-delay: .35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .rv, .js .stagger > * { opacity: 1; transform: none; }
  .js .reveal-img { clip-path: none; }
}

/* ---------- 23. RESPONSIVE ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 14px; }
  .nav__link { white-space: nowrap; font-size: .625rem; letter-spacing: .1em; }
  .nav__link b { display: none; }
  .nav__cta { padding: 8px 14px; font-size: .625rem; }
}

@media (max-width: 980px) {
  :root { --nav-h: 62px; }

  /* 12-column grids collapse: inline column spans must not survive */
  .grid { grid-template-columns: 1fr; }
  .grid > * { grid-column: 1 / -1 !important; }

  .group__head { grid-template-columns: 1fr; }
  .group__head > div:first-child,
  .group__head .body-col { grid-column: 1 / -1; }
  .group__head .body-col { margin-top: 14px; }

  /* 照片带在窄屏收成两列，奇数张的最后一张占满整行 */
  .ps { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .ps__item { grid-column: span 1 !important; grid-row: auto !important; aspect-ratio: 1 / 1; }
  /* 一张通栏主图 + 四张方形，正好铺满两列，不会留下空格 */
  .ps__item--lead { grid-column: span 2 !important; aspect-ratio: 3 / 2; }
  .ps__item--leadp { grid-column: span 2 !important; aspect-ratio: 4 / 5; }

  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }

  .sec-head__rail { grid-column: 1 / -1; position: static; }
  .sec-head__title { grid-column: 1 / -1; }
  .sec-head { margin-bottom: 28px; }

  .head--split .head__text,
  .head--split .head__img { grid-column: 1 / -1; }
  .head--split .head__img { margin-top: 30px; }
  .head--split .head__img img { aspect-ratio: 5/4; }

  .head--plates .head__text { grid-column: 1 / -1; }
  .head--plates .plate { display: none; }

  .mod, .mod--flip { grid-template-columns: 1fr; gap: 24px; }
  .mod__text, .mod__media,
  .mod--flip .mod__text, .mod--flip .mod__media { grid-column: 1 / -1; grid-row: auto; }
  .mod--flip .mod__media { order: 2; }

  .logo-cat { grid-template-columns: 1fr; gap: 10px; }
  .logo-cat > .label { padding-top: 0; }
  .logo-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .gal > * , .gal .g-5, .gal .g-6, .gal .g-7, .gal .g-8, .gal .g-12 { grid-column: span 6; }
  .gal .g-off-2 { margin-top: 0; }

  .entry__no { grid-column: 1 / span 2; }
  .entry__main { grid-column: 3 / span 10; }
  .entry__grid { grid-template-columns: 1fr; }

  .foot__title, .foot__links { grid-column: 1 / -1; }
  .foot__links { margin-top: 28px; }

  .qa { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --nav-h: 58px; }

  body { font-size: 1rem; }

  .stats { grid-template-columns: 1fr; }
  .stat__num { font-size: clamp(3.2rem, 13vw, 6rem); }
  .stat { padding-inline: 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }

  .tl__item { grid-template-columns: 1fr; gap: 10px; padding-left: 0; }
  .tl__item::before { top: calc(clamp(24px, 3.2vw, 40px) + 4px); }
  .tl__year::after {
    content: "";
    display: block;
    width: 28px; height: 1px;
    background: var(--line);
    margin-top: 10px;
  }

  .gal > *, .gal .g-5, .gal .g-6, .gal .g-7, .gal .g-8, .gal .g-12 { grid-column: span 12; }
  .gal .g-off-1 { margin-top: 0; }

  .entry { grid-template-columns: 1fr; }
  .entry__no { grid-column: 1 / -1; margin-bottom: 4px; }
  .entry__main { grid-column: 1 / -1; }

  .home-hero__top { flex-direction: column; }
  .home-hero__meta--r { display: none; }
  .home-hero__name { font-size: 1.9rem; }
  /* 窄屏换成竖版帧（0.5:1），与视口比例接近，铺满即可，不必留边 */
  .home-hero__media img { top: 0; height: 100%; object-fit: cover; object-position: 50% 38%; }

  .next-row { grid-template-columns: 1fr; gap: 0; }
  .next-row__arrow { display: none; }


  .pull blockquote { font-size: 1.55rem; }

}
/* ---------- 24. MEDIA PAGE — REVISION COMPONENTS ---------- */

/* 150+ 视觉重点 */
.bigstat { margin: 0; }
.bigstat__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.6rem, 8.4vw, 7.2rem);
  line-height: .9;
  letter-spacing: .005em;
  color: var(--ink);
}
.bigstat__plus {
  font-size: .68em;
  vertical-align: .26em;
  letter-spacing: 0;
  margin-left: .04em;
}
.bigstat__label {
  display: block;
  margin-top: 14px;
  font-size: var(--fs-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 时间轴内嵌配图 */
.tl__item--text {
  grid-template-columns: clamp(118px, 11.5vw, 158px) minmax(0, 1fr);
}
.tl__pic { margin: 0; align-self: start; }
.tl__pic img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-deep);
}

/* 行业活动：带说明的图片格 */
.gal-fig { display: block; min-width: 0; }
.gal-fig > .gal-item { display: block; }
.gal-fig .figcap { margin-top: 10px; }

/* 项目流程示意（Business Operations） */
.flow { border-top: 1px solid var(--line); }
.flow__step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: baseline;
  padding-block: clamp(12px, 1.5vw, 17px);
  border-bottom: 1px solid var(--line-soft);
}
.flow__no {
  font-family: var(--serif);
  font-size: .85rem;
  color: var(--accent);
}
.flow__name {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.flow__note {
  font-size: var(--fs-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

/* 模块副标题 */
.mod__meta {
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: -6px 0 16px;
}

@media (max-width: 980px) {
  .tl__item { grid-template-columns: clamp(96px, 13vw, 140px) minmax(0, 1fr); }
  .tl__item--text { grid-template-columns: 1fr; }
  .tl__pic { grid-column: 2; margin-top: 14px; max-width: 240px; }
  .bigstat__num { font-size: clamp(3.4rem, 12vw, 5.6rem); }
}

@media (max-width: 720px) {
  .tl__item, .tl__item--text { grid-template-columns: 1fr; }
  .tl__pic { grid-column: 1; margin-top: 16px; max-width: 100%; }
  .flow__step { grid-template-columns: 34px minmax(0, 1fr); row-gap: 3px; }
  .flow__note { grid-column: 2; text-align: left; }
}

/* ---------- 25. PROJECTS PAGE — REVISION ---------- */

/* Angie's Wings：三段小标题 */
.wings-block + .wings-block { margin-top: clamp(22px, 2.8vw, 32px); }
.wings-block .label { margin-bottom: 9px; }

/* Slogan：收成一行小斜体 */
.slogan {
  margin-top: clamp(26px, 3.4vw, 42px);
  padding-top: clamp(15px, 1.9vw, 21px);
  border-top: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.55vw, 1.26rem);
  letter-spacing: .01em;
  color: var(--accent);
}

/* 两行短条目（Red Cross / Stray Cat） */
.mini-line {
  margin-top: 10px;
  max-width: 44ch;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ---------- 26. ACADEMICS & ABOUT — REVISION ---------- */

/* 论文条目：一段文字 + 一张素材，左右交错；文字与素材垂直居中，
   素材高度固定，短文字旁边就是对称的留白而不是空洞 */
.paper {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: center;
  padding-block: clamp(32px, 4.4vw, 58px);
  border-top: 1px solid var(--line);
}
.paper__text { grid-column: 1 / span 7; }
.paper__fig { grid-column: 9 / span 4; }
.paper--flip .paper__text { grid-column: 6 / span 7; }
.paper--flip .paper__fig { grid-column: 1 / span 4; grid-row: 1; }

.paper__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.paper__no {
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .02em;
  color: var(--accent);
}
.paper__rule { width: 22px; height: 1px; background: var(--line); }

.paper h3 {
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin-bottom: clamp(14px, 1.8vw, 20px);
  max-width: 30ch;
}
.paper__body p {
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 58ch;
  text-wrap: pretty;
}
.paper .arrow-link {
  display: inline-flex;
  margin-top: clamp(18px, 2.2vw, 26px);
  color: var(--ink);
  border-color: var(--ink);
}
.paper .arrow-link:hover { color: var(--accent); border-color: var(--accent); }

/* Barnard：单一聚焦，右侧一张校园/课堂照 */
.barnard {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: center;
}
.barnard__text { grid-column: 1 / span 6; }
.barnard__fig { grid-column: 8 / span 5; }
.barnard h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.015em;
}
.barnard__meta {
  margin-top: 10px;
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.barnard__project {
  margin-top: 12px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  color: var(--accent);
}

/* 两张等高项目卡 */
.projects-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  align-items: stretch;
}
.proj-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid var(--line);
}
.proj-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.proj-card__meta {
  font-size: var(--fs-label);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.proj-card p:last-child {
  margin-top: 2px;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* About 开头：三小段，字号略大 */
.about-intro { max-width: 68ch; margin-top: 8px; }
.about-intro p {
  font-size: clamp(1.05rem, 1.15vw, 1.16rem);
  line-height: 1.74;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.about-intro p + p { margin-top: 15px; }

/* 四宫格：细边框、2×2、上下留白收紧 */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.facts__cell {
  display: grid;
  gap: 9px;
  align-content: start;
  padding: clamp(22px, 2.6vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.facts__cell:hover { background: rgba(255, 255, 255, .4); }
.facts__no {
  font-family: var(--serif);
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--accent);
}
.facts h3 {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.6vw, 1.34rem);
  line-height: 1.22;
  letter-spacing: -.01em;
}
.facts p:last-child {
  font-size: clamp(1rem, 1.06vw, 1.06rem);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}

@media (max-width: 980px) {
  .paper, .barnard { align-items: start; }
  .paper__text, .paper--flip .paper__text,
  .barnard__text { grid-column: 1 / -1; }
  .paper__fig, .paper--flip .paper__fig, .barnard__fig {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: clamp(20px, 3.2vw, 32px);
    max-width: 400px;
  }
}

@media (max-width: 720px) {
  .projects-2 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .paper h3 { max-width: none; }
}

/* 页首右上的论文图表：当成"装裱的一页"，需要一条可见的边 */
.head--plates .doc-plate {
  box-shadow: inset 0 0 0 1px var(--line);
}

/* ---------- 27. MEDIA TIMELINE — SCREENSHOT EVIDENCE ---------- */

/* 截图不裁切：装进白卡，保持原始比例 */
.tl__shot {
  display: block;
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: clamp(5px, .6vw, 9px);
}
.tl__pic--shot .tl__shot img,
.tl__band .tl__shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: none;
}
.tl__pic--shot .figcap {
  flex-direction: column;
  gap: 3px;
  margin-top: 9px;
  letter-spacing: .06em;
}

/* 竖向截图：图片列加宽，内容才看得清 */
@media (min-width: 981px) {
  .tl__item--shot {
    grid-template-columns: clamp(118px, 11.5vw, 158px) minmax(0, 1fr) clamp(180px, 21vw, 285px);
  }
}

/* 超宽截图：单独占一行，跨到年份栏右侧的整幅宽度 */
.tl__item--band {
  grid-template-columns: clamp(118px, 11.5vw, 158px) minmax(0, 1fr);
}
.tl__band {
  margin: clamp(18px, 2.4vw, 26px) 0 0;
  max-width: 880px;
}
.tl__band .figcap { margin-top: 9px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .tl__item--band { grid-template-columns: clamp(96px, 13vw, 140px) minmax(0, 1fr); }
  .tl__band { max-width: none; }
}

@media (max-width: 720px) {
  .tl__item--band { grid-template-columns: 1fr; }
  .tl__band { margin-top: 16px; }
  .tl__pic--shot { max-width: 260px; }
}

/* ---------- 28. PROJECTS — REVISION 2 ---------- */

/* 页首拼贴：四张，两张主图 + 两张小图 */
.collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: end;
  margin-top: clamp(30px, 4.2vw, 56px);
}
.collage .fig { min-width: 0; }

/* Angie's Wings：网站入口卡片 */
.site-tile {
  position: relative;
  display: grid;
  align-content: space-between;
  aspect-ratio: 3 / 2;
  padding: clamp(18px, 2.2vw, 28px);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.site-tile__label {
  font-size: var(--fs-label);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}
.site-tile__domain {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.06;
  letter-spacing: -.012em;
}
.site-tile__note {
  display: block;
  margin-top: 10px;
  max-width: 32ch;
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--muted);
}
.site-tile__arrow {
  position: absolute;
  right: clamp(16px, 2vw, 26px);
  bottom: clamp(14px, 1.8vw, 22px);
  font-size: 15px;
  line-height: 1;
  color: var(--ink);
  transition: transform .4s var(--ease), color .4s var(--ease);
}
.site-tile:hover { background: #fff; border-color: var(--ink); }
.site-tile:hover .site-tile__arrow { transform: translate(3px, -3px); color: var(--accent); }

/* 平台截图：白底装裱，不裁切 */
.screen-plate {
  background: #fff;
  border: 1px solid var(--line);
  padding: clamp(6px, .8vw, 10px);
}
.screen-plate img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .collage { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .collage > figure { grid-column: auto !important; }
}

@media (max-width: 720px) {
  .collage { grid-template-columns: 1fr; }
}
