/**
 * Gaffiero v112 — primary hero and footer datum consistency.
 *
 * The Home, About and Research first-view sections now share one desktop
 * height and headline scale. Gold datum rules are made explicit at the bottom
 * of the About and Research heroes and at the top of the global footer.
 */

:root {
  --gfr-v112-primary-hero-height: 720px;
  --gfr-v112-datum: linear-gradient(
    90deg,
    transparent 0%,
    rgba(225, 178, 61, .26) 10%,
    #d7ad38 44%,
    #f0d486 50%,
    #d7ad38 56%,
    rgba(225, 178, 61, .26) 90%,
    transparent 100%
  );
}

/* -------------------------------------------------------------------------
   About and Research first-view parity with the Homepage
   ------------------------------------------------------------------------- */
@media (min-width: 981px) {
  body.gfr-signature-theme .gfr-about-v74-hero,
  body.gfr-signature-theme .gfr-about-v74-hero .gfr-about-v60-hero__inner,
  body.gfr-signature-theme .gfr-research-v83-hero,
  body.gfr-signature-theme .gfr-research-v83-hero__inner {
    box-sizing: border-box;
    height: var(--gfr-v112-primary-hero-height);
    min-height: var(--gfr-v112-primary-hero-height);
  }

  body.gfr-signature-theme .gfr-about-v74-hero .gfr-about-v60-hero__copy {
    padding-block: 52px 54px;
  }

  body.gfr-signature-theme .gfr-about-v72-hero__visual {
    width: min(100%, 540px);
  }

  body.gfr-signature-theme .gfr-research-v83-hero__copy {
    max-width: 760px;
    padding-block: 58px 60px;
  }

  body.gfr-signature-theme .gfr-research-v83-hero h1,
  body.gfr-signature-theme .gfr-research-v83-hero__title-visual {
    max-width: 780px;
    font-size: clamp(4.1rem, 7.3vw, 7.25rem);
    line-height: .84;
    letter-spacing: -.06em;
  }

  body.gfr-signature-theme .gfr-research-v84-headline__window {
    height: 1.12em;
    font-size: .78em;
    line-height: 1;
  }

  body.gfr-signature-theme .gfr-research-v84-context-dial {
    width: min(100%, 540px);
  }
}

/* Keep tablet/mobile content-driven and prevent fixed-height clipping. */
@media (max-width: 980px) {
  body.gfr-signature-theme .gfr-about-v74-hero,
  body.gfr-signature-theme .gfr-about-v74-hero .gfr-about-v60-hero__inner,
  body.gfr-signature-theme .gfr-research-v83-hero,
  body.gfr-signature-theme .gfr-research-v83-hero__inner {
    height: auto;
    min-height: auto;
  }
}

/* -------------------------------------------------------------------------
   Hero-bottom datum: same finishing rule as the Homepage transition
   ------------------------------------------------------------------------- */
body.gfr-signature-theme .gfr-about-v74-hero,
body.gfr-signature-theme .gfr-research-v83-hero {
  border-bottom: 1px solid rgba(215,173,56,.6);
  box-shadow: inset 0 -24px 48px rgba(213, 164, 49, .025);
}

body.gfr-signature-theme .gfr-about-v74-hero::after,
body.gfr-signature-theme .gfr-research-v83-hero::after {
  content: "";
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  pointer-events: none;
  background: rgba(240,212,134,.28);
  box-shadow: 0 0 12px rgba(228, 184, 72, .14);
}

/* Retire the older shell-width About datum so there is only one full-width
   rule and no doubled line at the hero boundary. */
body.gfr-signature-theme .gfr-about-v74-hero .gfr-about-v60-hero__inner::after {
  content: none !important;
  display: none !important;
}

/* -------------------------------------------------------------------------
   Global site-footer datum on every public page
   ------------------------------------------------------------------------- */
body.gfr-signature-theme .gfr-footer {
  position: relative;
  border-top: 0;
}

body.gfr-signature-theme .gfr-footer::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  pointer-events: none;
  background: var(--gfr-v112-datum);
  box-shadow: 0 0 16px rgba(228, 184, 72, .16);
}
