/* ==========================================================================
   DEV KALANI — PREMIUM FUTURISTIC DEVELOPER PORTFOLIO
   Stylesheet: style.css
   Architecture: CSS Custom Properties, Mobile-First, Zero Horizontal Overflow
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & THEME VARIABLES
   -------------------------------------------------------------------------- */
:root,
[data-theme="dark"] {
  --bg-primary: #050807;
  --bg-secondary: #0B1210;
  --bg-tertiary: #101B18;
  --bg-glass: rgba(11, 18, 16, 0.78);
  --bg-header: rgba(5, 8, 7, 0.84);

  --accent-primary: #00E599;
  --accent-secondary: #00B87A;
  --accent-tint: rgba(0, 229, 153, 0.1);
  --accent-tint-strong: rgba(0, 229, 153, 0.18);
  --accent-glow: rgba(0, 229, 153, 0.25);

  --text-primary: #F1F5F3;
  --text-secondary: #9BAAA3;
  --text-muted: #677770;
  --text-on-accent: #04120C;

  --border-subtle: rgba(0, 229, 153, 0.15);
  --border-strong: rgba(0, 229, 153, 0.38);
  --border-neutral: rgba(241, 245, 243, 0.08);

  --danger: #FF5C6C;
  --warning: #F5B942;

  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 28px rgba(0, 229, 153, 0.16);

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --header-height: 72px;
  --container-max: 1160px;
  --transition-fast: 180ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-smooth: 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Optional Light Theme — Clean Daylight Technical Lab with Emerald Identity */
[data-theme="light"] {
  --bg-primary: #F3F8F6;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #E7F1ED;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-header: rgba(243, 248, 246, 0.88);

  --accent-primary: #009B66;
  --accent-secondary: #007A50;
  --accent-tint: rgba(0, 155, 102, 0.09);
  --accent-tint-strong: rgba(0, 155, 102, 0.16);
  --accent-glow: rgba(0, 155, 102, 0.2);

  --text-primary: #0B1713;
  --text-secondary: #3B5048;
  --text-muted: #5F756C;
  --text-on-accent: #FFFFFF;

  --border-subtle: rgba(0, 155, 102, 0.18);
  --border-strong: rgba(0, 155, 102, 0.42);
  --border-neutral: rgba(11, 23, 19, 0.08);

  --danger: #D93044;
  --warning: #B87D0A;

  --shadow-card: 0 12px 30px rgba(11, 23, 19, 0.07);
  --shadow-glow: 0 0 24px rgba(0, 155, 102, 0.12);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 16px;
  background: var(--accent-primary);
  color: var(--text-on-accent);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

.accent-text {
  color: var(--accent-primary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #6EF7C8 55%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #008A5A 0%, #00B87A 60%, #006642 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   3. CUSTOM CURSOR (DESKTOP POINTER DEVICES ONLY)
   -------------------------------------------------------------------------- */
.cursor-dot,
.cursor-ring {
  display: none;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

@media (pointer: fine) and (min-width: 1024px) {
  .cursor-dot.is-active,
  .cursor-ring.is-active {
    display: block;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-primary);
  }

  .cursor-ring {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--border-strong);
    transition: width 180ms ease, height 180ms ease, border-color 180ms ease, background-color 180ms ease;
  }

  .cursor-ring.is-hovering {
    width: 46px;
    height: 46px;
    border-color: var(--accent-primary);
    background-color: var(--accent-tint);
  }
}

/* --------------------------------------------------------------------------
   4. SCROLL PROGRESS & STICKY HEADER
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
  z-index: 1200;
  transition: width 60ms linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth);
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
}

.brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-tint);
  border: 1px solid var(--border-strong);
  color: var(--accent-primary);
}

.desktop-nav {
  display: none;
}

@media (min-width: 860px) {
  .desktop-nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background-color: var(--accent-tint);
}

.nav-link.active {
  color: var(--accent-primary);
  background-color: var(--accent-tint);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

[data-theme="dark"] .icon-sun {
  display: block;
}
[data-theme="dark"] .icon-moon {
  display: none;
}
[data-theme="light"] .icon-sun {
  display: none;
}
[data-theme="light"] .icon-moon {
  display: block;
}

.mobile-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-secondary);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@media (min-width: 860px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-strong);
  padding: 16px 20px 24px;
  box-shadow: var(--shadow-card);
  animation: slideDown 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav[hidden] {
  display: none;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent-primary);
  background-color: var(--accent-tint);
  border-color: var(--border-subtle);
}

/* --------------------------------------------------------------------------
   5. BUTTONS & SHARED UI CONTROLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  font-size: 0.94rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 44px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--text-on-accent);
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover {
  background-color: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px var(--accent-glow);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--accent-tint);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  color: var(--accent-primary);
  border-color: var(--border-strong);
  background-color: var(--accent-tint);
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.86rem;
  min-height: 38px;
}

.btn-outline-full {
  width: 100%;
  background-color: var(--accent-tint);
  color: var(--accent-primary);
  border: 1px dashed var(--border-strong);
}

.btn-outline-full:hover {
  background-color: var(--accent-tint-strong);
  border-style: solid;
}

.btn-disabled-placeholder {
  background-color: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px dashed var(--border-subtle);
  padding: 9px 14px;
  font-size: 0.84rem;
  min-height: 38px;
}

.btn-disabled-placeholder:hover {
  border-color: var(--border-strong);
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION & 3D EMERALD ENVIRONMENT
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding-block: 56px 72px;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 35%, transparent 100%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  pointer-events: none;
  opacity: 0.45;
}

.hero-glow-primary {
  width: 340px;
  height: 340px;
  background: var(--accent-primary);
  top: 8%;
  right: 8%;
  opacity: 0.14;
}

.hero-glow-secondary {
  width: 280px;
  height: 280px;
  background: var(--accent-secondary);
  bottom: 10%;
  left: -4%;
  opacity: 0.1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-container {
    grid-template-columns: 1.18fr 0.82fr;
    gap: 36px;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--accent-tint);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulseBeacon 2.2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7.5vw, 4.65rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  word-break: break-word;
}

.hero-role-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  min-height: 2.1rem;
}

.role-prefix {
  font-family: var(--font-mono);
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.hero-role {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  font-weight: 600;
  color: var(--text-primary);
}

.typing-cursor {
  color: var(--accent-primary);
  animation: blinkCursor 0.9s steps(2) infinite;
}

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

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.02rem;
  max-width: 58ch;
  margin-bottom: 18px;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-location svg {
  color: var(--accent-primary);
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* 3D Interactive Emerald Scene */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.emerald-scene {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease-out;
}

.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: slowSpin 34s linear infinite;
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cube-3d-wrapper {
  width: 136px;
  height: 136px;
  perspective: 750px;
}

.cube-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 18s linear infinite;
}

@keyframes rotateCube {
  0% { transform: rotateX(-22deg) rotateY(0deg); }
  100% { transform: rotateX(-22deg) rotateY(360deg); }
}

.cube-face {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--accent-primary);
  background: linear-gradient(135deg, rgba(0, 229, 153, 0.12), rgba(0, 184, 122, 0.03));
  box-shadow: inset 0 0 22px rgba(0, 229, 153, 0.14);
}

.face-front  { transform: rotateY(0deg) translateZ(68px); }
.face-back   { transform: rotateY(180deg) translateZ(68px); }
.face-right  { transform: rotateY(90deg) translateZ(68px); }
.face-left   { transform: rotateY(-90deg) translateZ(68px); }
.face-top    { transform: rotateX(90deg) translateZ(68px); }
.face-bottom { transform: rotateX(-90deg) translateZ(68px); }

.core-octahedron {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  background: radial-gradient(circle at 30% 30%, #7CFFCE, var(--accent-primary) 55%, var(--accent-secondary));
  border-radius: 10px;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 36px var(--accent-primary);
}

/* Floating Code Snippets */
.floating-snippet {
  position: absolute;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.snippet-top {
  top: 6%;
  left: 0;
  padding: 10px 14px;
  animation: floatY 5s ease-in-out infinite;
}

.snippet-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.snippet-header .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--border-strong);
}

.snippet-header .dot:first-child {
  background-color: var(--accent-primary);
}

.snippet-file {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.snippet-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.snippet-code .kw { color: var(--accent-primary); }
.snippet-code .str { color: #8CE9C8; }
.snippet-code .bool { color: #F5B942; }

[data-theme="light"] .snippet-code .str {
  color: #007A50;
}

.snippet-bottom {
  bottom: 8%;
  right: 0;
  padding: 8px 13px;
  animation: floatY 6s ease-in-out infinite reverse;
}

.snippet-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.pulse-mini {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  display: inline-block;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 420px) {
  .emerald-scene {
    max-width: 300px;
  }
  .snippet-top {
    padding: 8px 10px;
  }
  .snippet-code {
    font-size: 0.66rem;
  }
}

/* --------------------------------------------------------------------------
   7. SECTIONS & HEADINGS
   -------------------------------------------------------------------------- */
.section {
  padding-block: 84px;
  position: relative;
}

@media (min-width: 960px) {
  .section {
    padding-block: 104px;
  }
}

.section-header {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   8. ABOUT ME SECTION
   -------------------------------------------------------------------------- */
.about-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-neutral);
  border-bottom: 1px solid var(--border-neutral);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 920px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
  }
}

.about-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text-primary);
  border-left: 3px solid var(--accent-primary);
  padding-left: 18px;
  margin-bottom: 20px;
}

.about-body {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.subsection-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: 14px;
}

.goals-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 560px) {
  .goals-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.goal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.goal-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.goal-icon {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-primary);
  background-color: var(--accent-tint);
  padding: 4px 8px;
  border-radius: 4px;
}

/* Developer Info Panel */
.dev-spec-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.spec-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--border-strong);
}

.terminal-dots span:first-child {
  background-color: var(--accent-primary);
}

.spec-filename {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.spec-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-primary);
  background-color: var(--accent-tint);
  padding: 2px 8px;
  border-radius: 4px;
}

.spec-card-body {
  padding: 22px 20px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-neutral);
  font-size: 0.92rem;
}

.spec-row dt {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.spec-row dd {
  font-weight: 600;
  text-align: right;
}

.cv-action-box {
  padding-top: 4px;
}

.cv-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. SKILLS SECTION
   -------------------------------------------------------------------------- */
.skills-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 8px 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.filter-btn.active {
  background-color: var(--accent-tint-strong);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  font-weight: 600;
}

.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.skill-group.is-hidden {
  display: none;
}

.skill-group-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.skill-group-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-indicator.familiar {
  background-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

.status-indicator.learning {
  background-color: var(--warning);
  box-shadow: 0 0 10px rgba(245, 185, 66, 0.5);
}

.skill-group-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}

.skill-group-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: var(--accent-tint);
  color: var(--accent-primary);
  border: 1px solid var(--border-subtle);
}

.badge-learning {
  color: var(--warning);
  background-color: rgba(245, 185, 66, 0.1);
  border-color: rgba(245, 185, 66, 0.25);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 600px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skill-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.skill-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.skill-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background-color: var(--accent-tint);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-info {
  flex: 1;
  min-width: 0;
}

.skill-name {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.skill-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.tag-familiar {
  background-color: var(--accent-tint);
  color: var(--accent-primary);
}

.tag-learning {
  background-color: rgba(245, 185, 66, 0.12);
  color: var(--warning);
}

/* --------------------------------------------------------------------------
   10. FEATURED PROJECTS SECTION
   -------------------------------------------------------------------------- */
.projects-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-neutral);
  border-bottom: 1px solid var(--border-neutral);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform 180ms ease-out;
  transform-style: preserve-3d;
}

.project-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.project-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #07100D;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.project-svg-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-svg-art {
  transform: scale(1.03);
}

.project-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: rgba(5, 8, 7, 0.85);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #00E599;
}

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

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

.project-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.project-status-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

.status-active {
  background-color: var(--accent-tint);
  color: var(--accent-primary);
}

.status-planned {
  background-color: rgba(245, 185, 66, 0.12);
  color: var(--warning);
}

.status-upcoming {
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
}

.project-description {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.project-features {
  margin-bottom: 18px;
  padding: 12px 14px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-neutral);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-features li {
  position: relative;
  padding-left: 16px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.project-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: 700;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 18px;
}

.project-tags span {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 3px 9px;
  border-radius: 4px;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-neutral);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-neutral);
}

.status-note-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   11. EXPERIENCE & EDUCATION TIMELINE SECTION
   -------------------------------------------------------------------------- */
.journey-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 960px) {
  .journey-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
  }
}

.experience-card {
  margin-top: 24px;
  padding: 26px 24px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.exp-header {
  margin-bottom: 16px;
}

.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--accent-primary);
  background-color: var(--accent-tint);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.exp-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.exp-intro {
  color: var(--text-secondary);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.exp-highlights {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.exp-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.check-icon {
  color: var(--accent-primary);
  font-weight: 700;
  line-height: 1.4;
}

/* Vertical Futuristic Timeline */
.timeline {
  position: relative;
  margin-top: 28px;
  padding-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 9px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--border-subtle));
}

.timeline-item {
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: -32px;
  top: 6px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-core {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  box-shadow: 0 0 12px var(--accent-primary);
  z-index: 2;
}

.active-node .node-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent-primary);
  animation: pulseBeacon 2.2s infinite ease-in-out;
}

.timeline-content {
  padding: 20px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.timeline-item:hover .timeline-content {
  border-color: var(--accent-primary);
}

.timeline-status {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.badge-current {
  background-color: var(--accent-tint);
  color: var(--accent-primary);
}

.badge-completed {
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   12. MILESTONES & TESTIMONIALS EMPTY STATES
   -------------------------------------------------------------------------- */
.milestones-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-neutral);
  border-bottom: 1px solid var(--border-neutral);
}

.empty-state-card {
  max-width: 680px;
  margin-inline: auto;
  padding: 40px 26px;
  text-align: center;
  background-color: var(--bg-primary);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.testimonials-section .empty-state-card {
  background-color: var(--bg-secondary);
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background-color: var(--accent-tint);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-state-sub {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   13. GITHUB CONTRIBUTION / ACTIVITY SECTION
   -------------------------------------------------------------------------- */
.github-wrapper {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.github-profile-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.gh-user-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gh-avatar-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-tint);
  border: 1px solid var(--border-strong);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.gh-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gh-handle {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
}

.gh-meta {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.gh-repos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 720px) {
  .gh-repos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gh-repo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.gh-repo-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.gh-repo-name {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 6px;
  word-break: break-word;
}

.gh-repo-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.gh-repo-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.gh-lang-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-primary);
  margin-right: 5px;
}

.gh-fallback-box {
  padding: 24px;
  text-align: center;
  background-color: var(--bg-primary);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
}

.gh-fallback-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.gh-loading-state {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 720px) {
  .gh-loading-state {
    grid-template-columns: repeat(2, 1fr);
  }
}

.skeleton-card {
  height: 112px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--bg-primary) 25%, var(--bg-tertiary) 50%, var(--bg-primary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --------------------------------------------------------------------------
   14. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-neutral);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 44px;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.contact-card:hover {
  border-color: var(--accent-primary);
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background-color: var(--accent-tint);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-content {
  flex: 1;
  min-width: 0;
}

.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  word-break: break-word;
}

a.contact-value:hover {
  color: var(--accent-primary);
}

.copy-btn {
  padding: 6px 11px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  color: var(--accent-primary);
  background-color: var(--accent-tint);
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background-color: var(--accent-primary);
  color: var(--text-on-accent);
}

/* Contact Form */
.contact-form {
  padding: 26px 22px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
}

.required-star {
  color: var(--accent-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  font-size: 0.8rem;
  color: var(--danger);
  min-height: 1.1em;
}

.form-transparency-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.form-transparency-note code {
  font-family: var(--font-mono);
  color: var(--accent-primary);
}

.btn-submit {
  width: 100%;
}

@media (min-width: 520px) {
  .btn-submit {
    width: auto;
  }
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-feedback.is-success {
  background-color: var(--accent-tint);
  border: 1px solid var(--accent-primary);
  color: var(--text-primary);
}

.form-feedback.is-error {
  background-color: rgba(255, 92, 108, 0.1);
  border: 1px solid var(--danger);
  color: var(--text-primary);
}

.mailto-fallback-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-primary);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   15. FOOTER & TOAST
   -------------------------------------------------------------------------- */
.site-footer {
  padding-block: 42px 32px;
  border-top: 1px solid var(--border-subtle);
  background-color: var(--bg-primary);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-neutral);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-tagline {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 2500;
  max-width: min(360px, calc(100vw - 44px));
  padding: 13px 18px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  font-size: 0.88rem;
  color: var(--text-primary);
}

.toast[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   16. SCROLL REVEAL & REDUCED MOTION ACCESSIBILITY
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms cubic-bezier(0.22, 1, 0.36, 1), transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  animation: revealUp 620ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}
