:root {
  --deep-blue: #0b2a4d;
  --nebula-blue: #0a1d33;
  --white: #ffffff;
  --soft-white: rgba(255, 255, 255, 0.85);
  --button-blue: #2a7bd3;
  --button-blue-dark: #1f5fa7;
  --grid-gap: 6px;
  --fade-ms: 900ms;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Barlow", "Trebuchet MS", sans-serif;
  background: #000000;
  color: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.sticky-title {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  --sticky-title-base: var(--sticky-title-height, clamp(64px, 12vw, 96px));
  --sticky-title-scale: 1;
  --sticky-title-padding: 10px;
  height: calc(
    var(--sticky-title-base) * var(--sticky-title-scale) +
      (var(--sticky-title-padding) * 2)
  );
  background-color: rgba(6, 12, 22, 0.96);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(58, 102, 170, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(7, 16, 30, 0.98) 0%, rgba(5, 10, 20, 0.9) 100%);
  display: grid;
  grid-template-columns: minmax(60px, 1fr) auto minmax(60px, 1fr);
  grid-template-rows: 1fr;
  align-items: center;
  z-index: 40;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 270ms ease, transform 330ms ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  padding: var(--sticky-title-padding) 24px;
  overflow: hidden;
  border-bottom: 2px solid #1c3b52;
}

.sticky-title img {
  max-height: 100%;
  max-width: 100%;
  box-sizing: border-box;
  object-fit: contain;
}

.sticky-title .sticky-logo {
  justify-self: start;
  height: calc(var(--sticky-title-base) * var(--sticky-title-scale));
  width: auto;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.sticky-title .sticky-title-img {
  justify-self: center;
  height: calc(var(--sticky-title-base) * var(--sticky-title-scale) * 0.78);
  width: auto;
}

.has-sticky-title .sticky-title {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.has-sticky-title .sticky-title {
  --sticky-title-scale: calc(1 - (1 - 0.72) * var(--sticky-title-progress, 0));
  height: calc(
    var(--sticky-title-base) * var(--sticky-title-scale) +
      (var(--sticky-title-padding) * 2)
  );
}

.sticky-title-ready .sticky-title .sticky-logo {
  opacity: 1;
  transform: translateX(0);
}

.has-sticky-title .title-lockup {
  opacity: 0;
  visibility: hidden;
}

.no-title-lockup .sticky-title {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  --sticky-title-scale: 0.72;
}

.no-title-lockup .sticky-title .sticky-logo {
  opacity: 1;
  transform: translateX(0);
}

.no-title-lockup {
  --sticky-title-height: 48px;
  --sticky-title-progress: 1;
}

.no-title-lockup .title-lockup {
  display: none;
}

.no-title-lockup .talent-grid {
  display: none;
}
.talent-grid {
  --grid-width: min(2560px, 100vw);
  --grid-height-scale: 0.70;
  --grid-height: calc(var(--grid-width) * 424 / 1340 * var(--grid-height-scale));
  --grid-top: calc(var(--grid-height) * 276 / 424);

  display: grid;
  grid-template-columns: repeat(3, 200fr 245fr);
  gap: var(--grid-gap);
  padding: 0;
  width: 100%;
  max-width: 2560px;
  height: var(--grid-height);
  margin: 0 auto;
}


.talent-column {
  display: grid;
  gap: var(--grid-gap);
  min-height: 0;
  height: 100%;
}

.talent-column.split-bottom {
  grid-template-rows: var(--grid-top)
    calc(var(--grid-height) - var(--grid-top) - var(--grid-gap));
}

.talent-column.split-top {
  grid-template-rows: calc(var(--grid-height) - var(--grid-top) - var(--grid-gap))
    var(--grid-top);
}

.row-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--grid-gap);
  min-height: 0;
}

.grid-cell {
  position: relative;
  overflow: hidden;
  background: #000000;
}

.cell-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity var(--fade-ms) ease;
}

.cell-img.is-visible {
  opacity: 1;
}

@media (max-width: 700px) {
  .talent-grid {
    --grid-width: 100vw;
    --grid-height: calc(var(--grid-width) * 848 / 1340);
    --grid-top: calc(var(--grid-height) * 276 / 424);
    grid-template-columns: 200fr 245fr 200fr;
    aspect-ratio: 1340 / 848;
    height: auto;
  }

  .talent-column:nth-child(n + 4) {
    display: none;
  }
}

.cta-panel {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: clamp(24px, 6vw, 30px) 24px;
  background-image: linear-gradient(180deg, rgba(3, 14, 28, 0.2), rgba(4, 12, 24, 0.65)),
    url("https://media.researchresults.com/NBC/Background/nebula_lndscp_h_1.jpg");
  background-size: cover;
  background-position: center;
}

.cta-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding-bottom: 24px;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 4vw, 32px);
  margin-bottom: 30px;
}

.logo-row img {
  height: clamp(28px, 4vw, 42px);
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.title-lockup {
  display: flex;
  justify-content: center;
  margin: 6px 0 30px;
}

.title-lockup img {
  width: min(520px, 90vw);
  height: auto;
}

.cta-intro {
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  margin: 0 0 10px;
}

.cta-body {
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.5;
  margin: 0 auto 26px;
  color: var(--soft-white);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-button {
  text-decoration: none;
  color: #ffffff;
  background: #3a7aa6;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  width: 318px;
  border-radius: 36px;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: normal;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.25);
  transition: all 0.5s ease-out;
  cursor: pointer;
}

.cta-button:hover {
  background: #306a93;
  transform: translateY(-1px);
}

.cta-button.ghost {
  background: #aa7642;
}

.cta-button.ghost:hover {
  background: #966835;
}

.cta-footer {
  margin-top: auto;
  padding: 36px 24px 16px;
  /* background: linear-gradient(180deg, rgba(3, 14, 28, 0), rgba(3, 14, 28, 0.8)); */
  z-index: 30;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 8px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.cta-footer a,
.cta-footer button {
  color: inherit;
  text-decoration: none;
  font: inherit;
  letter-spacing: 0.02em;
}

.cta-footer a:hover,
.cta-footer button:hover {
  color: #ffffff;
  text-decoration: underline;
}

.cta-footer button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-footer #ot-sdk-btn img,
.cta-footer #ot-sdk-btn svg {
  height: 12px;
  width: auto;
  display: block;
}

/* OneTrust injects inline styles; override to match footer links. */
.cta-footer #ot-sdk-btn.ot-sdk-show-settings,
.cta-footer #ot-sdk-btn.optanon-show-settings {
  color: inherit !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font: inherit !important;
  line-height: inherit !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.45);
  margin: 0 2px;
}

.footer-copy {
  flex-basis: 100%;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

@media (max-width: 700px) {
  .cta-footer {
    gap: 6px 6px;
    font-size: 12px;
  }
}

@media (min-width: 3840px) {
  .page {
    background-image: linear-gradient(180deg, rgba(3, 14, 28, 0.2), rgba(4, 12, 24, 0.65)),
      url("https://media.researchresults.com/NBC/Background/nebula_lndscp_h_1.jpg");
    background-size: cover;
    background-position: center;
  }

  .cta-panel {
    background-image: none;
  }
}
