/* ==========================================================================
   Xu Xuanzhi | PORT ✳ FOLIO
   Editorial Gallery & Fine-Art Paper Aesthetic
   Soft Morandi Hazy Transitions · Didone Serif · Interactive Flipbook
   ========================================================================== */

:root {
  --paper-base: #f4f2ec;
  --sheet-bg: rgba(248, 246, 241, 0.82);
  --sheet-solid: #f7f5f0;
  --haze-1: rgba(216, 204, 186, 0.55);
  --haze-2: rgba(196, 211, 224, 0.45);
  --haze-3: rgba(227, 215, 200, 0.5);

  --ink: #121211;
  --ink-secondary: #383733;
  --ink-muted: #66645d;
  --accent: #1a1a1a;
  --line: rgba(23, 23, 22, 0.16);
  --line-strong: rgba(23, 23, 22, 0.36);

  --font-serif: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --font-sans: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --nav-h: 66px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--paper-base);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

body.modal-open,
body.cover-active {
  overflow: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

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

button {
  font-family: inherit;
  color: inherit;
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

/* ==========================================================================
   Soft Morandi Hazy Gradient Atmosphere + Fine Paper Texture
   ========================================================================== */

.paper-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.haze-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform, background-color;
  transition: background-color 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.haze-1 {
  width: 64vw;
  height: 64vw;
  max-width: 900px;
  max-height: 900px;
  top: -22%;
  left: -14%;
  background-color: var(--haze-1);
  animation: hazeDriftA 22s ease-in-out infinite alternate;
}

.haze-2 {
  width: 58vw;
  height: 58vw;
  max-width: 820px;
  max-height: 820px;
  top: 26%;
  right: -16%;
  background-color: var(--haze-2);
  animation: hazeDriftB 26s ease-in-out infinite alternate;
}

.haze-3 {
  width: 56vw;
  height: 56vw;
  max-width: 780px;
  max-height: 780px;
  bottom: -24%;
  left: 22%;
  background-color: var(--haze-3);
  animation: hazeDriftC 30s ease-in-out infinite alternate;
}

@keyframes hazeDriftA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(6vw, 5vh, 0) scale(1.09); }
}

@keyframes hazeDriftB {
  0% { transform: translate3d(0, 0, 0) scale(1.03); }
  100% { transform: translate3d(-5vw, 7vh, 0) scale(0.95); }
}

@keyframes hazeDriftC {
  0% { transform: translate3d(0, 0, 0) scale(0.97); }
  100% { transform: translate3d(4vw, -6vh, 0) scale(1.08); }
}

.paper-grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  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");
  mix-blend-mode: multiply;
}

/* ==========================================================================
   Minimal Editorial Navbar
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: rgba(244, 242, 236, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease;
}

.navbar.scrolled {
  background: rgba(247, 245, 240, 0.92);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.brand-serif {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-star {
  font-size: 0.9rem;
  color: var(--accent);
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-size: 0.82rem;
  color: var(--ink-secondary);
  letter-spacing: 0.03em;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hud-progress {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-secondary);
}

.hud-progress-dots {
  display: inline-flex;
  gap: 3px;
}

.hud-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(23, 23, 22, 0.18);
  transition: background 0.3s ease, transform 0.3s ease;
}

.hud-dot.lit {
  background: var(--accent);
  transform: scale(1.2);
}

.hud-progress-count {
  font-weight: 600;
  color: var(--ink);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.52);
  font-size: 0.74rem;
  font-family: var(--font-mono);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pill-btn:hover {
  background: var(--ink);
  color: #f7f5f0;
  border-color: var(--ink);
}

.pill-dark {
  background: var(--ink);
  color: #f7f5f0;
  border-color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 500;
}

.pill-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.sfx-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-muted);
}

.sfx-toggle.on {
  border-color: var(--ink);
  background: rgba(23, 23, 22, 0.08);
}

.sfx-toggle.on .sfx-dot {
  background: var(--accent);
}

.lang-opt {
  opacity: 0.45;
}

.lang-opt.active {
  opacity: 1;
  font-weight: 600;
}

/* Editorial Buttons */
.btn-editorial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}

.btn-editorial:hover {
  transform: translateY(-2px);
}

.btn-editorial-dark {
  background: var(--ink);
  color: #f7f5f0;
}

.btn-editorial-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-editorial-line {
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
}

.btn-editorial-line:hover {
  background: var(--ink);
  color: #f7f5f0;
}

/* ==========================================================================
   Editorial Gallery Sheets (Magazine / Fine-Art Book Pages)
   ========================================================================== */

.editorial-sheet {
  padding: 28px 0;
}

.sheet-frame {
  position: relative;
  background: var(--sheet-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 44px 104px 42px 54px;
  box-shadow: 0 24px 60px rgba(23, 23, 22, 0.055);
  overflow: hidden;
  transition: background-color 0.9s ease, border-color 0.9s ease;
}

.sheet-about .sheet-frame,
.sheet-index .sheet-frame {
  padding-right: 54px;
}

/* Signature Right Vertical Display Typography (PORT ✳ FOLIO / THANK ✳ YOU) */
.vertical-display {
  position: absolute;
  top: 28px;
  right: 18px;
  bottom: 28px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: clamp(3.1rem, 5.2vw, 4.7rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: 0.1em;
  color: var(--ink);
  user-select: none;
  pointer-events: none;
}

.vertical-display .v-star {
  font-size: 0.56em;
  color: var(--accent);
  transition: color 0.8s ease;
}

.vertical-stage {
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  opacity: 0.86;
}

/* Top & Bottom Cover Metadata */
.sheet-top-meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 26px;
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

.meta-label {
  letter-spacing: 0.04em;
}

.meta-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.meta-slash {
  justify-self: end;
  width: 36px;
  height: 1px;
  background: var(--ink);
  transform: rotate(-36deg);
}

.sheet-bottom-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.bottom-signature {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

.bottom-signature strong {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
}

.slash-mark {
  width: 28px;
  height: 1px;
  background: var(--ink);
  transform: rotate(-36deg);
  margin-bottom: 12px;
}

.bottom-kpis {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--ink-secondary);
}

.bottom-kpis strong {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
  margin-right: 4px;
}

.bottom-kpis em {
  font-style: normal;
}

/* ==========================================================================
   SHEET 01 · HOME COVER CENTER
   ========================================================================== */

.home-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.home-poetic {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 0.96rem;
  line-height: 1.45;
  letter-spacing: 0.08em;
  color: var(--ink-secondary);
  white-space: pre-line;
}

.home-reel-box {
  width: min(760px, 100%);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 26px 56px rgba(23, 23, 22, 0.12);
}

.home-reel-large {
  width: min(980px, 100%);
}

.reel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(247, 245, 240, 0.94);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.reel-bar-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  white-space: nowrap;
}

.reel-caption {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-tabs {
  display: inline-flex;
  gap: 4px;
}

.reel-tab {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.72rem;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.reel-tab:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.reel-tab.active {
  background: var(--ink);
  color: #f7f5f0;
}

.media-16x9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #141413;
}

.media-16x9 video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #141413;
}

.stage-visual-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.home-tagline {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  letter-spacing: 0.04em;
}

.home-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

/* ==========================================================================
   SHEET 02 · ABOUT ME ✳ (Editorial Resume Layout)
   ========================================================================== */

.editorial-heading {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.editorial-heading.heading-sm {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
}

.heading-star {
  font-size: 0.65em;
  vertical-align: middle;
  color: var(--accent);
}

.about-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.about-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-inline {
  background: none;
  border: 0;
  padding: 0;
  text-align: right;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: opacity 0.2s ease;
}

.contact-inline:hover {
  opacity: 0.65;
}

.ci-label {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.ci-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink);
}

.slash-divider {
  width: 32px;
  height: 1px;
  background: var(--ink-muted);
  transform: rotate(-42deg);
}

.about-profile-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 216px;
  gap: 32px;
  align-items: start;
}

.about-exp-full {
  margin-top: 34px;
}

.about-portrait-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 36px;
}

.ed-block + .ed-block {
  margin-top: 36px;
}

.ed-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.ed-block-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.68rem;
  font-weight: 600;
  color: var(--ink);
}

.ed-block-head span {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.profile-table {
  border-top: 1.5px solid var(--ink);
  background: rgba(255, 255, 255, 0.56);
}

.profile-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.6;
  align-items: baseline;
}

.profile-row-label {
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.profile-row-val {
  color: var(--ink);
  font-weight: 500;
  text-align: left;
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1.5px solid var(--ink);
  padding-top: 18px;
}

.exp-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  padding: 16px 18px;
  border-left: 2.5px solid var(--ink);
  background: rgba(255, 255, 255, 0.62);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.exp-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  line-height: 1.4;
}

.exp-time {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #f7f5f0;
  background: var(--ink);
  padding: 3px 10px;
  border-radius: 999px;
  align-self: start;
  white-space: nowrap;
}

.exp-desc {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.portrait-caption {
  text-align: center;
  font-size: 0.94rem;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-weight: 600;
}

.portrait-box {
  width: 100%;
  max-width: 210px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #1a1918;
  box-shadow: 0 14px 32px rgba(23, 23, 22, 0.1);
  border-radius: 4px;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.6s ease;
}

.portrait-box:hover .portrait-img {
  transform: scale(1.03);
}

.portrait-bio {
  margin: 14px 0 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.75;
}

.awards-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.award-pill {
  font-size: 0.72rem;
  padding: 4px 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-secondary);
}

/* ==========================================================================
   SHEET 03 · INTERACTIVE STAGE PAGER (WORKS ✳ 01–06)
   ========================================================================== */

.stage-wash-wrap {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.stage-wash {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  filter: blur(44px) saturate(1.1);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.9s ease, transform 1.2s ease;
}

.stage-wash.active {
  opacity: 0.16;
  transform: scale(1.02);
}

.stage-head-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.stage-controls-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--ink-muted);
}

.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.stage-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
  user-select: none;
}

.stage-counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
}

.sc-cur {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}

.sc-sep,
.sc-total {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.sc-year {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.stage-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
}

.stage-sub {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.stage-desc {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.stage-award {
  font-size: 0.78rem;
  padding: 7px 12px;
  margin-bottom: 20px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
}

.stage-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.pager-arrows {
  display: inline-flex;
  gap: 8px;
}

.arrow-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.arrow-circle:hover {
  background: var(--ink);
  color: #f7f5f0;
  transform: scale(1.06);
}

.stage-viewer {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(23, 23, 22, 0.09);
}

/* Editorial Pager Rail */
.pager-rail {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.pager-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.42);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pager-item:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.pager-item.active {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--ink);
}

.pager-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pager-item.active::after {
  transform: scaleX(1);
}

.pager-thumb {
  width: 34px;
  height: 24px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}

.pager-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pager-idx {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--ink-muted);
}

.pager-item.active .pager-idx {
  color: var(--accent);
  font-weight: 600;
}

.pager-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   SHEET 04 · ALL WORKS ARCHIVE & INTERACTIVE PIPELINE MATRIX
   ========================================================================== */

.mono-eyebrow {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
}

.index-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
  color: var(--ink-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.filter-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #f7f5f0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  perspective: 1200px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.22s ease-out, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  border-color: var(--ink);
  box-shadow: 0 20px 44px rgba(23, 23, 22, 0.1);
}

.project-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e7e4dc;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-thumb img {
  transform: scale(1.04);
}

.thumb-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.badge-cat,
.badge-media,
.badge-cleared {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.badge-cat {
  background: rgba(247, 245, 240, 0.88);
  color: var(--ink);
  border: 1px solid rgba(23, 23, 22, 0.16);
}

.badge-group-right {
  display: inline-flex;
  gap: 6px;
}

.badge-media {
  background: rgba(23, 23, 22, 0.78);
  color: #f7f5f0;
}

.badge-cleared {
  background: rgba(247, 245, 240, 0.92);
  color: #166534;
  border: 1px solid rgba(22, 101, 52, 0.35);
}

.project-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.project-title {
  margin: 0 0 5px;
  font-family: var(--font-serif);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.3;
}

.project-subtitle {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--accent);
}

.project-summary {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--ink-secondary);
  flex: 1;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--ink-secondary);
  background: rgba(255, 255, 255, 0.55);
}

/* Interactive Pipeline */
.pipeline-wrap {
  margin-top: 52px;
  padding-top: 38px;
  border-top: 1px solid var(--line-strong);
}

.pipeline-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

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

.pipeline-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.pipeline-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.pipeline-card.active {
  background: var(--ink);
  color: #f7f5f0;
  border-color: var(--ink);
}

.pipeline-index {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.pipeline-card.active .pipeline-index {
  color: rgba(247, 245, 240, 0.65);
}

.pipeline-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.pipeline-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  flex: 1;
}

.pipeline-card.active p {
  color: rgba(247, 245, 240, 0.8);
}

.pipeline-card.active .tag {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
  color: #f7f5f0;
}

.pipeline-detail-bar {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.pipeline-detail-label {
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

.pipeline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pipeline-proj-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.pipeline-proj-btn:hover {
  background: var(--ink);
  color: #f7f5f0;
}

/* ==========================================================================
   SHEET 05 · THANK ✳ YOU BACK COVER
   ========================================================================== */

.thanks-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 46px 0 36px;
  gap: 14px;
}

.thanks-title {
  margin: 4px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.thanks-sub {
  margin: 0 0 12px;
  font-size: 0.86rem;
  color: var(--ink-secondary);
  letter-spacing: 0.03em;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.back-top {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ==========================================================================
   Editorial Modal, Lightbox & Toast
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(23, 23, 22, 0.56);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-panel {
  position: relative;
  width: min(1020px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #f7f5f0;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: sticky;
  top: 14px;
  float: right;
  margin: 14px 16px 0 0;
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #f7f5f0;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--ink);
  color: #f7f5f0;
}

.modal-body {
  padding: 30px 36px 38px;
}

.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.modal-title {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 600;
}

.modal-subtitle {
  margin: 0 0 18px;
  color: var(--ink-secondary);
  font-size: 0.92rem;
}

.modal-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.modal-meta-box {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.modal-meta-label {
  font-size: 0.7rem;
  color: var(--ink-muted);
  margin-bottom: 3px;
}

.modal-meta-val {
  font-size: 0.83rem;
  font-weight: 600;
}

.modal-video-wrap {
  border: 1px solid var(--line-strong);
  margin-bottom: 24px;
  overflow: hidden;
}

.modal-video-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #efede6;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.video-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.video-tab {
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 0.76rem;
  cursor: pointer;
}

.video-tab.active {
  background: var(--ink);
  color: #f7f5f0;
  border-color: var(--ink);
}

.modal-section {
  margin-top: 24px;
}

.modal-section h4 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.modal-bullets {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-secondary);
  font-size: 0.9rem;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.gallery-item {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.gallery-item figcaption {
  padding: 8px 10px;
  font-size: 0.74rem;
  color: var(--ink-secondary);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(18, 18, 17, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 82vh;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox p {
  margin: 0;
  color: #e5e3dc;
  font-size: 0.86rem;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 16px);
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #f7f5f0;
  font-size: 0.82rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1120px) {
  .nav-links {
    display: none;
  }

  .sheet-frame {
    padding: 36px 72px 36px 32px;
  }

  .sheet-about .sheet-frame,
  .sheet-index .sheet-frame {
    padding-right: 32px;
  }

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

  .pager-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 780px) {
  .vertical-display,
  .hud-progress,
  .stage-controls-hint {
    display: none;
  }

  .sheet-frame {
    padding: 26px 20px;
  }

  .sheet-about .sheet-frame,
  .sheet-index .sheet-frame {
    padding-right: 20px;
  }

  .projects-grid,
  .pipeline-grid {
    grid-template-columns: 1fr;
  }

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

  .profile-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .profile-row-val {
    text-align: left;
  }

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

  .modal-body {
    padding: 22px 18px 28px;
  }
}

/* ==========================================================================
   PAGE 00 · VINTAGE TORN-PAPER INTRO COVER (Click to Enter)
   ========================================================================== */

.nav-cover-btn {
  background: none;
  border: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

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

.cover-splash {
  position: fixed;
  inset: 0;
  z-index: 300;
  background-color: #f4f2ec;
  display: flex;
  align-items: stretch;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.7s ease, visibility 0.85s ease;
}

.cover-splash.dismissed {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/cover-torn-paper.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform 1.2s ease;
}

.cover-splash:hover .cover-bg {
  transform: scale(1.035);
}

.cover-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 242, 236, 0.14) 0%, rgba(244, 242, 236, 0.54) 100%),
    linear-gradient(180deg, rgba(244, 242, 236, 0.55) 0%, rgba(244, 242, 236, 0.1) 35%, rgba(244, 242, 236, 0.12) 68%, rgba(244, 242, 236, 0.68) 100%);
}

.cover-vertical {
  position: absolute;
  top: 30px;
  right: 26px;
  bottom: 30px;
  z-index: 3;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.2vw, 4.8rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--ink);
  pointer-events: none;
  user-select: none;
}

.cover-inner {
  position: relative;
  z-index: 4;
  width: min(1240px, calc(100% - 64px));
  padding: 32px 72px 34px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cover-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-size: 0.86rem;
  color: var(--ink);
}

.cover-meta-year {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.cover-top-right {
  justify-self: end;
}

.cover-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin-top: 12vh;
}

.cover-poetic {
  margin: 0;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(247, 245, 240, 0.72);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--ink-secondary);
}

.cover-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 32px;
  background: rgba(247, 245, 240, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(23, 23, 22, 0.14);
}

.cover-name {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.15;
  color: var(--ink);
}

.cover-en {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--ink-secondary);
}

.cover-enter-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #f7f5f0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(23, 23, 22, 0.22);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.cover-enter-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 24px 52px rgba(23, 23, 22, 0.3);
}

.cover-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  flex-wrap: wrap;
}

.cover-sign {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cover-hint {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   PAGE 02 · DIAGONAL 3-COLUMN INTERACTIVE DIRECTORY (图4 斜切三栏布局)
   ========================================================================== */

.directory-frame {
  padding: 28px 32px 32px !important;
}

.directory-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.directory-hint {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.triptych-stage {
  position: relative;
  width: 100%;
  height: min(68vh, 590px);
  min-height: 440px;
  background: #e6e2d8;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.tri-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: filter 0.35s ease;
}

/* Exact Diagonal Splits matching User Sketch (图4) */
.tri-left {
  clip-path: polygon(0 0, 38.2% 0, 26.8% 100%, 0 100%);
  z-index: 2;
}

.tri-center {
  clip-path: polygon(38.5% 0, 72.2% 0, 60.8% 100%, 27.1% 100%);
  z-index: 2;
}

.tri-right {
  clip-path: polygon(72.5% 0, 100% 0, 100% 100%, 61.1% 100%);
  z-index: 2;
}

.tri-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(42%) brightness(0.76) contrast(1.04);
  transform: scale(1.02);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.55s ease;
}

.tri-wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 242, 236, 0.72) 0%, rgba(244, 242, 236, 0.42) 50%, rgba(23, 23, 22, 0.58) 100%);
  transition: opacity 0.45s ease, background 0.45s ease;
}

.tri-panel:hover .tri-bg {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(0.86) contrast(1.06);
}

.tri-panel:hover .tri-wash {
  background: linear-gradient(180deg, rgba(23, 23, 22, 0.25) 0%, rgba(23, 23, 22, 0.38) 55%, rgba(23, 23, 22, 0.72) 100%);
}

.tri-content {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 16px;
  width: 220px;
  transition: color 0.35s ease;
}

.tri-left .tri-content {
  left: 16.5%;
}

.tri-center .tri-content {
  left: 49.6%;
}

.tri-right .tri-content {
  left: 83.4%;
}

.tri-panel:hover .tri-content {
  color: #f7f5f0;
}

.tri-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(247, 245, 240, 0.85);
  color: var(--ink);
}

.tri-vertical-title {
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1.1;
  color: var(--ink);
  text-shadow: 0 2px 16px rgba(247, 245, 240, 0.85);
  transition: color 0.35s ease, text-shadow 0.35s ease, transform 0.35s ease;
}

.tri-panel:hover .tri-vertical-title {
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
  transform: translateY(-4px);
}

.tri-en {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: rgba(247, 245, 240, 0.84);
  padding: 3px 10px;
}

.tri-desc {
  max-width: 190px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #f7f5f0;
  background: rgba(23, 23, 22, 0.72);
  padding: 5px 12px;
  border-radius: 4px;
  opacity: 0.92;
}

/* ==========================================================================
   FULL-WIDTH READABLE HONORS GRID (About Me Bottom)
   ========================================================================== */

.awards-section {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1.5px solid var(--ink);
}

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

.award-card {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.award-card-level {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.award-card-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.award-card-work {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

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

@media (max-width: 820px) {
  .cover-vertical {
    display: none;
  }

  .cover-inner {
    width: calc(100% - 32px);
    padding: 24px 0;
  }

  .triptych-stage {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    background: transparent;
    border: 0;
  }

  .tri-panel {
    position: relative;
    clip-path: none !important;
    min-height: 170px;
    border: 1px solid var(--line-strong);
  }

  .tri-content {
    position: relative;
    top: auto;
    left: auto !important;
    transform: none !important;
    width: auto;
  }

  .tri-vertical-title {
    writing-mode: horizontal-tb;
    letter-spacing: 0.14em;
    font-size: 1.8rem;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }
}
