/* ============================================================
   FixAsif Portfolio — Glassmorphism + Backlit Glass
   ============================================================ */

/* ------------------------------------------------------------
   THEME TOKENS
   ------------------------------------------------------------ */
:root {
  --font: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --bg-primary: #0a0a0f;
  --bg-secondary: #0d1117;
  --bg-grid: rgba(255, 255, 255, 0.025);

  --text-primary: #e9e7f2;
  --text-secondary: #a5a0b8;
  --text-heading: #ffffff;

  /* Glass — kept intentionally transparent so the glow shows through */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-bg-strong: rgba(255, 255, 255, 0.11);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-border-soft: rgba(255, 255, 255, 0.09);
  --glass-blur: 20px;
  --glass-shadow: rgba(0, 0, 0, 0.45);

  /* 3D surface: light hits the top, shadow pools at the bottom.
     On a near-black page a black drop-shadow is invisible, so depth comes
     from a bright top bevel + a strong dark inset + a coloured lift glow. */
  --glass-surface: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.19) 0%,
    rgba(255, 255, 255, 0.07) 38%,
    rgba(255, 255, 255, 0.03) 100%
  );
  --bevel-top: rgba(255, 255, 255, 0.75);
  --bevel-sheen: rgba(255, 255, 255, 0.3);
  --well-bottom: rgba(0, 0, 0, 0.95);
  --lift-glow: rgba(var(--accent-rgb), 0.26);

  /* Accents */
  --accent-1: #8b5cf6;
  --accent-2: #3b82f6;
  --accent-3: #06b6d4;
  --accent-rgb: 139, 92, 246;
  --accent-2-rgb: 59, 130, 246;
  --accent-gradient: linear-gradient(120deg, #a78bfa 0%, #60a5fa 50%, #22d3ee 100%);
  --accent-gradient-btn: linear-gradient(135deg, #8b5cf6 0%, #6366f1 45%, #3b82f6 100%);

  /* Cyberpunk accents for the ID card */
  --neon-green: #39ff88;
  --neon-green-rgb: 57, 255, 136;
  --neon-red: #ff3b5c;
  --neon-red-rgb: 255, 59, 92;

  --card-hover-glow: rgba(var(--accent-rgb), 0.28);
  --idcard-glow: rgba(var(--accent-rgb), 0.22);

  --tag-bg: rgba(var(--accent-rgb), 0.14);
  --tag-text: #c4b5fd;

  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.12);
  --input-focus: rgba(var(--accent-rgb), 0.55);

  --nav-bg: rgba(10, 10, 15, 0.62);
}

[data-theme="light"] {
  --bg-primary: #eef1f8;
  --bg-secondary: #e4e9f5;
  --bg-grid: rgba(20, 20, 60, 0.035);

  --text-primary: #1b1b2b;
  --text-secondary: #5a5a72;
  --text-heading: #0b0b17;

  --glass-bg: rgba(255, 255, 255, 0.42);
  --glass-bg-strong: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-border-soft: rgba(30, 30, 80, 0.1);
  --glass-blur: 20px;
  --glass-shadow: rgba(60, 60, 120, 0.14);

  /* light theme: bright white top + soft violet drop shadow reads as depth */
  --glass-surface: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.5) 42%,
    rgba(255, 255, 255, 0.62) 100%
  );
  --bevel-top: rgba(255, 255, 255, 1);
  --bevel-sheen: rgba(255, 255, 255, 0.85);
  --well-bottom: rgba(120, 140, 200, 0.4);
  --lift-glow: rgba(var(--accent-rgb), 0.18);

  --accent-1: #6d28d9;
  --accent-2: #2563eb;
  --accent-3: #0891b2;
  --accent-rgb: 109, 40, 217;
  --accent-2-rgb: 37, 99, 235;
  --accent-gradient: linear-gradient(120deg, #7c3aed 0%, #2563eb 55%, #0891b2 100%);
  --accent-gradient-btn: linear-gradient(135deg, #7c3aed 0%, #4f46e5 45%, #2563eb 100%);

  --neon-green: #059669;
  --neon-green-rgb: 5, 150, 105;
  --neon-red: #dc2626;
  --neon-red-rgb: 220, 38, 38;

  --card-hover-glow: rgba(var(--accent-rgb), 0.16);
  --idcard-glow: rgba(var(--accent-rgb), 0.12);

  --tag-bg: rgba(var(--accent-rgb), 0.1);
  --tag-text: #6d28d9;

  --input-bg: rgba(255, 255, 255, 0.5);
  --input-border: rgba(30, 30, 80, 0.12);
  --input-focus: rgba(var(--accent-rgb), 0.4);

  --nav-bg: rgba(238, 241, 248, 0.7);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background 0.35s ease, color 0.35s ease;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

::selection { background: rgba(var(--accent-rgb), 0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}

/* Full-width container (no center max-width box) */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 72px);
}

/* ------------------------------------------------------------
   VIEW TRANSITIONS (theme toggle)
   ------------------------------------------------------------ */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 9999; }

.theme-wipe {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  background: transparent;
}

/* ------------------------------------------------------------
   BACKGROUND ORBS + GRID (the backlight source)
   ------------------------------------------------------------ */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 20%, transparent 80%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  /* Lower blur radius + translate3d keeps these on the GPU compositor.
     Very large blurs (90px+) are extremely expensive on mobile. */
  filter: blur(52px);
  opacity: 0.8;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.orb-1 {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.55), transparent 68%);
  top: -8%; left: -8%;
  animation: drift1 24s ease-in-out infinite alternate;
}
.orb-2 {
  width: 40vw; height: 40vw; min-width: 320px; min-height: 320px;
  background: radial-gradient(circle, rgba(var(--accent-2-rgb), 0.42), transparent 68%);
  top: 18%; right: -10%;
  animation: drift2 20s ease-in-out infinite alternate;
}
.orb-3 {
  width: 34vw; height: 34vw; min-width: 280px; min-height: 280px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent 68%);
  bottom: 2%; left: 26%;
  animation: drift3 28s ease-in-out infinite alternate;
}
.orb-4 {
  width: 30vw; height: 30vw; min-width: 240px; min-height: 240px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.22), transparent 68%);
  top: 58%; left: -6%;
  animation: drift2 26s ease-in-out infinite alternate-reverse;
}

@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(9vw, 7vh) scale(1.12); }
  100% { transform: translate(3vw, 14vh) scale(0.94); }
}
@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-8vw, 8vh) scale(1.08); }
  100% { transform: translate(-3vw, -6vh) scale(0.96); }
}
@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(7vw, -9vh) scale(1.1); }
  100% { transform: translate(-6vw, -4vh) scale(0.92); }
}

/* ------------------------------------------------------------
   GLASS CARD — transparent + backlit + rim light
   ------------------------------------------------------------ */
.glass-card {
  position: relative;
  background: var(--glass-surface);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.4);
  border: 1px solid var(--glass-border-soft);
  border-radius: 22px;
  /* 3D stack (works on both themes):
     1. crisp bright line on the very top edge  -> the lit bevel
     2. soft sheen just under it                -> curved surface catching light
     3. dark pool at the bottom                 -> the "well" receding
     4. coloured ambient lift below             -> light bouncing off the page
     5. tight contact shadow                    -> object sitting on a surface
     6. wide soft shadow                        -> height above the page        */
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 12px 22px -14px var(--bevel-sheen),
    inset 0 -22px 34px -24px var(--well-bottom),
    0 0 26px -6px var(--lift-glow),
    0 3px 6px -2px rgba(0, 0, 0, 0.5),
    0 18px 40px -18px rgba(0, 0, 0, 0.7);
  transition:
    transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.45s ease,
    background 0.45s ease;
  overflow: hidden;
  isolation: isolate;
}

[data-theme="light"] .glass-card {
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 12px 22px -14px var(--bevel-sheen),
    inset 0 -22px 34px -24px var(--well-bottom),
    0 0 26px -8px var(--lift-glow),
    0 3px 6px -2px rgba(90, 100, 160, 0.16),
    0 18px 40px -18px rgba(90, 100, 160, 0.28);
}

/* Light passing through — the visible colourful backing under the glass.
   This is what gives the "background underneath the pane" look. */
.glass-card::before {
  content: '';
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(58% 62% at 8% 4%, rgba(var(--accent-rgb), 0.55), transparent 62%),
    radial-gradient(52% 58% at 96% 96%, rgba(var(--accent-2-rgb), 0.45), transparent 60%),
    radial-gradient(44% 50% at 82% 8%, rgba(6, 182, 212, 0.32), transparent 62%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  filter: blur(6px);
}

[data-theme="light"] .glass-card::before {
  opacity: 0.6;
  filter: blur(8px);
}

/* Rim light on the edges (gradient border via mask) */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.18) 18%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(255, 255, 255, 0.03) 70%,
    rgba(255, 255, 255, 0.28) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
}

[data-theme="light"] .glass-card::after {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.2) 22%,
    transparent 48%,
    rgba(255, 255, 255, 0.15) 74%,
    rgba(255, 255, 255, 0.85) 100%
  );
}

/* keep content above overlays */
.glass-card > * { position: relative; z-index: 1; }

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 14px 26px -14px var(--bevel-sheen),
    inset 0 -22px 34px -24px var(--well-bottom),
    0 0 46px -6px var(--card-hover-glow),
    0 6px 10px -3px rgba(0, 0, 0, 0.55),
    0 30px 56px -20px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .glass-card:hover {
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 14px 26px -14px var(--bevel-sheen),
    inset 0 -22px 34px -24px var(--well-bottom),
    0 0 46px -8px var(--card-hover-glow),
    0 6px 10px -3px rgba(90, 100, 160, 0.2),
    0 30px 56px -20px rgba(90, 100, 160, 0.34);
}

/* ------------------------------------------------------------
   BUTTONS — 3D glossy capsule
   ------------------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform 0.28s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.28s ease,
              background 0.28s ease,
              border-color 0.28s ease;
  white-space: nowrap;
}

/* top glass highlight — the strong upper bevel that sells the 3D look */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 54%;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.22) 45%,
    rgba(255, 255, 255, 0) 100%);
  border-radius: 999px 999px 45% 45%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* moving sheen */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  z-index: 1;
}
.btn:hover::after { left: 150%; }

.btn > * { position: relative; z-index: 2; }
.btn i { position: relative; z-index: 2; }

.btn-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0) 50%),
    var(--accent-gradient-btn);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.5) inset,
    0 -4px 8px -2px rgba(0, 0, 0, 0.4) inset,
    0 8px 24px -6px rgba(var(--accent-rgb), 0.65),
    0 16px 30px -14px rgba(0, 0, 0, 0.8);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.6) inset,
    0 -4px 8px -2px rgba(0, 0, 0, 0.4) inset,
    0 14px 34px -6px rgba(var(--accent-rgb), 0.8),
    0 0 34px rgba(var(--accent-2-rgb), 0.45),
    0 22px 40px -18px rgba(0, 0, 0, 0.85);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.99);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 4px 14px -6px rgba(var(--accent-rgb), 0.6);
}

.btn-secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.02) 55%),
    var(--glass-bg-strong);
  border-color: var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-primary);
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 -8px 14px -8px var(--well-bottom),
    0 0 20px -8px var(--lift-glow),
    0 3px 6px -2px rgba(0, 0, 0, 0.5),
    0 12px 26px -14px rgba(0, 0, 0, 0.7);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.05);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.04) 55%),
    rgba(var(--accent-rgb), 0.28);
  border-color: rgba(var(--accent-rgb), 0.5);
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 -8px 14px -8px var(--well-bottom),
    0 0 28px -4px rgba(var(--accent-rgb), 0.5),
    0 4px 8px -2px rgba(0, 0, 0, 0.55),
    0 20px 38px -16px rgba(0, 0, 0, 0.8);
}

.btn-secondary:active { transform: translateY(1px) scale(0.99); }

.btn-small {
  padding: 10px 22px;
  font-size: 0.82rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.02) 58%),
    var(--glass-bg-strong);
  border-color: var(--glass-border-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 -7px 12px -8px var(--well-bottom),
    0 0 16px -8px var(--lift-glow),
    0 2px 5px -2px rgba(0, 0, 0, 0.5),
    0 10px 22px -14px rgba(0, 0, 0, 0.65);
}

.btn-small:hover {
  transform: translateY(-2px) scale(1.04);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 58%),
    rgba(var(--accent-rgb), 0.26);
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 -7px 12px -8px var(--well-bottom),
    0 0 24px -6px rgba(var(--accent-rgb), 0.45),
    0 3px 6px -2px rgba(0, 0, 0, 0.5),
    0 16px 30px -16px rgba(0, 0, 0, 0.75);
}

.btn-full { width: 100%; }

/* ------------------------------------------------------------
   STATUS DOT
   ------------------------------------------------------------ */
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  box-shadow: 0 0 0 0 rgba(var(--neon-green-rgb), 0.7);
  animation: pulseDot 2s infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(var(--neon-green-rgb), 0.7); }
  70%  { box-shadow: 0 0 0 9px rgba(var(--neon-green-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--neon-green-rgb), 0); }
}

/* ------------------------------------------------------------
   NAVBAR
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-bottom: 1px solid var(--glass-border-soft);
  transition: padding 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 10px 34px -10px rgba(0, 0, 0, 0.7),
    0 0 26px -10px var(--lift-glow);
}

.nav-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-heading);
}
.nav-logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease, background 0.3s ease;
}
.nav-link:hover { color: var(--text-heading); background: rgba(var(--accent-rgb), 0.12); }
.nav-link.active {
  color: var(--tag-text);
  background: rgba(var(--accent-rgb), 0.16);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.22);
}
[data-theme="light"] .nav-link.active { color: var(--accent-1); }

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

.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.02) 58%),
    var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-primary);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 -8px 13px -9px var(--well-bottom),
    0 2px 5px -2px rgba(0, 0, 0, 0.5),
    0 10px 20px -12px rgba(0, 0, 0, 0.65);
  transition: transform 0.35s ease, background 0.3s ease, border-color 0.3s ease;
}
.theme-toggle:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.04) 58%),
    rgba(var(--accent-rgb), 0.3);
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: rotate(25deg) scale(1.08);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1002;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   HERO  (two columns until 768px)
   ------------------------------------------------------------ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(110px, 14vh, 160px) 0 clamp(70px, 10vh, 110px);
}

.hero-container {
  width: 100%;
  padding: 0 clamp(20px, 4.5vw, 72px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}

.hero-greeting {
  display: inline-flex;
  align-items: center;
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  padding: 7px 16px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 60%),
    var(--glass-bg);
  border: 1px solid var(--glass-border-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 -7px 12px -8px var(--well-bottom),
    0 2px 5px -2px rgba(0, 0, 0, 0.5),
    0 10px 22px -14px rgba(0, 0, 0, 0.65);
  margin-bottom: clamp(14px, 2vh, 22px);
}

.hero-name {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text-heading);
  margin-bottom: clamp(10px, 1.6vh, 18px);
}

.hero-role {
  font-size: clamp(1rem, 2.1vw, 1.5rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: clamp(16px, 2.4vh, 24px);
}
.hero-role .sep { color: var(--accent-1); margin: 0 0.35em; opacity: 0.8; }

.hero-bio {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: var(--text-secondary);
  max-width: min(34vw, 560px);
  line-height: 1.85;
  margin-bottom: clamp(24px, 3.5vh, 36px);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1.4vw, 16px);
  margin-bottom: clamp(24px, 3.5vh, 36px);
}

.hero-socials { display: flex; gap: 12px; }

.social-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--glass-border-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.02) 58%),
    var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  color: var(--text-secondary);
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 -8px 13px -9px var(--well-bottom),
    0 2px 5px -2px rgba(0, 0, 0, 0.5),
    0 10px 20px -12px rgba(0, 0, 0, 0.65);
  transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease;
}
.social-icon:hover {
  color: #fff;
  background: rgba(var(--accent-rgb), 0.4);
  border-color: rgba(var(--accent-rgb), 0.65);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -8px 13px -9px rgba(0, 0, 0, 0.5),
    0 10px 30px -6px rgba(var(--accent-rgb), 0.55),
    0 4px 8px -3px rgba(0, 0, 0, 0.5);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--glass-border);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  z-index: 2;
}
.scroll-hint span {
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--accent-1);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(14px); opacity: 0.3; }
}

/* ------------------------------------------------------------
   HANGING ID CARD
   ------------------------------------------------------------ */
.hero-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  perspective: 1000px;
  /* fixed footprint so string stretch never reflows the hero grid */
  min-height: clamp(330px, 40vw, 450px);
}

/* String is FIXED height; JS stretches it with scaleY (no layout reflow) */
.id-card-string {
  position: relative;
  flex: 0 0 auto;
  width: 2px;
  height: 58px;
  z-index: 2;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.18) 45%,
    rgba(255, 255, 255, 0.06) 100%);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.12);
  transform-origin: top center;
  will-change: transform;
}

.string-clip {
  position: absolute;
  top: 1px; left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  z-index: 3;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.id-card {
  position: relative;
  width: clamp(178px, 17.5vw, 234px);
  transform-origin: top center;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  border-radius: 18px;
  padding: 1px;
  /* NOTE: no backdrop-filter here. This element is transformed every frame by
     the physics loop; combining that with backdrop-blur forces a full re-blur
     per frame and causes the mobile scroll/drag lag. We fake the glass with a
     layered translucent background instead, which composites on the GPU. */
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.075) 40%,
      rgba(255, 255, 255, 0.04) 100%),
    radial-gradient(120% 90% at 20% 0%, rgba(var(--accent-rgb), 0.28), transparent 65%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 10px 18px -12px rgba(255, 255, 255, 0.28),
    inset 0 -18px 26px -18px rgba(0, 0, 0, 0.95),
    0 0 34px -6px var(--idcard-glow),
    0 3px 6px -2px rgba(0, 0, 0, 0.55),
    0 16px 36px -16px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  will-change: transform;
}
.id-card:active { cursor: grabbing; }

[data-theme="light"] .id-card {
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.78) 45%,
      rgba(255, 255, 255, 0.85) 100%),
    radial-gradient(120% 90% at 20% 0%, rgba(var(--accent-rgb), 0.16), transparent 65%);
  border-color: rgba(255, 255, 255, 1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 10px 18px -12px rgba(255, 255, 255, 0.9),
    inset 0 -18px 26px -18px rgba(120, 140, 200, 0.55),
    0 0 30px -8px var(--idcard-glow),
    0 3px 6px -2px rgba(90, 100, 160, 0.18),
    0 16px 36px -16px rgba(90, 100, 160, 0.3);
}

/* glossy diagonal sheen */
.id-card::before {
  content: '';
  position: absolute;
  inset: -60% -60%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.07) 44%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(255, 255, 255, 0.07) 56%,
    transparent 62%
  );
  pointer-events: none;
  z-index: 3;
}

/* glitch / scanline edge */
.id-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 4;
  background: repeating-linear-gradient(
    0deg,
    rgba(var(--neon-green-rgb), 0.05) 0px,
    rgba(var(--neon-green-rgb), 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: screen;
  animation: scanShift 6s linear infinite;
}
@keyframes scanShift {
  from { background-position: 0 0; }
  to   { background-position: 0 60px; }
}

[data-theme="light"] .id-card::after { mix-blend-mode: normal; opacity: 0.35; }

.id-card-inner {
  position: relative;
  z-index: 2;
  padding: clamp(10px, 1.15vw, 13px);
}

.id-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.id-card-label {
  font-family: var(--mono);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.id-card-chip {
  position: relative;
  width: 28px; height: 20px;
  border-radius: 5px;
  background: linear-gradient(135deg, #c5a028, #f5d76e, #dbb820, #f5d76e, #c5a028);
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.id-card-chip::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 3px;
}

.id-card-photo {
  position: relative;
  width: clamp(60px, 5.8vw, 80px);
  height: clamp(60px, 5.8vw, 80px);
  margin: 0 auto 9px;
  border-radius: 11px;
  overflow: hidden;
  border: 2px solid rgba(var(--neon-green-rgb), 0.55);
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.38),
    0 0 16px rgba(var(--neon-green-rgb), 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.id-card-photo img { width: 100%; height: 100%; object-fit: cover; }

.scanline {
  position: absolute;
  left: 0; right: 0;
  height: 26%;
  top: -30%;
  background: linear-gradient(180deg, transparent, rgba(var(--neon-green-rgb), 0.35), transparent);
  animation: photoScan 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes photoScan {
  0%   { top: -30%; }
  60%  { top: 105%; }
  100% { top: 105%; }
}

.id-card-info { text-align: center; margin-bottom: 9px; }
.id-card-info h3 {
  font-size: clamp(0.88rem, 1.15vw, 1.05rem);
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.4px;
  margin-bottom: 2px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45), 0 0 18px rgba(var(--accent-rgb), 0.3);
}
.id-card-info p {
  font-size: clamp(0.55rem, 0.66vw, 0.64rem);
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 7px;
  padding: 0 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.id-card-tag {
  display: inline-block;
  position: relative;
  padding: 3px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: clamp(0.5rem, 0.58vw, 0.56rem);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--neon-green);
  background: rgba(var(--neon-green-rgb), 0.14);
  border: 1px solid rgba(var(--neon-green-rgb), 0.4);
  text-shadow: 0 0 10px rgba(var(--neon-green-rgb), 0.6);
  box-shadow:
    0 0 14px rgba(var(--neon-green-rgb), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.id-card-skills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 9px;
}
.id-skill-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.52rem;
  font-family: var(--mono);
  color: var(--text-secondary);
  margin-bottom: 3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.id-skill-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.id-skill-bar i {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--neon-green), var(--accent-3));
  box-shadow: 0 0 10px rgba(var(--neon-green-rgb), 0.5);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}
.id-card.bars-in .id-skill-bar i { transform: scaleX(1); }

.id-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.46rem;
  letter-spacing: 0.4px;
  color: var(--text-secondary);
  padding: 6px 0;
  border-top: 1px solid var(--glass-border-soft);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.id-status { display: inline-flex; align-items: center; color: var(--neon-green); }
.id-status .status-dot { width: 6px; height: 6px; margin-right: 5px; }

.id-card-socials {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding-bottom: 8px;
}
.id-card-socials a {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.64rem;
  color: var(--text-secondary);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 60%);
  border: 1px solid var(--glass-border-soft);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -6px 10px -7px rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease;
}
.id-card-socials a:hover {
  color: var(--neon-green);
  border-color: rgba(var(--neon-green-rgb), 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 14px rgba(var(--neon-green-rgb), 0.4);
  transform: translateY(-2px);
}

.id-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 7px;
  border-top: 1px solid var(--glass-border-soft);
}
.id-card-barcode { display: flex; flex-direction: column; gap: 3px; }
.id-card-barcode-lines {
  display: flex;
  gap: 1.5px;
  align-items: stretch;
  height: 11px;
}
.id-card-barcode-lines span {
  display: block;
  height: 100%;
  background: var(--text-secondary);
  opacity: 0.35;
  border-radius: 1px;
}
.id-card-barcode-num {
  font-family: var(--mono);
  font-size: 0.42rem;
  color: var(--text-secondary);
  opacity: 0.5;
  letter-spacing: 1px;
}
.id-card-flag {
  font-family: var(--mono);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-red);
  opacity: 0.75;
  text-shadow: 0 0 10px rgba(var(--neon-red-rgb), 0.5);
}

/* ------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------ */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 9vw, 130px) 0;
}

.section-title {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  text-align: center;
  color: var(--text-heading);
  margin-bottom: clamp(16px, 2vw, 22px);
}

.section-intro {
  max-width: 760px;
  margin: 0 auto clamp(38px, 5vw, 62px);
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(0.92rem, 1.15vw, 1.05rem);
  line-height: 1.85;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ------------------------------------------------------------
   ABOUT
   ------------------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.about-card { padding: clamp(26px, 3.4vw, 46px); }

.about-text {
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 18px;
}
.about-text:last-of-type { margin-bottom: 26px; }

.about-text mark {
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.25), rgba(var(--accent-2-rgb), 0.25));
  color: var(--text-heading);
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.3);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.about-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tag-text);
  background: var(--tag-bg);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
}
.badge i { font-size: 0.85rem; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-number {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-secondary);
}

/* ------------------------------------------------------------
   SERVICES
   ------------------------------------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}

.service-card { padding: clamp(24px, 3vw, 38px); }

.service-icon {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  color: #fff;
  background: var(--accent-gradient-btn);
  box-shadow:
    0 6px 22px rgba(var(--accent-rgb), 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.service-card h3,
.automation-card h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.service-card p,
.automation-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tag-text);
  background: var(--tag-bg);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
}

/* CTA card */
.cta-card {
  margin-top: clamp(20px, 3vw, 34px);
  padding: clamp(26px, 3.4vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-text h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}
.cta-text p { color: var(--text-secondary); font-size: 0.94rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ------------------------------------------------------------
   AUTOMATION
   ------------------------------------------------------------ */
.automation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
}

.automation-card { padding: clamp(24px, 2.8vw, 36px); }

.automation-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.automation-head .service-icon { margin-bottom: 0; flex-shrink: 0; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.feature-list i {
  color: var(--neon-green);
  font-size: 0.75rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ------------------------------------------------------------
   PORTFOLIO — 3D GLASS SHOWCASE
   ------------------------------------------------------------ */
.showcase-stage {
  perspective: 1400px;
  perspective-origin: 50% 40%;
  margin-bottom: clamp(30px, 4vw, 52px);
  padding: clamp(10px, 3vw, 40px) 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px);
  transform-style: preserve-3d;
}

.glass-pane {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  padding: clamp(12px, 1.5vw, 18px);
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  isolation: isolate;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.05) 42%,
      rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(16px) saturate(1.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.7);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 12px 20px -14px rgba(255, 255, 255, 0.24),
    inset 0 -22px 34px -24px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 3px 6px -2px rgba(0, 0, 0, 0.55),
    0 22px 48px -20px rgba(0, 0, 0, 0.8);
  transition:
    transform 0.55s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 0.55s cubic-bezier(0.23, 1, 0.32, 1),
    border-color 0.55s ease;
  /* resting 3D tilt */
  transform: rotateY(var(--ry, -12deg)) rotateX(var(--rx, 8deg)) translateZ(0);
}

/* each pane gets a slightly different tilt for a floating shelf look */
.glass-pane:nth-child(1) { --ry: -16deg; --rx: 9deg; }
.glass-pane:nth-child(2) { --ry: -6deg;  --rx: 5deg; }
.glass-pane:nth-child(3) { --ry: 5deg;   --rx: 5deg; }
.glass-pane:nth-child(4) { --ry: 15deg;  --rx: 9deg; }

/* top glossy bevel */
.glass-pane::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
  z-index: 4;
}

/* diagonal reflection streak */
.glass-pane::after {
  content: '';
  position: absolute;
  inset: -70% -70%;
  background: linear-gradient(
    108deg,
    transparent 40%,
    rgba(255, 255, 255, 0.05) 46%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.05) 54%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 5;
  transform: translateX(-18%);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* coloured light behind the glass */
.pane-glow {
  position: absolute;
  inset: -30%;
  z-index: 0;
  border-radius: 50%;
  filter: blur(38px);
  opacity: 0.85;
  pointer-events: none;
}
.pane-a .pane-glow { background: radial-gradient(circle at 35% 25%, rgba(48, 96, 240, 0.75), transparent 62%); }
.pane-b .pane-glow { background: radial-gradient(circle at 65% 30%, rgba(0, 192, 240, 0.7), transparent 62%); }
.pane-c .pane-glow { background: radial-gradient(circle at 40% 70%, rgba(0, 240, 144, 0.62), transparent 62%); }
.pane-d .pane-glow { background: radial-gradient(circle at 60% 60%, rgba(144, 192, 240, 0.72), transparent 62%); }

[data-theme="light"] .glass-pane {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.42) 100%);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 20px 45px -18px rgba(70, 90, 150, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -20px 40px -25px rgba(120, 140, 200, 0.35);
}
[data-theme="light"] .glass-pane::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 42%);
}
[data-theme="light"] .pane-glow { opacity: 0.5; }

.glass-pane:hover {
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) translateZ(60px) translateY(-10px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    0 40px 70px -22px rgba(0, 0, 0, 0.75),
    0 0 50px -5px rgba(96, 165, 250, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -20px 40px -25px rgba(0, 0, 0, 0.55);
}
.glass-pane:hover::after { transform: translateX(18%); }

/* pane mock UI */
.pane-ui {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 5px;
  margin-bottom: clamp(12px, 1.6vw, 18px);
}
.pane-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.pane-dot:nth-child(1) { background: rgba(255, 90, 90, 0.75); }
.pane-dot:nth-child(2) { background: rgba(255, 200, 80, 0.75); }
.pane-dot:nth-child(3) { background: rgba(90, 230, 140, 0.75); }

.pane-body,
.pane-chart,
.pane-cards,
.pane-profile {
  position: relative;
  z-index: 3;
}

/* pane A — avatar profile layout */
.pane-avatar {
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 12px;
  background: linear-gradient(140deg, rgba(48, 96, 240, 0.9), rgba(0, 240, 144, 0.7));
  box-shadow:
    0 8px 22px -6px rgba(48, 96, 240, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.pane-line {
  height: 7px;
  border-radius: 999px;
  margin-bottom: 9px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.12));
}
.pane-line.lg { width: 78%; height: 10px; }
.pane-line.sm { width: 45%; }

/* pane B — bar chart */
.pane-chart {
  display: flex;
  align-items: flex-end;
  gap: 8%;
  height: 60%;
  padding-top: 8px;
}
.pane-chart i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(0, 192, 240, 0.95), rgba(48, 96, 240, 0.45));
  box-shadow:
    0 0 16px -2px rgba(0, 192, 240, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform-origin: bottom;
  animation: barPulse 3.2s ease-in-out infinite alternate;
}
.pane-chart i:nth-child(2) { animation-delay: 0.2s; }
.pane-chart i:nth-child(3) { animation-delay: 0.4s; }
.pane-chart i:nth-child(4) { animation-delay: 0.6s; }
.pane-chart i:nth-child(5) { animation-delay: 0.8s; }
.pane-chart i:nth-child(6) { animation-delay: 1s; }
@keyframes barPulse {
  from { transform: scaleY(0.86); opacity: 0.8; }
  to   { transform: scaleY(1); opacity: 1; }
}

/* pane C — card grid */
.pane-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  height: 60%;
  padding-top: 6px;
}
.pane-cards span {
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(0, 240, 144, 0.65), rgba(0, 192, 240, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.pane-cards span:nth-child(2) { background: linear-gradient(150deg, rgba(144, 192, 240, 0.7), rgba(48, 96, 240, 0.3)); }
.pane-cards span:nth-child(3) { background: linear-gradient(150deg, rgba(0, 192, 240, 0.6), rgba(0, 240, 144, 0.3)); }
.pane-cards span:nth-child(4) { background: linear-gradient(150deg, rgba(255, 255, 255, 0.45), rgba(144, 192, 240, 0.3)); }

/* pane D — profile ring */
.pane-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 60%;
  padding-top: 6px;
}
.pane-ring {
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-bottom: 14px;
  border: 3px solid transparent;
  background:
    linear-gradient(rgba(10, 10, 20, 0.35), rgba(10, 10, 20, 0.35)) padding-box,
    conic-gradient(from 210deg, #90c0f0, #00c0f0, #00f090, #3060f0, #90c0f0) border-box;
  box-shadow: 0 0 26px -4px rgba(144, 192, 240, 0.85);
  animation: ringSpin 8s linear infinite;
}
@keyframes ringSpin {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}
.pane-profile .pane-line { width: 70%; }
.pane-profile .pane-line.lg { width: 55%; }

.pane-label {
  position: absolute;
  left: clamp(12px, 1.5vw, 18px);
  right: clamp(12px, 1.5vw, 18px);
  bottom: clamp(12px, 1.5vw, 18px);
  z-index: 6;
  font-size: clamp(0.62rem, 0.72vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--text-heading);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* portfolio feature points */
.portfolio-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: clamp(20px, 3vw, 34px);
}
.point-card { padding: clamp(20px, 2.4vw, 30px); }
.point-icon {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: #fff;
  background: var(--accent-gradient-btn);
  box-shadow:
    0 6px 20px rgba(var(--accent-rgb), 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.point-card h3 {
  font-size: clamp(0.95rem, 1.15vw, 1.08rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 7px;
}
.point-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.portfolio-cta {
  padding: clamp(26px, 3.4vw, 42px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

/* legacy project-card rules kept for safety if reused later */
.project-card { padding: 0; display: flex; flex-direction: column; }
.project-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}
.project-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.project-card:hover .project-image img { transform: scale(1.06); }
.project-info {
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-info h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.project-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.project-info .project-tags { margin-bottom: 20px; }
.project-info .btn-small { align-self: flex-start; margin-top: auto; }

/* ------------------------------------------------------------
   SKILLS
   ------------------------------------------------------------ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}

.skill-card {
  padding: clamp(20px, 2.2vw, 30px) 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(0.75rem, 0.85vw, 0.85rem);
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}
.skill-icon {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.skill-card:hover { color: var(--text-heading); }
.skill-card:hover .skill-icon { transform: scale(1.18) translateY(-2px); }

/* ------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.contact-card { padding: clamp(26px, 3.2vw, 42px); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}
.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.94rem;
  outline: none;
  /* inset "well" so fields read as recessed into the glass */
  box-shadow:
    inset 0 2px 5px -2px rgba(0, 0, 0, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  box-shadow:
    inset 0 2px 5px -2px rgba(90, 100, 160, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.9);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-secondary); opacity: 0.6; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--input-focus);
  box-shadow:
    inset 0 2px 5px -2px rgba(0, 0, 0, 0.4),
    0 0 0 3px rgba(var(--accent-rgb), 0.18),
    0 0 24px rgba(var(--accent-rgb), 0.22);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.82rem;
  color: var(--neon-green);
  min-height: 18px;
}

.contact-info-card { padding: clamp(26px, 3vw, 38px); }
.contact-info-card h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.contact-info-card > p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 26px;
}

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

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.01) 58%),
    var(--input-bg);
  border: 1px solid var(--glass-border-soft);
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 -8px 13px -9px var(--well-bottom),
    0 2px 5px -2px rgba(0, 0, 0, 0.45),
    0 10px 20px -14px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, background 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-link i {
  font-size: 1.15rem;
  color: var(--accent-1);
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.contact-link-text {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  word-break: break-word;
}
.contact-link-text strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-heading);
  font-weight: 700;
}
.contact-link:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.03) 58%),
    rgba(var(--accent-rgb), 0.2);
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: translateX(5px);
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 -8px 13px -9px var(--well-bottom),
    0 8px 26px -8px rgba(var(--accent-rgb), 0.4),
    0 3px 6px -2px rgba(0, 0, 0, 0.45);
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
.footer {
  position: relative;
  z-index: 1;
  padding: 30px 0;
  border-top: 1px solid var(--glass-border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-content p { font-size: 0.85rem; color: var(--text-secondary); }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.02) 58%),
    var(--glass-bg);
  border: 1px solid var(--glass-border-soft);
  box-shadow:
    inset 0 1px 0 var(--bevel-top),
    inset 0 -7px 11px -8px var(--well-bottom),
    0 2px 4px -2px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
.footer-socials a:hover {
  color: #fff;
  background: rgba(var(--accent-rgb), 0.4);
  border-color: rgba(var(--accent-rgb), 0.6);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 10px 26px -6px rgba(var(--accent-rgb), 0.5);
}

/* ------------------------------------------------------------
   SCROLL REVEAL
   ------------------------------------------------------------ */
.fade-up {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-up { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   RESPONSIVE — hero stays 2-col until 768px
   ------------------------------------------------------------ */
@media (max-width: 1280px) {
  .skills-grid { grid-template-columns: repeat(4, 1fr); }
  .automation-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .portfolio-points { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: row; }
  .stat-card { flex: 1; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-name { letter-spacing: -1px; }
  .showcase-stage { perspective: none; }
  .glass-pane { transform: none; }
  .glass-pane:hover { transform: translateY(-8px) scale(1.02); }
}

@media (max-width: 860px) {
  .automation-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .glass-pane { aspect-ratio: 4 / 3; }
}

/* Real mobile — stack hero */
@media (max-width: 768px) {
  html { scroll-padding-top: 76px; }

  .nav-links {
    position: fixed;
    top: 0; right: -110%;
    width: min(300px, 82vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 100px 26px 40px;
    background: var(--bg-primary);
    border-left: 1px solid var(--glass-border-soft);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
    transition: right 0.42s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1001;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-link { padding: 13px 18px; font-size: 1rem; }
  .nav-hamburger { display: flex; }

  .hero { min-height: auto; padding: 108px 0 70px; }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }
  .hero-card-wrapper { order: -1; }
  .hero-greeting { margin-left: auto; margin-right: auto; }
  .hero-bio { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-buttons, .hero-socials { justify-content: center; }
  .scroll-hint { display: none; }

  .id-card { width: min(54vw, 205px); }

  .about-stats { flex-direction: column; }
  .stat-card { text-align: center; align-items: center; }
  .cta-card, .portfolio-cta { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; width: 100%; }
  .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 2.15rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .id-card { width: min(58vw, 188px); }
  .btn { padding: 12px 26px; font-size: 0.88rem; }
  .badge { font-size: 0.74rem; padding: 7px 13px; }
  .showcase-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .portfolio-points { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   MOBILE PERFORMANCE MODE
   Large backdrop blurs and 4 continuously-animating blurred orbs are
   very costly on phone GPUs (scroll jank). On touch/small screens we
   swap to opaque-ish backgrounds and keep the orbs static.
   ------------------------------------------------------------ */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  /* Freeze the background orbs — no per-frame blur recomputation */
  .orb { animation: none !important; filter: blur(44px); opacity: 0.7; }
  .grid-overlay { display: none; }

  /* Reduce backdrop blur cost on all glass surfaces */
  .glass-card,
  .glass-pane,
  .navbar,
  .nav-links,
  .btn-secondary,
  .btn-small,
  .theme-toggle,
  .social-icon,
  .contact-link,
  .form-group input,
  .form-group textarea {
    backdrop-filter: blur(9px) saturate(1.2);
    -webkit-backdrop-filter: blur(9px) saturate(1.2);
  }

  /* Keep the 3D surface gradient (it's free — no blur) and just add a touch
     more body so text stays readable at the lower blur radius. */
  .glass-card { background: var(--glass-surface); }
  [data-theme="light"] .glass-card { background: var(--glass-surface); }

  /* Drop the inner blur filter — radial gradients are already soft */
  .glass-card::before { filter: none; inset: 0; opacity: 0.75; }

  /* Showcase panes flatten (no perspective), keep the bevel + backing */
  .showcase-stage { perspective: none; }
  .glass-pane { transform: none; }
  .glass-pane:hover { transform: translateY(-6px); }

  /* Trim the wide outer shadows on the animated card but keep the bevel */
  .id-card {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.7),
      inset 0 -16px 24px -18px rgba(0, 0, 0, 0.9),
      0 0 28px -6px var(--idcard-glow),
      0 3px 6px -2px rgba(0, 0, 0, 0.5);
  }

  /* Disable the pulsing filter animation on the profile ring */
  .pane-ring { animation: none; }
  .pane-chart i { animation: none; }
  .scanline { animation: none; }
  .id-card::after { animation: none; }
}

/* Desktop-only: hero two columns hold between 768 and 1200 */
@media (min-width: 769px) and (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(20px, 4vw, 48px);
  }
  .hero-bio { max-width: 42vw; }
}