/* =========================================================
   NPW BASE STYLES — REUSABLE FOUNDATION
   Step 02

   The approved homepage remains visually governed by styles.css.
   This layer establishes reusable baseline and interior-page
   typography without altering the locked homepage treatment.
   ========================================================= */

html {
  font-family: var(--font-ui, var(--font));
  color: var(--text-primary, var(--ink));
  background: var(--surface-default, var(--white));
  text-size-adjust: 100%;
}

body {
  min-width: 0;
  background: var(--surface-default, var(--white));
}

main {
  display: block;
  min-width: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

textarea {
  resize: vertical;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

/* Reusable interior-page typography. These classes are opt-in so
   the approved homepage H1/H2 scale in styles.css remains unchanged. */
.page-title,
.type-h1-interior {
  margin: 0 0 var(--space-6);
  color: var(--text-heading);
  font-family: var(--font-display, var(--display));
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.section-title,
.type-h2-interior {
  margin: 0 0 var(--space-5);
  color: var(--text-heading);
  font-family: var(--font-display, var(--display));
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.type-h3,
.editorial-content h3 {
  margin: 0 0 var(--space-4);
  color: var(--text-heading);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.25;
}

.type-lead,
.lead {
  max-width: var(--content-measure-wide);
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
}

.type-meta,
.meta {
  font-size: clamp(.72rem, .8vw, .82rem);
  line-height: 1.45;
}

.type-eyebrow,
.eyebrow-interior {
  display: block;
  margin: 0 0 var(--space-3);
  color: var(--action-primary-hover);
  font-size: clamp(.68rem, .75vw, .74rem);
  font-weight: 800;
  letter-spacing: .15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.editorial-content {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.75;
}

.editorial-content > *:first-child {
  margin-top: 0;
}

.editorial-content > *:last-child {
  margin-bottom: 0;
}

.editorial-content p,
.editorial-content ul,
.editorial-content ol,
.editorial-content blockquote,
.editorial-content figure,
.editorial-content table {
  margin-top: 0;
  margin-bottom: var(--space-5);
}

.editorial-content h2 {
  margin-top: var(--space-16);
  margin-bottom: var(--space-5);
  color: var(--text-heading);
  font-family: var(--font-display, var(--display));
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.editorial-content h3 {
  margin-top: var(--space-10);
}

.editorial-content a {
  color: var(--action-secondary);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

.editorial-content strong {
  color: var(--text-heading);
}
