/* Athis Portfolio — premium dark theme */
:root {
  --bg: #050508;
  --bg-elevated: #0c0c12;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8e8ef;
  --text-muted: #8b8b9e;
  --accent: #00e5c7;
  --accent-2: #7c5cff;
  --accent-glow: rgba(0, 229, 199, 0.35);
  --gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --font-display: "Syne", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 16px;
  --radius-lg: 24px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.preload-active {
  overflow: hidden;
}

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

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

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* Background layers */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.mesh-gradient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(124, 92, 255, 0.22), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(0, 229, 199, 0.15), transparent 45%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(124, 92, 255, 0.1), transparent 40%);
  animation: meshShift 18s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.85; transform: scale(1.05) translate(2%, -1%); }
}

.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  margin: -200px 0 0 -200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
  mix-blend-mode: screen;
}

body.cursor-ready .cursor-glow {
  opacity: 0.4;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-size: 4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 1.5rem;
  animation: pulseLogo 1.2s ease-in-out infinite;
}

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.preloader-bar {
  width: 120px;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-inline: auto;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gradient);
  border-radius: inherit;
  animation: loadBar 1.2s var(--ease-out) forwards;
}

@keyframes loadBar {
  to { width: 100%; }
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}

.site-header.scrolled {
  background: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
  z-index: 2;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--gradient);
  color: var(--bg);
  font-weight: 800;
}

.brand-text {
  letter-spacing: -0.02em;
}

.brand-tld {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.92em;
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--bg-card);
}

.nav-cta {
  color: var(--bg) !important;
  background: var(--gradient) !important;
  margin-left: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  position: relative;
  z-index: 2;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.hero-title .line {
  display: block;
}

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

.hero-role {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text-muted);
  min-height: 2rem;
  margin-bottom: 0.75rem;
}

.typed-cursor {
  color: var(--accent);
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-tags {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero-summary {
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.hero-summary strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.btn-primary {
  background: var(--gradient);
  color: var(--bg);
  box-shadow: 0 8px 32px rgba(0, 229, 199, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(0, 229, 199, 0.35);
}

.btn-ghost {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(0, 229, 199, 0.4);
  color: var(--accent);
}

.btn-cta {
  padding: 1rem 1.55rem;
  font-size: 1.02rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hero-contact {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.hero-contact i {
  color: var(--accent);
  margin-right: 0.35rem;
}

/* Avatar */
.hero-visual {
  display: flex;
  justify-content: center;
}

.avatar-ring {
  position: relative;
  width: min(360px, 85vw);
  aspect-ratio: 1;
  margin-inline: auto;
}

.avatar-ring-spin {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent));
  animation: spin 8s linear infinite;
  opacity: 0.7;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.avatar-frame {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--bg);
  z-index: 1;
}

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

.orbit-badge {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  color: var(--accent);
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: float 4s ease-in-out infinite;
}

.orbit-1 { top: 2%; right: 2%; animation-delay: 0s; }
.orbit-2 { bottom: 12%; left: -4%; animation-delay: -1.3s; color: var(--accent-2); }
.orbit-3 { top: 38%; right: -10%; animation-delay: -2.6s; }
.orbit-4 { top: 10%; left: -8%; animation-delay: -0.6s; color: #2496ed; }
.orbit-5 { bottom: 6%; right: 8%; animation-delay: -1.9s; color: var(--accent-2); }
.orbit-6 { top: 58%; left: -9%; animation-delay: -3.2s; }
.orbit-7 { bottom: 32%; right: -11%; animation-delay: -0.9s; color: #ff9900; }
.orbit-8 { top: 22%; left: 4%; animation-delay: -2.1s; }

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

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* Stats */
.stats {
  padding-block: 2rem 4rem;
}

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

.stat-card {
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.stat-card:hover {
  border-color: rgba(0, 229, 199, 0.35);
  transform: translateY(-4px);
}

.stat-value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section-pad {
  padding: 6rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
}

.section-header {
  margin-bottom: 3rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about-text strong {
  color: var(--text);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-card {
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}

.highlight-card:hover {
  border-color: rgba(124, 92, 255, 0.4);
  transform: translateX(6px);
}

.highlight-card i {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.highlight-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-left: 1.5rem;
  opacity: 1;
  visibility: visible;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
}

.timeline-location {
  color: var(--text-muted);
}

.timeline-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
}

.timeline-company {
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.timeline-stack {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  margin-top: 0.75rem;
}

.timeline-body ul {
  list-style: none;
  color: var(--text-muted);
}

.timeline-body li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.timeline-body li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.timeline-body strong {
  color: var(--text);
}

/* Skills */
.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.skill-chip {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
  cursor: default;
}

.skill-chip:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: rgba(0, 229, 199, 0.5);
  background: rgba(0, 229, 199, 0.08);
}

.skill-chip[data-skill] {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.projects-grid--featured {
  max-width: 960px;
  margin-inline: auto;
}

.project-bullets {
  list-style: none;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.project-bullets li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.project-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
}

.project-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.35s;
}

.project-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 229, 199, 0.12), transparent 40%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.project-card:hover .project-glow {
  opacity: 1;
}

.project-card:hover {
  border-color: rgba(0, 229, 199, 0.3);
}

.project-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
}

.project-card h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0 0.35rem;
}

.project-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.project-card > p:last-of-type {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.project-link:hover {
  gap: 0.65rem;
}

/* Education */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.edu-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease-out);
}

.edu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 92, 255, 0.35);
}

.edu-card time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-2);
}

.edu-card h3 {
  font-size: 1.05rem;
  margin: 0.5rem 0 0.25rem;
}

.edu-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact */
.section-contact .section-header {
  text-align: center;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1080px;
  margin-inline: auto;
}

.contact-primary-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease-out);
  min-width: 0;
}

.contact-primary-text {
  flex: 1;
  min-width: 0;
}

.contact-primary-card:hover {
  border-color: rgba(0, 229, 199, 0.45);
  box-shadow: 0 12px 40px rgba(0, 229, 199, 0.12);
}

.contact-primary-card > i:first-child {
  font-size: 1.5rem;
  color: var(--accent);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(0, 229, 199, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-primary-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-primary-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;
}

.contact-arrow {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.25s, transform 0.25s;
}

.contact-primary-card:hover .contact-arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-social a {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}

.contact-social a:hover {
  color: var(--accent);
  border-color: rgba(0, 229, 199, 0.4);
  transform: translateY(-3px);
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.back-top {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: background 0.25s, color 0.25s, transform 0.25s;
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.back-top:hover {
  background: var(--gradient);
  color: var(--bg);
  border-color: transparent;
  transform: translateY(-3px);
}

/* Reveal (GSAP sets initial state) */
.reveal {
  will-change: transform, opacity;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .avatar-ring {
    width: min(260px, 70vw);
    margin-inline: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid,
  .edu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(5, 5, 8, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), opacity 0.4s, visibility 0.4s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    padding: 0.85rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
  }

  .scroll-hint {
    display: none;
  }

  .orbit-7,
  .orbit-8 {
    display: none;
  }

  .orbit-badge {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .cursor-glow {
    display: none;
  }
}
