/* ============================================================
   Wall & Floor — Base element defaults
   Applies the token system to raw HTML so specimens, cards,
   components and UI kits share one baseline.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: var(--fw-light);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Display headings ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-display);
  color: var(--text-strong);
  margin: 0 0 0.5em;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: 0; }

p { margin: 0 0 1em; max-width: var(--maxw-text); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

strong { font-weight: var(--fw-medium); }

/* ---- Signature helpers ---- */

/* two-tone headline: wrap the accented word in <em> */
h1 em, h2 em, .wf-display em { font-style: normal; color: var(--accent); }

/* plain tracked eyebrow with a short red dash (not engraved/serif) */
.wf-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}
.wf-eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--accent);
}

/* oversized brand display */
.wf-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: var(--text-strong);
  margin: 0;
}

/* gold hairline divider with center notch */
.wf-rule {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--accent-gold);
}
.wf-rule::before, .wf-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

/* diagonal-cut media (structural motif) */
.wf-diagonal { clip-path: var(--diagonal); }
