.secondary-experience {
  color: var(--signal-text);
  background: var(--signal-black);
}

.secondary-experience main {
  background: var(--signal-black);
}

.secondary-experience .future-header .is-active {
  color: #eef1f5 !important;
}

.secondary-experience .future-header .is-active::after {
  transform: scaleX(1) !important;
}

.secondary-hero {
  position: relative;
  min-height: clamp(36rem, calc(78dvh - 76px), 48rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #03070c;
  background-image:
    radial-gradient(circle at var(--hero-x, 76%) var(--hero-y, 38%), rgba(139, 164, 211, 0.15), transparent 20%),
    linear-gradient(96deg, rgba(3, 7, 12, 0.98) 0%, rgba(4, 10, 17, 0.9) 50%, rgba(4, 9, 15, 0.5) 100%),
    url("../images/signal-field.webp");
  background-position: center;
  background-size: cover;
}

.secondary-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(151, 173, 198, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 173, 198, 0.035) 1px, transparent 1px);
  background-size: clamp(38px, 5vw, 72px) clamp(38px, 5vw, 72px);
  mask-image: linear-gradient(90deg, black, black 58%, transparent 100%);
}

.secondary-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 9rem;
  pointer-events: none;
  content: "";
  background: linear-gradient(to bottom, transparent, #03070c);
}

.secondary-hero__layout {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.5fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: end;
  width: 100%;
  padding-top: clamp(4.5rem, 7vh, 6rem);
  padding-bottom: clamp(5.5rem, 8vh, 7rem);
}

.secondary-hero__copy {
  min-width: 0;
  max-width: 61rem;
}

.research-landing-hero .secondary-hero__layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.secondary-hero__copy > img {
  width: auto;
  height: clamp(1.7rem, 2.5vw, 2.15rem);
  margin-bottom: clamp(2.25rem, 4vh, 3.5rem);
  filter: brightness(0) invert(1);
  opacity: 0.68;
}

.secondary-hero__title {
  max-width: 11ch;
  margin-top: 1.4rem;
  color: #f3f2ee;
  font-size: clamp(3.2rem, 6.2vw, 6.4rem);
  font-weight: 480;
  letter-spacing: -0.052em;
  line-height: 1.04;
  text-wrap: balance;
}

.secondary-hero__copy > p {
  max-width: 46rem;
  margin-top: 1.6rem;
  color: #aab6c4;
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  line-height: 1.62;
  text-wrap: pretty;
}

.secondary-hero__actions {
  margin-top: 2rem;
}

.secondary-hero__actions a {
  min-height: 3.25rem;
}

/* Research landing */

.research-principles-system {
  position: relative;
  padding: clamp(5rem, 7vw, 7rem) 0 clamp(5.5rem, 8vw, 7.5rem) !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(103, 130, 177, 0.08), transparent 23%),
    #050b12 !important;
}

.research-principles-system::before,
.publication-library::before,
.team-roster::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(151, 173, 198, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 173, 198, 0.028) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.research-principles-heading {
  position: relative;
  max-width: 56rem;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.research-principles-heading h2,
.publication-heading h2 {
  max-width: 10ch;
  margin-top: 1.35rem;
}

.research-principles-grid {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 1px !important;
  background: var(--signal-line);
  border: 1px solid var(--signal-line);
}

.research-principle {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  grid-column: span 3;
  min-width: 0;
  min-height: 17rem;
  padding: clamp(1.6rem, 2.6vw, 2.25rem) !important;
  overflow: hidden;
  color: var(--signal-text);
  background: rgba(7, 16, 26, 0.96) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.research-principle--primary {
  grid-column: span 5;
}

.research-principle--wide {
  grid-column: span 4;
}

.research-principle::after,
.publication-card::after,
.team-profile__portrait::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(320px circle at var(--card-x, 50%) var(--card-y, 50%), rgba(217, 189, 112, 0.11), transparent 64%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.research-principle:hover::after,
.publication-card:hover::after,
.team-profile__portrait:hover::after {
  opacity: 1;
}

.research-principle > div {
  width: 2.65rem !important;
  height: 2.65rem !important;
  margin-bottom: 1.4rem !important;
  background: transparent !important;
  border: 1px solid var(--signal-line-strong);
  border-radius: 0 !important;
}

.research-principle svg {
  color: var(--signal-blue) !important;
  stroke-width: 1.25;
}

.research-principle h2 {
  position: relative;
  z-index: 1;
  color: #eef1f4 !important;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.04em;
}

.research-principle p {
  position: relative;
  z-index: 1;
  max-width: 38ch;
  color: #8594a7 !important;
  font-size: 0.84rem !important;
  line-height: 1.65 !important;
}

.publication-library {
  position: relative;
  padding: clamp(5.5rem, 8vw, 8rem) 0 clamp(6rem, 9vw, 9rem) !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 12%, rgba(217, 189, 112, 0.055), transparent 22%),
    linear-gradient(180deg, #050b12, #03070c) !important;
}

.publication-heading {
  position: relative;
  max-width: 58rem;
  margin-bottom: clamp(3rem, 5vw, 5rem) !important;
}

.publication-heading p {
  margin-top: 1.6rem;
}

.publication-layout {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: clamp(2rem, 5vw, 4.5rem) !important;
  align-items: start;
  max-width: 72rem;
}

.publication-stream {
  display: flex;
  flex-direction: column;
  gap: 1px !important;
  background: var(--signal-line);
  border: 1px solid var(--signal-line);
}

.publication-stream > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0 !important;
}

.publication-card {
  position: relative;
  min-width: 0;
  padding: clamp(1.75rem, 3.5vw, 3.25rem);
  overflow: hidden;
  color: var(--signal-text);
  background: rgba(7, 16, 26, 0.97) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background 280ms ease;
}

.publication-card:hover {
  background: rgba(11, 24, 38, 0.99) !important;
}

.publication-card--featured { order: 1; }
.publication-card--wall { order: 2; }
.publication-card--gas { order: 3; }

.publication-card > div {
  position: relative;
  z-index: 1;
  padding: 0 !important;
}

.publication-tags {
  gap: 0.5rem !important;
  margin-bottom: 1.4rem !important;
}

.publication-tags span {
  padding: 0.42rem 0.65rem !important;
  color: #93a4b8 !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid var(--signal-line) !important;
  border-radius: 0 !important;
  font-family: var(--font-mono);
  font-size: 0.54rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.publication-card h3 {
  max-width: 15ch;
  margin-bottom: 1rem !important;
  color: #eef1f4 !important;
  font-size: clamp(1.8rem, 3.4vw, 3.4rem) !important;
  font-weight: 480 !important;
  letter-spacing: -0.045em;
  line-height: 1.06;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.publication-card time {
  color: #718095 !important;
  font-family: var(--font-mono);
  font-size: 0.61rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.publication-card > div > p {
  max-width: 64ch;
  color: #94a2b4 !important;
  font-size: 0.9rem !important;
  line-height: 1.68 !important;
}

.publication-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1px !important;
  margin: 2rem 0 !important;
  background: var(--signal-line);
  border: 1px solid var(--signal-line);
}

.publication-stat {
  padding: 1.3rem !important;
  background: rgba(255, 255, 255, 0.025) !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.publication-stat > div:first-child {
  color: #6f7f93 !important;
  font-family: var(--font-mono);
  font-size: 0.53rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
}

.publication-stat > div:last-child {
  color: var(--accent-gold-bright) !important;
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 2.2vw, 1.65rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.04em;
}

.publication-card__cta {
  position: relative;
  z-index: 2;
  min-height: 3.15rem;
}

/* Team */

.team-hero .secondary-hero__title {
  max-width: 9ch;
  font-size: clamp(3.3rem, 6.8vw, 6.8rem);
}

.team-index {
  align-self: center;
  min-width: 0;
  margin-top: 2.75rem;
  border-top: 1px solid var(--signal-line);
  border-left: 1px solid var(--signal-line);
}

.team-index a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.15rem 0.8rem;
  padding: 1.05rem 1.1rem;
  color: inherit;
  border-bottom: 1px solid var(--signal-line);
  text-decoration: none;
  transition: background 220ms ease;
}

.team-index a::before {
  position: absolute;
  top: 1.55rem;
  left: -3px;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--accent-gold);
}

.team-index a:hover {
  background: rgba(255, 255, 255, 0.04);
}

.team-index strong {
  color: #d5dbe2;
  font-size: 0.88rem;
  font-weight: 500;
}

.team-index small {
  color: #738196;
  font-size: 0.68rem;
}

.team-roster {
  position: relative;
  background: linear-gradient(180deg, #050b12, #03070c);
}

.team-profile {
  position: relative;
  padding: clamp(5.5rem, 8vw, 8rem) 0 clamp(6rem, 9vw, 9rem);
  border-top: 1px solid var(--signal-line);
}

.team-profile__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.team-profile--reverse .team-profile__media {
  grid-column: 2;
}

.team-profile--reverse .team-profile__content {
  grid-column: 1;
  grid-row: 1;
}

.team-profile__media {
  position: sticky;
  min-width: 0;
  top: 7.5rem;
  margin: 0;
}

.team-profile__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 30rem;
  overflow: hidden;
  background: #0a111a;
  border: 1px solid var(--signal-line-strong);
  box-shadow: inset 0 0 0 8px rgba(3, 7, 12, 0.62);
}

.team-profile__portrait::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(to bottom, transparent 64%, rgba(3, 7, 12, 0.45)),
    linear-gradient(90deg, rgba(151, 173, 198, 0.045) 1px, transparent 1px);
  background-size: auto, 42px 100%;
  mix-blend-mode: screen;
}

.team-profile__portrait img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: contrast(1.04) brightness(0.88);
  transition: transform 900ms var(--ease-out-expo), filter 500ms ease;
}

.team-profile__portrait:hover img {
  filter: contrast(1.02) brightness(0.96);
  transform: scale(1.025);
}

.team-profile:first-child .team-profile__portrait img {
  object-position: 68% center;
}

.team-profile--reverse .team-profile__portrait img {
  object-position: 52% center;
}

.team-profile__content {
  min-width: 0;
  max-width: 65ch;
}

.team-profile__header {
  padding-bottom: clamp(2rem, 3vw, 3rem);
  border-bottom: 1px solid var(--signal-line);
}

.team-profile__header h2 {
  margin-top: 0;
  color: #eef1f4 !important;
  font-size: clamp(2.7rem, 4.8vw, 4.8rem) !important;
  font-weight: 480 !important;
  letter-spacing: -0.05em;
  line-height: 1.04;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.team-profile__role {
  margin-top: 1.2rem !important;
  color: var(--accent-gold) !important;
  font-family: var(--font-mono);
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-profile__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  margin: 1.25rem 0 2rem !important;
}

.team-profile__social a {
  color: #9aabc0 !important;
  font-family: var(--font-mono);
  font-size: 0.65rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 200ms ease, transform 200ms ease;
}

.team-profile__social a:hover {
  color: var(--accent-gold-bright) !important;
  transform: translateY(-2px);
}

.team-profile__social svg {
  width: 1rem !important;
  height: 1rem !important;
}

.team-profile__narrative {
  display: grid;
  gap: 1rem !important;
  color: #9aa8b8 !important;
}

.team-profile__narrative p {
  color: inherit !important;
  font-size: clamp(0.98rem, 1.2vw, 1.07rem);
  line-height: 1.82 !important;
  text-wrap: pretty;
}

.team-profile__narrative p:first-child::first-letter {
  float: left;
  margin: 0.05em 0.12em 0 0;
  color: var(--accent-gold-bright);
  font-size: 3.8em;
  font-weight: 400;
  line-height: 0.78;
}

.team-profile__education {
  margin-top: 2.4rem !important;
  padding: 1.25rem 0 1.25rem 1.5rem !important;
  border: 0 !important;
  border-left: 1px solid var(--accent-gold) !important;
}

.team-profile__education p {
  color: #718095 !important;
  font-family: var(--font-mono);
  font-size: 0.57rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-profile__education ul {
  color: #a7b2bf !important;
  font-size: 0.84rem !important;
  line-height: 1.75;
}

@media (max-width: 960px) {
  .secondary-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.42fr);
    gap: 2.5rem;
  }

  .publication-layout {
    grid-template-columns: 1fr !important;
  }

  .research-principles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .research-principle,
  .research-principle--primary {
    grid-column: auto;
  }

  .research-principle--wide {
    grid-column: 1 / -1;
  }

  .team-profile__grid {
    gap: 3.5rem;
  }
}

@media (max-width: 859px) {
  .team-profile__grid {
    grid-template-columns: 1fr;
  }

  .team-profile__media,
  .team-profile--reverse .team-profile__media,
  .team-profile--reverse .team-profile__content {
    position: relative;
    top: auto;
    grid-column: auto;
    grid-row: auto;
  }

  .team-profile__portrait {
    aspect-ratio: 1;
    max-width: 34rem;
  }
}

@media (max-width: 767px) {
  .secondary-hero {
    min-height: max(34rem, calc(88dvh - 70px));
  }

  .secondary-hero__layout {
    display: block;
    padding-top: 3.5rem;
    padding-bottom: 5.5rem;
  }

  .secondary-hero__copy > img {
    margin-bottom: 3rem;
  }

  .secondary-hero__title,
  .team-hero .secondary-hero__title {
    max-width: 10ch;
    font-size: clamp(2.9rem, 13.5vw, 4.6rem);
    line-height: 1.04;
  }

  .team-index {
    margin-top: 2.5rem;
  }

  .research-principles-grid {
    grid-template-columns: 1fr !important;
  }

  .research-principle,
  .research-principle--primary,
  .research-principle--wide {
    grid-column: auto;
    min-height: auto;
  }

  .publication-stats {
    grid-template-columns: 1fr !important;
  }

  .publication-card h3 {
    font-size: clamp(2.2rem, 11vw, 3.5rem) !important;
  }

  .team-index {
    display: grid;
    grid-template-columns: 1fr;
  }

  .team-profile {
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
  }

  .team-profile__grid {
    gap: 2.5rem;
  }

  .team-profile__header h2 {
    font-size: clamp(2.7rem, 12vw, 4rem) !important;
  }
}

@media (max-width: 420px) {
  .secondary-hero__title,
  .team-hero .secondary-hero__title {
    font-size: clamp(2.75rem, 13.5vw, 3.8rem);
  }

  .publication-card,
  .research-principle {
    padding: 1.4rem !important;
  }

  .team-profile__social {
    flex-direction: column;
    align-items: flex-start;
  }
}
