/* ---------------------------------------------------
   LIY Global Solution — design tokens & base styles
--------------------------------------------------- */
:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --surface-alt: #131313;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f5f5f4;
  --text-muted: #b3b3b0;
  --accent: #ffd700;
  --accent-ink: #141200;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 80px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

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

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}

.section-heading {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  line-height: 1.15;
}
.section-heading .muted { color: var(--text-muted); }

.lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.25);
}
.btn-primary:hover { box-shadow: 0 10px 36px rgba(255, 215, 0, 0.4); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(5, 5, 5, 0.7);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}
.logo-mark-img {
  width: 34px;
  height: auto;
  border-radius: 6px;
}
.logo-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }

.has-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text-muted);
  cursor: pointer;
}
.nav-dropdown-toggle:hover { color: var(--text); }
.nav-dropdown-toggle svg { transition: transform 0.2s ease; }
.has-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 260px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 50;
}
.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
}
.nav-dropdown a:hover { background: var(--surface-alt); color: var(--text); }

/* Staggered item reveal, keyed off the same .is-open state as the panel */
.nav-dropdown li {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.has-dropdown.is-open .nav-dropdown li { opacity: 1; transform: none; }
.nav-dropdown li:nth-child(1) { transition-delay: 0s; }
.nav-dropdown li:nth-child(2) { transition-delay: 0.03s; }
.nav-dropdown li:nth-child(3) { transition-delay: 0.06s; }
.nav-dropdown li:nth-child(4) { transition-delay: 0.09s; }
.nav-dropdown li:nth-child(5) { transition-delay: 0.12s; }
.nav-dropdown li:nth-child(6) { transition-delay: 0.15s; }
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown li { transition: none; opacity: 1; transform: none; }
}

/* Mega-menu variant (Services): multiple category columns */
.nav-dropdown--mega {
  display: flex;
  gap: 6px;
  min-width: 620px;
  padding: 16px;
}
.nav-dropdown-col { flex: 1 0 0; min-width: 150px; }
.nav-dropdown-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0 12px;
  margin-bottom: 6px;
}
.nav-dropdown-col ul { list-style: none; margin: 0; padding: 0; }

/* Visibility is driven ENTIRELY by .is-open (added/removed in js/main.js for
   both click and hover) so exactly one dropdown can ever be open — a plain
   CSS :hover rule here would let two open at once (e.g. click Services, then
   rest the mouse over Products) since hover state is independent of clicks. */
.has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 860px) {
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 4px 14px;
  }
  .has-dropdown.is-open .nav-dropdown {
    display: block;
    /* Same specificity as the desktop open-state rule, so this wins by
       source order and cancels its translateX(-50%) centering — without
       this, the dropdown renders shoved off-screen to the left on mobile. */
    transform: none;
  }
  .nav-dropdown--mega { flex-direction: column; min-width: 0; gap: 14px; padding: 4px 0 4px 14px; }
  .has-dropdown.is-open .nav-dropdown--mega { display: flex; }
  .nav-dropdown-col { flex: none; min-width: 0; }
  .nav-dropdown-col h4 { padding: 0; }
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px; height: 42px;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 20px var(--gutter) 28px;
    gap: 16px;
  }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding-block: clamp(60px, 10vw, 130px) clamp(70px, 9vw, 110px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(600px circle at 15% 20%, rgba(255, 215, 0, 0.14), transparent 60%),
    radial-gradient(700px circle at 85% 60%, rgba(255, 215, 0, 0.08), transparent 55%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(2%, -2%, 0) scale(1.05); }
}

.hero-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-block: 20px 18px;
}
.hero h1 span { color: var(--accent); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stats strong { display: block; font-size: 1.5rem; color: var(--accent); }
.hero-stats span { font-size: 0.82rem; color: var(--text-muted); }

.hero-floor {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,215,0,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, black, transparent);
  -webkit-mask-image: linear-gradient(to top, black, transparent);
  animation: floor-scroll 6s linear infinite;
  opacity: 0.7;
}
@keyframes floor-scroll {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 48px, 0 0; }
}

.hero-3d {
  position: relative;
  perspective: 1200px;
}
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(13, 13, 13, 0.9);
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 2;
  animation: chip-float 5s ease-in-out infinite;
}
.hero-chip--a { top: -16px; left: -10px; animation-delay: 0s; }
.hero-chip--b { bottom: 12px; right: -18px; animation-delay: -2.5s; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

/* ---------------- 3D tilt (mouse-tracked) ---------------- */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
  will-change: transform;
}
.tilt.is-tilting {
  box-shadow: 0 40px 70px -20px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 215, 0, 0.08);
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .tilt { transition: none !important; }
}
.hero-panel ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.hero-panel li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}
.hero-panel svg { flex: none; color: var(--accent); }

/* ---------------- Generic section ---------------- */
.section { padding-block: clamp(64px, 8vw, 110px); }
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
  display: grid;
  gap: 16px;
}
.section-alt { background: var(--surface); border-block: 1px solid var(--border); }

/* ---------------- About / stats ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

.stat-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-list li { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; background: var(--surface); }
.stat-list strong { display: block; font-size: 1.6rem; color: var(--accent); }
.stat-list span { font-size: 0.85rem; color: var(--text-muted); }

.about-visual {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--surface-alt), var(--surface));
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.about-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(300px circle at 70% 30%, rgba(255,215,0,0.15), transparent 70%);
}
.about-visual-stat {
  position: relative;
  text-align: center;
}
.about-visual-stat strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--accent);
  line-height: 1;
}
.about-visual-stat span {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------------- Services ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: rgba(255,215,0,0.35); transform: translateY(-3px); }
.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.service-count {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 14px; }
.service-points {
  margin: 0; padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.service-points li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------------- Process ---------------- */
.process-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }
.process-list li {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--surface);
  counter-increment: step;
}
.process-progress {
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  margin-bottom: 32px;
  overflow: hidden;
}
.process-progress-fill {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--accent), rgba(255, 215, 0, 0));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
}
.process-progress.is-visible .process-progress-fill { transform: scaleX(1); }

.process-list li.reveal-3d:nth-child(1) { transition-delay: 0s; }
.process-list li.reveal-3d:nth-child(2) { transition-delay: 0.14s; }
.process-list li.reveal-3d:nth-child(3) { transition-delay: 0.28s; }
.process-list li.reveal-3d:nth-child(4) { transition-delay: 0.42s; }

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 10px;
}
.process-list h3 { font-size: 1rem; margin-bottom: 6px; }
.process-list p { margin: 0; color: var(--text-muted); font-size: 0.88rem; }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 14px; max-width: 820px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { flex: none; transition: transform 0.2s ease; color: var(--accent); }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.94rem; }

/* ---------------- CTA band ---------------- */
.cta-band {
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,215,0,0.02));
  padding: clamp(30px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.cta-band p { margin: 0; color: var(--text-muted); }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-field { display: grid; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.form-field input,
.form-field textarea {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); }
#contactForm > .form-field:nth-child(1) { transition-delay: 0s; }
#contactForm > .form-field:nth-child(2) { transition-delay: 0.12s; }
#contactForm > .form-field:nth-child(3) { transition-delay: 0.24s; }
#contactForm > .btn.reveal { transition-delay: 0.36s; }
.form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.3);
  font-size: 0.88rem;
}
.form-success.visible { display: block; }

/* ---------------- Footer ---------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 18px;
  color: var(--text-muted);
  font-size: 0.76rem;
}
.footer-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand img {
  border-radius: 6px;
  opacity: 0.85;
}
.footer-links { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* Reveal-on-scroll (progressive enhancement) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* 3D flip-up reveal — used for process steps, FAQ items, CTA band */
.reveal-3d {
  opacity: 0;
  transform: perspective(1000px) rotateX(35deg) translateY(26px);
  transform-origin: 50% 100%;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-3d.is-visible { opacity: 1; transform: perspective(1000px) rotateX(0) translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-3d { opacity: 1; transform: none; transition: none; }
}

/* ---------------- Full-page ambient particle background ---------------- */
.particles-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.particles-bg canvas { display: block; }

/* ---------------- Three.js hero scene ---------------- */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

/* ---------------- Ambient glow blobs ---------------- */
.section-glow { position: relative; overflow: hidden; isolation: isolate; }
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.28;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  animation: blob-float 16s ease-in-out infinite alternate;
}
.glow-blob--a { width: 320px; height: 320px; top: -100px; left: -80px; }
.glow-blob--b { width: 380px; height: 380px; bottom: -140px; right: -100px; animation-delay: -8s; }
@keyframes blob-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4%, -5%, 0) scale(1.12); }
}

/* ---------------- Custom cursor ---------------- */
body.has-custom-cursor, body.has-custom-cursor a, body.has-custom-cursor button {
  cursor: none;
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 18px; height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px 6px rgba(255, 215, 0, 0.55);
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  will-change: transform;
}
.cursor-dot.is-active {
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  background: transparent;
  border: 2px solid var(--accent);
  box-shadow: 0 0 24px 4px rgba(255, 215, 0, 0.35);
}
.cursor-dot.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}
