/* ── Hide browser scrollbar, keep scroll ─────────── */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
}

html,
body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* ── Scroll progress bar — left edge ─────────────── */
.scroll-progress-track {
  position: fixed;
  left: 0;
  top: 0;
  width: 2px;
  height: 100vh;
  background: rgba(239, 131, 84, 0.06);
  z-index: 100;
  pointer-events: none;
}

.scroll-progress-fill {
  position: relative;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--accent), rgba(239, 131, 84, 0.4));
  box-shadow: 0 0 10px rgba(239, 131, 84, 0.45), 0 0 24px rgba(239, 131, 84, 0.15);
  will-change: height;
}

.scroll-progress-fill::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent), 0 0 16px rgba(239, 131, 84, 0.5);
  transform: translateX(-2px);
}

.scroll-progress-pin {
  position: absolute;
  left: 10px;
  top: 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  color: #111111;
  background: var(--accent);
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  line-height: 1.6;
  letter-spacing: 0.06em;
  pointer-events: none;
  transform: translateY(-50%);
  box-shadow: 0 0 12px rgba(239, 131, 84, 0.4);
}

/* ── Custom cursor ───────────────────────────────── */
@media (hover: hover) {
  body:not(.cursor-default),
  body:not(.cursor-default) a,
  body:not(.cursor-default) button,
  body:not(.cursor-default) [role="button"] {
    cursor: none !important;
  }
}

.cursor-dot {
  position: fixed;
  left: 0;
  top: 0;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}

.cursor-corners {
  position: fixed;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
}

.corner {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--accent);
  border-style: solid;
  opacity: 0.85;
  transition:
    top 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    left 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    right 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    bottom 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.2s ease;
}

.corner-tl { top: 0;    left: 0;  border-width: 2px 0 0 2px; }
.corner-tr { top: 0;    right: 0; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 0; left: 0;  border-width: 0 0 2px 2px; }
.corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }

.cursor-corners.is-hovering .corner {
  opacity: 1;
}

@media (hover: none) {
  .cursor-dot, .cursor-corners { display: none; }
}
