/* ============================================================
   BASE — reset, body, shared layout, typography scale
   Equivalent to globals.css in the l2l project
   ============================================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Red accent line at very top of page */
html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  z-index: 100;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.65;
}

/* ── Film grain overlay ── */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px 160px;
  animation: grain 7s steps(8) infinite;
}

@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Layout container ── */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Section rhythm ── */
section {
  padding: var(--space-2xl) 0;
}

/* ── Eyebrow label ── */
.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Display heading ── */
h2 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.88;
  font-size: clamp(48px, 9.5vw, 130px);
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

/* ── Body lede ── */
.lede {
  font-size: clamp(18px, 1.8vw, 22px);
  color: rgba(244, 239, 231, 0.65);
  max-width: 560px;
  margin-top: 28px;
  line-height: 1.8;
  font-weight: 400;
}
