/* ===== BASE STYLES ===== */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== CONTAINER & GRID ===== */
.container {
  width: var(--container-width);
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.05;
}

h2 {
  font-size: 28px;
  font-weight: 800;
}

h3 {
  font-size: 28px;
  font-weight: 800;
}

h4 {
  font-size: 1.25rem;
  font-weight: 800;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin: 0;
  color: var(--muted);
}

.text-large {
  font-size: 18px;
}

.text-small {
  font-size: 12px;
}

.text-center { text-align: center; }

/* ===== SECTIONS ===== */
section {
  padding: 56px 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 197, 66, .5); }
  70% { box-shadow: 0 0 0 24px rgba(245, 197, 66, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 197, 66, 0); }
}

.floaty {
  transform: translateY(0);
  animation: float 6s ease-in-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 990px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}