.reference-page { --ref-navy: #0c0c40; --ref-sky: #0b6ea3; --ref-grey: #f4f4f4; }
.reference-page main h1,
.reference-page main h2,
.reference-page main h3 { color: var(--c-ink); text-wrap: balance; }
.reference-page main p { line-height: 1.65; }
.ref-section { padding-block: clamp(3.5rem, 7vw, 5.75rem); }
.ref-section--grey { background: var(--ref-grey); }
.ref-title { color: var(--c-ink); font-family: var(--font-display); font-size: clamp(1.8rem, 2.7vw, 2.4rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.ref-title--center { text-align: center; }
.ref-eyebrow { color: var(--ref-sky); font-family: var(--font-display); font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 1rem; }

.ref-hero-wrap { padding-top: clamp(2rem, 5vw, 4.4rem); }
.ref-hero {
  position: relative;
  min-height: 456px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--ref-navy);
}
.ref-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ref-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,12,50,.74) 0%, rgba(12,12,50,.48) 44%, rgba(12,12,50,.08) 78%);
}
.ref-hero-copy { position: relative; z-index: 1; max-width: 760px; padding: 3rem 3.9rem; }
.reference-page .ref-hero-copy h1 { color: #fff; font-size: clamp(2.45rem, 4.2vw, 3.6rem); line-height: 1.15; letter-spacing: -.02em; }
.ref-hero-copy p { color: #fff; max-width: 590px; margin: 1.35rem 0 0; font-size: 1rem; }

.ref-intro { max-width: 840px; margin-inline: auto; text-align: center; }
.ref-intro-logo { width: 130px; height: auto; margin: 0 auto 1.55rem; }
.ref-intro .ref-title { margin-bottom: 1.7rem; }
.ref-intro p { max-width: 680px; margin-inline: auto; }
.ref-intro p + p { margin-top: 1.5rem; }

.ref-help-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2.5rem, 6vw, 5rem); }
.ref-help-image img { display: block; width: 100%; aspect-ratio: 613 / 516; object-fit: cover; border-radius: 10px; }
.ref-help-copy .ref-title { max-width: 560px; margin-bottom: 1.45rem; }
.ref-help-copy p { max-width: 560px; }
.ref-help-copy .btn { margin-top: 2rem; }

.ref-footer-ctas { background: var(--ref-navy); padding: 3rem 0 0; }
.ref-footer-ctas-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.ref-footer-cta {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 435 / 300;
  overflow: hidden;
  isolation: isolate;
  border-radius: 9px;
}
.ref-footer-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,12,50,.56), rgba(12,12,50,.05) 68%); }
.ref-footer-cta img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.ref-footer-cta:hover img { transform: scale(1.04); }
.ref-footer-cta .btn { margin-bottom: 1.6rem; }

@media (max-width: 900px) {
  .ref-help-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ref-footer-ctas-grid { grid-template-columns: 1fr; }
  .ref-footer-cta { aspect-ratio: 16 / 7; }
}

@media (max-width: 640px) {
  .ref-hero-wrap { padding-top: 2rem; }
  .ref-hero { min-height: 340px; align-items: flex-end; }
  .ref-hero::after { background: linear-gradient(0deg, rgba(12,12,50,.8) 0%, rgba(12,12,50,.27) 80%); }
  .ref-hero-copy { padding: 1.8rem 1.35rem; }
  .reference-page .ref-hero-copy h1 { font-size: clamp(2rem, 9.5vw, 2.7rem); }
  .ref-hero-copy p { font-size: .95rem; }
  .ref-footer-cta { aspect-ratio: 16 / 9; }
}
