/* ── Healing Care Ministries · Base element defaults ──────────────────
   Brand-level resets and typographic defaults. Sets Alabaster page,
   Brunswick text, Nexa body, The Seasons headings.
*/

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

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

body {
  margin: 0;
  background-color: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  font-size: var(--body-lg);
  line-height: var(--body-leading);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Headings — The Seasons, Title Case, tight tracking */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  color: var(--text-strong);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--display-1); }
h2 { font-size: var(--display-2); }
h3 { font-size: var(--display-3); }
h4 { font-size: var(--heading-1); letter-spacing: -0.02em; }

p { margin: 0; text-wrap: pretty; max-width: var(--measure); }

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-gentle);
}
a:hover { color: var(--brunswick); }

strong { font-weight: var(--weight-extrabold); }
em { font-style: italic; }

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

::selection { background: var(--seagrass-300); color: var(--brunswick); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-xs); }

/* ── Brand typographic utility classes ──────────────────────────── */

/* Eyebrow / overline — Nexa Extra Bold, all caps, open tracking */
.hcm-eyebrow {
  font-family: var(--font-sans);
  font-weight: var(--weight-extrabold);
  font-size: var(--label-size-sm);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Section heading — Nexa Extra Bold caps */
.hcm-section-heading {
  font-family: var(--font-sans);
  font-weight: var(--weight-extrabold);
  font-size: var(--heading-3);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  line-height: var(--leading-snug);
  color: var(--text-strong);
}

/* Lead / subhead — Nexa Regular, sentence case */
.hcm-lead {
  font-family: var(--font-sans);
  font-weight: var(--weight-regular);
  font-size: var(--heading-1);
  line-height: var(--leading-relaxed);
  color: var(--text-body);
}

/* Body */
.hcm-body { font-size: var(--body-lg); line-height: var(--body-leading); }

/* Attribution — Nexa Light all caps, wide tracking */
.hcm-attribution {
  font-family: var(--font-sans);
  font-weight: var(--weight-light);
  font-size: var(--label-size-sm);
  letter-spacing: var(--label-tracking);
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Blockquote — The Seasons, upright (never italic) */
.hcm-quote {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: var(--weight-regular);
  font-size: var(--display-3);
  line-height: var(--leading-normal);
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

/* The signature thin sage divider */
.hcm-divider {
  border: 0;
  height: 1px;
  background: var(--line-soft);
  width: 100%;
}

/* Carousel / slider controls — hover affordance on arrows & clickable dots */
.hcm-carousel-arrow:not(:disabled):hover { opacity: 0.65; }
.hcm-carousel-dot:hover { opacity: 0.6; }

/* Form control focus — soft Drift ring + Brunswick border */
.hcm-input:focus,
.hcm-textarea:focus,
.hcm-select:focus {
  border-color: var(--brunswick) !important;
  box-shadow: var(--ring);
}
.hcm-input::placeholder,
.hcm-textarea::placeholder { color: var(--text-muted); }

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