/* Reset + base typo */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* TEX-2 - Grain fin (Neo-Editorial, discret) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

button { font: inherit; cursor: pointer; border: 0; background: transparent; }

ul, ol { list-style: none; }

figure { margin: 0; }

[hidden] { display: none !important; }

::placeholder { color: var(--text-mute); opacity: 1; }

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

h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); font-weight: 400; }

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

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

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

section { padding: 48px 0; }
@media (min-width: 768px) { section { padding: 80px 0; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-ui);
  font-weight: 500;
  font-size: 0.76rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "✦";
  font-family: var(--ff-display);
  color: var(--accent);
  font-size: 1em;
  line-height: 1;
}

.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  margin-bottom: 12px;
  max-width: 22ch;
}
.sec-head p {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  max-width: 60ch;
}
