@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700;800&family=JetBrains+Mono:wght@100;400;700&family=Inter:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;700&family=BIZ+UDMincho:wght@700&family=Noto+Serif+SC:wght@700&display=swap');

:root {
  --lab-bg: #fcfcfd;
  --lab-grid: rgba(0, 0, 0, 0.02);
  --lab-accent: #004ecc;
  --lab-text: #0a0a0b;
  --lab-meta: #636366;
  --lab-border: #e1e1e6;
  --lab-border-dashed: rgba(0, 0, 0, 0.1);
  --card-hover: #ffffff;
  --scan-line: rgba(0, 78, 204, 0.02);
  --watermark: rgba(0, 0, 0, 0.015);
  --table-header-bg: #f5f7fa;
  --chip-bg: #eff1f5;
  --cyethos-color: #d93025;
}

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

body,
html {
  width: 100%;
  background-color: var(--lab-bg);
  background-image:
    linear-gradient(var(--lab-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--lab-grid) 1px, transparent 1px);
  background-size: 50px 50px;
  color: var(--lab-text);
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  /* Hide default cursor */
}

/* Custom Fluid Cursor — Black Hole Swallowing Effect */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
  /* Dark black hole center */
  background: radial-gradient(circle, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 30%, transparent 55%);
  /* Gravitational glow */
  box-shadow:
    0 0 15px rgba(80, 100, 200, 0.2),
    0 0 30px rgba(60, 80, 160, 0.1);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s;
}

/* Spinning accretion disk — on pseudo-element to avoid transform conflict with JS */
#custom-cursor::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
      transparent 0%,
      rgba(80, 100, 200, 0.5) 15%,
      transparent 30%,
      rgba(130, 150, 240, 0.4) 50%,
      transparent 65%,
      rgba(80, 100, 200, 0.5) 80%,
      transparent 100%);
  mask-image: radial-gradient(circle, transparent 25%, black 48%);
  -webkit-mask-image: radial-gradient(circle, transparent 25%, black 48%);
  animation: blackholeSpin 3s linear infinite;
}

@keyframes blackholeSpin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, rgba(160, 190, 255, 1) 0%, rgba(100, 140, 240, 0.7) 50%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
  transition: transform 0.05s linear, width 0.3s, height 0.3s, opacity 0.3s;
  box-shadow: 0 0 8px rgba(120, 150, 255, 0.7), 0 0 18px rgba(100, 130, 240, 0.35);
  animation: particlePulse 1.8s ease-in-out infinite;
}

@keyframes particlePulse {
  0% {
    box-shadow: 0 0 6px rgba(120, 150, 255, 0.6), 0 0 14px rgba(100, 130, 240, 0.25);
  }

  50% {
    box-shadow: 0 0 3px rgba(120, 150, 255, 0.3), 0 0 8px rgba(100, 130, 240, 0.12);
  }

  100% {
    box-shadow: 0 0 6px rgba(120, 150, 255, 0.6), 0 0 14px rgba(100, 130, 240, 0.25);
  }
}

/* Hover: black hole expands, swallowing intensifies */
#custom-cursor.hover {
  width: 56px;
  height: 56px;
  box-shadow:
    0 0 25px rgba(80, 100, 200, 0.3),
    0 0 50px rgba(60, 80, 160, 0.15);
}

#custom-cursor-dot.hover {
  width: 3px;
  height: 3px;
  opacity: 0.5;
}

/* Scanline */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--scan-line);
  z-index: 2000;
  pointer-events: none;
  animation: scan 12s linear infinite;
}

@keyframes scan {
  0% {
    transform: translateY(-100vh);
  }

  100% {
    transform: translateY(100vh);
  }
}

/* Global Header Reproduction */
.global-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 75px;
  background: rgba(252, 252, 253, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--lab-border);
  z-index: 1500;
  display: flex;
  justify-content: center;
}

.header-content {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--lab-text);
  text-decoration: none;
}

.logo-img-symbol {
  width: 28px;
  height: 28px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nav-left-group {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
}

.nav-links {
  display: flex;
  gap: 35px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transform: translateX(-15px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  white-space: nowrap;
}

.nav-left-group:hover .nav-links {
  opacity: 1;
  max-width: 400px;
  transform: translateX(0);
  pointer-events: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--lab-meta);
  transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
}

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

.lang-switcher {
  display: flex;
  gap: 8px;
  z-index: 100;
}

.lang-btn {
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: #86868B;
  padding: 6px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  user-select: none;
}

.lang-btn:hover {
  background: rgba(0, 122, 255, 0.05);
  color: #007AFF;
  border-color: rgba(0, 122, 255, 0.2);
}

.lang-btn.active {
  background: #007AFF;
  color: #FFFFFF;
  border-color: #007AFF;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

/* Watermark Background */
.watermark-bg {
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55vh;
  height: 55vh;
  z-index: -1;
  opacity: 0.7;
  pointer-events: none;
}

.watermark-svg {
  width: 100%;
  height: 100%;
  stroke: var(--watermark);
  stroke-width: 0.25;
  fill: none;
}

/* Hero Section */
header.hero {
  width: 100%;
  max-width: 100%;
  padding: 180px 0 80px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.hero-left {
  flex: 1.6;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.location-card {
  background: transparent;
  backdrop-filter: none;
  border: none;
  padding: 0;
  width: 320px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.map-container {
  width: 100%;
  height: 400px;
  background: transparent;
  border: none;
  position: relative;
  overflow: hidden;
}

.tokyo-map-img {
  position: absolute;
  top: -40px;
  left: -50px;
  width: 150%;
  height: 150%;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

.map-target-dot {
  position: absolute;
  top: 81%;
  left: 75%;
  width: 10px;
  height: 10px;
  background: var(--lab-accent);
  border-radius: 200%;
  transform: translate(-50%, -50%);
}

.map-target-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 1px solid var(--lab-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: mapPulse 2s infinite ease-out;
}

@keyframes mapPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loc-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--lab-text);
}

.loc-coords {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--lab-accent);
}

.lab-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 5px;
  color: var(--lab-accent);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.lab-badge::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: var(--lab-border-dashed);
}

h1.principal-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -4px;
  line-height: 0.8;
  background: linear-gradient(180deg, var(--lab-text) 0%, #444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.principal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  color: var(--lab-accent);
  margin-top: 20px;
  letter-spacing: 3px;
  font-weight: 300;
}

.manifesto-box {
  margin-top: 60px;
  max-width: 850px;
  min-height: 120px;
}

#manifesto-text {
  font-size: 1.5rem;
  line-height: 2;
  color: var(--lab-meta);
  font-weight: 300;
  word-spacing: 2px;
}

.status-strip {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-top: 40px;
  border-top: 1px solid var(--lab-border);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #27ae60;
  box-shadow: 0 0 12px rgba(39, 174, 96, 0.4);
}

.pulse {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.3;
  }
}

/* Lab Matrix Table */
.matrix-section {
  width: 100%;
  max-width: 100%;
  padding: 0px;
}

.matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid var(--lab-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.02);
}

.matrix-table thead tr {
  background: var(--table-header-bg);
}

.matrix-table th {
  padding: 25px 30px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  color: var(--lab-meta);
  text-transform: uppercase;
  border-bottom: 2px solid var(--lab-accent);
}

.matrix-table td {
  padding: 40px 30px;
  border-bottom: 1px solid var(--lab-border);
  vertical-align: middle;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.matrix-table td:nth-child(2) {
  text-align: center;
}

.matrix-table tr:last-child td {
  border-bottom: none;
}

.matrix-table tr:hover td {
  background: rgba(0, 78, 204, 0.015);
}

.node-link {
  text-decoration: none;
  color: #2a2a2e;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(220, 225, 235, 0.6) 0%, rgba(240, 243, 248, 0.75) 50%, rgba(210, 218, 230, 0.55) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(180, 190, 210, 0.45);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.node-link::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 30%;
  height: 200%;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(30deg);
  pointer-events: none;
  transition: all 0.6s ease;
}

.node-link:hover::after {
  left: 180%;
}

.node-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 78, 204, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 78, 204, 0.3);
  color: var(--lab-accent);
  filter: brightness(1.1);
}

.node-id-cell {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--lab-meta);
  opacity: 0.6;
}

.focus-cell {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--lab-text);
  font-weight: 300;
}

.focus-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.0rem;
  color: var(--lab-accent);
  margin-bottom: 12px;
  display: block;
  font-weight: 700;
}

.meta-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 280px;
}

.meta-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 1px;
  padding: 5px 12px;
  background: var(--chip-bg);
  border-radius: 20px;
  color: var(--lab-text);
  white-space: nowrap;
}

.status-cell {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.tech-motivation-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tech-cell {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.0rem;
  color: var(--lab-accent);
  margin-bottom: 12px;
  display: block;
  font-weight: 700;
}

.why-cell {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--lab-text);
  font-weight: 300;
}

/* Timeline */
.journal-section {
  width: 100%;
  max-width: 100%;
  padding: 80px 0 40px 0;
}

.section-header {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  letter-spacing: 6px;
  margin-bottom: 20px;
  border-left: 6px solid var(--lab-accent);
  padding-left: 30px;
  font-weight: 700;
}

.timeline {
  position: relative;
  padding-left: 60px;
  border-left: 1px dashed var(--lab-border);
}

.t-item {
  position: relative;
  margin-bottom: 40px;
}

.t-item::before {
  content: "";
  position: absolute;
  left: -67px;
  top: 6px;
  width: 13px;
  height: 13px;
  background: var(--lab-bg);
  border: 2px solid var(--lab-accent);
  border-radius: 50%;
  z-index: 5;
}

.t-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--lab-accent);
  margin-bottom: 12px;
  font-weight: 700;
}

.t-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.t-text {
  font-size: 1.1rem;
  color: var(--lab-meta);
  margin-top: 12px;
  line-height: 1.8;
  font-weight: 300;
}

footer {
  width: 100%;
  max-width: 100%;
  padding: 60px 0;
  border-top: 1px solid var(--lab-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--lab-meta);
}

@media (max-width: 1100px) {
  .matrix-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #custom-cursor {
    display: none;
  }

  /* Hide custom cursor on tablets/mobile */
  body {
    cursor: auto;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  header.hero {
    padding-top: 140px;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .hero-right {
    width: 100%;
    justify-content: flex-start;
  }

  h1.principal-name {
    font-size: 3rem;
  }

  .matrix-section {
    padding: 40px 20px;
  }

  footer {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}

/* ==========================================================================
   About Page Specific Styles
   ========================================================================== */

.sectionWrapper {
  background-color: #F8F9FA;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #1D1D1F;
  font-family: 'Inter', -apple-system, sans-serif;
  width: 100%;
}

/* Background Layers: Grid, Soft Glows, Film Grain */
.sectionWrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  background-size: 100px 100px;
  z-index: 0;
  pointer-events: none;
}

/* Matrix grid canvas — replaces the old watermark on portal too */
.matrixCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

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

.scrollContainer {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 10%;
}

/* ============================
   Tier 1: Hero & Portrait (Magazine Cover)
   ============================ */
.heroTier {
  padding: 140px 0 100px;
}

.magazineHeader {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 4rem;
  border-bottom: 2px solid #1D1D1F;
  padding-bottom: 2rem;
  width: 100%;
  overflow: visible;
}

.hugeName {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #444 0%, #000 25%, #666 50%, #000 75%, #444 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  text-transform: uppercase;
}

.animatedTitleWrapper {
  position: relative;
  margin-top: 1rem;
  min-height: 3rem;
  width: 100%;
}

.animatedTitleLine {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  color: #000;
  background: linear-gradient(135deg, #444 0%, #000 25%, #666 50%, #000 75%, #444 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: normal;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  filter: blur(8px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.animatedTitleLineActive {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.heroLayout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 6rem;
  align-items: flex-start;
}

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

.portraitGeometric {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #E5E5E7;
  clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
  overflow: hidden;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.portraitGeometric::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 80%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-30deg);
  pointer-events: none;
  z-index: 2;
}

.portraitGeometric:hover::after {
  left: 180%;
  transition: 1s ease-in-out;
}

.portraitGeometric:hover {
  transform: translateY(-8px) scale(1.02);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.2));
}

.pImgGeometric {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: filter 0.6s ease;
}

.portraitColumn:hover .pImgGeometric {
  filter: grayscale(0.2) contrast(1.1);
}

.heroInfo {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  background: linear-gradient(135deg, #333 0%, #000 50%, #333 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2rem;
  letter-spacing: -1.5px;
}

.subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.95rem;
  font-weight: 700;
  color: #007AFF;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.introBlock {
  max-width: 650px;
  border-left: 4px solid #1D1D1F;
  padding-left: 2rem;
}

.introPara {
  font-size: 1.05rem;
  color: #333333;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.introPara:first-child {
  font-family: 'Inter', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: #1A1A1A;
  font-weight: 700;
}

.introPara b {
  color: #000000;
  font-weight: 800;
  display: inline-block;
}

/* Badges section */
.badgeContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: center;
}

.hcsgBadge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
}

.hcsgLabel {
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  padding: 0.7rem 1.6rem;
  border-radius: 4px;
  background: linear-gradient(135deg, #222 0%, #444 50%, #222 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hcsgBadgeRed .hcsgLabel {
  background: linear-gradient(135deg, #a01a1a 0%, #ff4d4d 50%, #800d0d 100%);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 15px rgba(160, 26, 26, 0.3);
}

.hcsgBadgeSoulclaw .hcsgLabel {
  background: linear-gradient(135deg, #004e92 0%, #007AFF 50%, #002f5d 100%);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.hcsgLabel::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(30deg);
  transition: all 0.6s ease;
}

.hcsgBadge:hover .hcsgLabel::after {
  left: 140%;
}

.hcsgBadge:hover .hcsgLabel {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.1);
}

.hcsgTooltip {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  color: #424245;
  background: white;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 20;
}

.hcsgBadge:hover .hcsgTooltip {
  opacity: 1;
  transform: translateY(0);
}

.pLoc {
  font-size: 0.85rem;
  color: #86868B;
  opacity: 0.7;
}

/* ============================
   Tier 2: Philosophy
   ============================ */
.philosophyTier {
  padding: 100px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.philLayout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 8rem;
  align-items: flex-start;
}

.philTitle {
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #333 0%, #000 50%, #333 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.philPara {
  font-size: 1.05rem;
  color: #444444;
  line-height: 2.1;
  margin-bottom: 1.8rem;
}

.innovationStack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.glassCard {
  position: relative;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, rgba(220, 220, 220, 0.4) 0%, rgba(100, 100, 100, 0.05) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 6px;
  overflow: hidden;
}

.glassCard::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: 0s;
  pointer-events: none;
}

.glassCard:hover::after {
  left: 150%;
  transition: 0.8s ease-in-out;
}

.glassCard:hover {
  background: linear-gradient(135deg, rgba(240, 240, 240, 0.7) 0%, rgba(200, 200, 200, 0.2) 100%);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.05);
}

.cardHeader {
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  color: #000000;
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.cardText {
  font-size: 0.95rem;
  color: #444444;
  line-height: 1.9;
  white-space: pre-line;
}

/* ============================
   Tier 3: Strategic Impact
   ============================ */
.impactTier {
  padding: 100px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.impactLabel {
  font-family: 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 5rem;
}

.certAbbr {
  display: flex;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: -1px;
}

.certPassedText {
  font-size: 0.8rem;
  font-weight: 400;
  color: #86868B;
  margin-left: 0.2rem;
  font-style: italic;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0;
}

.statLine {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

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

.statLarge {
  display: flex;
  align-items: baseline;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 500;
  color: #000000;
  margin-bottom: 0.8rem;
  letter-spacing: -2px;
  line-height: 1;
}

.statIcon {
  width: 48px;
  height: 48px;
  color: #007AFF;
  margin-left: 0.5rem;
  display: inline-block;
}

.statSmall {
  font-family: 'Fira Code', monospace;
  font-size: 0.78rem;
  color: #86868B;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.6;
}

.impactSummary {
  font-size: 1.1rem;
  color: #424245;
  line-height: 2;
  max-width: 900px;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* ============================
   Tier 4: Certifications
   ============================ */
.certTier {
  position: relative;
  z-index: 2;
  padding: 80px 0 140px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.certTierLabel {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 5rem;
  text-transform: none;
}

.certGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.certCard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.8rem;
  padding: 3rem 2.5rem 2.5rem;
  background: linear-gradient(135deg, rgba(200, 200, 200, 0.6) 0%, rgba(100, 100, 100, 0.05) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 5px solid var(--cert-color, #007AFF);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 12px;
  overflow: hidden;
}

.certCard::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-25deg);
  transition: 0s;
  pointer-events: none;
}

.certCard:hover::after {
  left: 150%;
  transition: 0.8s ease-in-out;
}

.certCard:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 240, 240, 0.4) 100%);
}

.certCard::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #fff 0%, transparent 70%);
  opacity: 0;
  filter: blur(20px);
  transition: opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.certCard:hover::before {
  opacity: 0.3;
}

.certBadgeWrap {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.certCard:hover .certBadgeWrap {
  transform: scale(1.06);
}

.certBadge {
  object-fit: contain;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.certInfo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.certAbbr {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  color: #1D1D1F;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: baseline;
}

.certSmallLabel {
  font-family: 'Fira Code', monospace;
  font-size: 0.72rem;
  color: #86868B;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  line-height: 1.6;
}

.certName {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #424245;
  line-height: 1.4;
}

.certIssuer {
  font-family: 'Fira Code', monospace;
  font-size: 0.65rem;
  color: #86868B;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.7;
}

/* ============================
   Unified Serif Typography (ALL Languages)
   ============================ */
.headline,
.philTitle,
.impactLabel,
h1.principal-name,
#manifesto-text,
.section-header {
  font-family: 'Noto Serif SC', 'BIZ UDMincho', 'Source Han Serif SC', 'Songti SC', 'SimSun', serif;
  font-weight: 700;
}


/* Chinese (ZH) Sans-Serif overrides to prevent Japanese font fallback mix-up */
[data-lang="zh"] .hugeName,
[data-lang="zh"] .animatedTitleLine,
[data-lang="zh"] .principal-title,
[data-lang="zh"] .loc-label,
[data-lang="zh"] .t-title {
  font-family: 'Space Grotesk', 'Microsoft YaHei', 'PingFang SC', sans-serif;
}



/* ============================
   Tier 5: Connect
   ============================ */
.connectTier {
  position: relative;
  z-index: 2;
  padding: 80px 0 140px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.connectTierLabel {
  display: block;
  font-family: 'Noto Serif SC', 'BIZ UDMincho', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 4rem;
}

.socialGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
}

.socialCard {
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(200, 200, 200, 0.6) 0%, rgba(100, 100, 100, 0.05) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 12px;
  overflow: hidden;
}

.socialCard::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: 0s;
  pointer-events: none;
}

.socialCard:hover::after {
  left: 150%;
  transition: 0.8s ease-in-out;
}

.socialCard:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 240, 240, 0.4) 100%);
}

.xCard {
  border-bottom: 5px solid #000000;
}

.linkedinCard {
  border-bottom: 5px solid #0077B5;
}

.socialIconWrap {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.socialCard:hover .socialIconWrap {
  transform: scale(1.1);
}

.socialIcon {
  width: 100%;
  height: 100%;
  color: #1d1d1f;
}

.xCard:hover .socialIcon {
  color: #000000;
}

.linkedinCard:hover .socialIcon {
  color: #0077B5;
}

.socialInfo {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.socialPlatform {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1d1d1f;
}

.socialHandle {
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  color: #86868B;
  letter-spacing: 1px;
}

.socialTooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(29, 29, 31, 0.92);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.socialCard:hover .socialTooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ============================
   Responsive
   ============================ */
.certTooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(29, 29, 31, 0.92);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  backdrop-filter: blur(8px);
  letter-spacing: 0.3px;
}

.certCard:hover .certTooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 75rem) {

  .heroLayout,
  .philLayout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .portraitGeometric {
    max-width: 280px;
    margin: 0 auto;
  }

  .statLine {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

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

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

@media (max-width: 48rem) {
  .scrollContainer {
    padding: 0 5%;
  }

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

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

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

@media print {
  .sectionWrapper {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    background-color: #f8f9fa !important;
    color: #1A1A1A !important;
  }

  .matrixCanvas,
  .grain,
  .certTooltip,
  .hcsgTooltip,
  .socialTooltip {
    display: none !important;
  }

  .hugeName,
  .headline {
    color: #1A1A1A !important;
  }

  .subtitle,
  .statIcon {
    color: #0052ff !important;
  }

  .introBlock {
    border-left: 5px solid #0052ff !important;
  }

  .certCard,
  .socialCard {
    box-shadow: none !important;
    border: 2px solid #ccc !important;
    border-bottom: 4px solid var(--cert-color, #1D1D1F) !important;
  }

  .portraitGeometric {
    box-shadow: none !important;
    border: 4px solid #1A1A1A !important;
  }
}

/* --- vCISO Vision Section --- */
.vision-section {
  padding: 80px 0;
  width: 100%;
  border-top: 1px dashed var(--lab-border);
}

.vision-container {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.vision-wheel-box {
  flex: 1;
  min-width: 320px;
  display: flex;
  justify-content: center;
}

.vision-wheel-svg {
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.05));
}


.vision-details-box {
  flex: 1;
  min-width: 320px;
  max-width: 500px;
}

.details-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--lab-border);
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.details-role-tag {
  font-family: 'JetBrains Mono', monospace;
  color: var(--lab-accent);
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.details-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--lab-text);
}

.details-status {
  display: inline-block;
  font-size: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--chip-bg);
  border-radius: 4px;
  margin-bottom: 20px;
  color: var(--lab-meta);
}

.details-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--lab-meta);
}

.wheel-slice-segment:hover {
  stroke: var(--lab-accent);
  stroke-width: 2.5px;
}

@keyframes rowPulse {
  0% {
    background-color: rgba(0, 78, 204, 0.25);
  }

  100% {
    background-color: transparent;
  }
}

.highlighted-row {
  animation: rowPulse 2s ease-out forwards;
}

/* Section Header Styles */
.section-header {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--lab-meta);
  margin-bottom: 20px;
  text-transform: uppercase;
  border-left: 3px solid var(--lab-accent);
  padding-left: 10px;
}

/* Planned Roadmap Node Styling */
.node-link.planned-node {
  background: linear-gradient(135deg, rgba(235, 238, 243, 0.4) 0%, rgba(245, 247, 250, 0.5) 100%);
  border-color: rgba(200, 205, 215, 0.3);
  color: #8a8a90;
  cursor: default;
}

.node-link.planned-node:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(200, 205, 215, 0.3);
  color: #8a8a90;
  filter: none;
}

/* Info Icon Tooltip */
.info-icon {
  display: inline-block;
  margin-left: 6px;
  color: var(--lab-accent);
  cursor: pointer;
  font-size: 0.95rem;
  vertical-align: middle;
  position: relative;
}

.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  right: 50%;
  transform: translateX(50%);
  width: 300px;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
  white-space: normal;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
}

.info-icon:hover::after {
  opacity: 1;
  transform: translateX(50%) translateY(-4px);
}

/* Why-list table motivations styling */
.why-list {
  margin-top: 8px;
  padding-left: 16px;
  list-style-type: square;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--lab-meta);
}

.why-list li {
  margin-bottom: 4px;
}

.why-list li strong {
  color: var(--lab-text);
  font-weight: 600;
}