/* ═══════════════════════════════════════════════════════════
   RZVN.IO REDESIGN PREVIEW — STYLESHEET
   Aesthetic: Cinematic Dark · Editorial Research Platform
   Fonts: Cormorant Garamond (display) · Syne (labels) · Be Vietnam Pro (body)
   Colors: #000 bg · #fff text · #00FF41 accent (sparingly)
═══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────
   0. RESET & CSS VARIABLES
────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:      #000000;
  --white:      #ffffff;
  --green:      #00FF41;
  --green-dim:  rgba(0, 255, 65, 0.12);
  --green-glow: rgba(0, 255, 65, 0.25);

  --grey-900:   #0a0a0a;
  --grey-800:   #111111;
  --grey-700:   #1a1a1a;
  --grey-600:   #666666;
  --grey-500:   #888888;
  --grey-400:   #aaaaaa;
  --grey-300:   #bbbbbb;
  --grey-200:   #cccccc;
  --grey-100:   #dddddd;

  --border:     rgba(255,255,255,0.07);
  --border-mid: rgba(255,255,255,0.12);

  --font-display: 'Orbitron', sans-serif;
  --font-syne:    'Syne', sans-serif;
  --font-sub:     'Rajdhani', sans-serif;
  --font-body:    'Times New Roman', Times, Georgia, serif;

  --section-pad: clamp(80px, 10vw, 140px);
  --container:   1200px;
  --radius:      4px;

  --transition-fast:  0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-mid:   0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:  0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

picture {
  display: block;
}

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

/* ──────────────────────────────────────────
   1. GRAIN OVERLAY
────────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: grainShift 8s steps(10) infinite;
}

@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(3%, 2%); }
  30%  { transform: translate(-1%, 4%); }
  40%  { transform: translate(4%, -1%); }
  50%  { transform: translate(-3%, 1%); }
  60%  { transform: translate(2%, -4%); }
  70%  { transform: translate(-4%, 3%); }
  80%  { transform: translate(1%, -2%); }
  90%  { transform: translate(-2%, 4%); }
  100% { transform: translate(0, 0); }
}

/* ──────────────────────────────────────────
   2. NAVIGATION
────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition-mid), backdrop-filter var(--transition-mid);
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav__logo-text {
  font-family: var(--font-syne);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.15em;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.nav__logo-swoosh {
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  background: var(--white);
  opacity: 0.8;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-200);
  transition: color var(--transition-fast);
  padding: 4px 0;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--transition-fast);
}

.nav__links a:hover,
.nav__links a:focus {
  color: var(--white);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  border: 1px solid rgba(255,255,255,0.3) !important;
  padding: 7px 18px !important;
  border-radius: var(--radius);
  letter-spacing: 0.1em !important;
  transition: border-color var(--transition-fast), color var(--transition-fast) !important;
}

.nav__cta:hover {
  border-color: var(--green) !important;
  color: var(--green) !important;
}

.nav__cta::after {
  display: none !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 40px 24px;
  gap: 16px;
  background: rgba(0,0,0,0.95);
  border-top: 1px solid var(--border);
}

.nav__mobile a {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-200);
  transition: color var(--transition-fast);
}

.nav__mobile a:hover { color: var(--white); }

.nav__mobile.open { display: flex; }

/* ──────────────────────────────────────────
   3. UTILITY: BUTTONS, BADGES, CONTAINERS
────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.section-label {
  font-family: var(--font-syne);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--green);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--white);
}

.section-title em {
  font-style: normal;
  font-family: var(--font-sub);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--grey-200);
}

.section-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  color: var(--grey-300);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 0;
}

.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-syne);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn--green {
  background: var(--green);
  color: var(--black);
  border: 1px solid var(--green);
  box-shadow: 0 0 20px var(--green-glow), 0 0 40px rgba(0,255,65,0.1);
}

.btn--green:hover {
  background: transparent;
  color: var(--green);
  box-shadow: 0 0 30px var(--green-glow), 0 0 60px rgba(0,255,65,0.15);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn--ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-syne);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--grey-200);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn--ghost-sm:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn__arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow,
.btn--ghost-sm:hover .btn__arrow {
  transform: translateX(3px);
}

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 2px;
  white-space: nowrap;
}

.badge--doi {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-mid);
  color: var(--grey-300);
}

.badge--version {
  background: var(--grey-700);
  border: 1px solid var(--border);
  color: var(--grey-200);
}

.badge--preprint {
  background: rgba(0,255,65,0.08);
  border: 1px solid rgba(0,255,65,0.25);
  color: var(--green);
}

.badge--version-lg {
  display: inline-flex;
  font-family: var(--font-syne);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius);
  background: rgba(0,255,65,0.06);
  border: 1px solid rgba(0,255,65,0.3);
  color: var(--green);
}

/* ──────────────────────────────────────────
   4. HERO SECTION
────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(100%) brightness(0.35);
  transform-origin: center;
  will-change: transform;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, transparent 30%, rgba(0,0,0,0.6) 70%),
    linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.8) 100%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__particle {
  position: absolute;
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0;
  animation: particleFade linear infinite;
}

@keyframes particleFade {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  20%  { opacity: 0.7; }
  80%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-80px) scale(0.5); }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero__pre-label {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey-300);
  margin-bottom: 32px;
}

.hero__logo-block {
  margin-bottom: 16px;
}

.hero__wordmark {
  position: relative;
  display: inline-block;
}

.hero__wordmark-text {
  font-family: var(--font-syne);
  font-weight: 800;
  font-size: clamp(5rem, 14vw, 10rem);
  letter-spacing: 0.15em;
  color: var(--white);
  display: block;
  line-height: 1;
}

.hero__wordmark-line {
  position: absolute;
  left: -4%;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--white) 20%, var(--white) 80%, transparent);
  opacity: 0.9;
}

.hero__byline {
  font-family: var(--font-syne);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-300);
  margin-bottom: 24px;
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--grey-200);
  margin-bottom: 48px;
  line-height: 1.5;
}

.hero__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--white) 0%, transparent 100%);
  display: block;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.scroll-label {
  font-family: var(--font-syne);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-400);
  writing-mode: horizontal-tb;
}

/* ──────────────────────────────────────────
   5. MISSION SECTION
────────────────────────────────────────── */
.mission {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 600px;
  background: var(--grey-900);
}

.mission__image-col {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.mission__img-wrap {
  position: absolute;
  inset: 0;
}

.mission__img-wrap picture {
  width: 100%;
  height: 100%;
}

.mission__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(0.75);
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  animation: eclipseFloat 8s ease-in-out infinite;
}

@keyframes eclipseFloat {
  0%   { transform: scale(1) translateY(0); filter: brightness(0.75); }
  50%  { transform: scale(1.03) translateY(-8px); filter: brightness(0.9); }
  100% { transform: scale(1) translateY(0); filter: brightness(0.75); }
}

.mission__image-col:hover .mission__img {
  animation-play-state: paused;
  transform: scale(1.06);
  filter: brightness(1);
}

.mission__img-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 30%, rgba(10,10,10,0.4) 60%, var(--grey-900) 100%),
    linear-gradient(90deg, transparent 60%, var(--grey-900) 100%);
}

/* Eclipse ambient glow ring */
.mission__image-col::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 55%;
  height: 0;
  padding-bottom: 55%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  box-shadow: 0 0 60px 20px rgba(255,255,255,0.04), 0 0 120px 40px rgba(255,255,255,0.02);
  animation: glowPulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes glowPulse {
  0%   { box-shadow: 0 0 60px 20px rgba(255,255,255,0.03), 0 0 120px 40px rgba(255,255,255,0.01); }
  50%  { box-shadow: 0 0 80px 30px rgba(255,255,255,0.07), 0 0 160px 60px rgba(0,255,65,0.03); }
  100% { box-shadow: 0 0 60px 20px rgba(255,255,255,0.03), 0 0 120px 40px rgba(255,255,255,0.01); }
}

.mission__text-col {
  padding: var(--section-pad) clamp(32px, 5vw, 80px) var(--section-pad) clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mission__quote {
  font-family: var(--font-sub);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.3;
  color: var(--white);
  border-left: 2px solid var(--white);
  padding-left: 24px;
  margin-bottom: 32px;
  quotes: none;
  letter-spacing: 0.02em;
}

.mission__body {
  max-width: 520px;
  margin-bottom: 24px;
}

.mission__body p {
  color: var(--grey-200);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.mission__body em {
  color: var(--white);
  font-style: normal;
  font-weight: 500;
}

.mission__attribution {
  font-family: var(--font-syne);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--grey-400);
  margin-bottom: 40px;
}

.mission__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

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

.mission__stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--white);
}

.mission__stat-label {
  font-family: var(--font-syne);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-400);
}

/* ──────────────────────────────────────────
   6. RESEARCH ARCHITECTURE SECTION
────────────────────────────────────────── */
.architecture {
  background: var(--black);
  position: relative;
}

.architecture__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.08);
}

.architecture__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0,0,0,0.97) 0%,
    rgba(0,0,0,0.88) 50%,
    rgba(0,0,0,0.97) 100%);
}

.architecture .container {
  position: relative;
  z-index: 1;
}

.arch-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
}

.arch-card {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: start;
  gap: 0 32px;
  padding: 32px 40px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.arch-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: transparent;
  transition: background var(--transition-mid);
}

.arch-card:hover {
  background: rgba(0,255,65,0.02);
  border-color: rgba(0,255,65,0.15);
  box-shadow: 0 0 40px rgba(0,255,65,0.05);
}

.arch-card:hover::before {
  background: var(--green);
}

.arch-card__layer-tag {
  font-family: var(--font-syne);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-500);
  padding-top: 4px;
  white-space: nowrap;
}

.arch-card__header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.arch-card__title {
  font-family: var(--font-syne);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.arch-card__full-name {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--grey-300);
  letter-spacing: 0.02em;
}

.arch-card__desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--grey-300);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 14px;
}

.arch-card__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.arch-card__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-syne);
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
  padding-top: 4px;
  white-space: nowrap;
  align-self: center;
  transition: color var(--transition-fast);
}

.arch-card__link:hover {
  color: var(--green);
}

.arch-card__link span {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.arch-card__link:hover span {
  transform: translateX(3px);
}

.arch-connector {
  display: flex;
  align-items: center;
  padding-left: 122px;
  height: 32px;
  position: relative;
}

.arch-connector__line {
  width: 1px;
  height: 100%;
  background: var(--border);
  margin-left: 0;
}

.arch-connector__arrow {
  position: absolute;
  left: 119px;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg) translateX(-1px);
}

/* ──────────────────────────────────────────
   7. A-CSM SECTION
────────────────────────────────────────── */
.acsm {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 600px;
  background: var(--grey-800);
}

.acsm__image-col {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  order: 1;
}

.acsm__img-wrap {
  position: absolute;
  inset: 0;
}

.acsm__img-wrap picture {
  width: 100%;
  height: 100%;
}

.acsm__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.4);
  transform: scale(1.05);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.acsm__image-col:hover .acsm__img {
  transform: scale(1.08);
}

.acsm__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, transparent 50%, var(--grey-800) 100%);
}

.acsm__text-col {
  order: 0;
  padding: var(--section-pad) clamp(32px, 4vw, 64px) var(--section-pad) clamp(32px, 5vw, 80px);
  display: flex;
  align-items: center;
}

.acsm__content {
  max-width: 520px;
}

.acsm__subhead {
  font-family: var(--font-sub);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--grey-300);
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.acsm__subhead em {
  font-style: normal;
  font-weight: 300;
}

.acsm__desc {
  font-size: 0.92rem;
  color: var(--grey-200);
  line-height: 1.8;
  margin-bottom: 28px;
}

.acsm__principles {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.principle-tag {
  font-family: var(--font-syne);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-200);
}

.principle-divider {
  color: var(--grey-600);
  font-size: 1.2rem;
}

.acsm__version {
  margin-bottom: 32px;
}

.acsm__market-context {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acsm__market-highlight {
  padding: 18px 22px;
  border: 1px solid var(--border);
  background: rgba(0,255,65,0.02);
  border-radius: var(--radius);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.acsm__market-highlight:hover {
  border-color: rgba(0,255,65,0.2);
  background: rgba(0,255,65,0.04);
}

.acsm__market-stat {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  color: var(--green);
  margin-bottom: 8px;
}

.acsm__market-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--grey-300);
  line-height: 1.6;
}

.acsm__docs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.025);
  border-radius: var(--radius);
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.doc-card:hover {
  border-color: var(--border-mid);
  background: rgba(255,255,255,0.04);
}

.doc-card__icon {
  color: var(--grey-400);
  flex-shrink: 0;
}

.doc-card__text {
  flex: 1;
  min-width: 0;
}

.doc-card__title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--grey-100);
  margin-bottom: 3px;
}

.doc-card__lang {
  font-family: var(--font-syne);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--grey-400);
  text-transform: uppercase;
}

.doc-card__btn {
  font-family: var(--font-syne);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--grey-400);
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.doc-card__btn:hover {
  color: var(--green);
}

/* ──────────────────────────────────────────
   8. USCI VISUALIZATION SECTION
────────────────────────────────────────── */
.usci {
  background: var(--black);
  position: relative;
}

.usci__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.07);
}

.usci__bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%,
    rgba(0,0,0,0.85) 30%,
    rgba(0,0,0,0.97) 100%);
}

.usci__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
}

.usci__desc {
  font-size: 0.92rem;
  color: var(--grey-300);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 420px;
}

.usci__axes-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

.axis-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.axis-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.axis-item strong {
  font-family: var(--font-syne);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--white);
  display: block;
  margin-bottom: 2px;
}

.axis-item span {
  font-size: 0.78rem;
  color: var(--grey-400);
}

.usci__source {
  font-family: var(--font-syne);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* RADAR CHART */
.usci__chart {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.radar-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(0,255,65,0.08));
}

/* Radar interactive animations */
.radar-data {
  animation: radarPulse 4s ease-in-out infinite;
  transform-origin: 200px 200px;
}

@keyframes radarPulse {
  0%   { fill: rgba(0,255,65,0.06); filter: drop-shadow(0 0 8px rgba(0,255,65,0.1)); }
  50%  { fill: rgba(0,255,65,0.14); filter: drop-shadow(0 0 24px rgba(0,255,65,0.3)); }
  100% { fill: rgba(0,255,65,0.06); filter: drop-shadow(0 0 8px rgba(0,255,65,0.1)); }
}

.radar-dot {
  filter: drop-shadow(0 0 6px currentColor);
  animation: dotPulse 3s ease-in-out infinite;
}

.radar-dot:nth-child(1) { animation-delay: 0s; }
.radar-dot:nth-child(2) { animation-delay: 0.75s; }
.radar-dot:nth-child(3) { animation-delay: 1.5s; }
.radar-dot:nth-child(4) { animation-delay: 2.25s; }

@keyframes dotPulse {
  0%   { r: 5; opacity: 0.8; }
  50%  { r: 8; opacity: 1; }
  100% { r: 5; opacity: 0.8; }
}

.radar-svg:hover .radar-data {
  animation: radarHover 0.6s ease-out forwards;
}

@keyframes radarHover {
  0%   { fill: rgba(0,255,65,0.08); stroke-width: 1.5; }
  100% { fill: rgba(0,255,65,0.2); stroke-width: 2.5; filter: drop-shadow(0 0 30px rgba(0,255,65,0.4)); }
}

.radar-svg:hover .radar-dot {
  animation: dotHover 0.4s ease-out forwards;
}

@keyframes dotHover {
  0%   { r: 5; }
  100% { r: 9; filter: drop-shadow(0 0 12px currentColor); }
}

/* Radar rings subtle animation */
.radar-rings polygon {
  animation: ringFade 6s ease-in-out infinite;
}
.radar-rings polygon:nth-child(1) { animation-delay: 0s; }
.radar-rings polygon:nth-child(2) { animation-delay: 1.5s; }
.radar-rings polygon:nth-child(3) { animation-delay: 3s; }
.radar-rings polygon:nth-child(4) { animation-delay: 4.5s; }

@keyframes ringFade {
  0%   { stroke: #444; }
  50%  { stroke: rgba(0,255,65,0.25); }
  100% { stroke: #444; }
}

.radar-outer-label {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-syne);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-600);
}

/* ──────────────────────────────────────────
   9. RESEARCH PAPERS SECTION
────────────────────────────────────────── */
.papers {
  background: var(--grey-900);
}

.papers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 40px;
}

.paper-card {
  background: var(--grey-900);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background var(--transition-fast);
  position: relative;
}

.paper-card:hover {
  background: var(--grey-800);
  z-index: 1;
}

.paper-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.paper-card__image picture {
  width: 100%;
  height: 100%;
}

.paper-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.5);
  transition: filter var(--transition-mid), transform var(--transition-mid);
}

.paper-card:hover .paper-card__image img {
  filter: grayscale(80%) brightness(0.6);
  transform: scale(1.04);
}

.paper-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--grey-900) 0%, transparent 60%);
}

.paper-card__content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.paper-card__framework-tag {
  font-family: var(--font-syne);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}

.paper-card__title {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.paper-card__desc {
  font-size: 0.78rem;
  color: var(--grey-300);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}

.paper-card__doi {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.doi-label {
  font-family: var(--font-syne);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-500);
  background: var(--grey-700);
  padding: 2px 6px;
  border-radius: 2px;
}

.doi-value {
  font-family: var(--font-syne);
  font-size: 0.62rem;
  color: var(--grey-400);
  letter-spacing: 0.03em;
}

.papers__access-note {
  padding: 24px 32px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  max-width: 700px;
}

.papers__access-note p {
  font-size: 0.82rem;
  color: var(--grey-400);
  line-height: 1.7;
}

/* ──────────────────────────────────────────
   10. POSITIONING & BOUNDARIES SECTION
────────────────────────────────────────── */
.boundaries {
  background: var(--black);
  position: relative;
}

.boundaries__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.06);
}

.boundaries__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.93);
}

.boundaries .container {
  position: relative;
  z-index: 1;
}

.boundaries-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
}

.boundary-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.boundary-item:first-child {
  border-top: 1px solid var(--border);
}

.boundary-item__num {
  font-family: var(--font-syne);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--grey-600);
  padding-top: 4px;
}

.boundary-item__text {
  font-family: var(--font-sub);
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.4rem);
  line-height: 1.5;
  color: var(--grey-100);
  letter-spacing: 0.02em;
}

/* ──────────────────────────────────────────
   11. CONTACT SECTION
────────────────────────────────────────── */
.contact {
  background: var(--grey-800);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

.contact__sub {
  font-family: var(--font-sub);
  font-style: normal;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--grey-300);
  margin-bottom: 16px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.contact__instruction {
  font-size: 0.82rem;
  color: var(--grey-400);
  line-height: 1.7;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.contact__row:last-child {
  border-bottom: none;
}

.contact__icon {
  color: var(--grey-500);
  flex-shrink: 0;
}

.contact__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--grey-100);
  transition: color var(--transition-fast);
}

.contact__link:hover {
  color: var(--green);
}

.contact__value {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--grey-100);
}

.contact__sublabel {
  font-size: 0.72rem;
  color: var(--grey-500);
}

.contact__email-btn {
  width: fit-content;
}

/* ──────────────────────────────────────────
   12. FOOTER
────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 60px 40px 32px;
  max-width: 100%;
}

.footer__top {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  margin-bottom: 40px;
}

.footer__logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.footer__wordmark {
  font-family: var(--font-syne);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.15em;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.footer__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer__logo-swoosh {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(2rem / 2 + 0px);
  transform: translateY(-50%);
  height: 2px;
  background: var(--white);
  opacity: 0.7;
  width: 100%;
}

.footer__tagline {
  font-family: var(--font-syne);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-top: 4px;
}

.footer__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer__nav a {
  font-family: var(--font-syne);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-400);
  transition: color var(--transition-fast);
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__divider {
  max-width: var(--container);
  margin: 0 auto 24px;
  height: 1px;
  background: var(--border);
}

/* Company footer section */

.footer__company {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.footer__company-copy {
  font-family: var(--font-syne);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
}

.footer__company-detail {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--grey-500);
  line-height: 1.6;
}

.footer__company-legal {
  font-family: var(--font-syne);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--grey-600);
  line-height: 1.8;
}

.footer__legal-link {
  color: var(--grey-500);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 2px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.footer__legal-link:hover,
.footer__legal-link:focus {
  color: var(--white);
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.footer__legal-sep {
  color: var(--grey-700);
  margin: 0 6px;
}

.footer__company .footer__disclaimer {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--grey-600);
  line-height: 1.6;
  margin-top: 10px;
}

/* ──────────────────────────────────────────
   13. SCROLL REVEAL ANIMATIONS
────────────────────────────────────────── */
.reveal-up,
.reveal-fade,
.reveal-left,
.reveal-scale {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-32px); }
.reveal-fade  { transform: none; }
.reveal-scale { transform: scale(0.96); }

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Delay utilities */
.delay-1 { transition-delay: 0.12s !important; }
.delay-2 { transition-delay: 0.24s !important; }
.delay-3 { transition-delay: 0.36s !important; }
.delay-4 { transition-delay: 0.48s !important; }
.delay-5 { transition-delay: 0.6s !important; }

/* ──────────────────────────────────────────
   14. RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 1024px) {
  .papers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arch-card {
    grid-template-columns: 70px 1fr auto;
    gap: 0 20px;
    padding: 24px 28px;
  }
  .usci__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .usci__chart {
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__inner { padding: 18px 24px; }

  .mission {
    grid-template-columns: 1fr;
  }
  .mission__image-col {
    min-height: 300px;
    order: 0;
  }
  .mission__img-overlay {
    background: linear-gradient(to top, var(--grey-900) 0%, transparent 60%);
  }
  .mission__text-col {
    order: 1;
    padding: 40px 24px;
  }

  .acsm {
    grid-template-columns: 1fr;
  }
  .acsm__image-col { display: none; }
  .acsm__text-col {
    padding: 60px 24px;
    order: 0;
  }
  .acsm__content { max-width: 100%; }

  .papers-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .container { padding: 0 24px; }

  .arch-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 8px;
  }
  .arch-card__layer-tag { margin-bottom: 4px; }
  .arch-card__link { justify-self: start; margin-top: 8px; }
  .arch-connector { padding-left: 72px; }
  .arch-connector__arrow { left: 69px; }

  .footer__top { flex-direction: column; }
  .footer { padding: 48px 24px 24px; }

  .hero__scroll-indicator { bottom: 28px; }

  .boundary-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .mission__stats { gap: 24px; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}

/* ──────────────────────────────────────────
   15. SELECTION & SCROLLBAR
────────────────────────────────────────── */
::selection {
  background: rgba(0,255,65,0.25);
  color: var(--white);
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--grey-600); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--grey-400); }

/* ──────────────────────────────────────────
   16. GLITCH EFFECT (hero wordmark)
────────────────────────────────────────── */
.glitch-active {
  animation: glitch 0.15s steps(2) 4;
  position: relative;
}

@keyframes glitch {
  0%   { text-shadow: 2px 0 #00FF41, -2px 0 #ff0040; clip-path: inset(40% 0 20% 0); }
  25%  { text-shadow: -2px 0 #00FF41, 2px 0 #0040ff; clip-path: inset(10% 0 60% 0); }
  50%  { text-shadow: 2px 2px #00FF41, -2px -2px #ff0040; clip-path: inset(60% 0 5% 0); }
  75%  { text-shadow: -1px 2px #0040ff, 1px -2px #00FF41; clip-path: inset(20% 0 40% 0); }
  100% { text-shadow: none; clip-path: none; }
}

/* ──────────────────────────────────────────
   17. AMBIENT SCANLINES
────────────────────────────────────────── */
.ambient-scanlines {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.015) 2px,
    rgba(0, 0, 0, 0.015) 4px
  );
  opacity: 0.6;
}

/* ──────────────────────────────────────────
   18. CURSOR GLOW (brighter)
────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  top: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,65,0.18) 0%, rgba(0,255,65,0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 9997;
  mix-blend-mode: screen;
  will-change: transform;
}

/* ──────────────────────────────────────────
   19. SECTION DIVIDER GLOW
────────────────────────────────────────── */
.section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,255,65,0.15), transparent);
  opacity: 0;
  animation: dividerFade 4s ease-in-out infinite;
}

@keyframes dividerFade {
  0%   { opacity: 0; }
  50%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ──────────────────────────────────────────
   20. CREATIVE INTERACTION EFFECTS
────────────────────────────────────────── */

/* --- BUTTON MAGNETIC HOVER + RIPPLE --- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn .btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,255,65,0.3);
  transform: scale(0);
  animation: btnRipple 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes btnRipple {
  0% { transform: scale(0); opacity: 0.6; }
  100% { transform: scale(4); opacity: 0; }
}

.btn--green {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s ease-out;
}

.btn--green:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--green-glow), 0 0 80px rgba(0,255,65,0.12), 0 8px 30px rgba(0,0,0,0.3);
}

.btn--green:active {
  transform: translateY(0px) scale(0.98);
}

.btn--ghost {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s ease-out;
}

.btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255,255,255,0.06), 0 8px 30px rgba(0,0,0,0.3);
}

.btn--ghost:active {
  transform: translateY(0px) scale(0.98);
}

.btn--ghost-sm {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.15s ease-out;
}

.btn--ghost-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(0,255,65,0.12), 0 4px 16px rgba(0,0,0,0.2);
}

/* --- LINK GREEN UNDERLINE SWEEP --- */
.contact__link,
.arch-card__link,
.footer__nav a {
  position: relative;
}

.contact__link::after,
.footer__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--green);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact__link:hover::after,
.footer__nav a:hover::after {
  width: 100%;
}

.footer__nav a:hover {
  color: var(--green) !important;
}

/* --- IMAGE TILT ON HOVER --- */
.paper-card__image img {
  transition: filter var(--transition-mid), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.paper-card {
  transition: background var(--transition-fast), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.paper-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px rgba(0,255,65,0.04);
}

/* --- SECTION TITLE TEXT GLOW ON SCROLL --- */
.section-title.revealed {
  animation: titleGlow 2s ease-out 0.3s;
}

@keyframes titleGlow {
  0%   { text-shadow: none; }
  30%  { text-shadow: 0 0 30px rgba(0,255,65,0.15), 0 0 60px rgba(0,255,65,0.05); }
  100% { text-shadow: none; }
}

/* --- ARCH CARD GREEN LINE SWEEP --- */
.arch-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--green), transparent);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.arch-card:hover::after {
  width: 100%;
}

/* --- BADGE HOVER GLOW --- */
.badge {
  transition: all 0.3s ease;
}

.badge:hover {
  box-shadow: 0 0 12px rgba(0,255,65,0.1);
  border-color: rgba(0,255,65,0.3);
}

.badge--version-lg {
  transition: all 0.3s ease;
}

.badge--version-lg:hover {
  box-shadow: 0 0 20px rgba(0,255,65,0.2);
  background: rgba(0,255,65,0.1);
}

/* --- STAT NUMBERS GLOW --- */
.mission__stat-num {
  transition: text-shadow 0.3s ease;
}

.mission__stat:hover .mission__stat-num {
  text-shadow: 0 0 20px rgba(0,255,65,0.3);
  color: var(--green);
}

/* --- MARKET STAT HOVER GLOW --- */
.acsm__market-stat {
  transition: text-shadow 0.3s ease;
}

.acsm__market-highlight:hover .acsm__market-stat {
  text-shadow: 0 0 24px rgba(0,255,65,0.4);
}

/* --- BOUNDARY ITEM HOVER --- */
.boundary-item {
  transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.boundary-item:hover {
  padding-left: 12px;
}

.boundary-item:hover .boundary-item__num {
  color: var(--green);
}

.boundary-item__num {
  transition: color 0.3s ease;
}

/* --- CONTACT ROW HOVER --- */
.contact__row {
  transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact__row:hover {
  padding-left: 8px;
}

.contact__row:hover .contact__icon {
  color: var(--green);
}

.contact__icon {
  transition: color 0.3s ease;
}

/* --- NAV LOGO HOVER --- */
.nav__logo-img {
  transition: filter 0.3s ease;
}

.nav__logo:hover .nav__logo-img {
  filter: drop-shadow(0 0 8px rgba(0,255,65,0.4));
}

/* --- PRINCIPLE TAG HOVER --- */
.principle-tag {
  transition: color 0.3s ease, text-shadow 0.3s ease;
  cursor: default;
}

.principle-tag:hover {
  color: var(--green);
  text-shadow: 0 0 12px rgba(0,255,65,0.3);
}

/* --- SCROLL INDICATOR GREEN PULSE --- */
.hero__scroll-indicator:hover .scroll-line {
  background: linear-gradient(to bottom, var(--green) 0%, transparent 100%);
}

.hero__scroll-indicator:hover .scroll-label {
  color: var(--green);
}

.scroll-label {
  transition: color 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .grain-overlay,
  .ambient-scanlines,
  .cursor-glow,
  .hero__particles {
    display: none !important;
  }
}
