:root {
  --bg:       #060608;
  --bg2:      #0d0d10;
  --line:     #1c1c24;
  --line2:    #242430;
  --muted:    #383848;
  --mid:      #5a5a72;
  --text:     #c8c8d8;
  --bright:   #e8e8f0;
  --green:    #00ff96;
  --green-bg: rgba(0,255,150,0.04);
  --font-display: 'Syne', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}
html.rail-ready { scrollbar-width: none; }
html.rail-ready::-webkit-scrollbar { display: none; }
html.is-rail-dragging { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: auto;
}

/* ── ENTRY LOADER ── */
html.is-site-loading,
html.is-site-loading body {
  overflow: hidden;
  overscroll-behavior: none;
}
.site-loader {
  --loader-progress: 0%;
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(24px, 5vw, 72px);
  overflow: hidden;
  color: var(--bright);
  background:
    linear-gradient(rgba(0,255,150,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,150,.035) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
  cursor: wait;
  transition: transform .9s cubic-bezier(.76, 0, .24, 1), visibility .9s;
  isolation: isolate;
}
.site-loader::before {
  content: 'WIS';
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  color: transparent;
  font-family: 'Syne', sans-serif;
  font-size: clamp(150px, 35vw, 640px);
  font-weight: 800;
  line-height: .7;
  letter-spacing: -.09em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(0,255,150,.07);
  transform: translate(-50%, -50%);
}
.site-loader::after {
  content: '';
  position: absolute;
  inset: -30% 0 auto;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(0,255,150,.055), transparent);
  animation: loader-scan 2.4s linear infinite;
  pointer-events: none;
}
.site-loader.is-exiting {
  transform: translateY(-100%);
  visibility: hidden;
}
.site-loader-panel {
  width: min(680px, 100%);
}
.site-loader-meta,
.site-loader-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--mid);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-loader-signal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
}
.site-loader-signal::before {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(0,255,150,.65);
  animation: loader-pulse .9s ease-in-out infinite alternate;
}
.site-loader-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(28px, 6vh, 64px) 0 clamp(24px, 4vh, 42px);
}
.site-loader-brand {
  font-family: 'Syne', sans-serif;
  font-size: clamp(54px, 12vw, 112px);
  font-weight: 800;
  line-height: .75;
  letter-spacing: -.085em;
  text-transform: lowercase;
}
.site-loader-brand::after {
  content: '.';
  color: var(--green);
}
.site-loader-percent {
  min-width: 3.2ch;
  color: var(--green);
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(58px, 12vw, 118px);
  font-variant-numeric: tabular-nums;
  line-height: .7;
  letter-spacing: -.02em;
  text-align: right;
}
.site-loader-track {
  position: relative;
  height: 2px;
  margin-bottom: 15px;
  overflow: visible;
  background: var(--line2);
}
.site-loader-track::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--loader-progress);
  background: var(--green);
  box-shadow: 0 0 18px rgba(0,255,150,.42);
  transition: width .38s cubic-bezier(.22, 1, .36, 1);
}
.site-loader-track::after {
  content: '';
  position: absolute;
  top: 50%;
  left: var(--loader-progress);
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 13px rgba(0,255,150,.8);
  transform: translate(-50%, -50%);
  transition: left .38s cubic-bezier(.22, 1, .36, 1);
}
.site-loader-count { color: var(--text); }

@keyframes loader-scan {
  to { transform: translateY(560%); }
}
@keyframes loader-pulse {
  from { opacity: .35; transform: scale(.75); }
  to { opacity: 1; transform: scale(1); }
}
/* ── SCANLINES OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  display: none;
  pointer-events: none;
  z-index: 1000;
}

/* ── NOISE TEXTURE ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.018;
  pointer-events: none;
  z-index: 999;
}

/* ── SITE WORDMARK ── */
.site-logo {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: clamp(20px, 3vw, 48px);
  z-index: 1300;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--bright);
  font-family: 'Syne', 'Space Grotesk', sans-serif;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: 1;
  text-decoration: none;
  text-transform: lowercase;
  text-shadow: 0 2px 16px rgba(6,6,8,.88);
  transition: color .2s ease, transform .2s ease;
}
.site-logo::after {
  content: '';
  align-self: flex-start;
  width: 6px;
  height: 6px;
  margin: 8px 0 0 5px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(0,255,150,.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.site-logo:hover,
.site-logo:focus-visible {
  color: var(--green);
  transform: translateY(-1px);
}
.site-logo:hover::after,
.site-logo:focus-visible::after {
  transform: scale(1.35);
  box-shadow: 0 0 18px rgba(0,255,150,.75);
}
.site-logo:focus-visible {
  outline: 1px solid rgba(0,255,150,.65);
  outline-offset: 4px;
}

.site-nav {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: clamp(56px, 5vw, 84px);
  z-index: 1300;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.1vw, 34px);
  padding: 0 18px;
  border: 1px solid rgba(232,232,240,.1);
  background: rgba(6,6,8,.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.site-nav a {
  position: relative;
  color: rgba(232,232,240,.66);
  font: 9px/1 'IBM Plex Mono', monospace;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s ease;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--green);
  transition: right .28s ease;
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--bright); outline: none; }
.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }

/* ── MOVING SECTION SCALE ── */
.section-rail {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 1200;
  width: 48px;
  height: clamp(130px, 23vh, 210px);
  transform: translateY(-50%);
  pointer-events: none;
}
.section-rail-control {
  position: absolute;
  inset: 0;
  z-index: 1;
  touch-action: none;
  pointer-events: auto;
}
.section-rail-control:focus {
  outline: none;
}
.section-rail-scale-clip {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: difference;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 14%,
    #000 86%,
    transparent 100%
  );
}
.section-rail-scale {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  pointer-events: none;
  will-change: transform;
}
.section-rail-ticks {
  position: absolute;
  inset: 0;
  display: block;
}
.section-rail-scale-tick {
  position: absolute;
  top: var(--tick-position);
  right: 0;
  width: var(--tick-width);
  height: 1px;
  display: block;
  background: #fff;
  opacity: var(--tick-opacity, .78);
  transform: translateY(-50%);
}
.section-rail-link {
  position: absolute;
  top: var(--section-position, 0px);
  right: 0;
  z-index: 2;
  width: 48px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  transform: translateY(-50%);
  touch-action: none;
  pointer-events: auto;
}
.section-rail-node {
  display: block;
  width: 20px;
  height: 1px;
  flex: 0 0 auto;
  background: #fff;
  transition: width .18s, height .18s;
}
.section-rail-link:hover .section-rail-node,
.section-rail-link:focus-visible .section-rail-node {
  width: 27px;
  height: 2px;
}
.section-rail-link:focus-visible {
  outline: none;
}
.section-rail-highlight {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 3;
  width: 28px;
  height: 2px;
  display: block;
  background: var(--green);
  box-shadow: 0 0 10px rgba(0,255,150,.55);
  transform: translateY(-50%);
  pointer-events: none;
  transition: width .2s, box-shadow .2s;
}
.section-rail:hover .section-rail-highlight,
.section-rail:focus-within .section-rail-highlight,
.section-rail.is-dragging .section-rail-highlight {
  width: 34px;
  box-shadow: 0 0 14px rgba(0,255,150,.72);
}
section[id] { scroll-margin-top: 24px; }
#blog-posts { scroll-margin-top: 24px; }

/* ── HERO ── */
.hero {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  max-height: 100vh;
  max-height: 100svh;
  padding: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0b0910;
}

.hero-pin {
  height: 100%;
  min-height: 0;
  position: relative;
  padding: 0;
  width: 100%;
  overflow: hidden;
  border-bottom: 0;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 62% 92% at 70% 38%, rgba(84, 42, 116, .38), transparent 63%),
    radial-gradient(ellipse 48% 66% at 18% 84%, rgba(13, 99, 91, .18), transparent 72%),
    radial-gradient(ellipse 28% 45% at 87% 82%, rgba(215, 106, 70, .12), transparent 70%),
    linear-gradient(135deg, #100916 0%, #080d12 48%, #130b14 100%);
}
.hero-atmosphere::before {
  content: '';
  position: absolute;
  width: 52vw;
  height: 150vh;
  left: 45%;
  top: -44%;
  background: linear-gradient(90deg, transparent 4%, rgba(215, 197, 255, .12) 50%, transparent 96%);
  filter: blur(38px);
  transform: rotate(24deg);
  transform-origin: 50% 50%;
  opacity: .56;
  animation: hero-beam 13s ease-in-out infinite alternate;
}
.hero-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 82% at 64% 45%, transparent 24%, rgba(6, 7, 11, .2) 74%, rgba(5, 5, 8, .8) 100%),
    linear-gradient(90deg, rgba(7, 7, 10, .68) 0%, transparent 31%, transparent 78%, rgba(7, 6, 10, .42) 100%),
    linear-gradient(0deg, rgba(6, 6, 9, .72) 0%, transparent 35%);
}
@keyframes hero-beam {
  from { transform: rotate(20deg) translate3d(-3%, 0, 0); opacity: .36; }
  to { transform: rotate(27deg) translate3d(4%, 2%, 0); opacity: .68; }
}
.hero-pointcloud {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero.is-pointcloud-ready .hero-pointcloud { opacity: 1; }
.hero-pointcloud canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: contrast(1.06) saturate(1.08);
}
.hero-scene-status {
  position: absolute;
  right: clamp(68px, 6vw, 104px);
  bottom: clamp(28px, 4vh, 52px);
  z-index: 5;
  color: rgba(237, 231, 246, .5);
  font: 9px/1.4 'IBM Plex Mono', monospace;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero-scene-status::before { content: 'MOVE TO BEND THE SIGNAL'; }
.hero.is-pointcloud-ready .hero-scene-status::before { content: 'WIS / POINT FIELD ONLINE'; color: #8fffc2; }
.hero.is-pointcloud-interacting .hero-scene-status::before { content: 'SIGNAL / LINKED'; color: #d9ffe8; }
.hero-scene-status::after { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 0 1px 9px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.hero-cta {
  position: relative;
  z-index: 4;
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(249, 247, 252, .9);
  font: 10px/1 'IBM Plex Mono', monospace;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid rgba(142, 255, 194, .72);
  transition: color .25s ease, gap .25s ease, border-color .25s ease;
}
.hero-cta:hover, .hero-cta:focus-visible { color: #00ff96; gap: 18px; border-color: #00ff96; outline: none; }
.hero-cta::after { content: '↘'; font-size: 15px; line-height: 0; }
.hero-bg-text {
  position: absolute;
  right: clamp(62px, 6vw, 104px);
  top: clamp(104px, 13vh, 150px);
  font: 9px/1.6 'IBM Plex Mono', monospace;
  color: rgba(240, 233, 249, .34);
  pointer-events: none;
  letter-spacing: .22em;
  text-transform: uppercase;
  user-select: none;
  z-index: 5;
  opacity: .8;
  text-align: right;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 225, 244, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 225, 244, .035) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: .45;
  mask-image: radial-gradient(ellipse 74% 88% at 63% 46%, black 0%, transparent 76%);
  z-index: 1;
  pointer-events: none;
}
.hero-grid-lines::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.011) 3px 4px);
  mix-blend-mode: soft-light;
}

.hero-glow {
  position: absolute;
  width: min(64vw, 1040px);
  height: min(64vw, 1040px);
  background: radial-gradient(circle, rgba(155, 115, 210, .11), rgba(42, 156, 130, .035) 42%, transparent 71%);
  top: 43%;
  left: 66%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
  z-index: 3;
  mix-blend-mode: screen;
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(.94); opacity: .48; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: .86; }
}

.hero-left {
  position: absolute;
  left: clamp(32px, 5vw, 84px);
  bottom: clamp(42px, 7vh, 88px);
  width: min(1120px, calc(100vw - 180px));
  z-index: 4;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: .26em;
  color: rgba(170, 255, 208, .92);
  text-transform: uppercase;
  margin-bottom: clamp(16px, 2vh, 24px);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, #8fffc2, transparent);
}

.hero-title {
  max-width: 1110px;
  font-family: var(--font-display);
  font-size: clamp(54px, 7.4vw, 126px);
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.07em;
  color: #f2eff6;
  margin: 0 0 clamp(22px, 3vh, 34px);
  text-wrap: balance;
  text-shadow: 0 10px 50px rgba(4, 5, 9, .38);
}
.hero-title-line { display: block; }
.hero-title .accent {
  color: #00ff96;
  font-style: normal;
  text-shadow: 0 0 34px rgba(83, 255, 163, .16);
}
.gsap-text-effect:not(.is-gsap-text-ready) {
  opacity: 0;
}
.gsap-text-effect.is-gsap-text-ready {
  opacity: 1;
}

.hero-desc {
  font-family: 'Syne', sans-serif;
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.5;
  letter-spacing: -.015em;
  color: rgba(239, 235, 246, .72);
  max-width: 650px;
  margin: 0 0 clamp(22px, 3.5vh, 38px);
}

/* ── TICKER ── */
.ticker {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  overflow: hidden;
  background: var(--bg2);
  position: relative;
}
.ticker::before, .ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg2), transparent); }
.ticker::after  { right: 0; background: linear-gradient(-90deg, var(--bg2), transparent); }

.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-left 30s linear infinite;
  width: max-content;
  will-change: transform;
}
@keyframes ticker-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 0 32px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 16px;
}
.ticker-item .sep { color: var(--green); opacity: 0.6; }

/* ── SECTION SHARED ── */
section {
  padding: 80px 96px;
  border-bottom: 1px solid var(--line);
}

.section-header {
  position: relative;
  max-width: 1120px;
  margin-bottom: 48px;
}
.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--green);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section-label::before {
  content: attr(data-num);
  color: var(--muted);
  font-size: 9px;
}
.section-title-lg {
  font-family: var(--font-display);
  font-size: clamp(44px, 4.4vw, 66px);
  font-weight: 600;
  color: var(--bright);
  letter-spacing: -0.045em;
  line-height: 1.06;
  text-wrap: balance;
  -webkit-text-stroke: .2px currentColor;
}
.work-section .section-header {
  max-width: 1320px;
}
.section-title-line {
  display: block;
}
@media (min-width: 1280px) {
  .section-title-lg--two-lines .section-title-line {
    white-space: nowrap;
  }
}
.title-accent {
  display: inline-block;
  color: var(--green);
  background-image: linear-gradient(90deg, rgba(0,255,150,.55), rgba(0,255,150,.12));
  background-repeat: no-repeat;
  background-position: 0 94%;
  background-size: 100% 2px;
}
.section-footer-action {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  margin-top: clamp(64px, 7vw, 112px);
}
.section-cta {
  width: min(100%, 260px);
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid var(--line2);
  background-color: var(--bg2);
  background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  cursor: pointer;
  transition:
    background-size .52s cubic-bezier(.4,0,.2,1),
    color .14s,
    border-color .25s,
    transform .25s,
    box-shadow .25s;
}
.section-cta:hover {
  background-size: 100% 100%;
  color: var(--bg);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0,255,150,.12);
  transition:
    background-size .52s cubic-bezier(.4,0,.2,1),
    color .14s .08s,
    border-color .25s,
    transform .25s,
    box-shadow .25s;
}
.section-cta-arrow {
  color: var(--green);
  font-size: 16px;
  line-height: 1;
  transition: color .25s, transform .25s;
}
.section-cta:hover .section-cta-arrow {
  color: var(--bg);
  transform: translate(3px,-3px);
  transition-delay: .36s, 0s;
}
.section-cta:focus-visible .section-cta-arrow {
  color: var(--bg);
}
.section-cta:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  background-size: 100% 100%;
  color: var(--bg);
}

/* ── WORK SECTION ── */
.work-section { background: transparent; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 30px;
}

.work-card {
  --work-reveal-delay: 0ms;
  position: relative;
  display: block;
  overflow: visible;
  z-index: 1;
  cursor: pointer;
  background: transparent;
  border: 0;
  text-decoration: none;
}
.work-card:hover,
.work-card:focus-within { z-index: 5; }
.work-card:nth-child(1) { grid-column: 1 / span 7; }
.work-card:nth-child(2) { grid-column: 8 / span 5; }
.work-card:nth-child(3) { grid-column: 1 / span 5; }
.work-card:nth-child(4) { grid-column: 6 / span 7; }
.work-card:nth-child(5) { grid-column: 1 / span 7; }
.work-card:nth-child(6) { grid-column: 8 / span 5; }
.work-grid[data-count="1"] .work-card:nth-child(n) { grid-column: 1 / -1; grid-row: auto; }
.work-grid[data-count="2"] .work-card:nth-child(n) { grid-column: span 6; grid-row: auto; }
.work-grid[data-count="3"] .work-card:nth-child(n) { grid-column: span 6; grid-row: auto; }
.work-grid[data-count="3"] .work-card:first-child { grid-column: 1 / -1; }
.work-grid[data-count="4"] .work-card:nth-child(n) { grid-column: span 6; grid-row: auto; }
.work-grid[data-count="5"] .work-card:nth-child(n) { grid-column: span 6; grid-row: auto; }
.work-grid[data-count="5"] .work-card:first-child { grid-column: 1 / -1; }

/* 统一封面比例 16:9，与 work 页面保持一致 */
.work-card::before {
  content: none;
}

.work-card-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: visible;
  background: transparent;
  border: 0;
}

.work-card-cover {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
  opacity: 0;
  transform: translate3d(0, 52px, 0);
  transform-origin: 50% 68%;
  background: transparent;
  will-change: opacity, transform;
}
.work-card-info {
  position: relative;
  z-index: 4;
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 16px;
  padding: 16px 2px 0;
}
.work-card-index,
.work-card-arrow,
.work-card-copy small { font-family: 'IBM Plex Mono', monospace; }
.work-card-index {
  padding-top: 4px;
  color: var(--green);
  font-size: 9px;
  letter-spacing: .15em;
}
.work-card-copy { min-width: 0; }
.work-card-copy strong {
  display: block;
  overflow: hidden;
  color: var(--bright);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: clamp(15px, 1.15vw, 19px);
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .25s ease;
}
.work-card-copy small {
  display: block;
  margin-top: 5px;
  color: var(--mid);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.work-card-arrow {
  padding-top: 2px;
  color: var(--mid);
  font-size: 15px;
  transition: color .25s ease, transform .25s ease;
}
.work-card:hover .work-card-copy strong,
.work-card:focus-visible .work-card-copy strong,
.work-card:hover .work-card-arrow,
.work-card:focus-visible .work-card-arrow { color: var(--green); }
.work-card:hover .work-card-arrow,
.work-card:focus-visible .work-card-arrow { transform: translate(3px, -3px); }
.work-paper-stage {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 45;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-origin: 0 0;
  transition: opacity 180ms ease;
  contain: strict;
}
.work-paper-stage.is-ready.is-visible {
  opacity: 1;
  visibility: visible;
}
.work-card-cover.is-paper-ready > .work-card-media { opacity: 0; }
.work-card.is-visible .work-card-cover.is-paper-ready {
  opacity: 1;
  transform: none;
  animation: none;
}
.work-card-media,
.work-card-hover-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.6s ease;
}
.work-card-media {
  opacity: 1;
}
.work-card-hover-media {
  z-index: 1;
  opacity: 0;
  background: transparent;
}
.work-card.is-visible .work-card-cover {
  opacity: 1;
  transform: none;
  animation: none;
}
.work-card.is-visible:hover .work-card-hover-media,
.work-card.is-visible:focus-visible .work-card-hover-media {
  opacity: 1;
}
.work-card.is-visible:hover .work-card-media,
.work-card.is-visible:hover .work-card-hover-media,
.work-card.is-visible:focus-visible .work-card-media,
.work-card.is-visible:focus-visible .work-card-hover-media {
  transform: scale(1.04);
}
/* Once WebGL owns the preview, DOM media remains only as a texture/decoder
   source. Prevent the legacy scaled hover layer from showing underneath. */
.work-card.is-visible .work-card-cover.is-paper-ready > .work-card-hover-media {
  opacity: 0;
  transform: none;
}

/* ── FIELD NOTES SECTION SHELL ── */
.blog-section {
  position: relative;
  z-index: 1;
  isolation: auto;
  background: transparent;
}
.blog-section .section-header {
  position: relative;
  z-index: 3;
  max-width: 980px;
  margin-bottom: clamp(32px, 3.5vw, 48px);
}

/* ── ABOUT STRIP ── */
.about-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.012), rgba(255,255,255,0) 42%),
    var(--bg2);
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: center;
  height: 100vh;
  height: 100svh;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(90deg, rgba(232,232,240,0.045) 1px, transparent 1px),
    linear-gradient(rgba(232,232,240,0.035) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse 72% 58% at 72% 48%, #000 0%, #000 35%, transparent 72%);
}

.about-model-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  opacity: 0.82;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent 0%, transparent 36%, rgba(0,0,0,0.38) 48%, #000 60%, #000 94%, transparent 100%);
}

.about-left {
  position: relative;
  z-index: 2;
}
.about-tag {
  margin-bottom: 24px;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 3.6vw, 60px);
  font-weight: 600;
  color: var(--bright);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  padding-left: 18px;
  border-left: 3px solid var(--green);
  text-wrap: balance;
  -webkit-text-stroke: .2px currentColor;
}

.about-bio {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 2;
  color: rgb(200, 200, 216);
  margin-bottom: 36px;
  max-width: 440px;
}
.about-bio strong { color: rgb(200, 200, 216); font-weight: 500; }

.about-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.about-link {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--line2);
  background-color: var(--bg2);
  background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition:
    background-size .52s cubic-bezier(.4,0,.2,1),
    color .14s,
    border-color .25s,
    transform .25s,
    box-shadow .25s;
}
.about-link-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color .25s, transform .25s;
}
.about-link:hover {
  background-size: 100% 100%;
  color: var(--bg);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0,255,150,.12);
  transition:
    background-size .52s cubic-bezier(.4,0,.2,1),
    color .14s .08s,
    border-color .25s,
    transform .25s,
    box-shadow .25s;
}
.about-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
  background-size: 100% 100%;
  color: var(--bg);
}
.about-link:hover .about-link-icon { transform: translate(2px, -2px); }
.about-link:first-child > span { color: rgb(200, 200, 216); }
.about-link:first-child:hover > span,
.about-link:first-child:focus-visible > span { color: var(--bg); }

.about-right {
  position: relative;
  z-index: 1001;
  min-width: 0;
  background: transparent;
}

.about-orbit {
  position: relative;
  width: 100%;
  height: min(660px, calc(100vh - 160px));
  height: min(660px, calc(100svh - 160px));
  margin: 0 auto;
  overflow: hidden;
  user-select: none;
}
.about-orbit-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.about-orbit-input {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 55%;
  height: 45%;
  transform: translate(-50%, -50%);
  cursor: grab;
  touch-action: pan-y;
}
.about-orbit-input.is-dragging { cursor: grabbing; }
.about-orbit-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: rgb(200, 200, 216);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  letter-spacing: 1.28px;
  white-space: nowrap;
  text-transform: uppercase;
}

/* ── FOOTER ── */
footer {
  padding: 48px 96px 40px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.footer-logo span { color: var(--green); }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: right;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-left { width: calc(100vw - 128px); }
  .hero-title { font-size: clamp(52px, 8.8vw, 92px); }
  .hero-bg-text { opacity: .58; }
  section { padding: 60px 32px; }
  .work-card:nth-child(n) { grid-row: auto; }
  .work-card:nth-child(1) { grid-column: span 12; }
  .work-card:nth-child(2),
  .work-card:nth-child(3) { grid-column: span 6; }
  .work-card:nth-child(4),
  .work-card:nth-child(5),
  .work-card:nth-child(6) { grid-column: span 4; }
  .about-section {
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(24px, 4vw, 40px);
  }
  .about-orbit {
    width: min(100%, 620px);
    height: min(560px, calc(100vh - 120px));
    height: min(560px, calc(100svh - 120px));
  }
  footer { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .footer-copy { text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-logo {
    top: max(10px, env(safe-area-inset-top));
    left: 16px;
    font-size: 21px;
  }
  .section-header { margin-bottom: 32px; }
  .section-label { margin-bottom: 10px; }
  .section-footer-action { margin-top: 48px; }
  .section-cta {
    width: min(100%, 280px);
    min-height: 54px;
  }
  .section-title-lg {
    font-size: clamp(34px, 9vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.035em;
    -webkit-text-stroke: 0;
  }
  .section-rail {
    right: max(0px, env(safe-area-inset-right));
    height: clamp(130px, 18svh, 150px);
  }
  .section-rail-link { height: 32px; }
  section { padding: 48px 64px 48px 20px; }
  .hero-pin { padding: 0; }
  .hero-left {
    left: 20px;
    bottom: max(38px, env(safe-area-inset-bottom));
    width: calc(100vw - 84px);
  }
  .hero-title {
    font-size: clamp(42px, 12vw, 66px);
    line-height: .94;
    letter-spacing: -.06em;
  }
  .hero-desc { max-width: 36ch; }
  .hero-bg-text {
    top: max(72px, env(safe-area-inset-top));
    right: 56px;
    font-size: 8px;
  }
  .hero-scene-status { right: 54px; bottom: 18px; }
  .hero-atmosphere::before { left: 28%; width: 74vw; }
  .work-card:nth-child(n) { grid-column: span 12; }
  .blog-section { overflow: hidden; }
  .about-section {
    height: auto;
    min-height: 100svh;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: center;
    gap: clamp(10px, 2.2svh, 20px);
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .about-tag { margin-bottom: 12px; }
  .about-title {
    margin-bottom: 14px;
    padding-left: 12px;
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    -webkit-text-stroke: 0;
  }
  .about-bio {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.55;
  }
  .about-links { gap: 8px; }
  .about-link { padding: 8px 10px; font-size: 11px; }
  .about-orbit {
    width: calc(100% + 20px);
    height: clamp(200px, 32vh, 320px);
    height: clamp(200px, 32svh, 320px);
    margin: 0 -10px;
  }
  .about-orbit-input { width: 56%; height: 43%; }
  footer { padding: 32px 20px; }
}

@media (max-width: 560px) {
  .site-loader { padding: 24px; }
  .site-loader-title { align-items: flex-end; }
  .site-loader-meta span:last-child { display: none; }
  .site-loader-status { font-size: 9px; letter-spacing: .13em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-logo,
  .site-logo::after,
  .section-rail-highlight,
  .section-rail-node { transition: none; }
  .hero-bg-text,
  .hero-glow,
  .hero-atmosphere::before,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .hero-pointcloud { transition: none; }
  .site-loader::after,
  .site-loader-signal::before { animation: none; }
  .site-loader { transition-duration: .25s; }
}

/* ── SHARED EDITORIAL BACKGROUND ── */
.immersive-main {
  --immersive-shift: 0px;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: #080b09;
}
.immersive-main::before,
.immersive-main::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.immersive-main::before {
  inset: -8vh 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(0,255,150,.075), transparent 28%),
    radial-gradient(circle at 16% 58%, rgba(111,78,148,.055), transparent 30%),
    linear-gradient(rgba(0,255,150,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,150,.022) 1px, transparent 1px),
    linear-gradient(180deg, #090c0a 0%, #070a08 48%, #080b09 100%);
  background-size: auto, auto, 96px 96px, 96px 96px, auto;
  transform: translate3d(0, var(--immersive-shift), 0);
  will-change: transform;
}
.immersive-main::after {
  inset: 0;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.immersive-main > * { position: relative; z-index: 1; }
.immersive-main section { border-bottom: 0; background: transparent; }
.immersive-main .ticker {
  margin: 0;
  border: 0;
  padding-block: 14px;
  background: rgba(8,11,9,.45);
}
.immersive-main .ticker::before { background: linear-gradient(90deg, #080b09, transparent); }
.immersive-main .ticker::after { background: linear-gradient(-90deg, #080b09, transparent); }
.immersive-main .ticker-item { color: rgba(161,161,178,.68); }
.blog-section::before { content: none; }

@media (prefers-reduced-motion: reduce) {
  .immersive-main::before { transform: none; }
}

/* ── VIEWPORT AND SECTION RHYTHM ── */
.work-section,
.blog-section {
  padding-top: clamp(60px, 7vh, 90px);
  padding-bottom: clamp(60px, 7vh, 90px);
}
.immersive-main .section-footer-action {
  margin-top: clamp(32px, 3.5vw, 56px);
}

@media (max-width: 1024px) {
  .work-section,
  .blog-section {
    padding-top: clamp(52px, 6vh, 72px);
    padding-bottom: clamp(52px, 6vh, 72px);
  }
}

@media (max-width: 640px) {
  .work-section,
  .blog-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
/* ── FIELD NOTES ── */
.blog-section.notes-ledger-section {
  position: relative;
  height: auto;
  min-height: 0;
  padding-top: clamp(72px, 8vh, 104px);
  padding-bottom: clamp(72px, 8vh, 104px);
  overflow: hidden;
  background: transparent;
}
.blog-section.notes-ledger-section::after { content: none; }
.notes-ledger-header {
  max-width: none !important;
  margin-bottom: clamp(42px, 5vw, 68px) !important;
}
.notes-ledger-header .section-label { margin-bottom: clamp(20px, 2.4vw, 32px); }
.notes-ledger-heading { display: block; }
.notes-ledger-heading .section-title-lg {
  max-width: 15ch;
  margin: 0;
  text-align: left;
}
.notes-title-line { display: block; }

.notes-edition {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,7fr) minmax(320px,5fr);
  align-items: stretch;
  border-top: 1px solid rgba(232,232,240,.16);
  border-bottom: 1px solid rgba(232,232,240,.16);
}
.notes-edition a {
  color: inherit;
  text-decoration: none;
}
.notes-edition-lead {
  width: 100%;
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}
.notes-edition-lead > a {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-right: clamp(28px, 3.2vw, 48px);
}
.notes-edition-visual {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  background: #070a08;
}
.notes-edition-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,7,5,.05), transparent 54%, rgba(4,7,5,.46)),
    linear-gradient(90deg, rgba(4,7,5,.14), transparent 38%);
}
.notes-edition-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 64% 50%;
  filter: saturate(.56) brightness(.68) contrast(1.08);
  transform: scale(1.018);
  transition: filter .45s ease, transform .85s cubic-bezier(.16,1,.3,1);
}
.notes-edition-visual-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 7px 9px;
  color: rgba(232,232,240,.72);
  background: rgba(4,7,5,.66);
  backdrop-filter: blur(8px);
  font: 8px/1 'IBM Plex Mono', monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.notes-edition-lead-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(26px, 2.8vw, 40px) 0 clamp(28px, 3vw, 44px);
}
.notes-edition-lead-copy::before {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  margin: 0 0 22px;
  background: rgba(0,255,150,.74);
}
.notes-edition-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 18px;
  color: rgba(161,161,178,.58);
  font: 8px/1.3 'IBM Plex Mono', monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.notes-edition-meta small { color: rgba(0,255,150,.64); font: inherit; }
.notes-edition-meta time::before {
  content: '—';
  margin-right: 20px;
  color: rgba(161,161,178,.34);
}
.notes-edition-lead-copy h3 {
  max-width: 14ch;
  margin: 18px 0 0;
  color: rgba(239,239,244,.94);
  font: 580 clamp(36px, 3.5vw, 54px)/.98 var(--font-display);
  letter-spacing: -.055em;
  text-align: left;
}
.notes-edition-lead-copy p {
  max-width: 46ch;
  margin: 22px 0 0;
  color: rgba(200,200,216,.58);
  font: 12px/1.75 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
.notes-edition-open {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  color: rgba(232,232,240,.68);
  font: 8px/1 'IBM Plex Mono', monospace;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.notes-edition-open i {
  color: var(--green);
  font-size: 15px;
  font-style: normal;
  transition: transform .25s ease;
}
.notes-edition-lead > a:is(:hover,:focus-visible) .notes-edition-visual img {
  filter: saturate(.72) brightness(.8) contrast(1.04);
  transform: scale(1);
}
.notes-edition-lead > a:is(:hover,:focus-visible) .notes-edition-open i { transform: translate(3px,-3px); }

.notes-edition-index--archive {
  min-width: 0;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  grid-template-rows: repeat(5, minmax(0,1fr));
  margin: 0;
  padding: 0;
  border-left: 1px solid rgba(232,232,240,.13);
  list-style: none;
}
.notes-edition-index--archive li {
  min-width: 0;
  min-height: 0;
  border-bottom: 1px solid rgba(232,232,240,.105);
}
.notes-edition-index--archive li:last-child { border-bottom: 0; }
.notes-edition-index--archive a {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 16px;
  grid-template-rows: 1fr;
  gap: 14px;
  align-items: center;
  align-content: space-between;
  padding: clamp(16px, 1.8vw, 26px) clamp(18px, 2.2vw, 34px);
  background: transparent;
  transition: background-color .25s ease;
}
.notes-edition-index--archive .notes-edition-no {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding-top: 7px;
  color: rgba(0,255,150,.62);
  font: 8px/1 'IBM Plex Mono', monospace;
  letter-spacing: .14em;
}
.notes-edition-index--archive .notes-edition-row-copy {
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  transition: transform .32s cubic-bezier(.16,1,.3,1);
}
.notes-edition-index--archive .notes-edition-row-copy > span {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5px 12px;
  color: rgba(161,161,178,.48);
  font: 7px/1 'IBM Plex Mono', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.notes-edition-index--archive .notes-edition-row-copy small {
  color: rgba(0,255,150,.54);
  font: inherit;
}
.notes-edition-index--archive .notes-edition-row-copy strong {
  max-width: none;
  margin-top: 8px;
  color: rgba(232,232,240,.84);
  font: 550 clamp(19px, 1.8vw, 27px)/1.08 var(--font-display);
  letter-spacing: -.04em;
  text-align: left;
  transition: color .25s ease;
}
.notes-edition-index--archive a > i {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  color: rgba(232,232,240,.32);
  font-size: 14px;
  font-style: normal;
  transition: color .25s ease, transform .25s ease;
}
.notes-edition-index--archive a:is(:hover,:focus-visible) {
  outline: none;
  background: rgba(232,232,240,.022);
}
.notes-edition-index--archive a:focus-visible { box-shadow: inset 0 0 0 1px rgba(0,255,150,.38); }
.notes-edition-index--archive a:is(:hover,:focus-visible) .notes-edition-row-copy { transform: translateX(4px); }
.notes-edition-index--archive a:is(:hover,:focus-visible) .notes-edition-row-copy strong,
.notes-edition-index--archive a:is(:hover,:focus-visible) > i { color: var(--bright); }
.notes-edition-index--archive a:is(:hover,:focus-visible) > i { transform: translate(3px,-3px); }

@media (max-width: 980px) {
  .notes-edition { grid-template-columns: minmax(0,1.05fr) minmax(310px,.95fr); }
  .notes-edition-lead > a { padding-right: 28px; }
  .notes-edition-lead-copy h3 { font-size: clamp(32px, 4vw, 42px); }
  .notes-edition-lead-copy p { font-size: 11px; }
  .notes-edition-index--archive a { padding: 16px 18px; }
  .notes-edition-index--archive .notes-edition-row-copy strong { font-size: clamp(18px, 2.35vw, 23px); }
}

@media (max-width: 720px) {
  .blog-section.notes-ledger-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .notes-ledger-header { margin-bottom: 36px !important; }
  .notes-ledger-heading .section-title-lg { max-width: 12ch; }
}

@media (max-width: 700px) {
  .notes-edition { grid-template-columns: minmax(0,1fr) minmax(220px,.82fr); }
  .notes-edition-lead > a { padding-right: 0; }
  .notes-edition-visual { aspect-ratio: 16 / 10; }
  .notes-edition-lead-copy { padding: 24px 18px 28px 0; }
  .notes-edition-lead-copy h3 { font-size: clamp(28px, 6.8vw, 36px); }
  .notes-edition-lead-copy p {
    font-size: 10px;
    line-height: 1.65;
  }
  .notes-edition-index--archive a {
    grid-template-columns: 28px minmax(0,1fr) 14px;
    gap: 8px;
    padding: 14px 12px;
  }
  .notes-edition-index--archive .notes-edition-row-copy strong { font-size: clamp(16px, 3.8vw, 21px); }
}

@media (max-width: 520px) {
  .notes-edition {
    grid-template-columns: 300px 260px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .notes-edition::-webkit-scrollbar { display: none; }
  .notes-edition-lead,
  .notes-edition-index--archive { scroll-snap-align: start; }
}

.resources-section.resource-composition-section {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: clamp(72px, 8vh, 104px) 96px 120px;
  overflow: hidden;
  background: transparent;
}
.resources-section.resource-composition-section::after { content: none; }
.resource-composition-header {
  max-width: none;
  margin-bottom: clamp(54px, 6vw, 88px);
}
.resource-composition-heading {
  display: grid;
  grid-template-columns: repeat(12, minmax(0,1fr));
  gap: 28px;
  align-items: end;
}
.resource-composition-heading .section-title-lg {
  grid-column: 1 / span 10;
  max-width: 11ch;
}
.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(48px, 5vw, 76px) clamp(22px, 2.6vw, 40px);
  align-items: stretch;
}
.resource-grid-card { min-width: 0; }
.resource-grid-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: clamp(22px, 2vw, 30px);
  color: inherit;
  text-decoration: none;
  outline: none;
}
.resource-grid-card figure {
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #070a08;
}
.resource-grid-card figure::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4,7,5,.02), transparent 58%, rgba(4,7,5,.28));
}
.resource-grid-card figure > span {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 6px 8px;
  color: rgba(232,232,240,.74);
  background: rgba(4,7,5,.66);
  backdrop-filter: blur(8px);
  font: 8px/1 'IBM Plex Mono', monospace;
  letter-spacing: .14em;
}
.resource-grid-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(.66) brightness(.74) contrast(1.06);
  transform: scale(1.018);
  transition: opacity .18s ease, filter .42s ease, transform .8s cubic-bezier(.16,1,.3,1);
}
.resource-grid-card figure.is-paper-ready {
  background: transparent;
}
.resource-grid-card figure.is-paper-ready > img {
  opacity: 0;
}
.resource-grid-card:nth-child(1) img { object-position: 50% 42%; }
.resource-grid-card:nth-child(2) img { object-position: 50% 46%; }
.resource-grid-card:nth-child(3) img { object-position: 50% 43%; }
.resource-grid-card:nth-child(4) img { object-position: 50% 45%; }
.resource-grid-card:nth-child(5) img { object-position: 54% 50%; }
.resource-grid-card:nth-child(6) img { object-position: 55% 50%; }
.resource-grid-card-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 17px;
}
.resource-grid-card-copy > span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(0,255,150,.58);
  font: 7px/1 'IBM Plex Mono', monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.resource-grid-card-copy small { font: inherit; }
.resource-grid-card-copy i {
  color: rgba(232,232,240,.38);
  font-size: 14px;
  font-style: normal;
  transition: color .25s ease, transform .25s ease;
}
.resource-grid-card-copy h3 {
  margin: 12px 0 0;
  color: rgba(239,239,244,.9);
  font: 550 clamp(27px, 2.7vw, 42px)/1 var(--font-display);
  letter-spacing: -.045em;
}
.resource-grid-card-copy p {
  max-width: 36ch;
  margin: 12px 0 0;
  color: rgba(200,200,216,.52);
  font: 11px/1.65 "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
.resource-grid-card > a:is(:hover,:focus-visible) img {
  filter: saturate(.9) brightness(.9) contrast(1.03);
  transform: scale(1);
}
.resource-grid-card > a:is(:hover,:focus-visible) .resource-grid-card-copy i {
  color: var(--green);
  transform: translate(3px,-3px);
}
@media (max-width: 1100px) {
  .resources-section.resource-composition-section {
    padding-right: 32px;
    padding-left: 32px;
  }
  .resource-card-grid { gap: 46px 20px; }
  .resource-grid-card-copy h3 { font-size: clamp(25px, 3vw, 35px); }
}

@media (max-width: 900px) {
  .resource-composition-heading .section-title-lg { grid-column: 1 / span 9; }
  .resource-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .resources-section.resource-composition-section {
    padding: 54px 64px 120px 20px;
  }
  .resource-composition-header { margin-bottom: 44px; }
  .resource-composition-heading { display: block; }
  .resource-composition-heading .section-title-lg { max-width: 10ch; }
  .resource-card-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .resource-grid-card-copy h3 { font-size: clamp(28px, 8vw, 38px); }
}

/* ── UNIFIED MODULE HEADINGS ── */
.work-section .section-title-lg,
.blog-section .section-title-lg,
.resources-section .section-title-lg {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
@media (min-width: 1100px) {
  .work-section .section-title-lg,
  .blog-section .section-title-lg,
  .resources-section .section-title-lg {
    max-width: none;
    font-size: 60px;
  }
  .work-section .section-title-line,
  .blog-section .notes-title-line,
  .resources-section .section-title-line {
    display: block;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .work-section .section-title-lg,
  .blog-section .section-title-lg,
  .resources-section .section-title-lg {
    font-size: clamp(36px, 9.5vw, 42px);
  }
}

/* ── MODULE ENTRANCE ANIMATIONS ── */
html.is-entry-preparing .is-entry-ready {
  transition: none !important;
}

@keyframes sectionEntryUp {
  from { opacity: 0; transform: translate3d(0,38px,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}
@keyframes sectionEntryLeft {
  from { opacity: 0; transform: translate3d(-34px,0,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}
@keyframes sectionEntryRight {
  from { opacity: 0; transform: translate3d(30px,0,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}
@keyframes sectionEntryFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

#work .section-header.is-entry-ready,
#blog .section-header.is-entry-ready,
#resources .section-header.is-entry-ready {
  opacity: 0;
  transform: translate3d(0,28px,0);
}
#work .section-header.is-entry-ready.is-entered,
#blog .section-header.is-entry-ready.is-entered,
#resources .section-header.is-entry-ready.is-entered {
  opacity: 1;
  transform: translate3d(0,0,0);
  animation: sectionEntryUp .78s cubic-bezier(.16,1,.3,1) both;
}

/* Selected Works enters card by card. The motion is applied to the complete
   article card, so the title and metadata lift with the deforming cover. */
#work .work-card.is-entry-ready,
#work .section-footer-action.is-entry-ready {
  opacity: 0;
  transform: translate3d(0,52px,0);
}
#work .work-card.is-entry-ready.is-entered,
#work .section-footer-action.is-entry-ready.is-entered {
  opacity: 1;
  transform: translate3d(0,0,0);
  animation: sectionEntryUp .88s cubic-bezier(.16,1,.3,1) both;
}
#work .work-card:nth-child(1) { --entry-delay: 0ms; }
#work .work-card:nth-child(2) { --entry-delay: 70ms; }
#work .work-card:nth-child(3) { --entry-delay: 0ms; }
#work .work-card:nth-child(4) { --entry-delay: 70ms; }
#work .work-card:nth-child(5) { --entry-delay: 0ms; }
#work .work-card:nth-child(6) { --entry-delay: 70ms; }
#work .work-card.is-entry-ready.is-entered {
  animation-delay: calc(.06s + var(--entry-delay, 0ms));
}
#work .section-footer-action.is-entry-ready.is-entered { animation-delay: .1s; }

/* Field Notes opens like a spread: lead story from the left, index rows from
   the right. The row cadence makes the archive readable while it enters. */
#blog .notes-edition-lead.is-entry-ready,
#blog .notes-edition-index--archive li.is-entry-ready {
  opacity: 0;
}
#blog .notes-edition-lead.is-entry-ready {
  transform: translate3d(-34px,0,0);
}
#blog .notes-edition-index--archive li.is-entry-ready {
  transform: translate3d(30px,0,0);
}
.blog-section .notes-edition-index--archive li:nth-child(1) { --entry-delay: 0ms; }
.blog-section .notes-edition-index--archive li:nth-child(2) { --entry-delay: 65ms; }
.blog-section .notes-edition-index--archive li:nth-child(3) { --entry-delay: 130ms; }
.blog-section .notes-edition-index--archive li:nth-child(4) { --entry-delay: 195ms; }
.blog-section .notes-edition-index--archive li:nth-child(5) { --entry-delay: 260ms; }
#blog .notes-edition-lead.is-entry-ready.is-entered,
#blog .notes-edition-index--archive li.is-entry-ready.is-entered {
  opacity: 1;
  transform: translate3d(0,0,0);
}
#blog .notes-edition-lead.is-entry-ready.is-entered {
  animation: sectionEntryLeft .88s cubic-bezier(.16,1,.3,1) .06s both;
}
#blog .notes-edition-index--archive li.is-entry-ready.is-entered {
  animation: sectionEntryRight .78s cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(.08s + var(--entry-delay, 0ms));
}

/* Resources uses a clear, vertical six-card cascade. */
#resources .resource-grid-card.is-entry-ready {
  opacity: 0;
  transform: translate3d(0,52px,0);
}
.resources-section .resource-grid-card:nth-child(1) { --entry-delay: 0ms; }
.resources-section .resource-grid-card:nth-child(2) { --entry-delay: 70ms; }
.resources-section .resource-grid-card:nth-child(3) { --entry-delay: 140ms; }
.resources-section .resource-grid-card:nth-child(4) { --entry-delay: 210ms; }
.resources-section .resource-grid-card:nth-child(5) { --entry-delay: 280ms; }
.resources-section .resource-grid-card:nth-child(6) { --entry-delay: 350ms; }
#resources .resource-grid-card.is-entry-ready.is-entered {
  opacity: 1;
  transform: translate3d(0,0,0);
  animation: sectionEntryUp .9s cubic-bezier(.16,1,.3,1) both;
  animation-delay: calc(.06s + var(--entry-delay, 0ms));
}

/* The shared WebGL sheet sits between the editorial background and the two
   image sections. Their transparent image shells keep labels/content above it. */
.immersive-main > .work-paper-stage {
  position: fixed;
  z-index: 2;
}
.immersive-main > #work,
.immersive-main > #resources {
  z-index: 3;
}

@media (max-width: 700px) {
  #blog .notes-edition-lead.is-entry-ready,
  #blog .notes-edition-index--archive li.is-entry-ready,
  #resources .resource-grid-card.is-entry-ready {
    transform: translate3d(0,30px,0);
  }
  #blog .notes-edition-lead.is-entry-ready.is-entered,
  #blog .notes-edition-index--archive li.is-entry-ready.is-entered,
  #resources .resource-grid-card.is-entry-ready.is-entered {
    transform: translate3d(0,0,0);
    animation-name: sectionEntryUp;
  }
}

@media (prefers-reduced-motion: reduce) {
  #work .is-entry-ready,
  #blog .is-entry-ready,
  #resources .is-entry-ready {
    transform: none;
    transition: none;
  }
  #work .is-entry-ready.is-entered,
  #blog .is-entry-ready.is-entered,
  #resources .is-entry-ready.is-entered {
    opacity: 1;
    animation: sectionEntryFade .24s linear both;
  }
  .notes-edition-visual img,
  .notes-edition-open i,
  .notes-edition-row-copy,
  .notes-edition-index a > i,
  .resource-grid-card img,
  .resource-grid-card-copy i { transition: none; }
}
