/* ==========================================================================
   Hindsight — Base: reset, typography, utilities
   ========================================================================== */

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

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

body {
  font-family: var(--font-base);
  font-size: var(--fz-base);
  line-height: 1.5;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography helpers ---- */
.t-eyebrow {
  font-size: var(--fz-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-ink-3);
}
.t-section-title {
  font-size: var(--fz-xl);
  font-weight: var(--fw-bold);
  color: var(--c-ink);
  letter-spacing: -0.01em;
}
.t-meta {
  font-size: var(--fz-sm);
  color: var(--c-ink-3);
}

/* ---- Generic utilities (reused across all screens) ---- */
.u-flex        { display: flex; }
.u-flex-col    { display: flex; flex-direction: column; }
.u-items-center{ align-items: center; }
.u-justify-between { justify-content: space-between; }
.u-gap-1 { gap: var(--s-1); }
.u-gap-2 { gap: var(--s-2); }
.u-gap-3 { gap: var(--s-3); }
.u-gap-4 { gap: var(--s-4); }

.u-mt-2 { margin-top: var(--s-2); }
.u-mt-4 { margin-top: var(--s-4); }
.u-mt-5 { margin-top: var(--s-5); }
.u-mt-6 { margin-top: var(--s-6); }
.u-mt-7 { margin-top: var(--s-7); }

.u-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.u-link {
  color: var(--c-primary);
  font-size: var(--fz-sm);
  font-weight: var(--fw-semibold);
}
.u-link:hover { color: var(--c-primary-700); }

/* Visually hidden but accessible */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Icon sizing helper for inline SVGs */
.icon { width: 18px; height: 18px; flex-shrink: 0; display: block; }
.icon-sm { width: 14px; height: 14px; }

.spacer-30{
  width: 100%;
  height: 30px;
}

.padding-40{
  padding: 40px 0px;
}

.close{
  display: none;
}

.flex-center{
  display: flex;
  justify-content: center;
  align-items: center;
}