/* Reset minimal */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
figure, blockquote, dl, dd { margin: 0; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-mobile) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (min-width: 768px) {
  html { scroll-padding-top: calc(var(--header-h) + 12px); }
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Texture grain fin TEX-2 (discret) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.21 0 0 0 0 0.19 0 0 0 0.42 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.35'/></svg>");
  opacity: .18;
  mix-blend-mode: multiply;
}

main { position: relative; z-index: 2; }

h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.18;
  color: var(--text);
  letter-spacing: -0.005em;
}

p { color: var(--text-2); }

::selection {
  background: var(--accent);
  color: var(--text-light);
}

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

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; border: 2px solid var(--bg-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

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

section { padding: 56px 0; position: relative; }
@media (min-width: 768px) { section { padding: 88px 0; } }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 14px;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  margin-bottom: 14px;
  max-width: 22ch;
}
.section-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.12rem);
  color: var(--text-2);
  max-width: 60ch;
  margin-bottom: 40px;
}
@media (min-width: 768px) { .section-lead { margin-bottom: 56px; } }

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