/* ============================================
   Dr. Atish M. Shah — Portfolio
   Modern, mobile-first, dark-mode aware
   ============================================ */

:root {
  /* Dark (default) */
  --bg: #0b1020;
  --bg-alt: #0f152b;
  --bg-elev: #141b35;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e7ecf7;
  --text-soft: #aab3cf;
  --text-mute: #7a85a8;
  --accent: #7c5cff;
  --accent-2: #00d4ff;
  --accent-3: #ff6ec7;
  --success: #4ade80;
  --grad-1: linear-gradient(135deg, #7c5cff 0%, #00d4ff 100%);
  --grad-2: linear-gradient(135deg, #ff6ec7 0%, #7c5cff 100%);
  --grad-3: linear-gradient(135deg, #00d4ff 0%, #4ade80 100%);
  --shadow-1: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.2);
  --shadow-2: 0 10px 40px rgba(124, 92, 255, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --max: 1200px;
}

[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-alt: #ffffff;
  --bg-elev: #ffffff;
  --surface: rgba(15, 21, 43, 0.04);
  --surface-hover: rgba(15, 21, 43, 0.08);
  --border: rgba(15, 21, 43, 0.08);
  --border-strong: rgba(15, 21, 43, 0.16);
  --text: #0b1020;
  --text-soft: #4a5478;
  --text-mute: #7a85a8;
  --shadow-1: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --shadow-2: 0 10px 40px rgba(124, 92, 255, 0.18);
}

/* ----- Reset / base ----- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.9em; }

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

.grad { background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ----- Background effects ----- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(rgba(11,16,32,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,16,32,0.04) 1px, transparent 1px);
}
.bg-glow {
  position: fixed; top: -300px; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 800px; z-index: -1; pointer-events: none; filter: blur(120px);
  background: radial-gradient(circle, rgba(124,92,255,0.35) 0%, transparent 60%),
              radial-gradient(circle at 30% 50%, rgba(0,212,255,0.25) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(255,110,199,0.20) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(40px); }
}

/* ----- Navigation ----- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.logo-mark {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  border-radius: 10px; background: var(--grad-1); color: white;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-2);
}
.logo-text em { font-style: normal; background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 8px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px; color: var(--text-soft);
  font-size: 14px; font-weight: 500; transition: all .2s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; border: 1px solid var(--border); color: var(--text-soft);
  transition: all .2s ease;
}
.theme-toggle:hover { color: var(--text); background: var(--surface); }
.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }
.theme-toggle svg { width: 18px; height: 18px; }
.hamburger { display: none; width: 40px; height: 40px; flex-direction: column; gap: 4px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); }
.hamburger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 14px;
  transition: all .2s ease; white-space: nowrap;
  border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-primary { background: var(--grad-1); color: white; box-shadow: var(--shadow-2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(124, 92, 255, 0.4); }
.btn-ghost { color: var(--text-soft); border-color: var(--border-strong); }
.btn-ghost:hover { color: var(--text); background: var(--surface); transform: translateY(-2px); }

/* ----- Hero ----- */
.hero { padding: 80px 0 60px; position: relative; }
.hero-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-soft); margin-bottom: 24px;
}
.badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero h1 { font-family: 'Space Grotesk', sans-serif; line-height: 1.1; }
.hero-greeting { display: block; font-size: 18px; color: var(--text-mute); font-weight: 500; margin-bottom: 8px; }
.hero-name { display: block; font-size: clamp(40px, 6vw, 64px); font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.hero-title { display: block; font-size: clamp(20px, 2.5vw, 28px); font-weight: 500; color: var(--text-soft); }
.hero-desc { margin-top: 24px; color: var(--text-soft); font-size: 17px; max-width: 560px; }
.hero-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  padding: 20px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); max-width: 600px;
}
.stat { text-align: left; }
.stat strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 12px; color: var(--text-mute); }

/* Hero visual */
.hero-visual { position: relative; min-height: 480px; }
.portrait-wrap { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.portrait-glow {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: var(--grad-2); filter: blur(80px); opacity: 0.5; z-index: 0;
  animation: float 8s ease-in-out infinite;
}
.portrait {
  position: relative; z-index: 1;
  width: 340px; height: 340px; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--bg-elev);
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow:
    var(--shadow-1),
    0 0 0 1px var(--border-strong),
    inset 0 0 60px rgba(124, 92, 255, 0.08);
  display: grid; place-items: center;
}
.portrait::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: var(--grad-1); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.portrait-fallback { text-align: center; color: var(--text-soft); padding: 24px; }
.portrait-fallback span { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 80px; font-weight: 700; background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.portrait-fallback small { font-size: 12px; color: var(--text-mute); }
.portrait-fallback code { display: inline-block; margin-top: 4px; padding: 2px 6px; background: var(--surface); border-radius: 4px; }
.portrait.no-img .portrait-fallback { display: grid; place-items: center; }
.portrait.has-img .portrait-fallback { display: none; }
.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px;
  background: color-mix(in srgb, var(--bg-elev) 85%, transparent);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-1);
  animation: floaty 6s ease-in-out infinite;
}
.fc-icon { font-size: 20px; }
.float-card strong { display: block; font-size: 14px; font-weight: 700; }
.float-card span { display: block; font-size: 11px; color: var(--text-mute); }
.fc-1 { top: 10%; left: -5%; animation-delay: 0s; }
.fc-2 { bottom: 20%; right: -5%; animation-delay: -2s; }
.fc-3 { top: 55%; left: -10%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ----- Sections ----- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.eyebrow {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: var(--accent-2);
  text-transform: uppercase; letter-spacing: 0.15em; font-weight: 500;
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 48px); font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em;
}
.section-sub { margin-top: 16px; color: var(--text-soft); font-size: 17px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.about-text p { color: var(--text-soft); margin-bottom: 16px; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-soft);
}
.about-card {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--border);
  box-shadow: var(--shadow-1); align-self: start;
}
.about-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; margin-bottom: 20px; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.facts li:last-child { border-bottom: 0; }
.facts span { color: var(--text-mute); }
.facts strong { color: var(--text); text-align: right; font-weight: 500; }

/* Timeline (Education) */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--accent), transparent); }
.timeline li { position: relative; margin-bottom: 24px; }
.t-dot {
  position: absolute; left: -27px; top: 18px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg), 0 0 20px rgba(124, 92, 255, 0.5);
}
.t-card {
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--border);
  box-shadow: var(--shadow-1); transition: all .3s ease;
}
.t-card:hover { transform: translateX(6px); border-color: var(--border-strong); }
.t-year { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent-2); margin-bottom: 6px; }
.t-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; margin-bottom: 4px; }
.t-card p { color: var(--text-soft); font-size: 14px; }
.t-tag { display: inline-block; margin-top: 10px; padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 11px; color: var(--text-mute); }

/* Roles */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--border);
  box-shadow: var(--shadow-1); transition: all .3s ease; overflow: hidden;
}
.role-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-1); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.role-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.role-card:hover::before { transform: scaleX(1); }
.role-num { position: absolute; top: 16px; right: 20px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent-2); }
.role-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; margin-bottom: 8px; padding-right: 40px; }
.role-org { color: var(--text-mute); font-size: 13px; margin-bottom: 12px; }
.role-card p { color: var(--text-soft); font-size: 14px; }

/* Research */
.research-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.research-card {
  padding: 32px; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--border);
  box-shadow: var(--shadow-1); transition: all .3s ease;
}
.research-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.r-icon { font-size: 32px; margin-bottom: 16px; }
.research-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; margin-bottom: 12px; }
.research-card p { color: var(--text-soft); font-size: 15px; }
.r-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.r-tags span { padding: 3px 10px; border-radius: 999px; background: var(--surface); font-size: 11px; color: var(--text-mute); border: 1px solid var(--border); }

.research-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.rs-item { text-align: center; }
.rs-item strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; background: var(--grad-1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs-item span { font-size: 13px; color: var(--text-soft); }

/* Publications */
.pub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pub-card {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--border);
  box-shadow: var(--shadow-1); transition: all .3s ease;
}
.pub-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.pub-meta { display: flex; gap: 8px; margin-bottom: 16px; }
.pub-year, .pub-type {
  padding: 3px 10px; border-radius: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-soft);
}
.pub-type { background: var(--grad-1); color: white; border: 0; }
.pub-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.pub-venue { color: var(--text-soft); font-size: 14px; margin-bottom: 4px; }
.pub-id { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent-2); margin-bottom: 4px; }
.pub-note { color: var(--text-mute); font-size: 12px; }
.pub-card-muted { display: grid; place-items: center; text-align: center; border-style: dashed; }
.pub-card-muted p { color: var(--text-mute); font-size: 14px; margin-top: 8px; }
.pub-card-muted h3 { color: var(--text-soft); }

/* Projects (older) */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.proj-card { padding: 28px; border-radius: var(--radius); background: var(--bg-elev); border: 1px solid var(--border); box-shadow: var(--shadow-1); }
.proj-card header { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 16px; }
.proj-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; }
.proj-tag { flex-shrink: 0; padding: 4px 10px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); font-size: 11px; color: var(--text-mute); }
.proj-card p { color: var(--text-soft); font-size: 14px; margin-bottom: 4px; }
.proj-card p strong { color: var(--text-mute); font-weight: 500; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card {
  display: block; padding: 28px; border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--border);
  box-shadow: var(--shadow-1); transition: all .3s ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-2); }
.c-icon { font-size: 28px; margin-bottom: 12px; }
.contact-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; margin-bottom: 6px; }
.contact-card p { color: var(--text-soft); font-size: 14px; }
.c-link { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--accent-2); font-weight: 500; }
.contact-card-static { cursor: default; }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-inner p { color: var(--text-mute); font-size: 13px; }
.footer-copy { color: var(--text-mute); font-size: 12px; }

/* ----- Reveal on scroll ----- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet & small desktop */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; min-height: 400px; max-width: 420px; margin: 0 auto; }
  .portrait { width: 280px; height: 280px; }
  .portrait-glow { width: 300px; height: 300px; }
  .about-grid { grid-template-columns: 1fr; }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .research-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 16px 24px; transform: translateY(-110%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-links a:last-child { border-bottom: 0; }
  .hamburger { display: flex; }
  .nav-actions .btn { display: none; }
  .theme-toggle { display: grid; }

  .hero { padding: 50px 0 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat strong { font-size: 24px; }
  .hero-visual { min-height: 360px; }
  .portrait { width: 240px; height: 240px; }
  .portrait-glow { width: 260px; height: 260px; }
  .float-card { padding: 8px 12px; }
  .float-card strong { font-size: 12px; }
  .float-card span { font-size: 10px; }
  .fc-1 { top: 5%; left: 0; }
  .fc-2 { bottom: 15%; right: 0; }
  .fc-3 { top: 50%; left: 0; }

  .section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .role-grid { grid-template-columns: 1fr; }
  .pub-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .research-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .rs-item strong { font-size: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 28px; }
  .t-dot { left: -23px; }
  .t-card { padding: 16px 18px; }
  .t-card h3 { font-size: 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Very small */
@media (max-width: 380px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .portrait { width: 200px; height: 200px; }
  .portrait-glow { width: 220px; height: 220px; }
  .float-card.fc-3 { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
