/* ==========================================================================
   AD!KTED — base.css
   Reset, design tokens, typography, font loading
   ========================================================================== */

@font-face {
  font-family: "GWGrack";
  src: url("../Assets/fonts/GWGrack-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SkaterStreet";
  src: url("../Assets/fonts/SkaterStreetClean.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand colors */
  --brand-blue: #0551f6;
  --brand-blue-dark: #033dbd;
  --brand-blue-darker: #022c8c;
  --brand-orange: #fd6c03;
  --brand-orange-dark: #e05f00;
  --brand-yellow: #ffd400;
  --brand-cream: #faf7f2;
  --brand-ink: #1a1a1a;
  --brand-white: #ffffff;
  --brand-green: #1fae54;
  --brand-red: #e8352b;

  /* Fonts */
  --font-display: "GWGrack", "Arial Black", sans-serif;
  --font-script: "SkaterStreet", cursive;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Layout */
  --container-max: 1280px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.4s;
  --dur-slow: 0.8s;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.08);
  --shadow-md: 0 8px 24px rgba(26, 26, 26, 0.12);
  --shadow-lg: 0 20px 50px rgba(5, 20, 60, 0.25);
  --shadow-btn: 0 6px 0 var(--brand-orange-dark);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--brand-white);
  color: var(--brand-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

p {
  margin: 0;
}

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

.font-script {
  font-family: var(--font-script);
  text-transform: none;
  letter-spacing: 0.02em;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

::selection {
  background: var(--brand-yellow);
  color: var(--brand-ink);
}

/* Focus visibility (kept even with heavy motion elsewhere) */
:focus-visible {
  outline: 3px solid var(--brand-orange);
  outline-offset: 2px;
}
