/* Home: facts band before the footer (partials/home_facts.html). Deep HU green, large white figures,
   a light-blue line under each, and a bright HU-green strip along the bottom edge that separates it from the footer. */
.hf {
  --hf-bg: #0b3a26;
  --hf-accent: #8fd0f2;
  --hf-strip: #34c47c;   /* bright HU green: stands out against both the dark band and the blue footer */
  background: var(--hf-bg);
  border-bottom: 6px solid var(--hf-strip);
  color: #ffffff;
  padding: clamp(40px, 5vw, 64px) 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
:where(.hf) * { font-family: inherit; }   /* the site-wide stylesheet sets `* { Poppins }` */
.hf-shell { width: min(1280px, calc(100% - 56px)); margin-inline: auto; }
.hf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 2.5rem; align-items: center; }
.hf-item { display: grid; justify-items: center; text-align: center; gap: 0.35rem; }
.hf-item p { margin: 0; }
.hf-num { font-family: "Lato", "Inter", sans-serif; font-weight: 900; font-size: clamp(2.6rem, 1.9rem + 2.4vw, 3.75rem); line-height: 1; letter-spacing: -0.015em; font-variant-numeric: lining-nums tabular-nums; }
.hf-sub { margin-top: 0.4rem !important; font-size: 1rem; font-weight: 700; color: var(--hf-accent); }
.hf-desc { max-width: 22rem; font-size: 0.95rem; line-height: 1.45; color: #e3efe8; }
.hf-brand { gap: 0.85rem; }
.hf-brand__logo { width: 88px; height: auto; }
.hf-brand__line { font-size: 0.95rem; font-weight: 500; color: #e3efe8; }

@media (max-width: 1000px) {
  .hf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
}
@media (max-width: 560px) {
  .hf-shell { width: calc(100% - 40px); }
  .hf-grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
}

/* Compact, as on qmul.ac.uk: smaller figures and text, less height. */
.hf { padding: clamp(28px, 3.2vw, 40px) 0; border-bottom-width: 5px; }
.hf-grid { gap: 1.5rem 2rem; }
.hf-item { gap: 0.2rem; }
.hf-num { font-weight: 800; font-size: clamp(1.9rem, 1.45rem + 1.3vw, 2.6rem); }
.hf-sub { margin-top: 0.15rem !important; font-size: 0.875rem; }
.hf-desc { max-width: 21rem; font-size: 0.8125rem; line-height: 1.45; }
/* membership wordmark in place of the logo (the header and footer already show the crest) */
.hf-mark { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  line-height: 1.1; letter-spacing: 0.02em; color: #ffffff; }
.hf-brand { gap: 0.45rem; }
@media (max-width: 560px) { .hf-grid { gap: 1.75rem; } }

/* smaller text (requested) */
.hf-num { font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2.05rem); }
.hf-mark { font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.35rem); }
.hf-sub { font-size: 0.8125rem; }
.hf-desc { font-size: 0.75rem; max-width: 19rem; }
