/* ===========================================================================
   The home page — views/public/landing.ejs

   Loaded after hfb.css and built only from its tokens, so every theme the
   reader can choose (light, dark, maximum contrast) and every text size
   carries over without a line of its own here. No new colours: navy is still
   structure, gold is still attention, and gold is still a FILL on cream.

   Atkinson Hyperlegible is the display face for the page's few large words,
   whatever the reader's body-font setting. Body text still follows --font.
   =========================================================================== */

.lp {
  --display: 'Atkinson Hyperlegible', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* The same column as the masthead's .shell, so the page's left edge lines up
   with the wordmark above it. */
.lp-wrap { width: min(72rem, 100% - 3rem); margin-inline: auto; }
@media (max-width: 30rem) { .lp-wrap { width: calc(100% - 2rem); } }

.lp-main { flex: 1; padding-block: 3rem 2rem; }

/* The one sentence. Sized in rem with a vw term, never vw alone: a pure vw
   size ignores the reader's text-size setting and browser text zoom (WCAG
   1.4.4). The 1.75rem floor fits "low-vision" at 320px wide and 150% text. */
.lp-claim {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.75rem, 1rem + 3.2vw, 3.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--brand);
  max-width: 22ch;
  margin: 0 0 2rem;
  overflow-wrap: break-word;
}

/* Gold as a fill, the only way it may appear on cream: a short bar above the
   headline. Never under words, because on this site an underline is a link. */
.lp-claim::before {
  content: "";
  display: block;
  width: 4rem;
  height: 0.5rem;
  background: var(--gold);
  margin-bottom: 1.5rem;
}
@media (forced-colors: active) { .lp-claim::before { background: CanvasText; } }

.lp-lead {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.5;
  max-width: 38ch;
  color: var(--ink);
  margin: 0 0 3rem;
}

/* --- Contact and footer ------------------------------------------ */
.lp-reach {
  border-top: 2px solid var(--brand);
  padding-top: 1.5rem;
}
.lp-reach h2 {
  font-size: 1.125rem;
  margin: 0 0 1rem;
}
.lp-contact {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.25rem 2.5rem;
  margin: 0;
}
@media (min-width: 40em) { .lp-contact { grid-template-columns: repeat(3, auto); justify-content: start; } }
.lp-contact__label { display: block; font-weight: 700; margin: 0 0 0.25rem; }
.lp-contact__value { margin: 0; font-size: 1.125rem; }

.lp-foot {
  border-top: 1px solid var(--border);
  padding-block: 1.25rem;
  font-size: 0.9375rem;
}
.lp-foot .lp-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.lp-foot p { margin: 0; }

