/* base.css — reset & fondations */
@font-face { font-family: 'Zodiak'; src: url('./assets/fonts/zodiak-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zodiak'; src: url('./assets/fonts/zodiak-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('./assets/fonts/switzer-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('./assets/fonts/switzer-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Switzer'; src: url('./assets/fonts/switzer-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;

  --navy-950: #142030;
  --navy-900: #1c2b3c;
  --navy-800: #23364b;
  --navy-700: #2f4761;
  --blue: #4a68b0;
  --blue-soft: #8fa6dc;
  --ivory: #f5f0e6;
  --ivory-2: #ece5d6;
  --sand: #e3cda6;
  --ink: #1a2533;
  --muted: #5a6573;
  --line-dark: rgba(245, 240, 230, 0.16);
  --line-light: rgba(26, 37, 51, 0.14);

  --color-bg: var(--ivory);
  --color-text: var(--ink);
  --color-primary: var(--blue);

  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.85rem + 0.15vw, 0.9375rem);
  --text-base: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1vw, 2.125rem);
  --text-2xl: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  --text-hero: clamp(3rem, 1.6rem + 5.6vw, 6.5rem);

  --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-6: 1.5rem;
  --space-8: 2rem; --space-12: 3rem; --space-16: 4rem; --space-24: 6rem; --space-32: 8rem;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius-sm: 4px; --radius: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: none; text-size-adjust: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth; scroll-padding-top: 5.5rem;
}
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); overflow-x: hidden; }
img, picture, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { text-wrap: balance; line-height: 1.08; font-weight: 400; }
p, li, figcaption { text-wrap: pretty; }
a { color: inherit; }
button { cursor: pointer; background: none; border: none; }
::selection { background: rgba(74, 104, 176, 0.3); }
:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; border-radius: var(--radius-sm); }
a, button, input, select, textarea { transition: color .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), opacity .25s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
