/* ============================================
   BASE STYLES — Reset, Typography, Globals
   ============================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

/* ── Reset ── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-white);
  background-color: var(--color-black);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── Selection ── */
::selection {
  background: var(--color-primary-green);
  color: var(--color-white);
}

::-moz-selection {
  background: var(--color-primary-green);
  color: var(--color-white);
}

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

/* ── Images ── */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ── Lists ── */
ul, ol {
  list-style: none;
}

/* ── Buttons ── */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* ── Focus Visible ── */
:focus-visible {
  outline: 2px solid var(--color-primary-green);
  outline-offset: 3px;
}

/* ── Utility: Screen Reader Only ── */
.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;
}

/* ── Scroll Animations ── */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  body {
    font-size: 15px !important;
    overflow-x: clip !important;
  }
  * {
    -webkit-text-size-adjust: 100% !important;
    box-sizing: border-box !important;
  }
  section {
    overflow-x: clip !important;
  }
}
