/* ═══════════════════════════════════════════════
   WISE Basketball — Visual Enhancements
═══════════════════════════════════════════════ */

/* ─── Global base ────────────────────────────── */
html {
  scroll-behavior: smooth;
}

/* Off-black background — richer than pure #000 */
body,
[style*="background-color: #000"],
[style*="background:#000"] {
  background-color: #080808 !important;
}

/* Subtle grain overlay on every page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Text wrap balance on headings */
h1, h2, h3 {
  text-wrap: balance;
}

/* Tabular figures for numbers */
.font-tabular,
[class*="text-5xl"],
[class*="text-6xl"],
[class*="text-7xl"],
[class*="text-8xl"] {
  font-variant-numeric: tabular-nums;
}

/* Button active press state */
button, a[class*="clip-corner"], [class*="clip-corner"] {
  -webkit-tap-highlight-color: transparent;
}
.clip-corner:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: none !important;
}

/* ─── Skip to content (accessibility) ──────────── */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 8px;
  background: #fff;
  color: #000;
  padding: 8px 16px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-to-content:focus {
  top: 8px;
}

/* ─── Footer legal ──────────────────────────────── */
.wise-footer-legal {
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em;
}
.wise-footer-legal a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.wise-footer-legal a:hover {
  color: rgba(255,255,255,0.7);
}

/* H — Page load fade-in (opacity only — no transform, avoids breaking position:fixed nav) */
body {
  animation: wisePageIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes wisePageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* A — Scroll reveal */
.w-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.w-reveal.w-d1 { transition-delay: 0.08s; }
.w-reveal.w-d2 { transition-delay: 0.16s; }
.w-reveal.w-d3 { transition-delay: 0.24s; }
.w-reveal.w-d4 { transition-delay: 0.32s; }
.w-reveal.w-visible {
  opacity: 1;
  transform: translateY(0);
}


/* D — Button hover lift */
.clip-corner {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.clip-corner:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.18) !important;
}
.clip-corner:active {
  transform: translateY(-1px) !important;
}

/* G — Testimonial large quote mark */
.wise-quote-card {
  position: relative;
}
.wise-quote-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  position: absolute;
  top: 4px;
  left: 16px;
  display: block;
  pointer-events: none;
  z-index: 0;
}

