/* ══════════════════════════════════════════════════
   RESET
══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

.custom-cursor, .custom-cursor * { cursor: none; }

@media (prefers-reduced-motion: reduce) {
  .custom-cursor, .custom-cursor * { cursor: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ══════════════════════════════════════════════════
   A11Y
══════════════════════════════════════════════════ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: var(--r-sm); }
.skip-link {
  position: fixed; top: -120%; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; padding: 10px 24px;
  border-radius: var(--r-full); font-weight: 600; font-size: 14px;
  z-index: 99999; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ══════════════════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════════════════ */
.cursor-dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width .15s var(--ease), height .15s var(--ease), background .2s var(--ease);
}
.cursor-ring {
  width: 36px; height: 36px; border: 2px solid var(--accent); border-radius: 50%;
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 99998;
  transform: translate(-50%,-50%); opacity: .55;
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s var(--ease), opacity .3s var(--ease);
}
.cursor-dot.hover  { width: 12px; height: 12px; background: var(--rose); }
.cursor-ring.hover { width: 56px; height: 56px; border-color: var(--rose); opacity: .35; }

/* ══════════════════════════════════════════════════
   SCROLL PROGRESS
══════════════════════════════════════════════════ */
#progress {
  position: fixed; top: 0; left: 0; width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--rose));
  z-index: 9997; border-radius: 0 var(--r-full) var(--r-full) 0;
  transition: width .08s linear;
}

/* ══════════════════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════════════════ */
#scroll-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px; background: var(--accent); color: #fff;
  border: none; border-radius: var(--r-full); cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  box-shadow: var(--shadow-lg); z-index: 999;
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s var(--ease);
}
#scroll-top.show { opacity: 1; transform: translateY(0); }
#scroll-top:hover { background: var(--accent-dk); transform: translateY(-3px); }
