/* ==========================================================================
   XIAO LIANG — INTERACTIVE PORTFOLIO V4 (EVA RED · WHITE · SOFT CONCH-ORANGE)
   Palette: Crimson Red (#D02120 / #D03230) + Paper White (#FAF8F6 / #FFFFFF)
            + Softened Conch-Orange Transition (#F5BA95 / #FBE7D8)
   Display Font: Local EVA Display (EVA.ttf + Noto Serif SC) + Satoshi + JetBrains Mono
   ========================================================================== */

:root {
  --void: #190D10;
  --night-edge: #6E1115;
  --night: #92171B;
  --night-mid: #C92425;
  --crimson: #C92425;
  --crimson-vivid: #D42627;
  --crimson-deep: #8F161A;
  --crimson-dark: #5E0D12;
  --obsidian-red: #190D10;
  --blush: #F6D8CE;
  --blush-soft: #FBF1EC;
  --canvas: #FAF7F4;
  --paper: #FAF7F4;
  --pure: #FFFFFF;
  --surface: rgba(255, 255, 255, 0.94);
  --silhouette: #FAF7F4;
  --ink: #1A1011;
  --ink-soft: #5A4645;
  --modal-muted: #523E3D;
  --lavender: #F0945D;
  --peach: #F0945D;
  --peach-soft: #F7D1B5;
  --peach-mist: #FBF0E6;
  --mute: rgba(255, 250, 247, 0.84);
  --mute-2: rgba(255, 232, 218, 0.72);
  --fg-2: rgba(255, 252, 250, 0.92);
  --line: rgba(255, 255, 255, 0.24);
  --line-faint: rgba(255, 255, 255, 0.085);
  --hud-line: rgba(255, 255, 255, 0.34);
  --cream: #FAF6F2;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --f-eva: "Noto Serif SC", "Source Han Serif SC", "EVA Display", "Songti SC", "STSong", serif;
  --f-display: "Satoshi", "Noto Sans SC", "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --f-cond: "Barlow Condensed", "Satoshi", "Microsoft YaHei UI", sans-serif;
  --f-mono: "JetBrains Mono", "Microsoft YaHei UI", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --frame: clamp(12px, 1.6vw, 24px);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background-color: var(--night-edge);
  color: var(--canvas);
  font-family: var(--f-display);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--night-edge);
  color: var(--canvas);
  overflow-x: hidden;
}

html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

::selection {
  background: var(--lavender);
  color: var(--ink);
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ==========================================================================
   TYPOGRAPHY & BLUEPRINT UTILITIES
   ========================================================================== */
.f-display {
  font-family: var(--f-display);
  font-weight: 900;
}

.mono {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.lav-sq {
  display: inline-block;
  width: 0.17em;
  height: 0.17em;
  background: var(--lavender);
  margin-left: 0.06em;
  vertical-align: baseline;
  transform-origin: center;
}

.lav-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--lavender);
  flex-shrink: 0;
}

.bp-grid-dark {
  background-image:
    linear-gradient(to right, var(--line-faint) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-faint) 1px, transparent 1px);
  background-size: 64px 64px;
}

.bp-grid-light {
  background-image:
    linear-gradient(to right, rgba(11, 9, 17, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 9, 17, 0.065) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ==========================================================================
   GLOBAL 4-STATE DIFFERENCE-BLEND CURSOR + CLICK SPARK CANVAS (diegogomes Lo())
   ========================================================================== */
html.has-cursor,
html.has-cursor * {
  cursor: none !important;
}

.cursor,
.cursor-sel,
.cursor-label {
  display: none;
  user-select: none;
}

html.has-cursor .cursor {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 400;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.18s ease;
  will-change: transform;
}

.cursor-x {
  position: absolute;
  left: -9px;
  top: -9px;
  width: 19px;
  height: 19px;
  transition: transform 0.36s var(--ease), opacity 0.2s ease;
}
.cursor-x::before,
.cursor-x::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.cursor-x::before { left: 9px; top: 0; width: 1px; height: 19px; }
.cursor-x::after  { top: 9px; left: 0; width: 19px; height: 1px; }

.cursor-tag {
  position: absolute;
  left: 14px;
  top: 12px;
  font: 500 10.5px/1 var(--f-mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
  text-transform: uppercase;
  opacity: 0.8;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.2s ease;
}

.cursor.is-snap .cursor-x { transform: scale(0.38); opacity: 0.48; }
.cursor.is-label .cursor-x { transform: rotate(45deg) scale(0.8); }
.cursor.is-down .cursor-x { transform: scale(0.32) rotate(45deg); }
.cursor.is-hidden-x .cursor-x { opacity: 0; transform: scale(0.2); }

.cursor.is-snap .cursor-tag,
.cursor.is-label .cursor-tag,
.cursor.is-still .cursor-tag,
.cursor.is-hidden-x .cursor-tag {
  opacity: 0;
}

html.has-cursor .cursor-sel {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 399;
  width: 12px;
  height: 12px;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #FFFFFF;
  border: 1px solid currentColor;
  opacity: 0;
  transition: opacity 0.14s linear;
  will-change: transform, width, height;
}
html.has-cursor .cursor-sel.is-on { opacity: 1; }

.cs-h {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #000;
  border: 1px solid #FFF;
}
.cursor-sel.is-down .cs-h {
  background: var(--lavender);
  border-color: var(--lavender);
}
.cs-h.tl { left: -4px; top: -4px; }
.cs-h.tr { right: -4px; top: -4px; }
.cs-h.bl { left: -4px; bottom: -4px; }
.cs-h.br { right: -4px; bottom: -4px; }

.cs-dims {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  background: #FFFFFF;
  color: #000000;
  padding: 3px 6px 2px;
  font: 700 9.5px/1 var(--f-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

html.has-cursor .cursor-label {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 401;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
}
.cursor-label > span {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--canvas);
  color: var(--ink);
  padding: 8px 13px 7px;
  font: 600 11px/1 var(--f-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.38s var(--ease);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42);
}
.cursor-label > span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--lavender);
  flex: none;
}
.cursor-label > span::after {
  content: "→";
  font-weight: 500;
}
.cursor-label.no-arrow > span::after { content: none; }
.cursor-label.is-on > span { clip-path: inset(0 0 0 0); }

.spark-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 398;
  pointer-events: none;
  mix-blend-mode: difference;
}

/* ==========================================================================
   OPENING INTRO OVERLAY (diegogomes To() + 8-band Glitch + Te() Aperture Reveal)
   ========================================================================== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 320;
  background: var(--night-edge);
  color: var(--canvas);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 0.04s linear;
}
.intro-overlay.is-light {
  background: var(--canvas);
  color: var(--ink);
}
.intro-overlay.is-done {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

.intro-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}
.intro-guides i {
  position: absolute;
  background: rgba(237, 236, 241, 0.18);
}
.intro-guides .ig-h { left: 10%; right: 10%; top: 50%; height: 1px; }
.intro-guides .ig-v { top: 10%; bottom: 10%; left: 50%; width: 1px; }

.intro-box {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 184px;
  height: 120px;
  transform: translate(-50%, -50%) scale(0.2);
  border: 1px solid rgba(237, 236, 241, 0.45);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.intro-box.is-fill {
  background: rgba(237, 236, 241, 0.96);
  border-color: var(--canvas);
}
.intro-box .hd {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--canvas);
  border: 1px solid var(--night-edge);
}
.intro-box .hd.tl { left: -3px; top: -3px; }
.intro-box .hd.tr { right: -3px; top: -3px; }
.intro-box .hd.bl { left: -3px; bottom: -3px; }
.intro-box .hd.br { right: -3px; bottom: -3px; }

.intro-caret {
  width: 2px;
  height: 38px;
  background: var(--lavender);
  opacity: 0;
}

.intro-hello-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
}

.intro-hello-meta {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(11, 9, 17, 0.55);
  align-self: flex-start;
  margin-bottom: 8px;
}

.intro-hello-stage {
  position: relative;
}

.intro-hello-text {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(76px, 15.5vw, 210px);
  line-height: 0.86;
  letter-spacing: -0.055em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  padding: 8px 18px;
  border: 1px dashed rgba(11, 9, 17, 0.24);
  position: relative;
}
.intro-hello-text .hd {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #FFF;
  border: 1px solid var(--lavender);
}
.intro-hello-text .hd.tl { left: -4px; top: -4px; }
.intro-hello-text .hd.tr { right: -4px; top: -4px; }
.intro-hello-text .hd.bl { left: -4px; bottom: -4px; }
.intro-hello-text .hd.br { right: -4px; bottom: -4px; }

.hello-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.06s linear, transform 0.22s var(--ease);
}
.hello-ch.is-half { opacity: 0.32; transform: translateY(6px); }
.hello-ch.is-on { opacity: 1; transform: translateY(0); }

.hello-dot {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  background: var(--lavender);
  margin-left: 0.04em;
  transform: scale(0);
  transform-origin: center;
}

.intro-hello-dims {
  margin-top: 12px;
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  letter-spacing: 0.06em;
}

.glitch-band {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.intro-skip-btn {
  position: fixed;
  right: calc(var(--frame) + 24px);
  bottom: calc(var(--frame) + 54px);
  z-index: 335;
  padding: 9px 16px;
  border: 1px solid currentColor;
  background: transparent;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.8;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.intro-skip-btn:hover {
  opacity: 1;
  background: var(--lavender);
  border-color: var(--lavender);
  color: var(--ink);
}

.intro-reveal {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 330;
  width: 0;
  height: 0;
  border: 1.5px solid var(--lavender);
  pointer-events: none;
  will-change: transform, width, height;
}
.intro-reveal .hd {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--canvas);
  border: 1px solid var(--lavender);
}
.intro-reveal .hd.tl { left: -4px; top: -4px; }
.intro-reveal .hd.tr { right: -4px; top: -4px; }
.intro-reveal .hd.bl { left: -4px; bottom: -4px; }
.intro-reveal .hd.br { right: -4px; bottom: -4px; }

.intro-reveal-dims {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  background: var(--lavender);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   PERSISTENT BLUEPRINT CHROME, TOP/BOTTOM SCRIMS, NAV & TIMECODE HUD
   ========================================================================== */
.chrome-scrim {
  position: fixed;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 95;
  transition: opacity 0.28s ease;
}
.chrome-scrim--top {
  top: 0;
  height: calc(var(--frame) + 74px);
  background: linear-gradient(to bottom, rgba(12, 8, 21, 0.94) 0%, rgba(12, 8, 21, 0.72) 52%, rgba(12, 8, 21, 0) 100%);
}
.chrome-scrim--bottom {
  bottom: 0;
  height: calc(var(--frame) + 64px);
  background: linear-gradient(to top, rgba(12, 8, 21, 0.94) 0%, rgba(12, 8, 21, 0.7) 52%, rgba(12, 8, 21, 0) 100%);
}
html.hud-light .chrome-scrim--top {
  background: linear-gradient(to bottom, rgba(237, 236, 241, 0.92) 0%, rgba(237, 236, 241, 0.65) 52%, rgba(237, 236, 241, 0) 100%);
}
html.hud-light .chrome-scrim--bottom {
  background: linear-gradient(to top, rgba(237, 236, 241, 0.92) 0%, rgba(237, 236, 241, 0.65) 52%, rgba(237, 236, 241, 0) 100%);
}
html.in-hero .chrome-scrim {
  opacity: 0;
}

.blueprint-chrome {
  position: fixed;
  inset: var(--frame);
  border: 1px solid rgba(237, 236, 241, 0.14);
  pointer-events: none;
  z-index: 100;
  transition: border-color 0.28s ease;
}
html.hud-light .blueprint-chrome {
  border-color: rgba(11, 9, 17, 0.16);
}

.crosshair {
  position: absolute;
  width: 11px;
  height: 11px;
}
.crosshair::before,
.crosshair::after {
  content: "";
  position: absolute;
  background: rgba(237, 236, 241, 0.62);
  transition: background 0.28s ease;
}
html.hud-light .crosshair::before,
html.hud-light .crosshair::after {
  background: rgba(11, 9, 17, 0.52);
}
.crosshair::before { left: 5px; top: 0; width: 1px; height: 11px; }
.crosshair::after  { top: 5px; left: 0; width: 11px; height: 1px; }
.ch-tl { top: 8px; left: 8px; }
.ch-tr { top: 8px; right: 8px; }
.ch-bl { bottom: 8px; left: 8px; }
.ch-br { bottom: 8px; right: 8px; }

.ruler-top {
  position: absolute;
  top: 0;
  left: 44px;
  right: 44px;
  height: 6px;
  background-image: repeating-linear-gradient(to right, rgba(237, 236, 241, 0.24) 0 1px, transparent 1px 56px);
}
.ruler-left {
  position: absolute;
  left: 0;
  top: 44px;
  bottom: 44px;
  width: 6px;
  background-image: repeating-linear-gradient(to bottom, rgba(237, 236, 241, 0.24) 0 1px, transparent 1px 56px);
}
html.hud-light .ruler-top {
  background-image: repeating-linear-gradient(to right, rgba(11, 9, 17, 0.22) 0 1px, transparent 1px 56px);
}
html.hud-light .ruler-left {
  background-image: repeating-linear-gradient(to bottom, rgba(11, 9, 17, 0.22) 0 1px, transparent 1px 56px);
}

.top-nav {
  position: fixed;
  top: calc(var(--frame) + 14px);
  left: calc(var(--frame) + 24px);
  right: calc(var(--frame) + 24px);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  color: var(--canvas);
  transition: color 0.28s ease;
}
html.hud-light .top-nav { color: var(--ink); }
.top-nav a,
.top-nav button { pointer-events: auto; }

.brand-mark {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  padding: 4px 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  position: relative;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.72;
  padding: 6px 10px;
  background: transparent;
  border: 0;
  transition: opacity 0.2s ease;
}
.nav-item:hover,
.nav-item.active { opacity: 1; }
.nav-item.active::before {
  content: "▪";
  color: var(--lavender);
  margin-right: 5px;
}

.bottom-hud {
  position: fixed;
  bottom: calc(var(--frame) + 12px);
  left: calc(var(--frame) + 24px);
  right: calc(var(--frame) + 24px);
  z-index: 120;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--canvas);
  transition: color 0.28s ease;
}
html.hud-light .bottom-hud { color: var(--ink); }

.hud-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.hud-group {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hud-progress-track {
  width: 100%;
  height: 2px;
  background: rgba(237, 236, 241, 0.2);
  overflow: hidden;
}
html.hud-light .hud-progress-track {
  background: rgba(11, 9, 17, 0.16);
}
.hud-progress-bar {
  height: 100%;
  width: 100%;
  background: currentColor;
  transform-origin: 0% 50%;
  transform: scaleX(0);
  will-change: transform;
}
.hud-btn {
  pointer-events: auto;
  background: transparent;
  border: 1px solid currentColor;
  opacity: 0.72;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  transition: opacity 0.2s;
}
.hud-btn:hover { opacity: 1; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-primary-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--canvas);
  transition: background 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn-primary-light:hover {
  background: var(--lavender);
  border-color: var(--lavender);
  transform: translateY(-2px);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: rgba(12, 8, 21, 0.65);
  color: var(--canvas);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(237, 236, 241, 0.34);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn-outline-dark:hover {
  border-color: var(--lavender);
  background: rgba(180, 161, 251, 0.14);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTIONS 01-03: HERO (THREE.JS WEBGL2 STAGE + GSAP PINNED 3-ACT CHOREOGRAPHY)
   ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  background: var(--night-edge);
}

.hero-pin {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(120% 90% at 38% 32%, var(--night-mid) 0%, var(--night) 40%, var(--night-edge) 100%);
}

#hero-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.hero-overlay-ui {
  position: absolute;
  inset: 0;
  padding: calc(var(--frame) + 64px) calc(var(--frame) + 32px) calc(var(--frame) + 54px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.hero-overlay-ui a,
.hero-overlay-ui button,
.hero-top-cats .cat-pill {
  pointer-events: auto;
}

.hero-top-cats {
  position: relative;
  z-index: 14;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mute);
}
.cat-pill {
  position: relative;
  padding: 6px 12px;
  transition: color 0.25s;
}
.cat-pill.active {
  color: var(--canvas);
}
.cat-pill.active::before,
.cat-pill.active::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--canvas);
  border-style: solid;
}
.cat-pill.active::before { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.cat-pill.active::after  { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

html.in-hero .bottom-hud {
  mix-blend-mode: difference;
  color: #FFFFFF;
}
html.in-hero .hero-pitch {
  mix-blend-mode: difference;
  color: #FFFFFF;
}
html.in-hero .hero-pitch p,
html.in-hero .hero-pitch .hero-pitch-sub {
  color: #FFFFFF !important;
}

/* Act 1-3 Centered / Editorial Headlines with TRUE Difference Blend across WebGL Silhouette */
.hero-act-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 0 calc(var(--frame) + 28px);
  mix-blend-mode: difference;
  color: #FFFFFF;
}

.hero-name-lockup {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: #FFFFFF;
}

.hero-im {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(16px, 2vw, 28px);
  letter-spacing: 0.04em;
  margin-left: 10px;
  margin-bottom: -4px;
}

.hero-name-frame {
  position: relative;
  padding: 8px 18px 6px;
}
.hero-name-frame .brk {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: rgba(255, 255, 255, 0.78);
  border-style: solid;
}
.hero-name-frame .brk.tl { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.hero-name-frame .brk.tr { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; }
.hero-name-frame .brk.bl { bottom: 0; left: 0; border-width: 0 0 1.5px 1.5px; }
.hero-name-frame .brk.br { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

.knockout-mask {
  overflow: hidden;
  padding: 2px 0;
}

.hero-giant {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(54px, 10.2vw, 152px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform, opacity;
  color: #FFFFFF;
}

.hero-caption {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  margin-top: 10px;
  margin-left: 2px;
  opacity: 0.85;
}

.hero-act2-layer {
  align-items: flex-start;
  padding-left: clamp(44px, 7vw, 128px);
}
.hero-act2-line {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(48px, 8.2vw, 124px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #FFFFFF;
  will-change: transform, opacity;
}
.hero-act2-indent {
  padding-left: clamp(24px, 6vw, 110px);
}

.hero-act3-title {
  color: #FFFFFF;
}

.hero-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.hero-pitch {
  position: relative;
  z-index: 14;
  max-width: 440px;
  mix-blend-mode: difference;
  color: #FFFFFF;
}
.hero-pitch p {
  margin: 0;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.hero-pitch-sub {
  margin-top: 8px !important;
  font-family: var(--f-mono);
  font-size: 10.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.11em;
  color: rgba(255, 255, 255, 0.78) !important;
}
.hero-ctas {
  position: relative;
  z-index: 14;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Act 3 Discipline Overlay (over GPU-inverted Light Canvas!) */
.discipline-layer {
  position: absolute;
  inset: 0;
  z-index: 14;
  padding: calc(var(--frame) + 66px) calc(var(--frame) + 34px) calc(var(--frame) + 56px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  color: var(--ink);
  opacity: 0;
}
.disc-lede-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.disc-lede-sub {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: rgba(11, 9, 17, 0.56);
}
.disc-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.11em;
  color: rgba(11, 9, 17, 0.88);
}
.disc-tags li {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translate3d(24px, 0, 0);
}

/* ==========================================================================
   SHARED SECTION SHELL & ELASTIC SCRUBBED TITLES
   ========================================================================== */
.section-shell {
  position: relative;
  padding: clamp(76px, 8.5vw, 128px) calc(var(--frame) + 32px);
  border-top: 1px solid var(--line);
  background-color: var(--night-edge);
  z-index: 25;
}
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.eyebrow-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-bottom: 18px;
}
.eyebrow-num {
  padding: 3px 8px;
  border: 1px solid var(--hud-line);
  color: var(--canvas);
}
.section-display-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(42px, 6.8vw, 96px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--canvas);
  margin: 0;
}
.section-lead {
  margin-top: 18px;
  max-width: 600px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-2);
}
.sf-char {
  display: inline-block;
  transform-origin: 50% 0%;
  will-change: transform, opacity;
}

/* ==========================================================================
   SECTION 04: SELECTED WORK (EDITORIAL STACKING CARDS)
   ========================================================================== */
.wk-stack {
  position: relative;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.wk-item {
  position: sticky;
  top: calc(var(--frame) + 56px);
  min-height: min(74vh, 640px);
  background: #0D0818;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 -12px 48px rgba(4, 3, 6, 0.72);
}

.wk-card-in {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.24fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.8vw, 52px);
  will-change: transform;
}
.wk-item.reverse .wk-card-in {
  grid-template-columns: 1.24fr 1fr;
}

.wk-shade {
  position: absolute;
  inset: 0;
  background: #040306;
  opacity: 0;
  pointer-events: none;
  z-index: 15;
}

.wk-idx {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mute-2);
  margin-bottom: 10px;
}

.wk-title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.meta-table {
  margin: 20px 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  grid-template-columns: 82px 1fr;
  row-gap: 9px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.meta-k { color: var(--mute-2); }
.meta-v { color: var(--canvas); }

.wk-desc {
  margin: 0 0 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-2);
}

.wk-frame {
  position: relative;
  border: 1px solid var(--line);
  background: #090612;
  padding: 14px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color 0.24s ease;
}
.wk-frame:hover {
  border-color: var(--lavender);
}
.wk-frame-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mute-2);
}
.wk-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(237, 236, 241, 0.12);
  background: #07040F;
}
.wk-media canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.wk-dims-pill {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 8px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.wk-frame:hover .wk-dims-pill { opacity: 1; }

/* ==========================================================================
   SECTION 05: PINNED MANIFESTO STORYBOARD (GSAP PIN — ZERO BLANK DEAD ZONES)
   ========================================================================== */
.manifesto-section {
  position: relative;
  border-top: 1px solid var(--line);
  z-index: 26;
}

.mf-pin {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #170E2B 0%, var(--night-edge) 76%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-bg-tools {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.14;
  z-index: 1;
}
.mf-roll-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(50px, 8.5vw, 118px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(237, 236, 241, 0.5);
  will-change: transform;
}

.mf-week-pill {
  position: absolute;
  bottom: calc(var(--frame) + 56px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  padding: 7px 16px;
  border: 1px solid var(--line);
  background: rgba(12, 8, 21, 0.9);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.mf-beat {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 36px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}
.mf-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-bottom: 16px;
}
.mf-h {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 6vw, 86px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--canvas);
  margin: 0;
}

.mf-taste-box {
  position: relative;
  display: inline-block;
  padding: 4px 18px;
  border: 1.5px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}
.mf-taste-box.is-sel {
  border-color: var(--lavender);
  background: rgba(180, 161, 251, 0.12);
}
.mf-taste-box .hd {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--canvas);
  border: 1px solid var(--lavender);
  opacity: 0;
}
.mf-taste-box.is-sel .hd { opacity: 1; }
.mf-taste-box .hd.tl { left: -4px; top: -4px; }
.mf-taste-box .hd.tr { right: -4px; top: -4px; }
.mf-taste-box .hd.bl { left: -4px; bottom: -4px; }
.mf-taste-box .hd.br { right: -4px; bottom: -4px; }

.mf-lock-badge {
  position: absolute;
  top: -30px;
  right: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  opacity: 0;
}
.mf-taste-box.is-sel .mf-lock-badge { opacity: 1; }
.mf-taste-box.is-locked .mf-lock-badge {
  background: var(--lavender);
  color: var(--ink);
}

.mf-typed-wrap {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 48px);
  letter-spacing: -0.04em;
  color: var(--lavender);
  min-height: 1.25em;
  margin-bottom: 16px;
}

.mf-marquee-sel {
  position: absolute;
  border: 1px dashed var(--lavender);
  background: rgba(180, 161, 251, 0.12);
  z-index: 16;
  pointer-events: none;
  visibility: hidden;
}

.mf-light-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: var(--canvas);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 36px;
  clip-path: circle(0px at 50% 50%);
  visibility: hidden;
  pointer-events: none;
  will-change: clip-path;
}
.mf-viral-wrap {
  position: relative;
  display: inline-block;
}
.mf-underline-svg {
  position: absolute;
  left: -4%;
  bottom: -14px;
  width: 108%;
  height: 22px;
  overflow: visible;
}

.mf-auto-cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.mf-cur-tag {
  margin-left: 14px;
  margin-top: 2px;
  background: var(--lavender);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 2px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}
.mf-cur-ring {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--lavender);
  opacity: 0;
  transform: scale(0.3);
}

/* ==========================================================================
   SECTION 06: CAPABILITIES (diegogomes gs() PER-CHAR SPLIT-FLAP ROLL)
   ========================================================================== */
.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr 44px;
  align-items: center;
  gap: 20px;
  padding: clamp(22px, 2.8vw, 34px) 22px;
  border-bottom: 1px solid var(--line);
  color: var(--canvas);
  background: transparent;
  transition: background-color 0.24s ease, color 0.24s ease;
}
.service-row:hover {
  background-color: var(--canvas);
  color: var(--ink);
  z-index: 12;
}
.svc-num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--mute-2);
  transition: color 0.24s;
}
.service-row:hover .svc-num { color: var(--ink); }

.svc-roll-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
}
.ch-slot {
  display: inline-flex;
  flex-direction: column;
  height: 1.16em;
  overflow: hidden;
}
.ch-slot > span {
  display: block;
  height: 1.16em;
  line-height: 1.16em;
  transition: transform 0.44s var(--ease);
  transition-delay: calc(var(--i, 0) * 18ms);
}
.service-row:hover .ch-slot > span {
  transform: translateY(-100%);
}

.svc-desc {
  margin: 8px 0 10px;
  font-size: 14.5px;
  color: var(--fg-2);
  max-width: 600px;
  transition: color 0.24s;
}
.service-row:hover .svc-desc { color: rgba(11, 9, 17, 0.78); }

.svc-tags {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--mute-2);
  transition: color 0.24s;
}
.service-row:hover .svc-tags { color: rgba(11, 9, 17, 0.65); }

.svc-arrow {
  font-size: 26px;
  justify-self: end;
  transition: transform 0.24s var(--ease);
}
.service-row:hover .svc-arrow { transform: translate(5px, -5px); }

.svc-float-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 188px;
  height: 238px;
  pointer-events: none;
  z-index: 150;
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: transform, opacity;
}
.svc-float-preview.visible { opacity: 1; }
.svc-float-back {
  position: absolute;
  inset: 6px;
  border-radius: 12px;
  background: var(--lavender);
  transform: rotate(-7deg);
  box-shadow: 0 18px 40px rgba(4, 3, 6, 0.58);
}
.svc-float-front {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: #100A1D;
  border: 1.5px solid rgba(237, 236, 241, 0.35);
  transform: rotate(3deg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 52px rgba(4, 3, 6, 0.75);
}
.svc-float-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.svc-float-scrim {
  position: relative;
  z-index: 2;
  padding: 12px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(11,7,20,0.68) 0%, transparent 45%, rgba(11,7,20,0.9) 100%);
}

.stack-header {
  margin-top: 44px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
}
.stack-badge {
  padding: 3px 8px;
  background: var(--canvas);
  color: var(--ink);
  font-weight: 700;
}
.ticker-wrap {
  overflow: hidden;
  width: 100%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: rgba(20, 12, 35, 0.45);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* ==========================================================================
   SECTION 07: ABOUT (WORD-BY-WORD SCROLL LIGHTING + FIGMA ARTBOARD FRAME)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
}
.about-headline {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.slot-row {
  margin: 30px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.slot-wheel {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.slot-line {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: rgba(237, 236, 241, 0.3);
  padding: 3px 12px;
  transition: color 0.3s;
}
.slot-line.is-active {
  color: var(--canvas);
  position: relative;
}
.slot-line.is-active::before,
.slot-line.is-active::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--canvas);
  border-style: solid;
}
.slot-line.is-active::before { top: 0; left: 0; border-width: 1.5px 0 0 1.5px; }
.slot-line.is-active::after  { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; }

.about-body {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 500;
  color: var(--canvas);
  margin: 0;
}
.hl-w {
  display: inline;
  opacity: 0.22;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.fact-head {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--mute-2);
  margin-bottom: 14px;
}
.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-2);
}
.fact-date {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--lavender);
}
.fact-org {
  font-weight: 700;
  color: var(--canvas);
  margin-top: 2px;
}

.portrait-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.portrait-card {
  width: 100%;
  max-width: 360px;
}
.portrait-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.portrait-pill {
  padding: 4px 10px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
}
.figma-portrait-frame {
  position: relative;
  border: 1px solid rgba(237, 236, 241, 0.72);
  background: #0A0714;
}
.figma-anchor {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--canvas);
  border: 1px solid var(--night-edge);
  z-index: 4;
}
.fa-tl { top: -4px; left: -4px; }
.fa-tr { top: -4px; right: -4px; }
.fa-bl { bottom: -4px; left: -4px; }
.fa-br { bottom: -4px; right: -4px; }

.portrait-viewport {
  aspect-ratio: 4 / 5;
  width: 100%;
  position: relative;
  overflow: hidden;
}
#portrait-canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(100%) contrast(1.12);
  transition: filter 0.65s var(--ease), transform 0.65s var(--ease);
}
.figma-portrait-frame:hover #portrait-canvas {
  filter: grayscale(0%) contrast(1.04);
  transform: scale(1.03);
}
.portrait-foot {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   SECTION 08: OUTCOME-GRADE WEBGL2 PHYSICAL LENTICULAR COLLECTIBLE CARDS
   Exact anatomy aligned with recent.design/i/xsy5aye-outcome-profile-cards
   ========================================================================== */
.cards-section {
  background: radial-gradient(circle at 50% 42%, #170F2A 0%, #090611 78%);
}
.cards-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.cards-hint-pill {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 9px 14px;
  border: 1px solid rgba(237, 236, 241, 0.22);
  background: rgba(8, 5, 16, 0.72);
  color: var(--lavender);
}

.lenticular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
  align-items: start;
  margin-top: 42px;
}

.outcome-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  perspective: 1300px;
}

.outcome-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 5 / 7.25;
  border-radius: 26px;
  background: linear-gradient(155deg, #F3EFE5 0%, #EAE5D8 52%, #DFD9C9 100%);
  padding: 13px 13px 10px;
  box-shadow:
    0 34px 76px rgba(0, 0, 0, 0.78),
    0 2px 0 rgba(255, 255, 255, 0.78) inset,
    0 -3px 6px rgba(0, 0, 0, 0.18) inset,
    0 0 0 1px rgba(255, 255, 255, 0.24);
  transform-style: preserve-3d;
  user-select: none;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.outcome-inner {
  position: relative;
  flex: 1;
  border-radius: 17px;
  background: #040406;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

/* Exact top-left diagonal chamfered notch + white die-cut peeling circular sticker */
.outcome-notch-cut {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 78px;
  height: 78px;
  background: #ECE8DC;
  clip-path: polygon(0 0, 100% 0, 65% 100%, 0 100%);
  border-bottom-right-radius: 26px;
  z-index: 12;
  pointer-events: none;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.45);
}

.outcome-sticker {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FFFFFF;
  padding: 3.5px;
  z-index: 16;
  box-shadow:
    0 7px 16px rgba(0, 0, 0, 0.48),
    0 0 0 1.5px rgba(0, 0, 0, 0.08);
  transform: translateZ(26px);
  overflow: hidden;
}
.outcome-sticker-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Realistic curled paper edge on sticker bottom-right */
.outcome-sticker::after {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 17px;
  height: 17px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2DDD0 52%, rgba(0, 0, 0, 0.25) 100%);
  border-radius: 4px 0 10px 0;
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.3);
  transform: rotate(-10deg);
}

.outcome-art-stage {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #06050A;
}

.lenticular-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.outcome-glare {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  z-index: 25;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 35%),
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.09) 30%,
    transparent 62%
  );
  mix-blend-mode: soft-light;
  opacity: 0.45;
  transition: opacity 0.22s ease;
}
.outcome-card:hover .outcome-glare { opacity: 0.95; }

.outcome-reticle {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.28);
  pointer-events: none;
  z-index: 30;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.16s ease;
}
.outcome-card:hover .outcome-reticle { opacity: 1; }

/* Exact slanted charcoal role tag + solid-black condensed title plate */
.outcome-identity-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 14;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}
.outcome-role-tag {
  background: rgba(34, 33, 40, 0.94);
  color: #F4F3F7;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 18px 4px 13px;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
}
.outcome-title-plate {
  background: #040406;
  color: #FFFFFF;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.06;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 7px 24px 6px 13px;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
}

/* Exact 3-column solid black odometer stats bar */
.outcome-stats-bar {
  background: #040406;
  padding: 12px 8px 13px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 16;
}
.outcome-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  position: relative;
}
.outcome-stat-col + .outcome-stat-col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16%;
  bottom: 16%;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.stat-val-slot {
  height: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 15px;
  line-height: 22px;
  color: #FFFFFF;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat-val-slot.rolling-up {
  animation: odo-up 0.36s var(--ease);
}
.stat-val-slot.rolling-down {
  animation: odo-down 0.36s var(--ease);
}
@keyframes odo-up {
  0% { transform: translateY(105%); opacity: 0.1; filter: blur(1.5px); }
  58% { transform: translateY(-10%); opacity: 0.95; filter: blur(0); }
  100% { transform: translateY(0%); opacity: 1; }
}
@keyframes odo-down {
  0% { transform: translateY(-105%); opacity: 0.1; filter: blur(1.5px); }
  58% { transform: translateY(10%); opacity: 0.95; filter: blur(0); }
  100% { transform: translateY(0%); opacity: 1; }
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.54);
  text-transform: uppercase;
}

.outcome-bezel-footer {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #1A1A1A;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 12px;
  padding-top: 5px;
}

.angle-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}
.angle-btn {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  background: rgba(20, 12, 35, 0.72);
  border: 1px solid var(--line);
  color: var(--mute);
  transition: all 0.2s ease;
}
.angle-btn:hover {
  border-color: rgba(237, 236, 241, 0.5);
  color: var(--canvas);
}
.angle-btn.active {
  background: var(--canvas);
  color: var(--ink);
  border-color: var(--canvas);
  font-weight: 700;
}

/* ==========================================================================
   SECTION 09: VELOCITY-SKEWED MARQUEE + DRAGGABLE CURVE + CONTACT + SIGNATURE
   ========================================================================== */
.dual-marquee-band {
  position: relative;
  padding: 46px 0 18px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: linear-gradient(180deg, var(--night-edge) 0%, #10091E 50%, var(--night-edge) 100%);
  z-index: 25;
}
.mq-row {
  display: flex;
  width: max-content;
  will-change: transform;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(36px, 5.2vw, 72px);
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: var(--canvas);
  user-select: none;
}
.mq-track {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}
.curved-svg-wrap {
  width: 100%;
  margin-top: -6px;
  user-select: none;
  touch-action: pan-y;
}

.contact-phone-btn {
  position: relative;
  margin-top: 26px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
}
.contact-phone-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(34px, 5.2vw, 66px);
  letter-spacing: -0.04em;
  color: var(--canvas);
  transition: color 0.22s;
}
.contact-phone-btn:hover .contact-phone-num { color: var(--lavender); }
.contact-phone-sub {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--lavender);
  margin-top: 4px;
}
.copy-stamp {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translate(100%, -50%) rotate(-6deg) scale(1.6);
  background: var(--lavender);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  opacity: 0;
  pointer-events: none;
}

.contact-grid-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-top: 34px;
}
.contact-row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--canvas);
  text-decoration: none;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}
.contact-row-link:nth-child(odd) { border-right: 1px solid var(--line); }
.contact-row-link:hover {
  background: rgba(180, 161, 251, 0.1);
  color: var(--lavender);
}
.contact-tag {
  margin-right: 12px;
  color: rgba(237, 236, 241, 0.42);
  font-weight: 700;
}

.dotmatrix-stage {
  position: relative;
  margin-top: 62px;
  padding: 22px 0 14px;
}
.sig-guide {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(237, 236, 241, 0.18);
  transform-origin: 50% 50%;
  transform: scaleX(0);
  transition: transform 0.9s var(--ease);
}
.sig-guide.top { top: 0; }
.sig-guide.bot { bottom: 0; }
.dotmatrix-stage.is-in .sig-guide { transform: scaleX(1); }

.sig-measure {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
}
#wordmark-canvas {
  display: block;
  width: 100%;
  height: 168px;
}
.sig-captions {
  text-align: center;
  margin-top: 8px;
}
.sig-captions .line1 {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--canvas);
}
.sig-captions .line2 {
  font-family: var(--f-mono);
  font-size: 10px;
  margin-top: 4px;
  color: var(--mute-2);
}

.footer-bar {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--mute);
}
.footer-bar a {
  color: var(--canvas);
  text-decoration: none;
}
.footer-bar a:hover { color: var(--lavender); }

/* ==========================================================================
   MODALS & TOAST
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 340;
  background: rgba(4, 3, 6, 0.9);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }

.modal-panel {
  width: 100%;
  max-width: 780px;
  max-height: 86vh;
  overflow-y: auto;
  background: #0D0817;
  border: 1px solid rgba(237, 236, 241, 0.28);
  padding: 30px;
  position: relative;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.85);
}
.modal-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.modal-close-btn {
  padding: 6px 12px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  border: 0;
}
.modal-slot-box {
  border: 1px dashed rgba(180, 161, 251, 0.45);
  background: rgba(0, 0, 0, 0.45);
  padding: 22px;
  margin: 20px 0;
  text-align: center;
}
.modal-bullets {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
}

.toast-pill {
  position: fixed;
  top: calc(var(--frame) + 64px);
  right: calc(var(--frame) + 26px);
  z-index: 360;
  background: var(--lavender);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 9px 15px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.22s, transform 0.22s;
}
.toast-pill.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 860px) {
  .lenticular-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .portrait-col { align-items: flex-start; }
  .wk-card-in,
  .wk-item.reverse .wk-card-in { grid-template-columns: 1fr; }
  .wk-item { position: relative; top: auto; min-height: auto; }
}

@media (max-width: 720px) {
  .lenticular-grid,
  .contact-grid-links,
  .about-facts { grid-template-columns: 1fr; }
  .contact-row-link:nth-child(odd) { border-right: none; }
  .nav-links { gap: 2px; }
  .nav-item { padding: 5px 6px; font-size: 10px; }
  .hud-hide-sm { display: none; }
}


/* ==========================================================================
   PURE EVA RED & WHITE THEME LAYER (ZERO ORANGE)
   Palette: EVA Crimson (#D02120 / #D03230 / #8F161A) + Pure White (#FFFFFF / #FAF8F6)
            + Deep Obsidian Ink (#170C0D / #16090B)
   Display Font: Eva-Ming-SC-v0.1.otf (EVA Display — 44,779 glyphs, 0 missing)
   ========================================================================== */

:root {
  --void: #14080A;
  --night-edge: #6E1115;
  --night: #92171B;
  --night-mid: #D02120;
  --crimson: #D02120;
  --crimson-vivid: #D03230;
  --crimson-deep: #8F161A;
  --crimson-dark: #5E0D12;
  --obsidian-red: #16090B;
  --blush: #F3DADA;
  --blush-soft: #FAF2F2;
  --canvas: #FAF8F6;
  --paper: #FAF8F6;
  --pure: #FFFFFF;
  --surface: rgba(255, 255, 255, 0.96);
  --silhouette: #FAF8F6;
  --ink: #170C0D;
  --ink-soft: #564244;
  --modal-muted: #4E3B3D;
  --lavender: #D02120;
  --peach: #D02120;
  --peach-soft: #F2D8D8;
  --peach-mist: #FAF2F2;
  --cream: #FAF8F6;
  --f-eva: "EVA Display", "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
}

html, body {
  background-color: #FAF8F6;
  color: var(--ink);
}

::selection {
  background: var(--crimson);
  color: #FFFFFF;
}

/* Typography Hierarchy:
   - Authentic Tall-Condensed EVA Heavy Mincho (--f-eva = EVA-SC-Condensed.otf)
     applied across Name & ALL major display/section/card/skill headings!
   - Clean geometric sans (--f-display = Satoshi + Noto Sans SC) for body copy, metadata & modals */
.brand-mark,
.hero-giant,
.hero-act2-line,
.disc-lede-title,
.section-display-title,
.wk-title,
.mf-h,
.mf-typed-wrap,
.svc-roll-title,
.about-headline,
.mq-track,
.intro-hello-text {
  font-family: var(--f-eva);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-giant {
  display: inline-block;
  font-size: clamp(56px, 10.6vw, 162px);
  line-height: 0.94;
  letter-spacing: -0.01em;
  word-spacing: 0.04em;
  transform: none;
}

.wk-title {
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.svc-roll-title {
  font-size: clamp(28px, 3.8vw, 48px);
  letter-spacing: -0.015em;
}

.about-headline {
  line-height: 1.24;
  letter-spacing: -0.015em;
}

.disc-lede-title {
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.hero-im,
.contact-phone-num,
.modal-panel h3 {
  font-family: var(--f-display);
}

.contact-phone-num {
  letter-spacing: -0.03em;
}

/* Tighten overly wide English-era mono/UI tracking for crisp Chinese readability */
.mono,
.eyebrow-box,
.nav-item,
.hud-row,
.hero-top-cats,
.hero-caption,
.hero-pitch-sub,
.meta-table,
.wk-idx,
.wk-frame-head,
.mf-eyebrow,
.mf-week-pill,
.svc-tags,
.disc-lede-sub,
.disc-tags,
.ticker-item,
.fact-head,
.btn-primary-light,
.btn-outline-dark,
.intro-hello-meta,
.intro-skip-btn {
  letter-spacing: 0.04em;
}

.hero-top-cats {
  gap: 10px;
}

.mq-track {
  gap: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   ORIGINAL V4 BLACK-BACKDROP OPENING INTRO (CLASSIC DARK START -> WHITE HELLO. -> APERTURE TEAR, ZERO RGB GLITCH)
   ========================================================================== */
.intro-overlay {
  background: #0A0A0D;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  color: #FFFFFF;
  transition: background-color 0.04s linear;
}
.intro-overlay.is-light {
  background: #FAF8F6;
  background-image:
    linear-gradient(to right, rgba(11, 9, 17, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 9, 17, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  color: #111014;
}
.intro-guides i {
  background: rgba(255, 255, 255, 0.2);
}
.intro-box {
  width: 184px;
  height: 120px;
  transform: translate(-50%, -50%) scale(0.2);
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.intro-box.is-fill {
  background: rgba(250, 248, 246, 0.96);
  border-color: #FFFFFF;
  box-shadow: none;
}
.intro-box .hd {
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border: 1px solid #0A0A0D;
  z-index: 8;
}
.intro-caret {
  width: 2px;
  height: 38px;
  background: #FFFFFF;
  z-index: 3;
}
.intro-hello-meta {
  color: rgba(17, 16, 20, 0.56);
}
.intro-hello-text {
  font-family: var(--f-eva);
  font-weight: 900;
  font-size: clamp(72px, 14.5vw, 196px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  color: #111014;
  border: 1px dashed rgba(17, 16, 20, 0.28);
  padding: 12px 26px;
}
.intro-hello-text .hd {
  background: #FFFFFF;
  border: 1px solid var(--crimson);
}
.hello-dot {
  background: var(--crimson);
  margin-left: 0.06em;
}
.intro-hello-dims {
  background: #111014;
  color: #FFFFFF;
}

/* Clean Center-Outward Aperture Tear (tears straight through HELLO. — ZERO RGB Glitch) */
.intro-reveal {
  border: 1.5px solid var(--crimson);
  box-shadow: none;
}
.intro-reveal .hd {
  width: 7px;
  height: 7px;
  background: #FFFFFF;
  border: 1px solid var(--crimson);
}
.intro-reveal-dims {
  background: var(--crimson);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}
.intro-skip-btn {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(10, 10, 13, 0.55);
}
.intro-overlay.is-light .intro-skip-btn {
  color: #111014;
  border-color: rgba(17, 16, 20, 0.36);
  background: rgba(255, 255, 255, 0.85);
}
.intro-skip-btn:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #FFFFFF;
}

/* Cursor & Spark */
html.has-cursor .cursor,
html.has-cursor .cursor-sel {
  mix-blend-mode: normal;
  color: #FFFFFF;
}
html.has-cursor.hud-light .cursor,
html.has-cursor.hud-light .cursor-sel {
  color: var(--crimson);
}
html.has-cursor.hud-light .cs-h {
  background: #FFFFFF;
  border-color: var(--crimson);
}
html.has-cursor.hud-light .cs-dims {
  background: var(--crimson);
  color: #FFFFFF;
}
.cursor-label > span {
  background: #170C0D;
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(20, 8, 10, 0.24);
}
.cursor-label > span::before {
  background: var(--crimson);
}
.spark-canvas {
  mix-blend-mode: normal;
}

/* Top/Bottom Scrims & Persistent HUD Frame */
.chrome-scrim--top {
  background: linear-gradient(to bottom, rgba(22, 9, 11, 0.82) 0%, rgba(22, 9, 11, 0.36) 56%, rgba(22, 9, 11, 0) 100%);
}
.chrome-scrim--bottom {
  background: linear-gradient(to top, rgba(22, 9, 11, 0.82) 0%, rgba(22, 9, 11, 0.36) 56%, rgba(22, 9, 11, 0) 100%);
}
html.hud-light .chrome-scrim--top {
  background: linear-gradient(to bottom, rgba(250, 248, 246, 0.92) 0%, rgba(250, 248, 246, 0.56) 56%, rgba(250, 248, 246, 0) 100%);
}
html.hud-light .chrome-scrim--bottom {
  background: linear-gradient(to top, rgba(250, 248, 246, 0.92) 0%, rgba(250, 248, 246, 0.56) 56%, rgba(250, 248, 246, 0) 100%);
}
.blueprint-chrome {
  border-color: rgba(255, 255, 255, 0.24);
}
html.hud-light .blueprint-chrome {
  border-color: rgba(208, 33, 32, 0.22);
}
html.hud-light .crosshair::before,
html.hud-light .crosshair::after {
  background: var(--crimson);
}
html.hud-light .ruler-top {
  background-image: repeating-linear-gradient(to right, rgba(208, 33, 32, 0.22) 0 1px, transparent 1px 56px);
}
html.hud-light .ruler-left {
  background-image: repeating-linear-gradient(to bottom, rgba(208, 33, 32, 0.22) 0 1px, transparent 1px 56px);
}
.top-nav {
  color: #FFFFFF;
}
html.hud-light .top-nav {
  color: var(--ink);
}

/* Clean Naked Brand Mark & Top Nav (faithful to original diegogomes.nl — zero clunky white boxes!) */
.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  padding: 4px 6px;
  background: transparent;
  color: inherit;
  border: none;
  box-shadow: none;
  text-shadow: none;
  transition: opacity 0.2s ease, transform 0.22s var(--ease);
}
.brand-mark:hover {
  transform: translateY(-1px);
  opacity: 0.85;
  box-shadow: none;
}
html.hud-light .brand-mark {
  color: var(--ink);
}
html.hud-light .nav-links {
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  border: none;
}
html.hud-light .nav-item {
  opacity: 0.74;
}
html.hud-light .nav-item:hover,
html.hud-light .nav-item.active {
  opacity: 1;
  color: var(--crimson);
}
.lav-sq,
.lav-dot {
  background: var(--crimson);
}
#cards .lav-sq,
#cards .lav-dot,
.dual-marquee-band .lav-sq,
#discipline-layer .lav-dot,
.ticker-wrap .lav-dot {
  background: var(--crimson);
}
#mf-light-layer .lav-sq,
#manifesto .lav-sq {
  background: var(--crimson);
}

.bottom-hud {
  color: #FFFFFF;
}
html.hud-light .bottom-hud {
  color: var(--ink);
}
/* In Hero: restore original diegogomes.nl difference-blend naked HUD so text flips cleanly across silhouette! */
html.in-hero .bottom-hud,
html.in-hero.hud-light .bottom-hud {
  mix-blend-mode: difference;
  color: #FFFFFF;
}
html.hud-light .hud-row {
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  border-left: none;
}
html.hud-light .hud-progress-track {
  background: rgba(23, 12, 13, 0.16);
}
.hud-progress-bar {
  background: currentColor;
}
html.hud-light .hud-progress-bar {
  background: var(--crimson);
}
html.in-hero .hud-progress-track {
  background: rgba(255, 255, 255, 0.24);
}
html.in-hero .hud-progress-bar {
  background: #FFFFFF;
}
.toast-pill {
  background: var(--crimson);
  color: #FFFFFF;
}

/* Pure Red & White Buttons */
.btn-primary-light {
  background: var(--crimson);
  color: #FFFFFF;
  border-color: var(--crimson);
  box-shadow: none;
}
.btn-primary-light:hover {
  background: var(--crimson-deep);
  border-color: var(--crimson-deep);
  color: #FFFFFF;
}
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(23, 12, 13, 0.36);
}
.btn-outline-dark:hover {
  border-color: var(--crimson);
  background: var(--crimson);
  color: #FFFFFF;
}

/* ==========================================================================
   HERO STAGE — ORIGINAL DIEGOGOMES.NL CLEAN LAYOUT + PURE RED & WHITE PALETTE
   - Zero frosted box clutter on cats / pitch / HUD / name!
   - Pure Black & White mix-blend-mode: difference across bust silhouette!
   ========================================================================== */
.hero-section,
.hero-pin {
  background: #FAF8F6;
}
.hero-top-cats {
  color: rgba(23, 12, 13, 0.56);
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  width: auto;
  border-left: none;
}
.cat-pill.active {
  color: var(--crimson);
  font-weight: 700;
}
.cat-pill.active::before,
.cat-pill.active::after {
  border-color: var(--crimson);
}

/* Original difference-blend directly on .hero-act-layer */
.hero-act-layer {
  mix-blend-mode: difference;
  color: #FFFFFF;
  perspective: none;
}

.hero-name-lockup {
  color: #FFFFFF;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  transform: none;
  transform-style: flat;
}
.hero-im {
  color: #FFFFFF;
  background: transparent;
  padding: 0;
  margin-left: 4px;
  margin-bottom: 4px;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: clamp(13px, 1.35vw, 18px);
  letter-spacing: 0.08em;
  text-shadow: none;
  box-shadow: none;
}
.knockout-mask {
  overflow: hidden;
  padding: 2px 0;
}
#hero-name {
  color: #FFFFFF;
  display: inline-block;
  text-shadow: none;
  transform: none;
}
.hero-caption {
  color: #FFFFFF;
  background: transparent;
  padding: 0;
  margin-top: 10px;
  margin-left: 4px;
  border: none;
  opacity: 0.88;
  box-shadow: none;
}

#hero-act2 {
  transform-style: flat;
}
.hero-act2-line,
#act2-l1,
.hero-act3-title {
  color: #FFFFFF;
  text-shadow: none;
}

.discipline-layer {
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: calc(var(--frame) + 52px) calc(var(--frame) + 22px) calc(var(--frame) + 46px);
}

/* Full NLE Workstation Shell (Premiere / AE Layout in Pure EVA Red / White / Obsidian) */
.nle-workspace {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - var(--frame) * 2 - 98px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  background: rgba(14, 7, 9, 0.92);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-top: 3px solid #D02120;
  padding: 10px 12px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(0.985);
  will-change: transform, opacity;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.62);
}

.nle-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.nle-tb-left,
.nle-tb-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.nle-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D02120;
  box-shadow: 0 0 8px #D02120;
  flex-shrink: 0;
  animation: nle-blink 1.2s ease-in-out infinite;
}
@keyframes nle-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.nle-bar-badge {
  background: #D02120;
  color: #FFFFFF;
  font-weight: 700;
  padding: 3px 8px;
  font-size: 10px;
  flex-shrink: 0;
}
.nle-tb-slogan {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 13px;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nle-tb-chap {
  color: rgba(250, 248, 246, 0.56);
  font-size: 10px;
  white-space: nowrap;
}
.nle-tb-spec {
  color: rgba(250, 248, 246, 0.56);
  font-size: 10px;
  white-space: nowrap;
}
.nle-tc {
  color: #FFFFFF;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 3px 9px;
  border: 1px solid rgba(208, 33, 32, 0.72);
  background: rgba(208, 33, 32, 0.2);
  flex-shrink: 0;
}

/* Middle 3-Column Editing Layout */
.nle-main {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 236px;
  gap: 8px;
  min-height: 0;
}
.nle-panel,
.nle-monitor-wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.nle-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(250, 248, 246, 0.84);
  flex-shrink: 0;
}
.nle-panel-tag {
  background: rgba(208, 33, 32, 0.24);
  border: 1px solid rgba(208, 33, 32, 0.65);
  color: #FFFFFF;
  padding: 1px 6px;
  font-size: 9px;
}
.nle-mon-meta {
  color: rgba(250, 248, 246, 0.5);
  font-size: 9.5px;
}

/* Left Panel: Effect Controls */
.nle-panel-left {
  padding-bottom: 8px;
  justify-content: space-between;
}
.nle-fx-block {
  padding: 10px;
}
.nle-fx-title {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  padding-left: 7px;
  border-left: 2.5px solid #D02120;
}
.nle-fx-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.nle-fx-row {
  display: grid;
  grid-template-columns: 76px 1fr 34px;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: rgba(250, 248, 246, 0.72);
}
.nle-fx-row em {
  font-style: normal;
  text-align: right;
  color: #FFFFFF;
  font-weight: 700;
}
.nle-meter {
  display: block;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.nle-meter b {
  display: block;
  height: 100%;
  background: #D02120;
  transition: width 0.35s var(--ease);
}
.nle-fx-tools {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.nle-fx-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  color: rgba(250, 248, 246, 0.48);
  margin-bottom: 7px;
  letter-spacing: 0.1em;
}
.nle-fx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.nle-fx-chips span {
  padding: 3px 6px;
  font-family: var(--f-mono);
  font-size: 9.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(208, 33, 32, 0.48);
  color: #FAF8F6;
}

/* Center Program Monitor */
.nle-monitor-wrap {
  border-color: rgba(208, 33, 32, 0.55);
  background: #0A0405;
}
.nle-monitor-screen {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: #090A10;
  overflow: hidden;
  cursor: pointer;
}
#nle-monitor-canvas,
#nle-monitor-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #090A10;
}
.nle-mon-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(208, 33, 32, 0.75);
  color: #FFFFFF;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 3;
}
.nle-monitor-screen.is-paused .nle-mon-badge,
.nle-monitor-screen.is-scrubbing .nle-mon-badge {
  opacity: 1;
  transform: translateY(0);
}
.nle-sound-prompt {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  padding: 6px 13px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(208, 33, 32, 0.88);
  color: #FFFFFF;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.18s ease;
}
.nle-sound-prompt:hover {
  background: #D02120;
  transform: translateY(-1px);
}
.nle-sound-prompt.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
}
.nle-mute-btn.is-unmuted {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
}
.nle-mon-safe {
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 2;
}
.nle-transport {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.045);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--f-display);
  font-size: 11px;
  flex-shrink: 0;
}
.nle-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 10px;
  border: 1px solid rgba(208, 33, 32, 0.75);
  background: rgba(208, 33, 32, 0.2);
  color: #FFFFFF;
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.nle-play-btn:hover {
  background: #D02120;
  border-color: #D02120;
}
.nle-play-btn.is-paused {
  background: #D02120;
  border-color: #FFFFFF;
}
.nle-tr-info {
  flex: 1 1 auto;
  color: #FAF8F6;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nle-tr-tip {
  color: rgba(250, 248, 246, 0.48);
  font-size: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Right Panel: 5 Sequence Cues (interactive clickable playlist!) */
.nle-panel-right .disc-tags {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 8px;
  margin: 0;
  list-style: none;
  color: rgba(250, 248, 246, 0.72);
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.nle-panel-right .disc-tags li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nle-panel-right .disc-tags li:hover {
  background: rgba(208, 33, 32, 0.18);
  border-color: rgba(208, 33, 32, 0.55);
  color: #FFFFFF;
}
.nle-panel-right .disc-tags li .nle-cue-idx {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(250, 248, 246, 0.46);
  flex-shrink: 0;
}
.nle-panel-right .disc-tags li .nle-cue-txt {
  flex: 1;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nle-panel-right .disc-tags li .lav-dot {
  background: rgba(255, 255, 255, 0.24);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.nle-panel-right .disc-tags li.is-lit {
  background: rgba(208, 33, 32, 0.24);
  border-color: rgba(208, 33, 32, 0.85);
  border-left: 3px solid #D02120;
  color: #FFFFFF;
}
.nle-panel-right .disc-tags li.is-lit .nle-cue-idx {
  color: #FF4D4D;
}
.nle-panel-right .disc-tags li.is-lit .lav-dot {
  background: #D02120;
  transform: scale(1.6);
  box-shadow: 0 0 10px #D02120;
}

/* Bottom Timeline Dock */
.nle-timeline-dock {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 7px 10px 8px;
}
.nle-stage {
  position: relative;
  user-select: none;
  cursor: ew-resize;
}
.nle-ruler {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 5px;
}
.nle-ruler-body {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 18px;
}
.nle-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: rgba(250, 248, 246, 0.48);
  letter-spacing: 0.06em;
}
.nle-markers {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 15px;
}
.nle-mk {
  position: absolute;
  top: 0;
  padding: 1px 6px;
  font-family: var(--f-display);
  font-size: 9.5px;
  font-weight: 700;
  color: rgba(250, 248, 246, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border-left: 2px solid #D02120;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nle-mk.is-active {
  background: #D02120;
  color: #FFFFFF;
}
.nle-tracks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nle-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
  height: 24px;
}
.nle-row.is-audio {
  height: 26px;
}
.nle-track-head {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(250, 248, 246, 0.72);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.nle-track-head.is-v1 { border-left: 2px solid #FFFFFF; color: #FFFFFF; }
.nle-track-head.is-v2 { border-left: 2px solid #D02120; color: #FFFFFF; }
.nle-track-head.is-a1 { border-left: 2px solid rgba(208, 33, 32, 0.75); }
.nle-lane {
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.nle-clip {
  position: absolute;
  top: 2px;
  bottom: 2px;
  display: flex;
  align-items: center;
  padding: 0 7px;
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.nle-clip.is-main {
  background: rgba(250, 248, 246, 0.12);
  color: rgba(250, 248, 246, 0.88);
}
.nle-clip.is-hot {
  background: rgba(208, 33, 32, 0.26);
  border-color: rgba(208, 33, 32, 0.72);
  color: #FFFFFF;
}
.nle-clip.is-ai {
  background: rgba(208, 33, 32, 0.14);
  border: 1px dashed rgba(208, 33, 32, 0.72);
  color: rgba(250, 248, 246, 0.9);
}
.nle-clip.is-vfx {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.36);
  color: #FFFFFF;
}
.nle-clip.is-hit {
  background: #D02120;
  border-color: #FFFFFF;
  color: #FFFFFF;
}
.nle-wave {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
  padding: 3px 4px;
}
.nle-wbar {
  flex: 1;
  min-width: 2px;
  background: rgba(250, 248, 246, 0.24);
  transform-origin: 50% 100%;
  transition: background-color 0.12s linear, transform 0.12s ease;
}
.nle-wbar.is-past {
  background: rgba(250, 248, 246, 0.78);
}
.nle-wbar.is-peak.is-past {
  background: #D02120;
}
.nle-wbar.is-near {
  background: #D02120;
  transform: scaleY(1.22);
}
.nle-playhead-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42px;
  right: 0;
  pointer-events: none;
  overflow: hidden;
}
.nle-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  will-change: transform;
}
.nle-ph-cap {
  position: absolute;
  top: 0;
  left: -5px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 9px solid #D02120;
}
.nle-ph-line {
  position: absolute;
  top: 8px;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #D02120;
  box-shadow: 0 0 10px rgba(208, 33, 32, 0.9);
}
@media (max-width: 1080px) {
  .nle-main { grid-template-columns: minmax(0, 1fr) 210px; }
  .nle-panel-left { display: none; }
}
@media (max-width: 820px) {
  .nle-main { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .nle-panel-right .disc-tags { flex-direction: row; overflow-x: auto; }
  .nle-panel-right .disc-tags li { flex: 0 0 auto; padding: 6px 8px; }
  .nle-tb-spec, .nle-tr-tip, .nle-markers { display: none; }
  .nle-row { height: 20px; }
  .nle-clip { font-size: 9px; padding: 0 4px; }
}

/* Original naked difference-blend pitch (flips cleanly B/W across silhouette shoulder!) */
html.in-hero .hero-pitch,
.hero-pitch {
  mix-blend-mode: difference;
  color: #FFFFFF;
  background: transparent;
  backdrop-filter: none;
  padding: 0;
  border-left: none;
  box-shadow: none;
}
html.in-hero .hero-pitch p,
.hero-pitch p {
  color: #FFFFFF !important;
}
html.in-hero .hero-pitch .hero-pitch-sub,
.hero-pitch-sub {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* ==========================================================================
   CH.04 SELECTED WORK — REVERTED TO STICKY STACKING CARDS (ONE BY ONE)
   Pure Red & White Editorial Canvas
   ========================================================================== */
#work,
#skills,
#about {
  color: var(--ink);
  border-top: 1.5px solid rgba(208, 33, 32, 0.22);
}

#work {
  background-color: #FAF8F6;
  background-image:
    radial-gradient(56% 36% at 10% 10%, rgba(208, 33, 32, 0.1) 0%, rgba(250, 248, 246, 0) 70%),
    radial-gradient(52% 36% at 90% 82%, rgba(208, 33, 32, 0.09) 0%, rgba(250, 248, 246, 0) 70%),
    linear-gradient(to right, rgba(208, 33, 32, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(208, 33, 32, 0.055) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px;
}
#work .section-inner {
  max-width: 1280px;
}

/* RESTORED: Sticky stacking deck so each project slides up cleanly one by one */
.wk-stack {
  margin-top: 48px;
  gap: 36px;
}
.wk-item {
  position: sticky;
  top: calc(var(--frame) + 56px);
  min-height: min(74vh, 640px);
  overflow: hidden;
  background: #FFFFFF;
  border: 1.5px solid rgba(208, 33, 32, 0.24);
  border-left: 5px solid var(--crimson);
  box-shadow:
    0 -14px 44px rgba(22, 9, 11, 0.14),
    0 22px 54px rgba(102, 18, 20, 0.1);
}
.wk-shade {
  display: block;
  background: rgba(20, 6, 8, 0.66);
}
.wk-idx {
  display: inline-block;
  padding: 3px 10px;
  background: var(--crimson);
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 14px;
}
.wk-title {
  color: var(--ink);
}
.meta-table {
  border-top-color: rgba(208, 33, 32, 0.18);
  border-bottom-color: rgba(208, 33, 32, 0.18);
}
.meta-k {
  color: var(--crimson);
  font-weight: 700;
}
.meta-v,
.wk-desc {
  color: var(--ink-soft);
}
.wk-frame {
  background: #FFFFFF;
  border: 1.5px solid rgba(208, 33, 32, 0.26);
  box-shadow: 8px 8px 0 rgba(208, 33, 32, 0.16);
}
.wk-frame:hover {
  border-color: var(--crimson);
}
.wk-frame-head {
  color: var(--ink-soft);
  border-bottom-color: rgba(208, 33, 32, 0.14);
}
.wk-media {
  border: 1px solid rgba(208, 33, 32, 0.18);
  background: #16090B;
  overflow: hidden;
}
.wk-media--photo {
  aspect-ratio: 16 / 10;
  position: relative;
}
.wk-media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease);
}
.wk-frame:hover .wk-media--photo img {
  transform: scale(1.045);
}
.wk-dims-pill {
  background: var(--crimson);
  color: #FFFFFF;
}

#work .eyebrow-box,
#skills .eyebrow-box,
#about .eyebrow-box {
  color: var(--ink-soft);
}
#work .eyebrow-num,
#skills .eyebrow-num,
#about .eyebrow-num {
  border-color: var(--crimson);
  background: var(--crimson);
  color: #FFFFFF;
  font-weight: 700;
}
#work .section-display-title,
#skills .section-display-title,
#about .section-display-title {
  color: var(--ink);
  text-shadow: none;
}
#work .section-lead {
  color: var(--ink-soft);
}

/* ==========================================================================
   CH.05 MANIFESTO — PURE RED & WHITE ARCHITECTURAL STORYBOARD
   Clean Paper White + Refined Crimson Corner Accents (Zero glare, Zero orange)
   ========================================================================== */
.manifesto-section {
  background: #FAF8F6;
  border-top: 2px solid var(--crimson);
}
.mf-pin {
  background:
    radial-gradient(58% 54% at 12% 16%, rgba(208, 33, 32, 0.18) 0%, rgba(250, 248, 246, 0) 70%),
    radial-gradient(58% 54% at 88% 84%, rgba(208, 33, 32, 0.16) 0%, rgba(250, 248, 246, 0) 70%),
    linear-gradient(to right, rgba(208, 33, 32, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(208, 33, 32, 0.05) 1px, transparent 1px),
    #FAF8F6;
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px, 100% 100%;
  color: var(--ink);
}
.mf-roll-track {
  -webkit-text-stroke: 1.2px rgba(208, 33, 32, 0.22);
}
.mf-week-pill {
  background: #FFFFFF;
  border-color: rgba(208, 33, 32, 0.34);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(110, 18, 20, 0.1);
}
.mf-week-pill strong {
  color: var(--crimson) !important;
}
.mf-week-pill span {
  color: var(--ink-soft) !important;
}
.mf-eyebrow {
  color: var(--crimson);
  font-weight: 700;
}
.mf-h {
  color: var(--ink);
  text-shadow: none;
}
.mf-taste-box {
  border-color: transparent;
}
.mf-taste-box.is-sel {
  border-color: var(--crimson);
  background: rgba(208, 33, 32, 0.08);
}
.mf-taste-box .hd {
  background: #FFFFFF;
  border-color: var(--crimson);
}
.mf-lock-badge {
  background: var(--crimson);
  color: #FFFFFF;
}
.mf-taste-box.is-locked .mf-lock-badge {
  background: var(--ink);
  color: #FFFFFF;
}
.mf-typed-wrap {
  color: var(--crimson);
}
#mf-see-word {
  color: var(--crimson) !important;
}
.mf-marquee-sel {
  border-color: var(--crimson);
  background: rgba(208, 33, 32, 0.12);
}
.mf-light-layer {
  background: #FFFFFF;
  color: var(--ink);
}
.mf-light-layer.bp-grid-light {
  background-image:
    radial-gradient(54% 48% at 85% 18%, rgba(208, 33, 32, 0.1) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(to right, rgba(208, 33, 32, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(208, 33, 32, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}
.mf-light-layer .mf-h {
  color: var(--ink);
}
.mf-viral-wrap {
  color: var(--crimson);
}
.mf-cur-tag {
  background: var(--crimson);
  color: #FFFFFF;
}

/* ==========================================================================
   CH.06 CORE SKILLS — PURE WHITE CANVAS + SOLID EVA CRIMSON HOVER SWEEP
   ========================================================================== */
#skills {
  background-color: #FFFFFF;
  background-image:
    linear-gradient(to right, rgba(208, 33, 32, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(208, 33, 32, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}
.service-list {
  border-top: 2px solid var(--ink);
  background: #FFFFFF;
}
.service-row {
  border-bottom-color: rgba(208, 33, 32, 0.2);
  color: var(--ink);
  transition: background 0.22s var(--ease), color 0.22s var(--ease), padding-left 0.22s var(--ease);
}
.service-row:hover {
  background: var(--crimson);
  color: #FFFFFF;
  padding-left: 30px;
}
.svc-num {
  color: var(--crimson);
  font-weight: 700;
}
.svc-roll-title {
  color: var(--ink);
}
.svc-desc {
  color: var(--ink-soft);
}
.svc-tags {
  color: var(--crimson-deep);
}
.svc-arrow {
  color: var(--crimson);
}
.service-row:hover .svc-num,
.service-row:hover .svc-roll-title,
.service-row:hover .svc-arrow {
  color: #FFFFFF;
}
.service-row:hover .svc-desc {
  color: rgba(255, 255, 255, 0.94);
}
.service-row:hover .svc-tags {
  color: rgba(255, 255, 255, 0.86);
}
.svc-float-front {
  background: #FFFFFF;
  border: 2px solid var(--crimson);
  box-shadow: 0 22px 48px rgba(22, 9, 11, 0.24);
}
.svc-float-scrim {
  background: linear-gradient(180deg, rgba(143, 22, 26, 0.72) 0%, transparent 45%, rgba(22, 9, 11, 0.9) 100%);
  color: #FFFFFF;
}
.stack-badge {
  background: var(--crimson);
  color: #FFFFFF;
}
.stack-header span:last-child {
  color: var(--ink-soft) !important;
}
.ticker-wrap {
  background: #16090B;
  border-top: 2px solid var(--crimson);
  border-bottom: 2px solid var(--crimson);
}
.ticker-item {
  color: #FFFFFF;
}

/* ==========================================================================
   CH.07 ABOUT — PURE WHITE CANVAS + SOLID EVA CRIMSON PORTRAIT CARD
   ========================================================================== */
#about {
  background-color: #FAF8F6;
  background-image:
    radial-gradient(56% 48% at 88% 76%, rgba(208, 33, 32, 0.1) 0%, rgba(250, 248, 246, 0) 70%),
    linear-gradient(to right, rgba(208, 33, 32, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(208, 33, 32, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}
.about-headline {
  color: var(--ink);
}
.slot-row .mono {
  color: var(--crimson) !important;
  font-weight: 700;
}
.slot-line {
  color: rgba(23, 12, 13, 0.24);
}
.slot-line.is-active {
  color: var(--crimson);
}
.slot-line.is-active::before,
.slot-line.is-active::after {
  border-color: var(--crimson);
}
.about-body {
  color: var(--ink);
}
.about-body .hl-w {
  color: var(--ink);
}
.about-facts {
  border-top: 2px solid rgba(208, 33, 32, 0.24);
}
.fact-head {
  color: var(--crimson);
  font-weight: 700;
}
.fact-date {
  color: var(--crimson);
}
.fact-org {
  color: var(--ink);
}
.fact-list {
  color: var(--ink-soft);
}
.portrait-card {
  background: linear-gradient(155deg, #D02120 0%, #8F161A 100%);
  padding: 18px;
  border: 1.5px solid var(--crimson-deep);
  box-shadow: 0 24px 54px rgba(134, 22, 24, 0.24), 10px 10px 0 rgba(208, 33, 32, 0.16);
}
.portrait-pill {
  background: #FFFFFF;
  color: var(--crimson-deep);
  border: none;
}
.portrait-top .mono {
  color: #FFFFFF !important;
}
.figma-portrait-frame {
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: #16090B;
}
.figma-anchor {
  background: #FFFFFF;
  border-color: var(--crimson);
}

/* ==========================================================================
   CH.08 LENTICULAR CARDS — DEEP OBSIDIAN-CRIMSON VAULT (ZERO ORANGE)
   ========================================================================== */
#cards {
  color: #FFFFFF;
  border-top: 2px solid var(--crimson);
  background:
    radial-gradient(56% 48% at 14% 18%, rgba(208, 33, 32, 0.32) 0%, rgba(22, 9, 11, 0) 70%),
    radial-gradient(56% 48% at 88% 82%, rgba(208, 33, 32, 0.22) 0%, rgba(22, 9, 11, 0) 72%),
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #16090B !important;
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px, 100% 100% !important;
}
#cards .eyebrow-box {
  color: rgba(255, 255, 255, 0.8);
}
#cards .eyebrow-num {
  border-color: var(--crimson);
  background: var(--crimson);
  color: #FFFFFF;
  font-weight: 700;
}
#cards .section-display-title {
  color: #FFFFFF;
}
.cards-hint-pill {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(208, 33, 32, 0.28);
  color: #FFFFFF;
}
.outcome-card {
  background: linear-gradient(155deg, #FFFFFF 0%, #FAF8F6 60%, #EFE9E9 100%);
  box-shadow:
    0 32px 72px rgba(0, 0, 0, 0.72),
    0 2px 0 rgba(255, 255, 255, 0.96) inset,
    0 -3px 6px rgba(208, 33, 32, 0.14) inset,
    0 0 0 1.5px rgba(255, 255, 255, 0.58);
}
.outcome-notch-cut {
  background: #F4EFEF;
}
.outcome-bezel-footer {
  color: var(--crimson-deep);
}
.angle-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
  color: rgba(255, 255, 255, 0.82);
}
.angle-btn:hover {
  border-color: var(--crimson);
  color: #FFFFFF;
}
.angle-btn.active {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #FFFFFF;
}

/* ==========================================================================
   CH.09 EVA SIGNAL-GLITCH MARQUEE + PURE RED & WHITE CONTACT FINALE
   ========================================================================== */
.dual-marquee-band {
  padding: 0;
  background: #16090B;
  border-top: 2px solid var(--crimson);
  border-bottom: 2px solid var(--crimson);
  color: #FFFFFF;
}
.dual-marquee-band .mq-row {
  padding: 32px 0;
  background: #16090B;
  color: #FFFFFF;
  position: relative;
}
/* Pure Red & White EVA MAGI / NERV Signal-Interference Glitch on Scrolling Titles */
.eva-glitch-word {
  position: relative;
  display: inline-block;
  color: #FFFFFF;
  text-shadow: 0 0 14px rgba(208, 33, 32, 0.28);
  animation: eva-word-jitter 3.4s steps(1, end) infinite;
}
.eva-glitch-word::before,
.eva-glitch-word::after {
  content: attr(data-glitch);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}
.eva-glitch-word::before {
  color: #FF2626;
  text-shadow: -3px 0 #D02120;
  animation: eva-slice-top 3.4s steps(1, end) infinite;
}
.eva-glitch-word::after {
  color: #FFFFFF;
  text-shadow: 3px 0 #D02120;
  animation: eva-slice-bot 3.4s steps(1, end) infinite;
}
.mq-track .eva-glitch-word:nth-of-type(3) { animation-delay: 0.7s; }
.mq-track .eva-glitch-word:nth-of-type(3)::before,
.mq-track .eva-glitch-word:nth-of-type(3)::after { animation-delay: 0.7s; }
.mq-track .eva-glitch-word:nth-of-type(5) { animation-delay: 1.5s; }
.mq-track .eva-glitch-word:nth-of-type(5)::before,
.mq-track .eva-glitch-word:nth-of-type(5)::after { animation-delay: 1.5s; }
.mq-track .eva-glitch-word:nth-of-type(7) { animation-delay: 2.2s; }
.mq-track .eva-glitch-word:nth-of-type(7)::before,
.mq-track .eva-glitch-word:nth-of-type(7)::after { animation-delay: 2.2s; }

.dual-marquee-band.is-glitch-boost .eva-glitch-word::before,
.dual-marquee-band:hover .eva-glitch-word::before {
  animation-duration: 1.35s;
}
.dual-marquee-band.is-glitch-boost .eva-glitch-word::after,
.dual-marquee-band:hover .eva-glitch-word::after {
  animation-duration: 1.35s;
}

@keyframes eva-word-jitter {
  0%, 78%, 100% { transform: translate3d(0, 0, 0) skewX(0deg); }
  79% { transform: translate3d(-3px, 0, 0) skewX(-6deg); }
  81% { transform: translate3d(4px, 0, 0) skewX(5deg); }
  83% { transform: translate3d(-1px, 0, 0) skewX(0deg); }
  91% { transform: translate3d(3px, 0, 0) skewX(-4deg); }
  93% { transform: translate3d(0, 0, 0) skewX(0deg); }
}
@keyframes eva-slice-top {
  0%, 77%, 85%, 90%, 95%, 100% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate3d(0, 0, 0); }
  78% { opacity: 0.92; clip-path: inset(8% 0 58% 0); transform: translate3d(-7px, -1px, 0); }
  80% { opacity: 0.95; clip-path: inset(34% 0 32% 0); transform: translate3d(9px, 0, 0); }
  82% { opacity: 0.85; clip-path: inset(12% 0 68% 0); transform: translate3d(-5px, 1px, 0); }
  91% { opacity: 0.9;  clip-path: inset(22% 0 48% 0); transform: translate3d(8px, 0, 0); }
  93% { opacity: 0.8;  clip-path: inset(60% 0 18% 0); transform: translate3d(-6px, 0, 0); }
}
@keyframes eva-slice-bot {
  0%, 78%, 85%, 90%, 95%, 100% { opacity: 0; clip-path: inset(100% 0 0 0); transform: translate3d(0, 0, 0); }
  79% { opacity: 0.9;  clip-path: inset(56% 0 12% 0); transform: translate3d(8px, 1px, 0); }
  81% { opacity: 0.92; clip-path: inset(66% 0 6% 0);  transform: translate3d(-9px, 0, 0); }
  83% { opacity: 0.82; clip-path: inset(44% 0 28% 0); transform: translate3d(6px, -1px, 0); }
  92% { opacity: 0.88; clip-path: inset(52% 0 16% 0); transform: translate3d(-7px, 0, 0); }
}

.dual-marquee-band .curved-svg-wrap {
  margin-top: 0;
  padding: 6px 0 8px;
  background: #FFFFFF;
  border-top: 2px solid var(--crimson);
}

#contact {
  background:
    radial-gradient(56% 48% at 14% 16%, rgba(208, 33, 32, 0.14) 0%, rgba(250, 248, 246, 0) 70%),
    radial-gradient(56% 48% at 88% 84%, rgba(208, 33, 32, 0.14) 0%, rgba(250, 248, 246, 0) 70%),
    linear-gradient(to right, rgba(208, 33, 32, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(208, 33, 32, 0.045) 1px, transparent 1px),
    #FAF8F6;
  background-size: 100% 100%, 100% 100%, 64px 64px, 64px 64px, 100% 100%;
  color: var(--ink);
  border-top: 2px solid var(--crimson);
}
#contact .eyebrow-box {
  color: var(--crimson-deep);
}
#contact .eyebrow-num {
  border-color: var(--crimson);
  background: var(--crimson);
  color: #FFFFFF;
  font-weight: 700;
}
#contact .section-display-title {
  color: var(--ink);
  text-shadow: none;
}
#contact .about-body,
#contact .about-body .hl-w {
  color: var(--ink);
}
.contact-phone-btn {
  border: 1.5px solid rgba(208, 33, 32, 0.42);
  background: #FFFFFF;
  padding: 16px 24px;
  color: var(--ink);
  box-shadow: 6px 6px 0 rgba(208, 33, 32, 0.14);
}
.contact-phone-btn:hover {
  border-color: var(--crimson);
  background: #FFFFFF;
  box-shadow: 8px 8px 0 rgba(208, 33, 32, 0.24);
}
.contact-phone-num {
  color: var(--ink);
}
.contact-phone-sub {
  color: var(--crimson);
}
.copy-stamp {
  background: var(--crimson);
  color: #FFFFFF;
}
.contact-row-link {
  border-color: rgba(208, 33, 32, 0.24);
  background: #FFFFFF;
  color: var(--ink);
}
.contact-row-link:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #FFFFFF;
}
.contact-row-link:hover .contact-tag {
  background: #FFFFFF;
  color: var(--crimson-deep);
}
.contact-tag {
  padding: 2px 7px;
  background: var(--crimson);
  color: #FFFFFF;
}
.sig-guide {
  background: rgba(208, 33, 32, 0.28);
}
.sig-measure {
  background: var(--crimson);
  color: #FFFFFF;
}
.sig-captions .line2 {
  color: var(--crimson);
}
.sig-captions .line1,
.footer-bar {
  color: var(--ink);
  border-top-color: rgba(208, 33, 32, 0.24);
}
.footer-bar a {
  color: var(--crimson);
  font-weight: 700;
}

/* Modals */
html.modal-open,
html.modal-open * {
  cursor: auto !important;
}
html.modal-open button,
html.modal-open a,
html.modal-open .modal-deck-wrap.has-multi,
html.modal-open .modal-deck-frame.has-multi {
  cursor: pointer !important;
}
html.modal-open .cursor,
html.modal-open .cursor-sel,
html.modal-open .cursor-label {
  display: none !important;
}
.modal-backdrop {
  background: rgba(22, 9, 11, 0.68);
  backdrop-filter: blur(8px);
  overscroll-behavior: contain;
}
.modal-panel {
  background: #FFFFFF;
  color: var(--ink);
  border: 1.5px solid rgba(208, 33, 32, 0.28);
  border-top: 5px solid var(--crimson);
  box-shadow: 0 32px 80px rgba(22, 9, 11, 0.32);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.modal-slot-box--deck {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  text-align: left;
}
.modal-deck-wrap {
  position: relative;
  padding: 0;
}
.modal-deck-wrap.has-multi {
  padding: 0 18px 16px 0;
}
.modal-deck-back {
  position: absolute;
  inset: 0 18px 16px 0;
  background: #FFFFFF;
  border: 2px solid rgba(208, 33, 32, 0.24);
  box-shadow: 0 8px 20px rgba(22, 9, 11, 0.10);
  pointer-events: auto;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.modal-deck-back-1 {
  transform: translate(9px, 8px) scale(0.985);
  z-index: 1;
}
.modal-deck-back-2 {
  transform: translate(17px, 15px) scale(0.97);
  z-index: 0;
  opacity: 0.78;
}
.modal-deck-wrap.has-multi:hover .modal-deck-back {
  border-color: rgba(208, 33, 32, 0.52);
}
.modal-deck-frame {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border: 2px solid rgba(208, 33, 32, 0.36);
  padding: 12px 14px 14px;
  box-shadow: 0 12px 30px rgba(22, 9, 11, 0.14), 5px 5px 0 rgba(208, 33, 32, 0.14);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.modal-deck-frame.has-multi:hover {
  border-color: var(--crimson);
  box-shadow: 0 14px 34px rgba(22, 9, 11, 0.18), 7px 7px 0 rgba(208, 33, 32, 0.22);
}
.modal-deck-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--ink-soft);
}
.modal-deck-media {
  position: relative;
  background: #0D0608;
  border: 1px solid rgba(208, 33, 32, 0.22);
  overflow: hidden;
  cursor: auto !important;
}
.modal-deck-media video,
.modal-deck-media img {
  width: 100%;
  max-height: 52vh;
  object-fit: contain;
  display: block;
  background: #000000;
  margin: 0 !important;
  border: 0 !important;
}
.modal-deck-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.modal-deck-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 auto;
}
.modal-deck-nav,
.modal-deck-pill {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 11px;
  border: 1px solid rgba(208, 33, 32, 0.34);
  background: #FAF8F6;
  color: var(--ink);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.modal-deck-nav:hover,
.modal-deck-pill:hover {
  border-color: var(--crimson);
  color: var(--crimson);
}
.modal-deck-pill.is-active {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #FFFFFF;
}
.modal-panel h3 {
  color: var(--ink);
}
#modal-fig {
  color: var(--crimson) !important;
}
#modal-meta {
  color: var(--ink-soft) !important;
}
.modal-close-btn {
  background: var(--paper);
  color: var(--crimson-deep);
  border: 1px solid rgba(208, 33, 32, 0.34);
}
.modal-close-btn:hover {
  background: var(--crimson);
  color: #FFFFFF;
}
.modal-slot-box {
  border: 1.5px dashed rgba(208, 33, 32, 0.42);
  background: #FAF2F2;
  color: var(--ink-soft);
}
.modal-slot-box--photo {
  padding: 12px;
  border-style: solid;
  border-color: rgba(208, 33, 32, 0.28);
  background: #FAF8F6;
}
.modal-slot-box--photo img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(208, 33, 32, 0.18);
  margin-top: 8px;
}
.modal-bullets {
  color: var(--modal-muted);
}
.modal-bullets strong {
  color: var(--ink);
}


/* ==========================================================================
   ANTI-WHITE-FLASH VIDEO BACKDROP & MOBILE RESPONSIVE ARCHITECTURE
   - Desktop (>820px): 100% preserved, only adds frame-lock backdrop behind Showreel video
   - Mobile (<=820px): Full 8-section desktop fidelity with dedicated non-overlapping zones
   ========================================================================== */

/* Frame-Lock Backing Canvas (sits directly underneath #nle-monitor-video to prevent white flash on seek) */
#nle-video-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #090A10;
  pointer-events: none;
  z-index: 0;
}
#nle-monitor-video {
  z-index: 1;
  background: transparent;
}

/* Desktop defaults: keep mobile-only controls completely hidden */
.nav-mobile-actions,
.mobile-drawer,
.cards-hint-mobile,
.cards-dots {
  display: none;
}

/* ==========================================================================
   SECTION 04 PINNED HOLD-THEN-ADVANCE WORK DECK (Desktop Base)
   - Hold Card 1 -> Scroll to Card 2 -> Hold -> ... -> Card 4
   ========================================================================== */
.wk-pin-wrap {
  margin-top: 32px;
  position: relative;
}
.wk-step-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.wk-step-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.wk-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  min-height: 32px;
  background: #FFFFFF;
  border: 1px solid rgba(208, 33, 32, 0.28);
  color: var(--ink-soft);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}
.wk-step-pill em {
  font-style: normal;
  font-family: var(--f-display);
  font-weight: 700;
}
.wk-step-pill.is-active {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #FFFFFF;
}
.wk-step-hint {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}
.wk-step-hint-mob {
  display: none;
}
.wk-stack {
  position: relative;
  margin-top: 0;
  height: min(74vh, 620px);
  min-height: 500px;
  overflow: hidden;
}
.wk-mob-only {
  display: none;
}
.wk-desk-only {
  display: block;
}
.wk-item {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  height: 100%;
  min-height: 0 !important;
  will-change: transform;
  pointer-events: none;
}
.wk-item.is-active-card {
  pointer-events: auto;
}
.wk-item[data-case="0"] { z-index: 1; }
.wk-item[data-case="1"] { z-index: 2; }
.wk-item[data-case="2"] { z-index: 3; }
.wk-item[data-case="3"] { z-index: 4; }
.wk-card-in {
  height: 100%;
  align-items: center;
}
.wk-copy-col {
  min-width: 0;
}
.wk-shade {
  pointer-events: none;
  opacity: 0;
}

/* Touch / coarse pointer: disable desktop custom crosshair cursors cleanly */
@media (hover: none), (pointer: coarse) {
  .cursor,
  .cursor-sel,
  .cursor-label,
  .svc-float-preview {
    display: none !important;
  }
}

/* ==========================================================================
   MOBILE & TABLET PORTRAIT LAYOUT (<= 820px)
   Every module, control & button owns its dedicated breathing room — zero squishing
   ========================================================================== */
@media (max-width: 820px) {
  :root {
    --frame: 8px;
  }
  body {
    overflow-x: clip;
  }

  /* 1. Blueprint Chrome & Fixed Navigation */
  .blueprint-chrome {
    inset: var(--frame);
  }
  .ruler-top,
  .ruler-left {
    display: none;
  }
  .top-nav {
    top: calc(var(--frame) + env(safe-area-inset-top, 0px) + 6px);
    left: calc(var(--frame) + 10px);
    right: calc(var(--frame) + 10px);
    padding: 4px 6px;
    border-radius: 2px;
  }
  .brand-mark {
    font-size: 18px;
    padding: 4px 9px;
    background: rgba(14, 7, 9, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html.hud-light .brand-mark {
    background: rgba(250, 248, 246, 0.96);
    border-color: rgba(208, 33, 32, 0.34);
    color: var(--ink);
  }
  .nav-links {
    display: none;
  }
  .nav-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
  }
  .nav-m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 11px;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(14, 7, 9, 0.92);
    color: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-m-btn.is-accent {
    background: #D02120;
    border-color: #D02120;
    color: #FFFFFF;
  }
  html.hud-light .nav-m-btn:not(.is-accent) {
    background: rgba(250, 248, 246, 0.96);
    border-color: rgba(208, 33, 32, 0.34);
    color: var(--ink);
  }

  /* Dedicated Mobile Navigation Drawer */
  .mobile-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 260;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.24s ease;
  }
  .mobile-drawer.open {
    pointer-events: auto;
    opacity: 1;
  }
  .mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 7, 9, 0.78);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 330px);
    background: #14080A;
    color: #FAF8F6;
    border-left: 2px solid #D02120;
    padding: calc(env(safe-area-inset-top, 0px) + 18px) 18px calc(env(safe-area-inset-bottom, 0px) + 20px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.28s var(--ease);
    overflow-y: auto;
  }
  .mobile-drawer.open .mobile-drawer-panel {
    transform: translate3d(0, 0, 0);
  }
  .mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 11px;
    color: rgba(250, 248, 246, 0.65);
    letter-spacing: 0.08em;
  }
  .mobile-drawer-close {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(208, 33, 32, 0.72);
    background: rgba(208, 33, 32, 0.18);
    color: #FFFFFF;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 700;
  }
  .mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .m-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 14px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid #D02120;
    color: #FFFFFF;
  }
  .m-nav-link span {
    font-family: var(--f-mono);
    font-size: 11px;
    color: #FF5959;
    min-width: 38px;
  }
  .m-nav-link strong {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
  }
  .mobile-drawer-tools {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .m-tool-btn {
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    color: #FAF8F6;
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 600;
  }

  /* Compact Single-Row Bottom HUD */
  .bottom-hud {
    bottom: calc(var(--frame) + env(safe-area-inset-bottom, 0px) + 4px);
    left: calc(var(--frame) + 12px);
    right: calc(var(--frame) + 12px);
    gap: 5px;
  }
  .hud-row {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  #toggle-particles,
  .hud-hide-sm {
    display: none;
  }

  /* Intro Overlay Safe Sizing */
  .intro-hello-text {
    font-size: clamp(46px, 16vw, 82px);
  }
  .intro-hello-meta {
    font-size: 10px;
    text-align: center;
    padding: 0 16px;
  }
  .intro-skip-btn {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
    right: 20px;
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }

  /* 2. Hero Block 1 + Block 2 (03 EVA-NLE) — Zero-Pin Native 60FPS Vertical Flow */
  #spark-canvas,
  #hero-particles,
  #nle-video-backdrop {
    display: none !important;
  }
  main,
  .hero-section,
  .hero-pin {
    overflow-x: clip;
  }
  .hero-pin {
    position: relative;
    height: auto !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: #FAF8F6;
  }
  #hero-webgl {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--mob-vh, 92svh);
    z-index: 0;
  }
  .hero-overlay-ui {
    position: relative;
    inset: auto;
    order: 0;
    min-height: var(--mob-vh, 92svh);
    z-index: 4;
    padding: calc(var(--frame) + env(safe-area-inset-top, 0px) + 52px) 18px calc(var(--frame) + env(safe-area-inset-bottom, 0px) + 36px);
    gap: 12px;
  }
  .hero-top-cats {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 6px;
    font-size: 10.5px;
    letter-spacing: 0.02em;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .hero-top-cats::-webkit-scrollbar { display: none; }
  .hero-top-cats .cat-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .hero-act-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: var(--mob-vh, 92svh);
    padding: 0 18px calc(env(safe-area-inset-bottom, 0px) + 178px);
    align-items: flex-end;
    justify-content: flex-end;
    mix-blend-mode: normal !important;
    z-index: 3;
  }
  .hero-name-lockup {
    align-items: flex-end;
    text-align: right;
    max-width: 100%;
    padding: 10px 12px;
    background: rgba(250, 248, 246, 0.84);
    border-right: 4px solid #D02120;
  }
  .hero-im {
    margin-left: 0;
    font-size: 12px;
    color: #D02120 !important;
  }
  .hero-giant {
    font-size: clamp(38px, 11.4vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.01em;
    color: #16090B !important;
  }
  .hero-caption {
    margin-left: 0;
    margin-top: 6px;
    font-size: 11.5px;
    letter-spacing: 0.04em;
    text-align: right;
    color: #5A4645 !important;
  }
  .hero-act2-layer {
    display: none !important;
  }
  .hero-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-pitch {
    max-width: 100%;
    background: rgba(250, 248, 246, 0.94);
    padding: 9px 11px;
    border-left: 3px solid #D02120;
    color: #16090B;
  }
  .hero-pitch p {
    font-size: 13px;
    line-height: 1.48;
    color: #16090B !important;
  }
  .hero-pitch-sub {
    font-size: 10.5px;
    margin-top: 4px;
    color: #5A4645 !important;
  }
  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .hero-ctas .btn-primary-light,
  .hero-ctas .btn-outline-dark {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }
  .hero-ctas .btn-outline-dark {
    background: #16090B;
    border: 1.5px solid #16090B;
    color: #FFFFFF;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* 3. Act 3 — EVA-NLE Workstation (Natural Flow Block 2 right below Hero — Zero Pin!) */
  .discipline-layer {
    position: relative !important;
    inset: auto !important;
    order: 1;
    z-index: 5;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 20px var(--frame) 24px;
    justify-content: stretch;
    align-items: stretch;
    max-width: 100vw;
    background: #14080A;
    border-top: 2px solid #D02120;
    overflow: hidden;
  }
  .nle-workspace {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 10px 12px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .nle-topbar,
  .nle-main,
  .nle-monitor-wrap,
  .nle-panel-left,
  .nle-panel-right,
  .nle-timeline-dock,
  .nle-stage {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .nle-topbar {
    flex: 0 0 auto;
    padding-bottom: 8px;
    gap: 8px;
  }
  .nle-tb-slogan,
  .nle-tb-chap,
  .nle-tb-spec {
    display: none;
  }
  .nle-bar-badge {
    font-size: 10.5px;
    padding: 4px 8px;
  }
  .nle-tc {
    font-size: 11px;
    padding: 4px 9px;
  }
  .nle-main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    min-height: 0;
    overflow: hidden;
  }
  .nle-monitor-wrap {
    order: 0;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
  }
  .nle-monitor-wrap .nle-panel-head {
    padding: 6px 9px;
    font-size: 10.5px;
    gap: 6px;
  }
  #nle-stage-pill {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nle-mon-meta {
    display: none;
  }
  .nle-monitor-screen {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 36dvh;
    background: #090A10;
  }
  .nle-mon-badge {
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    font-size: 10px;
  }
  .nle-sound-prompt {
    right: 10px;
    bottom: 10px;
    padding: 6px 12px;
    font-size: 11.5px;
  }
  .nle-transport {
    padding: 8px 9px;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
  }
  .nle-play-btn {
    flex: 1 1 0;
    justify-content: center;
    min-height: 34px;
    padding: 0 11px;
    font-size: 11.5px;
  }
  .nle-tr-info,
  .nle-tr-tip {
    display: none;
  }

  /* Compact Live Effect Controls & Pipeline Strip (fills vertical mobile screen organically!) */
  .nle-panel-left {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
  }
  .nle-panel-left .nle-panel-head {
    padding: 5px 9px;
    font-size: 9.5px;
  }
  .nle-panel-left .nle-fx-block {
    padding: 8px 10px;
    gap: 7px;
  }
  .nle-panel-left .nle-fx-title {
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nle-panel-left .nle-fx-rows {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 12px;
  }
  .nle-panel-left .nle-fx-row {
    font-size: 10px;
    gap: 6px;
  }
  .nle-panel-left .nle-fx-tools {
    padding-top: 6px;
    padding-bottom: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .nle-panel-left .nle-fx-sub {
    display: none;
  }
  .nle-panel-left .nle-fx-chips {
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nle-panel-left .nle-fx-chips::-webkit-scrollbar { display: none; }
  .nle-panel-left .nle-fx-chips span {
    font-size: 9.5px;
    padding: 3px 7px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Single-Row Horizontal Swipeable Chapter Capsules */
  .nle-panel-right {
    order: 2;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.03);
  }
  .nle-panel-right .nle-panel-head {
    display: none;
  }
  .nle-panel-right .disc-tags {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 8px 9px;
    scrollbar-width: none;
  }
  .nle-panel-right .disc-tags::-webkit-scrollbar {
    display: none;
  }
  .nle-panel-right .disc-tags li {
    flex: 0 0 auto;
    scroll-snap-align: center;
    min-height: 36px;
    padding: 6px 12px;
    gap: 6px;
    border-radius: 2px;
    font-size: 12px;
  }
  .nle-panel-right .disc-tags li .nle-cue-txt {
    overflow: visible;
    text-overflow: clip;
  }

  /* Touch-Friendly Timeline Dock (Generous V1 + A1 Tracks) */
  .nle-timeline-dock {
    flex: 0 0 auto;
    padding: 10px 9px 11px;
  }
  .nle-stage {
    touch-action: pan-y;
  }
  .nle-ruler {
    grid-template-columns: 30px 1fr;
    gap: 6px;
    margin-bottom: 6px;
  }
  .nle-ruler-body {
    padding-bottom: 5px;
  }
  .nle-ticks {
    font-size: 9.5px;
  }
  .nle-markers {
    display: none;
  }
  .nle-tracks {
    gap: 6px;
  }
  .nle-row {
    grid-template-columns: 30px 1fr;
    gap: 6px;
    height: 34px;
  }
  .nle-row:first-child {
    display: none; /* Hide V2 overlay row on narrow mobile so V1 clips stay super clean */
  }
  .nle-row.is-audio {
    height: 26px;
  }
  .nle-track-head {
    font-size: 9.5px;
  }
  .nle-clip {
    font-size: 10px;
    padding: 0 4px;
    justify-content: center;
  }
  .nle-playhead-wrap {
    left: 36px;
  }
  .nle-ph-cap {
    left: -8px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 12px solid #D02120;
  }

  /* 4. Global Section Shells & Typography Rhythm */
  .section-shell {
    padding-left: calc(var(--frame) + 10px);
    padding-right: calc(var(--frame) + 10px);
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .section-inner {
    padding-left: 0;
    padding-right: 0;
  }
  .section-display-title {
    font-size: clamp(32px, 9.6vw, 48px);
    line-height: 1.08;
  }
  .section-lead {
    font-size: 13.5px;
    line-height: 1.68;
  }

  /* 5. Section 04 — Selected Work (Zero-Pin Native Horizontal Single-Card Swipe Carousel, 1 Swipe = Strictly 1 Card!) */
  .wk-pin-wrap {
    margin-top: 18px;
  }
  .wk-step-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 12px;
  }
  .wk-step-pills {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .wk-step-pill {
    justify-content: center;
    padding: 5px 4px;
    font-size: 11px;
    min-height: 34px;
    white-space: nowrap;
  }
  .wk-step-hint-desk {
    display: none;
  }
  .wk-step-hint-mob {
    display: block;
    text-align: center;
    font-size: 10.5px;
    color: var(--crimson-deep);
    letter-spacing: 0.08em;
  }
  .wk-stack {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    height: auto;
    min-height: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 4px calc(var(--frame) + 10px) 14px;
    margin: 0 calc((var(--frame) + 10px) * -1);
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }
  .wk-stack::-webkit-scrollbar {
    display: none;
  }
  .wk-item {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    flex: 0 0 90vw;
    width: 90vw;
    max-width: 420px;
    height: auto !important;
    min-height: 0 !important;
    transform: none !important;
    will-change: auto;
    pointer-events: auto !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    box-shadow: 0 10px 26px rgba(22, 9, 11, 0.12);
  }
  .wk-card-in,
  .wk-item.reverse .wk-card-in {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 14px 16px;
    height: auto;
    overflow: visible;
    transform: none !important;
    will-change: auto;
  }
  .wk-shade {
    display: none !important;
  }
  .wk-copy-col {
    order: 1;
    width: 100%;
    min-width: 0;
  }
  .wk-desk-only {
    display: none;
  }
  .wk-mob-only {
    display: block;
  }
  .wk-frame,
  .wk-card-in > :has(.wk-frame) {
    order: -1;
    width: 100%;
    min-width: 0;
    transform: none !important;
  }
  .wk-idx {
    font-size: 10px;
    padding: 2px 8px;
    margin-bottom: 6px;
  }
  .wk-title {
    font-size: clamp(19px, 5.6vw, 24px);
    line-height: 1.2;
    margin: 4px 0 8px;
  }
  .meta-table {
    grid-template-columns: 60px 1fr;
    gap: 4px 8px;
    padding: 7px 0;
    font-size: 11.5px;
    line-height: 1.45;
  }
  .meta-k {
    font-size: 11px;
    margin-top: 0;
  }
  .wk-detail-list {
    margin-top: 8px;
    padding-top: 8px;
    gap: 6px;
  }
  .wk-detail-list li {
    padding-left: 12px;
    font-size: 12px;
    line-height: 1.52;
  }
  .wk-detail-list li::before {
    width: 4px;
    height: 4px;
    top: 0.58em;
  }
  .wk-frame {
    box-shadow: 5px 5px 0 rgba(208, 33, 32, 0.16);
  }
  .wk-frame-head {
    font-size: 10px;
    padding: 6px 8px;
    gap: 6px;
  }
  .wk-media {
    aspect-ratio: 16 / 10;
  }
  .wk-dims-pill {
    opacity: 0.9;
    font-size: 9px;
    padding: 2px 6px;
  }

  /* 6. Section 05 — Manifesto 4-Card Crisp Vertical Stack (Zero Pin, Zero Blur, Zero Clip-Path Stutter!) */
  .mf-pin {
    height: auto !important;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    padding: 44px calc(var(--frame) + 10px) 48px;
  }
  #mf-week-pill,
  .mf-week-pill,
  .mf-bg-tools,
  .mf-marquee-sel,
  .mf-auto-cursor {
    display: none !important;
  }
  .mf-beat {
    position: relative !important;
    inset: auto !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    will-change: auto;
    background: #FFFFFF;
    color: var(--ink);
    border: 1.5px solid rgba(208, 33, 32, 0.28);
    border-left: 4px solid #D02120;
    box-shadow: 0 8px 22px rgba(22, 9, 11, 0.06);
    padding: 24px 18px;
    align-items: flex-start;
    text-align: left;
  }
  .mf-light-layer {
    position: relative !important;
    inset: auto !important;
    visibility: visible !important;
    clip-path: none !important;
    opacity: 1 !important;
    pointer-events: auto;
    will-change: auto;
    background: #FAF8F6;
    border: 2px solid #D02120;
    box-shadow: 5px 5px 0 rgba(208, 33, 32, 0.22);
    padding: 28px 18px 32px;
    align-items: flex-start;
    text-align: left;
  }
  .mf-eyebrow {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
  }
  #mf-b2 .mf-eyebrow {
    margin-bottom: 26px;
  }
  .mf-h {
    font-size: clamp(26px, 7.6vw, 36px);
    line-height: 1.28;
    letter-spacing: -0.01em;
  }
  .mf-taste-box {
    padding: 2px 12px;
    margin-bottom: 6px;
  }
  .mf-lock-badge {
    top: -24px;
    font-size: 9.5px;
    padding: 2px 7px;
  }
  .mf-typed-wrap {
    font-size: clamp(18px, 5.2vw, 24px);
    line-height: 1.38;
    margin-bottom: 10px;
    min-height: 0;
  }
  #mf-blur-line {
    filter: none !important;
    opacity: 1 !important;
  }
  #mf-fast-text {
    font-size: clamp(18px, 5.4vw, 24px) !important;
    margin-bottom: 10px !important;
  }
  .mf-underline-svg {
    bottom: -10px;
    height: 16px;
  }

  /* 7. Section 06 — Core Skills Clean Rows (Preserve Directional Arrow & Zero Hover Clipping!) */
  .service-row {
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    align-items: start;
    gap: 4px 10px;
    padding: 15px 12px;
  }
  .service-row:hover {
    padding-left: 16px;
  }
  .svc-arrow {
    display: block;
    font-size: 18px;
    line-height: 1.2;
    padding-top: 2px;
    justify-self: end;
  }
  .svc-num {
    font-size: 10.5px;
    padding-top: 4px;
  }
  .svc-roll-title {
    font-size: clamp(16px, 4.5vw, 21px);
    line-height: 1.3;
  }
  .ch-slot,
  .ch-slot > span {
    height: 1.32em;
    line-height: 1.32em;
  }
  .svc-desc {
    font-size: 12px;
    line-height: 1.56;
    margin: 5px 0 7px;
  }
  .svc-tags {
    font-size: 10px;
    line-height: 1.48;
    margin-top: 4px;
    letter-spacing: 0.04em;
  }

  /* 8. Section 07 — About & Horizontal Centered Single-Card Lenticular Deck */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-headline {
    font-size: clamp(22px, 6.4vw, 30px);
    line-height: 1.38;
  }
  .slot-row {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .about-body {
    font-size: 14px;
    line-height: 1.72;
  }
  .about-facts {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-facts > div {
    padding-top: 14px;
    border-top: 1px solid rgba(208, 33, 32, 0.16);
  }
  .portrait-col {
    align-items: center;
    width: 100%;
  }
  .portrait-card {
    width: 100%;
    max-width: 310px;
  }

  /* Lenticular Game Cards: Single Centered Large Card Horizontal Swipe Carousel */
  .cards-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cards-hint-desktop {
    display: none;
  }
  .cards-hint-mobile {
    display: inline;
  }
  .cards-hint-pill {
    font-size: 11px;
    padding: 6px 11px;
    width: 100%;
    text-align: center;
  }
  .lenticular-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 14px 5.5vw 18px;
    margin: 12px calc((var(--frame) + 10px) * -1) 0;
    scrollbar-width: none;
  }
  .lenticular-grid::-webkit-scrollbar {
    display: none;
  }
  .outcome-card-wrap {
    flex: 0 0 88vw;
    max-width: 368px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .outcome-card {
    width: 100%;
  }
  .angle-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 10px;
  }
  .angle-btn {
    min-height: 36px;
    padding: 0 6px;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cards-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
  }
  .cards-dots i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    transition: width 0.24s ease, background-color 0.24s ease;
    cursor: pointer;
  }
  .cards-dots i.is-active {
    width: 24px;
    background: #D02120;
  }

  /* 9. Section 08 — Pure CSS Lightweight Marquee, Static Curved SVG, Contact & Zero-Blur Modals */
  .dual-marquee-band {
    padding: 20px 0 14px;
  }
  .dual-marquee-band .mq-row {
    padding: 20px 0;
    animation: ticker-scroll 22s linear infinite;
  }
  .eva-glitch-word {
    font-size: clamp(24px, 7.5vw, 38px);
    animation: none !important;
    text-shadow: none;
  }
  .eva-glitch-word::before,
  .eva-glitch-word::after {
    display: none !important;
  }
  .curved-svg-wrap svg {
    height: 76px;
  }
  .modal-backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(22, 9, 11, 0.82);
  }
  #contact {
    padding-bottom: calc(var(--frame) + env(safe-area-inset-bottom, 0px) + 74px) !important;
  }
  .contact-phone-btn {
    width: 100%;
    padding: 20px 14px;
  }
  .contact-phone-num {
    font-size: clamp(24px, 7.8vw, 36px);
    letter-spacing: 0.04em;
  }
  .contact-phone-sub {
    font-size: 11.5px;
  }
  .contact-grid-links {
    grid-template-columns: 1fr;
  }
  .contact-row-link {
    min-height: 52px;
    padding: 14px 14px;
    font-size: 13px;
    border-right: none !important;
  }
  .dotmatrix-stage {
    margin-top: 28px;
  }
  .sig-captions .line1 {
    font-size: 12px;
  }
  .sig-captions .line2 {
    font-size: 10.5px;
  }

  /* Modals: Dedicated Mobile Drawer / Sheet Sizing */
  .modal-backdrop {
    padding: 10px;
    align-items: center;
  }
  .modal-panel {
    width: 100%;
    max-width: 100%;
    max-height: 88dvh;
    padding: 16px 14px calc(env(safe-area-inset-bottom, 0px) + 18px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .modal-top > div {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px !important;
  }
  #close-resume-modal {
    grid-column: 1 / -1;
  }
  .modal-close-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 11.5px;
  }
  .modal-panel h3 {
    font-size: 22px !important;
    margin-top: 14px !important;
  }
}

/* Extra-tight small phones (<= 400px, e.g. iPhone SE / 375px width) */
@media (max-width: 400px) {
  .hero-giant {
    font-size: 36px;
  }
  .hero-act2-line {
    font-size: 32px;
  }
  .nle-clip {
    font-size: 8.5px;
  }
  .nle-play-btn {
    padding: 0 7px;
    font-size: 10px;
  }
  .outcome-card-wrap {
    flex: 0 0 88vw;
  }
}


/* Inline Project Detail Bullets (replaces modal popup so video deck switching is never interrupted) */
.wk-detail-list {
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px dashed rgba(208, 33, 32, 0.24);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wk-detail-list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.wk-detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: var(--crimson);
}
@media (max-width: 820px) {
  .wk-detail-list {
    margin-top: 8px;
    padding-top: 8px;
    gap: 6px;
  }
  .wk-detail-list li {
    padding-left: 12px;
    font-size: 12px;
    line-height: 1.52;
  }
  .wk-detail-list li::before {
    width: 4px;
    height: 4px;
    top: 0.58em;
  }
}
