/* ===== ASSENT 56 — Custom Styles ===== */

/* Base reset & typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
  background: rgba(255, 92, 56, 0.3);
  color: #fff;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #ff7050;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Smooth image rendering */
img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #1a1d23;
}

::-webkit-scrollbar-thumb {
  background: #ff5c38;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff7050;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */

/* Small phones */
@media (max-width: 360px) {
  .font-serif {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
}

/* Tablet landscape and up */
@media (min-width: 768px) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .img-zoom img {
    transition: none !important;
  }

  .card-lift {
    transition: none !important;
  }

  .blob {
    animation: none !important;
  }
}

/* Large screens */
@media (min-width: 1400px) {
  .max-w-7xl {
    max-width: 1280px;
  }
}

/* Ultra-wide */
@media (min-width: 1920px) {
  body {
    font-size: 18px;
  }

  .font-serif {
    font-size: clamp(2.5rem, 4vw, 5rem);
  }
}
