/* ============================================================
   METRIDIUM v2 — Base Reset & Typography
   ============================================================ */

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

.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;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.7;
  color: #ffffff;
  background:
    radial-gradient(circle at 22% 12%, rgba(33, 60, 94, 0.35), transparent 45%),
    radial-gradient(circle at 78% 18%, rgba(10, 18, 32, 0.55), transparent 50%),
    linear-gradient(135deg, #010207 0%, #050b17 45%, #02040a 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body:not(.mobile-shell) {
  scroll-snap-type: y proximity;
  scroll-padding-top: clamp(5rem, 10vh, 7rem);
  cursor: none;
}

html:not(:has(.mobile-shell)) *,
html:not(:has(.mobile-shell)) *::before,
html:not(:has(.mobile-shell)) *::after {
  cursor: none !important;
}

body.modal-open {
  overflow: hidden;
}

body.show-native-cursor,
body.show-native-cursor *,
body.show-native-cursor *::before,
body.show-native-cursor *::after {
  cursor: auto !important;
}

button, input, textarea {
  font: inherit;
  color: inherit;
}

/* Ambient body glow — layered depth atmosphere */
body:not(.mobile-shell)::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.04), transparent 45%),
    radial-gradient(circle at 78% 8%, rgba(111, 190, 255, 0.06), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(0, 255, 200, 0.015), transparent 50%),
    linear-gradient(145deg, rgba(3, 8, 19, 0.88), rgba(1, 2, 5, 0.92));
  pointer-events: none;
  z-index: 0;
}

/* Rich text copy gradient */
.copy-rich {
  font-size: clamp(1rem, 1.1vw + 0.5rem, 1.3rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.85;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(140, 255, 238, 0.7), rgba(0, 200, 255, 0.6));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 12px 30px rgba(0, 0, 0, 0.55),
    0 1px 1px rgba(255, 255, 255, 0.25);
}

.platform-card p,
.bento-item p,
.about-copy p {
  margin-top: 0.6rem;
}

.contact-meta p,
.contact-meta span,
.connect-form label span {
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: rgba(219, 236, 255, 0.75);
  text-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}