@font-face {
  font-family: "Reference Rethink Sans";
  src: url("../images/reference-hero/rethink-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
/* Scoped to the replacement hero. All existing page sections keep their styles. */
.reference-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  padding: clamp(128px, 23vh, 230px) 32px 48px;
  border-radius: 0 0 23px 23px;
  background: #fc6d3a;
  color: #fff;
  font-family: "Reference Rethink Sans", sans-serif;
  text-align: center;
}
.reference-hero-background,
.reference-hero-background > img,
#reference-hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.reference-hero-background { z-index: -1; pointer-events: none; }
.reference-hero-background > img { object-fit: cover; }
#reference-hero-scene { opacity: 0; transition: opacity .6s; }
#reference-hero-scene.is-ready { opacity: 1; }
.reference-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.reference-hero-kicker {
  margin: 0 0 20px;
  font: 600 14px/1.4 "Reference Rethink Sans", sans-serif;
  letter-spacing: 0;
  color: #fff;
}
.reference-hero h1 {
  max-width: 95vw;
  margin: 0 0 16px;
  font: 700 48px/1.1 "Reference Rethink Sans", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}
.reference-hero-description {
  max-width: 672px;
  margin: 0 auto 32px;
  font: 400 15px/1.25 "Reference Rethink Sans", sans-serif;
  letter-spacing: 0;
  color: rgb(255 255 255 / 80%);
}
.reference-hero-actions { display: flex; gap: 16px; margin-bottom: 32px; }
.reference-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  min-height: 54px;
  border: 1px solid #fafafa;
  border-radius: 2px;
  background: #fafafa;
  color: #1f1e1e;
  font: 700 14px/1.4 "Reference Rethink Sans", sans-serif;
  letter-spacing: 0;
  text-transform: none;
  transition: background .3s, color .3s, transform .25s;
}
.reference-hero-button-outline { border-color: rgb(255 255 255 / 40%); background: transparent; color: #fff; }
.reference-hero-button:hover { background: #1f1e1e; border-color: #1f1e1e; color: #fff; }
.reference-hero-button-outline:hover { background: #fafafa; border-color: #fafafa; color: #1f1e1e; }
.reference-hero-button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.reference-button-text { position: relative; display: block; overflow: hidden; }
.reference-button-text > span { display: block; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.reference-button-text > span:last-child { position: absolute; inset: 0; transform: translateY(115%); }
.reference-hero-button:hover .reference-button-text > span:first-child { transform: translateY(-115%); }
.reference-hero-button:hover .reference-button-text > span:last-child { transform: translateY(0); }
.reference-hero-platforms { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.reference-hero-platforms > p { margin: 0; color: #fff; opacity: .9; font: 600 13px/1.4 "Reference Rethink Sans",sans-serif; letter-spacing: 0; }
.reference-hero-logos { display: flex; align-items: center; justify-content: center; gap: 24px; opacity: .9; }
.reference-hero-logos img { display: block; width: auto; object-fit: contain; filter: brightness(0) invert(1) grayscale(1); }
.reference-hero-logos img:nth-child(1) { height: 25px; }
.reference-hero-logos img:nth-child(2) { height: 32px; transform: translateY(2px); }
.reference-hero-logos img:nth-child(3) { height: 20px; }
@media (max-width: 767px) {
  .reference-hero { min-height: 0; padding: 104px 32px 40px; border-radius: 0; }
  .reference-hero-kicker { font-size: 13px; }
  .reference-hero h1 { font-size: 32px; max-width: 95vw; }
  .reference-hero-description { font-size: 13px; }
  .reference-hero-button { padding: 12px 24px; min-height: 44px; font-size: 13px; }
  .reference-hero-logos img:nth-child(1) { height: 18px; }
  .reference-hero-logos img:nth-child(2) { height: 24px; }
  .reference-hero-logos img:nth-child(3) { height: 16px; }
}
@media (max-width: 639px) {
  .reference-hero { min-height: 0; padding-inline: 32px; }
  .reference-hero h1 { font-size: 26px; }
  .reference-hero-description { font-size: 12px; }
  .reference-hero-actions { flex-direction: column; width: min(100%,240px); }
  .reference-hero-button { width: 100%; }
  .reference-hero-platforms > p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .reference-hero *, .reference-hero *::before, .reference-hero *::after { transition: none !important; animation: none !important; }
  .reference-hero-button { transform: none !important; }
}
