/* base.css — reset propre + typo */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { overflow-x: hidden; max-width: 100vw; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" on, "kern" on;
  min-height: 100vh;
}

/* reset elements oublies */
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; background: transparent; border: 0; padding: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* [hidden] force (bug modal/lightbox) */
[hidden] { display: none !important; }

/* typo display */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--text);
  line-height: 1.08;
  margin: 0 0 .6em;
  letter-spacing: -0.012em;
  font-weight: 500;
}
h1 { font-size: clamp(2.2rem, 6.5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.65rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; }

p { margin: 0 0 1rem; max-width: 64ch; }

::selection { background: var(--accent); color: var(--bg); }
::-moz-selection { background: var(--accent); color: var(--bg); }

* { scrollbar-width: thin; scrollbar-color: var(--accent) var(--surface); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--text); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-ui);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow::before{
  content: "";
  width: 28px; height: 1px;
  background: var(--accent);
}

.lead{
  font-size: 1.075rem;
  color: var(--text-2);
  max-width: 60ch;
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
