/* ===========================================
   BASE — Reset, body, typography, links
   =========================================== */

@view-transition {
  navigation: auto;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  font-weight: 400;
  overflow-x: hidden;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

@media (hover: hover) {
  a:hover {
    color: var(--accent-hover);
  }
}

/* Focus-visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
}

h1 {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--text);
}

h1 .accent { color: var(--accent); }
h1 .accent-secondary { color: var(--accent-secondary); }
h1 .accent-tertiary { color: var(--accent-tertiary); }

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