/* ============================================================
   Amplitudes — light base layer.
   Opt-in element defaults + helper classes. Kept minimal so the
   tokens do the work; components carry their own styling.
   ============================================================ */
:root {
  color-scheme: light;
  --link: var(--kaki);
}

.amp-root,
[data-amp] {
  background: var(--surface-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Display / editorial headings */
.amp-display { font-family: var(--font-display); font-weight: var(--fw-display); line-height: var(--lh-display); letter-spacing: var(--ls-display); color: var(--text-title); }
.amp-serif   { font-family: var(--font-display); }
.amp-sans    { font-family: var(--font-sans); }

/* Surtitre / overline — capitals, light tracking */
.amp-overline {
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--text-overline);
  letter-spacing: var(--ls-overline);
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* Links */
a { color: var(--link); text-decoration: none; border-bottom: 1px solid currentColor; transition: color var(--dur-fast) var(--ease-standard), opacity var(--dur-fast) var(--ease-standard); }
a:hover { color: var(--link-hover); }

/* Dark section helper */
.amp-on-ink   { background: var(--surface-ink); color: var(--text-on-dark); }
.amp-on-marine{ background: var(--surface-ink-alt); color: var(--text-on-dark); }
.amp-on-ink a, .amp-on-marine a { color: var(--text-on-dark); }

/* Selection */
::selection { background: var(--jaune-fluo); color: var(--kaki); }
