/* ============================================================
   Happy Feets — brand layer
   Loaded after main.css. Re-points the template's colour tokens
   to the organisation's blue/pink identity and adds the handful
   of components the new pages need.
   ============================================================ */

:root {
  --hf-blue: #2f5fe0;
  --hf-blue-soft: #5b8cff;
  --hf-blue-ink: #16264a;
  --hf-pink: #e3477f;
  --hf-navy: #0b1730;
  --hf-ink: #101827;
  --hf-muted: #5a6478;
  --hf-line: rgba(14, 26, 51, 0.1);
  --hf-cream: #f7f8fb;

  --color-background-1: #f7f8fb;
  --color-background-2: #0b1730;
  --color-background-3: #16264a;
  --color-background-4: #0e1a33;
  --color-background-5: #152a52;
  --color-background-6: #101c36;
  --color-etc-green: #5b8cff;
  --color-stroke-1: #8fa3c452;
  --color-gradient-2: linear-gradient(180deg, #16264a 0%, #0b1730 100%);
  --color-gradient-5: linear-gradient(0deg, #12234a99 0%, #12234a99 100%);
  --color-gradient-6: linear-gradient(180deg, #0b173080 57%, #08111ff2 90%);
  --color-gradient-7: linear-gradient(90deg, #20407f 89%, #5b8cff 100%);
}

body {
  background-color: var(--hf-cream);
  color: var(--hf-ink);
}

/* ---------- layout ---------- */
.hf-section {
  padding: 4.5rem 0;
}
@media (min-width: 768px) {
  .hf-section { padding: 6.5rem 0; }
}
@media (min-width: 1280px) {
  .hf-section { padding: 7.5rem 0; }
}
.hf-section--tight { padding: 3rem 0; }

.hf-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hf-split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .hf-split--wide { grid-template-columns: 1.05fr 0.95fr; }
}

.hf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .hf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .hf-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hf-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.hf-figure {
  overflow: hidden;
  border-radius: 2rem;
  background: #e6eaf2;
}
.hf-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hf-figure--tall { min-height: 320px; }

/* ---------- type ---------- */
.hf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-inter-tight);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hf-pink);
}
.hf-eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hf-h3 {
  font-family: var(--font-satoshi);
  font-size: 1.375rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--hf-ink);
}
.hf-h4 {
  font-family: var(--font-satoshi);
  font-size: 1.0625rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--hf-ink);
}
.hf-body {
  font-family: var(--font-inter-tight);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--hf-muted);
}
.hf-body--light { color: rgba(255, 255, 255, 0.72); }
.hf-small {
  font-family: var(--font-inter-tight);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--hf-muted);
}

/* ---------- cover band ---------- */
.hf-cover {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  isolation: isolate;
}
.hf-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hf-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.55) 0%, rgba(8, 17, 31, 0.9) 100%);
}
.hf-cover__inner {
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .hf-cover { border-radius: 2.5rem; }
  .hf-cover__inner { padding: 4.5rem; }
}

/* ---------- cards ---------- */
.hf-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--hf-line);
  border-radius: 1.75rem;
  background: #fff;
  height: 100%;
}
.hf-card--dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
}
.hf-card__meta {
  font-family: var(--font-pt-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hf-blue);
}
.hf-card--dark .hf-card__meta { color: var(--hf-blue-soft); }
.hf-card--dark .hf-h3 { color: #fff; }

/* ---------- lists ---------- */
.hf-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hf-list li {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--font-inter-tight);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hf-muted);
}
.hf-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 99px;
  background: var(--hf-blue-soft);
}
.hf-list--light li { color: rgba(255, 255, 255, 0.75); }

/* ---------- numbered steps ---------- */
.hf-step {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--hf-line);
  align-items: start;
}
.hf-step:last-child { border-bottom: 1px solid var(--hf-line); }
.hf-step__n {
  font-family: var(--font-pt-mono);
  font-size: 0.875rem;
  line-height: 2.75rem;
  color: var(--hf-pink);
}

/* ---------- stats ---------- */
.hf-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--hf-line);
  border-bottom: 1px solid var(--hf-line);
}
@media (min-width: 1024px) {
  .hf-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.hf-stat {
  padding: 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--hf-line);
}
@media (min-width: 1024px) {
  .hf-stat { border-bottom: 0; border-left: 1px solid var(--hf-line); }
  .hf-stat:first-child { border-left: 0; }
}
.hf-stat__v {
  font-family: var(--font-satoshi);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--hf-ink);
}
.hf-stat__l {
  font-family: var(--font-inter-tight);
  font-size: 0.8125rem;
  color: var(--hf-muted);
  margin-top: 0.25rem;
}

/* ---------- pull quote ---------- */
.hf-quote {
  font-family: var(--font-instrument-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.35;
  color: var(--hf-ink);
}
.hf-quote--light { color: #fff; }
.hf-attr {
  font-family: var(--font-inter-tight);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--hf-muted);
  margin-top: 1.25rem;
}
.hf-attr strong { font-weight: 600; color: var(--hf-ink); display: block; }

/* ---------- notice ---------- */
.hf-note {
  border-left: 2px solid var(--hf-pink);
  padding: 0.25rem 0 0.25rem 1rem;
  font-family: var(--font-inter-tight);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--hf-muted);
}

/* ---------- forms ---------- */
.hf-field { display: grid; gap: 0.4rem; }
.hf-label {
  font-family: var(--font-inter-tight);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--hf-ink);
}
.hf-input,
.hf-select,
.hf-textarea {
  width: 100%;
  font-family: var(--font-inter-tight);
  font-size: 0.9375rem;
  color: var(--hf-ink);
  background: #fff;
  border: 1px solid var(--hf-line);
  border-radius: 0.875rem;
  padding: 0.8rem 1rem;
}
.hf-input:focus-visible,
.hf-select:focus-visible,
.hf-textarea:focus-visible {
  outline: 2px solid var(--hf-blue-soft);
  outline-offset: 1px;
}
.hf-textarea { min-height: 9rem; resize: vertical; }
.hf-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-family: var(--font-inter-tight);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--hf-muted);
}
.hf-consent input { margin-top: 0.15rem; }

/* ---------- misc ---------- */
.hf-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-inter-tight);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hf-blue);
  background: rgba(91, 140, 255, 0.12);
  border-radius: 99px;
  padding: 0.3rem 0.75rem;
}
.hf-divider {
  height: 1px;
  background: var(--hf-line);
  border: 0;
}
.hf-mt { margin-top: 1.75rem; }
.hf-mt-lg { margin-top: 2.75rem; }
.hf-stack { display: grid; gap: 1.5rem; }

/* ============================================================
   Fill-ins: utilities used by the new pages that the template's
   compiled stylesheet never needed. Kept at the end so they are
   easy to audit or replace with a Tailwind rebuild.
   ============================================================ */

.leading-none { line-height: 1; }
.mt-1 { margin-top: 0.25rem; }
.ml-1 { margin-left: 0.25rem; }
.pt-3 { padding-top: 0.75rem; }
.flex-wrap { flex-wrap: wrap; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.max-w-\[980px\] { max-width: 980px; }
.max-w-\[760px\] { max-width: 760px; }
.max-w-\[320px\] { max-width: 320px; }
.text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.text-white\/50 { color: rgba(255, 255, 255, 0.5); }
.text-white\/40 { color: rgba(255, 255, 255, 0.4); }
.text-background-4\/70 { color: color-mix(in oklab, var(--color-background-4) 70%, transparent); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.hover\:border-white\/60:hover { border-color: rgba(255, 255, 255, 0.6); }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }

.pt-38 { padding-top: 9.5rem; }
@media (min-width: 768px) {
  .md\:pt-45 { padding-top: 11.25rem; }
  .md\:pb-22 { padding-bottom: 5.5rem; }
  .md\:items-center { align-items: center; }
}
@media (min-width: 1024px) {
  .lg\:pt-52 { padding-top: 13rem; }
  .lg\:pb-28 { padding-bottom: 7rem; }
}

.group\/button-primary:hover .group-hover\/button-primary\:ml-0 { margin-left: 0; }

/* ---------- logo (logo.svg) ----------
   The template flips its monochrome mark to dark on scroll with a
   hue-rotate + invert filter. Happy Feets' logo is full colour, so the
   filter is neutralised and the artwork is shown exactly as supplied. */
.logo-updated-bg,
.logo-updated-bg.invert,
.logo-updated-bg.logo-updated-bg-scroll {
  filter: none;
}

.hf-logo {
  display: block;
  height: var(--hf-logo-h, 48px);
  width: auto;
}
@media (min-width: 1024px) {
  /* fallback when brand.js has not run yet */
  .hf-logo { height: var(--hf-logo-h, 64px); }
}

.hf-logo--footer {
  display: block;
  height: 3.25rem;
  width: auto;
}
@media (min-width: 1024px) {
  .hf-logo--footer { height: 4rem; }
}

/* hero layout helpers used by the template-index-style hero */
@media (min-width: 1024px) {
  .lg\:justify-between { justify-content: space-between; }
}
@media (min-width: 1536px) {
  .\32xl\:gap-x-\[250px\] { column-gap: 250px; }
}

.md\:object-center { object-position: center; }
@media (min-width: 1024px) {
  .lg\:max-w-\[560px\] { max-width: 560px; }
}
