/* base.css — Lesetoiles. Warm editorial fashion. reset, typography, primitives */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video, canvas { display: block; max-width: 100%; height: auto; }
img { background: var(--surface-2); }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.012em; color: var(--text); text-wrap: balance; }
h1 { font-size: var(--step-5); font-weight: 400; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { max-width: var(--measure); }
p, li { text-wrap: pretty; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(194,96,63,.35); }
a:hover { text-decoration-color: var(--clay); }
strong { font-weight: 700; color: var(--text); }
em { font-style: italic; color: var(--clay-600); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(52px, 6vw, 100px); }
.stack > * + * { margin-top: var(--flow, 1.3em); }
.grid { display: grid; gap: var(--sp-6); }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--sp-6); }
@media (max-width: 860px) { .grid-12 { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 520px) { .grid-12 { grid-template-columns: repeat(2, 1fr); } }

.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--clay-600); }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--clay); }
.lead { font-size: var(--step-1); color: var(--text-2); line-height: 1.6; max-width: 58ch; font-weight: 400; }

/* Accessibility */
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 3px; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 999; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); font-weight: 700; transition: top var(--dur-1) var(--ease); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
