/* ============================================================
   Halenohi Tokyo — Base element defaults
   Applies the foundations to bare HTML so specimen cards and
   UI kits inherit the house style without extra wiring.
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; }

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: var(--fw-medium);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-body);
  color: var(--text-heading);
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

a {
  color: var(--link);
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition: color var(--dur-ui) var(--ease);
}
a:hover { color: var(--link-hover); }

/* Latin set in headings/labels picks up the editorial serif */
.font-latin { font-family: var(--font-latin); letter-spacing: var(--ls-latin); }

/* Section label — ABOUT / PLAN, wide-tracked uppercase Latin */
.section-label {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--accent);
}

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

::selection { background: var(--hn-vermilion-wash); color: var(--hn-ink); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
