/*
 * Yingting Huang — The Architect's Broadsheet (v4)
 * Aesthetic: Financial Times Weekend / NYT Magazine / Monocle / Swiss Broadsheet
 * Rules:
 *   1. Fixed Top Header Bar (position: fixed; top: 0; left: 0; right: 0; z-index: 9999)
 *   2. 100% Flat & Seamless Newspaper Grid — Zero Cards, Zero Outer Box Borders
 *   3. Zero Border-Radius Anywhere (border-radius: 0 !important)
 */

@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../assets/fonts/mona-sans.woff2") format("woff2");
}

/* ==========================================================================
   5 Curated Newsprint & Archival Paper Editions
   ========================================================================== */

/* 01. Newsprint Ivory (Default — Classic Broadsheet Paper + Carbon Ink + Vermilion Press Stamp) */
:root,
[data-palette="broadsheet"] {
  color-scheme: light;
  --bg: #f4efe6;
  --bg-tint: rgba(17, 17, 17, 0.035);
  --bg-hover: rgba(196, 43, 28, 0.055);
  --ink: #111111;
  --ink-secondary: #383530;
  --ink-muted: #6e6960;
  --accent: #c42b1c;
  --rule: rgba(17, 17, 17, 0.18);
  --rule-heavy: #111111;
}

/* 02. FT Salmon (Financial Times Weekend Bisque Pink + Espresso Ink + Claret Red) */
[data-palette="ftpink"] {
  color-scheme: light;
  --bg: #f6dfd0;
  --bg-tint: rgba(26, 20, 18, 0.04);
  --bg-hover: rgba(158, 27, 50, 0.065);
  --ink: #1a1412;
  --ink-secondary: #433631;
  --ink-muted: #756159;
  --accent: #9e1b32;
  --rule: rgba(26, 20, 18, 0.20);
  --rule-heavy: #1a1412;
}

/* 03. Midnight Press (Matte Lithograph Black + Newsprint Cream + Editorial Gold) */
[data-palette="noir"] {
  color-scheme: dark;
  --bg: #0d0d0c;
  --bg-tint: rgba(236, 231, 221, 0.04);
  --bg-hover: rgba(212, 175, 55, 0.075);
  --ink: #ece7dd;
  --ink-secondary: #b8b1a4;
  --ink-muted: #7c766b;
  --accent: #d4af37;
  --rule: rgba(236, 231, 221, 0.16);
  --rule-heavy: #ece7dd;
}

/* 04. Swiss Cyanotype (Architectural Vellum + Prussian Ink + International Klein Blue) */
[data-palette="blueprint"] {
  color-scheme: light;
  --bg: #ebeff5;
  --bg-tint: rgba(12, 25, 48, 0.038);
  --bg-hover: rgba(0, 71, 171, 0.06);
  --ink: #0c1930;
  --ink-secondary: #334460;
  --ink-muted: #647590;
  --accent: #0047ab;
  --rule: rgba(12, 25, 48, 0.18);
  --rule-heavy: #0c1930;
}

/* 05. Kyoto Washi (Warm Washi Sage + Sumi Ink + Persimmon Rust) */
[data-palette="matcha"] {
  color-scheme: light;
  --bg: #e9ede4;
  --bg-tint: rgba(19, 26, 21, 0.038);
  --bg-hover: rgba(184, 74, 39, 0.06);
  --ink: #131a15;
  --ink-secondary: #39443c;
  --ink-muted: #667369;
  --accent: #b84a27;
  --rule: rgba(19, 26, 21, 0.18);
  --rule-heavy: #131a15;
}

:root {
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", Georgia, "Songti SC", "STSong", "Noto Serif SC", serif;
  --font-sans: "Mona Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, monospace;
}

/* Global Flat Press Reset (Circular exception reserved for portrait avatar & live pulse dot) */
*,
*::before,
*::after {
  box-sizing: border-box;
  box-shadow: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 48px; /* Space for strictly fixed topbar */
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  transition: background-color 0.35s ease, color 0.25s ease;
}

/* Subtle Newsprint Paper Fiber Texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.sheet-wrap {
  position: relative;
  z-index: 2;
  width: min(1360px, calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   1. STRICTLY FIXED TOP HEADER BAR (position: fixed; top: 0; left: 0; right: 0)
   ========================================================================== */
.fixed-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 48px;
  z-index: 9999;
  background: var(--bg);
  border-bottom: 1.5px solid var(--rule-heavy);
  transition: background-color 0.35s ease;
}

.fixed-topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fixed-topbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.fixed-topbar__stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50% !important;
  background: #ffffff;
  display: inline-block;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1.5px;
  height: 2.5px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
  pointer-events: none;
}

.fixed-topbar__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.fixed-topbar__role {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  border-left: 1px solid var(--rule);
  padding-left: 12px;
}

.fixed-topbar__nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.fixed-topbar__link {
  height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-left: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.fixed-topbar__link:last-child {
  border-right: 1px solid var(--rule);
}

.fixed-topbar__link:hover {
  background: var(--bg-hover);
  color: var(--accent);
}

.fixed-topbar__controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.paper-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.paper-switcher__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-right: 4px;
}

/* Sharp Flat Rectangular Paper Swatches — Zero Rounded Corners */
.paper-swatch {
  width: 18px;
  height: 12px;
  border: 1px solid var(--rule-heavy);
  transition: transform 0.15s ease;
}

.paper-swatch:hover {
  transform: translateY(-2px);
}

.paper-swatch.is-active {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.paper-swatch--broadsheet { background: linear-gradient(90deg, #f4efe6 60%, #c42b1c 40%); }
.paper-swatch--ftpink { background: linear-gradient(90deg, #f6dfd0 60%, #9e1b32 40%); }
.paper-swatch--noir { background: linear-gradient(90deg, #0d0d0c 60%, #d4af37 40%); }
.paper-swatch--blueprint { background: linear-gradient(90deg, #ebeff5 60%, #0047ab 40%); }
.paper-swatch--matcha { background: linear-gradient(90deg, #e9ede4 60%, #b84a27 40%); }

.lang-switch {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid var(--rule-heavy);
  background: transparent;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ==========================================================================
   2. NEWSPAPER NAMEPLATE / MASTHEAD (报头通栏 + 左右报耳 + 双线分割)
   ========================================================================== */
.nameplate {
  padding-top: 22px;
  border-bottom: 1px solid var(--rule-heavy);
}

.nameplate__ears {
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  align-items: stretch;
  padding-bottom: 18px;
  border-bottom: 3px solid var(--rule-heavy);
}

.nameplate__ear {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 6px 14px;
}

.nameplate__ear--left {
  border-right: 1px solid var(--rule);
  padding-left: 0;
}

.nameplate__ear--right {
  border-left: 1px solid var(--rule);
  padding-right: 0;
  text-align: right;
}

.ear-kicker {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.ear-main {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.ear-sub {
  font-size: 0.72rem;
  color: var(--ink-muted);
  line-height: 1.35;
}

.nameplate__center {
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.nameplate__super {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.nameplate__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4.2vw, 3.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--ink);
  overflow-wrap: break-word;
}

html[lang="zh"] .nameplate__title {
  letter-spacing: 0.14em;
}

.nameplate__subtitle {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-secondary);
  margin-top: 6px;
}

.dateline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--rule-heavy);
  margin-top: 2px; /* Creates classic newspaper double-rule effect */
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.dateline-bar__left {
  min-width: 0;
}

.dateline-bar__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

/* Kinetic Broadsheet Wire Ticker Strip */
.press-ticker {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--rule);
  background: var(--bg-tint);
  height: 32px;
  overflow: hidden;
}

.press-ticker__badge {
  flex-shrink: 0;
  height: 100%;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.press-ticker__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.press-ticker__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: tickerMarquee 38s linear infinite;
}

.press-ticker:hover .press-ticker__track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--ink-secondary);
}

.ticker-item strong {
  color: var(--accent);
  font-weight: 700;
}

.ticker-sep {
  color: var(--accent);
  font-size: 0.6rem;
}

@keyframes tickerMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.news-link {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.news-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ==========================================================================
   3. FRONT-PAGE MULTI-COLUMN SPREAD (头版主稿 8栏 + 右侧专栏 4栏，共享 1px 分割线)
   ========================================================================== */
.front-spread {
  display: grid;
  grid-template-columns: 8fr 4fr;
  border-bottom: 2px solid var(--rule-heavy);
}

.front-spread__lead {
  padding: 28px 32px 0 0;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.story-kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.lead-headline {
  margin: 0 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3.6vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
  overflow-wrap: break-word;
}

.lead-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* Authentic 2-Column Newspaper Body Copy with Drop Cap */
.lead-columns {
  column-count: 2;
  column-gap: 28px;
  column-rule: 1px solid var(--rule);
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--ink-secondary);
  padding-bottom: 26px;
  text-align: left;
  line-break: strict;
}

.lead-columns p {
  margin: 0 0 12px;
}

.lead-columns p:last-child {
  margin-bottom: 0;
}

.lead-columns p:first-child::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 3.1rem;
  line-height: 0.84;
  padding-right: 10px;
  padding-top: 4px;
  color: var(--accent);
  font-weight: 700;
}

.lead-columns strong {
  color: var(--ink);
  font-weight: 700;
}

/* Seamless 4-Column Newspaper Figures Strip inside Lead Column */
.datum-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}

.datum-cell {
  padding: 18px 16px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.datum-cell:first-child {
  padding-left: 0;
}

.datum-cell:last-child {
  border-right: none;
  padding-right: 0;
}

.datum-index {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
}

.datum-value {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
}

.datum-value span {
  color: var(--accent);
  font-weight: 400;
}

.datum-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

.datum-note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-muted);
}

/* Right 4 Columns: Columnist Portrait Plate & Executive Standing Dossier */
.front-spread__columnist {
  padding: 28px 0 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.columnist-header {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule-heavy);
}

.portrait-plate {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}

.portrait-avatar-wrap {
  position: relative;
  width: 98px;
  height: 98px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.portrait-avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50% !important;
  border: 1.5px dashed var(--accent);
  opacity: 0.72;
  animation: orbitSpin 28s linear infinite;
  pointer-events: none;
}

@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.portrait-frame {
  width: 96px;
  height: 96px;
  border-radius: 50% !important;
  object-fit: cover;
  filter: none; /* Full color by default as requested */
  border: 2px solid var(--rule-heavy);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.portrait-plate:hover .portrait-frame {
  transform: scale(1.05);
  border-color: var(--accent);
}

.portrait-meta {
  min-width: 0;
}

.portrait-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.portrait-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  line-height: 1.45;
  margin-top: 4px;
}

.dossier-ledger {
  display: flex;
  flex-direction: column;
}

.dossier-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: baseline;
}

.dossier-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dossier-key {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}

.dossier-val {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.38;
}

/* ==========================================================================
   4. NEWSPAPER SECTION BANNERS & 4-COLUMN VERTICAL FEATURE SPREAD (SECTION I)
   ========================================================================== */
.news-section {
  border-bottom: 2px solid var(--rule-heavy);
}

.section-banner {
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--rule-heavy);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.section-banner__left {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.section-banner__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-banner__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-banner__desc {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

/* 4 Vertical Newspaper Columns Sharing 1px Vertical Hairlines — Zero Outer Box */
.works-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.works-columns:hover .work-col:not(:hover) {
  opacity: 0.62;
}

.work-col {
  position: relative;
  padding: 24px 22px;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  transition: opacity 0.28s ease, background-color 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-col::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-col:first-child {
  padding-left: 0;
}

.work-col:last-child {
  border-right: none;
  padding-right: 0;
}

.work-col:hover {
  background: var(--bg-hover);
}

.work-col:hover::before {
  transform: scaleX(1);
}

.work-col__head {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.work-col__topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.work-col__idx {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-col:hover .work-col__idx {
  transform: translateX(4px);
}

.work-col__metric {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.work-col__name {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.work-col__domain {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.work-col__essence {
  margin: 0 0 16px;
  font-size: 0.85rem;
  line-height: 1.58;
  color: var(--ink-secondary);
}

/* Seamless Vertical 4-Stage Architecture Ledger inside each Newspaper Column */
.work-col__pipeline {
  border-top: 1px solid var(--rule);
  margin-bottom: 16px;
}

.pipe-row {
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 1px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.work-col:hover .pipe-row:nth-child(1) { transform: translateX(3px); transition-delay: 0.02s; }
.work-col:hover .pipe-row:nth-child(2) { transform: translateX(3px); transition-delay: 0.06s; }
.work-col:hover .pipe-row:nth-child(3) { transform: translateX(3px); transition-delay: 0.10s; }
.work-col:hover .pipe-row:nth-child(4) { transform: translateX(3px); transition-delay: 0.14s; }

.pipe-row__stage {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 700;
}

.pipe-row__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
}

.pipe-row__detail {
  font-size: 0.7rem;
  color: var(--ink-muted);
}

.work-col__links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* ==========================================================================
   5. ASYMMETRIC DOUBLE-SPREAD (左7栏：权威背书 | 右5栏：20年编年史，共享垂直分割线)
   ========================================================================== */
.double-spread {
  display: grid;
  grid-template-columns: 7fr 5fr;
  border-bottom: 2px solid var(--rule-heavy);
}

.double-spread__left {
  padding-right: 32px;
  border-right: 1px solid var(--rule);
  min-width: 0;
}

.double-spread__right {
  padding-left: 32px;
  min-width: 0;
}

.section-banner--compact {
  padding: 18px 0 12px;
}

.authority-list {
  display: flex;
  flex-direction: column;
}

.authority-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 16px;
  align-items: baseline;
  min-width: 0;
  transition: background-color 0.2s ease, padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.authority-row > * {
  min-width: 0;
}

.authority-row:last-child {
  border-bottom: none;
}

.authority-row:hover {
  background: var(--bg-hover);
  padding-left: 8px;
}

.authority-year {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.authority-title {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--ink);
}

.authority-detail {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.52;
  color: var(--ink-secondary);
}

.authority-proof {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
}

/* Right Column Pull-Quote & 20-Year Chronicle */
.editorial-pullquote {
  margin: 16px 0;
  padding: 12px 0 12px 16px;
  border-left: 3px solid var(--accent);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--ink);
}

.chronology {
  display: flex;
  flex-direction: column;
}

.chrono-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}

.chrono-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 3px;
}

.chrono-role {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.chrono-period {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--accent);
}

.chrono-org {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.chrono-focus {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.52;
  color: var(--ink-secondary);
}

/* Flat Architectural Domain Matrix inside Right Column */
.domain-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-heavy);
  margin-top: 8px;
}

.domain-cell {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

.domain-cell:nth-child(2n) {
  border-right: none;
  padding-left: 12px;
  padding-right: 0;
}

.domain-cell:nth-last-child(-n+2) {
  border-bottom: none;
}

.domain-cell__kicker {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.domain-cell__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

/* ==========================================================================
   6. SECTION IV: FLAT NEWSPAPER CONTACT SHEET (123枚官方徽章·纯平面无框无圆角)
   ========================================================================== */
.cred-streams {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stream-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.stream-btn:hover {
  color: var(--ink);
}

.stream-btn.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 700;
}

.cred-spotlight-line {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  min-width: 0;
}

.cred-spotlight-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.cred-spotlight-left > div {
  min-width: 0;
}

.cred-spotlight-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.cred-spotlight-name {
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-weight: 700;
  margin: 0;
  overflow-wrap: break-word;
}

.cred-spotlight-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-muted);
  margin-top: 2px;
  overflow-wrap: break-word;
}

/* Flat Contact Sheet — Zero Borders, Zero Rounded Corners, Pure Press Grid */
.seal-tapestry {
  padding: 18px 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  gap: 8px;
}

.seal-token {
  width: 44px;
  height: 44px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  opacity: 0.85;
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.18s ease, background-color 0.18s ease;
}

.seal-token:hover,
.seal-token.is-selected {
  opacity: 1;
  transform: translateY(-3px) scale(1.06);
  border-bottom-color: var(--accent);
  background: var(--bg-hover);
}

.seal-token img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.seal-token__text {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  font-weight: 700;
  color: var(--accent);
}

/* ==========================================================================
   KINETIC EDITORIAL REVEAL ANIMATIONS
   ========================================================================== */
@keyframes editorialReveal {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-item {
  animation: editorialReveal 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal-delay-1 { animation-delay: 0.02s; }
.reveal-delay-2 { animation-delay: 0.05s; }
.reveal-delay-3 { animation-delay: 0.08s; }
.reveal-delay-4 { animation-delay: 0.11s; }

/* ==========================================================================
   7. COLOPHON / NEWSPAPER FOOTER
   ========================================================================== */
.colophon {
  padding: 20px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.colophon__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (Zero Text Overflow on Tablet & Mobile Screens)
   ========================================================================== */
@media (max-width: 1080px) {
  .fixed-topbar__role {
    display: none;
  }
  .nameplate__ears {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
  .nameplate__ear--left,
  .nameplate__ear--right {
    border: none;
    padding: 0;
    text-align: center;
  }
  .nameplate__center {
    padding: 0;
  }
  .front-spread,
  .double-spread {
    grid-template-columns: 1fr;
  }
  .front-spread__lead,
  .double-spread__left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--rule-heavy);
  }
  .front-spread__columnist,
  .double-spread__right {
    padding-left: 0;
  }
  .works-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-col:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }
  .work-col:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--rule);
  }
  .work-col:nth-child(4) {
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 720px) {
  .sheet-wrap {
    width: calc(100% - 24px);
  }
  .fixed-topbar__inner {
    gap: 8px;
  }
  .fixed-topbar__brand {
    gap: 8px;
  }
  .fixed-topbar__stamp {
    font-size: 0.56rem;
    padding: 2px 5px;
    letter-spacing: 0.04em;
  }
  .fixed-topbar__name {
    font-size: 0.78rem;
  }
  .fixed-topbar__nav,
  .fixed-topbar__role,
  .paper-switcher__label {
    display: none;
  }
  .fixed-topbar__controls {
    gap: 8px;
  }
  .paper-switcher {
    gap: 4px;
  }
  .paper-swatch {
    width: 14px;
    height: 10px;
  }
  .lang-switch {
    font-size: 0.64rem;
    padding: 3px 7px;
  }
  .nameplate {
    padding-top: 14px;
  }
  .nameplate__super {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
  }
  .nameplate__title {
    font-size: clamp(1.35rem, 6.2vw, 2.1rem);
    letter-spacing: 0.01em;
    line-height: 1.08;
  }
  .nameplate__subtitle {
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    line-height: 1.4;
  }
  .dateline-bar {
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    gap: 8px;
  }
  .dateline-bar__links {
    gap: 8px 12px;
  }
  .press-ticker__badge {
    padding: 0 8px;
    font-size: 0.56rem;
  }
  .front-spread__lead {
    padding-top: 20px;
  }
  .lead-headline {
    font-size: clamp(1.38rem, 5.6vw, 1.95rem);
    line-height: 1.18;
    margin-bottom: 16px;
  }
  .lead-columns {
    column-count: 1;
    font-size: 0.9rem;
    line-height: 1.68;
    padding-bottom: 18px;
  }
  .lead-columns p:first-child::first-letter {
    font-size: 2.5rem;
    padding-right: 8px;
  }
  .datum-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .datum-cell {
    padding: 14px 10px;
    border-bottom: 1px solid var(--rule);
  }
  .datum-cell:nth-child(2n) {
    border-right: none;
    padding-right: 0;
  }
  .datum-cell:nth-child(2n+1) {
    padding-left: 0;
  }
  .portrait-plate {
    grid-template-columns: 84px 1fr;
    gap: 14px;
  }
  .portrait-avatar-wrap {
    width: 82px;
    height: 82px;
  }
  .portrait-frame {
    width: 80px;
    height: 80px;
  }
  .dossier-item {
    grid-template-columns: 78px 1fr;
    gap: 10px;
  }
  .works-columns {
    grid-template-columns: 1fr;
  }
  .work-col {
    padding: 20px 0 !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid var(--rule);
  }
  .work-col:last-child {
    border-bottom: none;
  }
  .authority-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .domain-ledger {
    grid-template-columns: 1fr;
  }
  .domain-cell,
  .domain-cell:nth-child(2n) {
    padding: 10px 0;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .domain-cell:last-child {
    border-bottom: none;
  }
  .cred-streams {
    gap: 10px 14px;
  }
  .cred-spotlight-line {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cred-spotlight-left {
    gap: 12px;
  }
}

@media (max-width: 380px) {
  .fixed-topbar__stamp {
    display: none;
  }
}
