/* Turbine 2026 — Company (NEW). Clone of company.css, scoped under .company-page-new
   (renamed from .company-page; the body scroll-lock class is company-modal-open-new).
   Loaded only on front-company-new.php, so editing it never affects the live page. */

/* --------------------------------------------------------------
   Company page
-------------------------------------------------------------- */

.company-page-new .sb_instagram_header {
  display: none;
}

.company-page-new {
  overflow: hidden;
}

/* Page container — 980px for the content sections; the hero keeps the global
   1280px .container (via .company-hero__container). */
.company-page-new .container-company {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.company-page-new .company-section-title,
.company-page-new .company-team-group__title,
.company-page-new .company-about__title,
.company-page-new .company-join__title,
.company-page-new .company-hero__title,
.company-page-new .company-member__name,
.company-page-new .company-modal__name {
  font-family: "Pharma", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

/* --------------------------------------------------------------
   Company hero
-------------------------------------------------------------- */

.company-page-new .company-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 700px;
  padding-top: 35px;
  overflow: hidden;
}

.company-page-new .company-hero__media,
.company-page-new .company-hero__background,
.company-page-new .company-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 700px;
}

.company-page-new .company-hero__media {
  z-index: 0;
}

.company-page-new .company-hero__background,
.company-page-new .company-hero__video {
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.company-page-new .company-hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding-left: 15px;
  padding-right: 15px;
}

.company-page-new .company-hero__card {
  width: 555px;

  padding: 46px 42px 50px;
  background: rgba(15, 10, 38, 0.5);
  border-radius: 0;
  backdrop-filter: blur(5px);
}

.company-page-new .company-hero__title {
  margin: 0;
  font-size: 50px;
  line-height: 1.02;
  color: #f7f5ff;
}

.company-page-new .company-hero__title span {
  display: block;
  color: #31bec5;
}

.company-page-new .company-hero__text {
  max-width: 455px;
  margin-top: 30px;
  font-size: 20px;
  line-height: 1.55;
  color: #f7f5ff;
}

.company-page-new .company-hero__button,
.company-page-new .company-join__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  height: 60px;
  margin-top: 30px;
  padding: 0 34px;
  color: #110c22;
  background: #31bec5;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.company-page-new .company-hero__button:hover,
.company-page-new .company-join__button:hover {
  background-color: #279093;
}

/* --------------------------------------------------------------
   About Turbine
-------------------------------------------------------------- */

.company-page-new .company-about {
  position: relative;
  padding: 150px 0 140px 0;
}

/* About uses a wider 1020px container than the other 980px sections. */
.company-page-new .company-about .container-company {
  max-width: 1040px;
}

.company-page-new .company-about__inner {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 3fr; /* 40% / 60%, accounting for the gap */
  gap: 40px;
  max-width: 1040px;
  min-height: 430px;
  margin: 0 auto;
  align-items: start;
}

.company-page-new .company-about__inner::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -115px;
  left: 50%;
  width: 100%;
  height: 745px;
  background: url("../images/company_about_bg.png") center center / cover
    no-repeat;
  transform: translateX(-50%);
  pointer-events: none;
}

.company-page-new .company-about__intro,
.company-page-new .company-about__text {
  position: relative;
  z-index: 1;
}

.company-page-new .company-about__intro {
  text-align: right;
  align-self: center;
}

.company-page-new .company-about__title {
  /* title comes from ACF as plain "About Turbine" (no <br>); min-content makes
     each word wrap onto its own line here, while still keeping a real space so
     mobile (max-width:none) shows "ABOUT TURBINE" on one line. */
  max-width: min-content;
  margin: 0 0 0 auto;
  font-size: 50px;
  line-height: 0.98;
  color: #31bec5;
}

.company-page-new .company-about__lead {
  margin-top: 30px;
  font-size: 30px;
  font-style: italic;
  line-height: 1.28;
  color: #31bec5;
}

.company-page-new .company-about__text {
  font-size: 18px;
  line-height: 1.5;
  color: #f7f5ff;
}

.company-page-new .company-about__text p {
  margin: 0 0 28px;
  font-size: 20px;
}

.company-page-new .company-about__text p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------
   Working at Turbine
-------------------------------------------------------------- */

.company-page-new .company-working {
  padding: 0 0 0;
}

.company-page-new .company-working__title,
.company-page-new .company-section-title {
  margin: 0 0 65px;
  color: #31bec5;
  font-size: 50px;
  line-height: 1.05;
  text-align: center;
}

.company-page-new .company-working__feed {
  width: 100%;
  overflow: hidden;
}

.company-page-new .company-working__feed > * {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------
   WORKING AT TURBINE slider — new brand chevron arrows + a dotted
   backdrop that bleeds down into the next (join-team) section.
   The slider is the turbine-instagram-carousel plugin; loop + the
   continuous autoplay live in that plugin's frontend.js.
-------------------------------------------------------------- */
.company-page-new .company-working {
  position: relative;
  z-index: 0;
}

/* Dotted backdrop, bleeding below the slider into the next section */
.company-page-new .company-working::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: -150px;
  height: 470px;
  background: url("../images/working_bg_dots.png") top center / cover no-repeat;
  /* Fade the dots into a semicircle / dome: dense just below the slider, the
     dots dissolve outwards along a circular edge (more to the right). */
  -webkit-mask-image: radial-gradient(65% 145% at 29% -6%, #000 46%, transparent 72%);
          mask-image: radial-gradient(65% 145% at 29% -6%, #000 46%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

/* New brand chevron arrows — hide the plugin's stroked SVG and paint the
   filled chevrons as backgrounds, keeping the plugin's dark edge-gradient. */
.company-page-new .company-working .turbine-instagram-carousel__nav svg {
  display: none;
}
.company-page-new .company-working .turbine-instagram-carousel__nav--prev {
  background-image:
    url("../images/working-arrow-left.svg"),
    linear-gradient(90deg, rgba(21, 16, 44, 0.97) 0%, rgba(217, 217, 217, 0) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: 42px center, left center;
  background-size: auto 54px, 100% 100%;
}
.company-page-new .company-working .turbine-instagram-carousel__nav--next {
  background-image:
    url("../images/working-arrow-right.svg"),
    linear-gradient(270deg, rgba(21, 16, 44, 0.97) 0%, rgba(217, 217, 217, 0) 100%);
  background-repeat: no-repeat, no-repeat;
  background-position: calc(100% - 42px) center, right center;
  background-size: auto 54px, 100% 100%;
}

/* --------------------------------------------------------------
   Join our team
-------------------------------------------------------------- */

.company-page-new .company-join {
  position: relative;
  height: 630px;
  min-height: 630px;
  background-image: url("../images/join_our_team_bg.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1920px 630px;
  margin-top: 150px;
  margin-bottom: 80px;
}

.company-page-new .company-join__container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 630px;
  min-height: 630px;
}

.company-page-new .company-join__inner {
  display: grid;
  grid-template-columns: 150px 290px;
  width: 478px;
  align-items: center;
  gap: 38px;
}

.company-page-new .company-join__title {
  margin: 0;
  font-size: 50px;
  line-height: 0.94;
  text-align: right;
  color: #f7f5ff;
}

.company-page-new .company-join__text {
  font-size: 20px;
  line-height: 1.5;
  color: #f7f5ff;
}

.company-page-new .company-join__button {
  min-width: 0;
  height: 44px;
  margin-top: 17px;
  padding: 0 34px;
  font-size: 12px;
}

/* --------------------------------------------------------------
   Team grid
-------------------------------------------------------------- */

.company-page-new .company-team {
  padding: 70px 0 115px 0;
}

.company-page-new .company-team__inner {
  margin-left: 0;
  margin-right: 0;
}

.company-page-new .company-team-group + .company-team-group {
  margin-top: 102px;
}

.company-page-new .company-team-group__title {
  margin: 0 0 52px;
  font-size: 50px;
  line-height: 1;
}

.company-page-new .company-team-group--leadership .company-team-group__title,
.company-page-new .company-team-group--leadership .company-member__name,
.company-page-new .company-team-group--leadership .company-member__read-more {
  color: #31bec5;
}

.company-page-new .company-team-group--board .company-team-group__title,
.company-page-new .company-team-group--board .company-member__name {
  color: #9e5ba6;
}

.company-page-new .company-team-group--advisors .company-team-group__title,
.company-page-new .company-team-group--advisors .company-member__name {
  color: #ff625f;
}

.company-page-new .company-team-grid {
  display: grid;
  align-items: start;
}

.company-page-new .company-team-grid--leadership {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 60px;
}

.company-page-new .company-team-grid--board,
.company-page-new .company-team-grid--advisors {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 35px;
  row-gap: 50px;
}

.company-page-new .company-member,
.company-page-new .company-member__trigger {
  width: 100%;
}

.company-page-new .company-member__trigger {
  display: block;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.company-page-new .company-member__trigger:focus-visible {
  outline: 2px solid #31bec5;
  outline-offset: 8px;
  border-radius: 0;
}

.company-page-new .company-member__image-wrap,
.company-page-new .company-member__image,
.company-page-new .company-member__image--placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.company-page-new .company-member__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

/* "+" expand badge on the leadership member images (opens the modal; the whole
   card is the trigger, so this is a decorative cue). */
.company-page-new .company-member__plus {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  background: url("../images/company-plus.png") center / contain no-repeat;
  pointer-events: none;
}

.company-page-new .company-member__image {
  object-fit: cover;
  transition: transform 0.35s ease;
}

.company-page-new .company-member__image--placeholder {
  background: #3b3b3b;
}

.company-page-new
  .company-member__trigger:hover
  .company-member__image:not(.company-member__image--placeholder) {
  transform: scale(1.025);
}

/* Board + Scientific advisors: static (non-clickable) cards, no bio popup. */
.company-page-new .company-member__trigger--static {
  cursor: default;
}

.company-page-new
  .company-member__trigger--static:hover
  .company-member__image:not(.company-member__image--placeholder) {
  transform: none;
}

.company-page-new .company-member__name {
  display: block;
  margin-top: 30px;
  /* leadership names: sized to stay on one line in the fixed 980px container
     (cells ~290px) so their roles line up without a reserved min-height */
  font-size: 28px;
  line-height: 1.05;
}

/* Board + Scientific advisors: smaller names than leadership, and reserve two
   lines so the roles line up across a row whether a name takes one line or two
   (e.g. one-line "JANE RHODES" vs two-line "ANNA-MARIE WAGNER"). Leadership
   keeps the larger names with no reserved height. */
.company-page-new .company-team-group--board .company-member__name,
.company-page-new .company-team-group--advisors .company-member__name {
  font-size: 24px;
  min-height: 2.1em;
}

.company-page-new .company-member__name small,
.company-page-new .company-modal__name small {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 400;
  vertical-align: baseline;
}

.company-page-new .company-member__role,
.company-page-new .company-member__read-more {
  display: block;
  line-height: 1.7;
}

.company-page-new .company-member__role {
  margin-top: 15px;
  color: #f7f5ff;
}

.company-page-new .company-member__read-more {
  margin-top: 1px;
  color: #31bec5;
}

/* --------------------------------------------------------------
   Member modal
-------------------------------------------------------------- */

body.company-modal-open-new {
  overflow: hidden;
}

.company-page-new .company-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0.28s;
}

.company-page-new .company-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.company-page-new .company-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 38, 0.93);
}

.company-page-new .company-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 48px;
  width: min(1060px, 100%);
  max-height: calc(100vh - 80px);
  padding: 58px 58px 58px 60px;
  overflow: auto;
  background: #191833;
  border-radius: 0;
  outline: none;
}

.company-page-new .company-modal__close {
  position: absolute;
  top: 27px;
  right: 28px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.company-page-new .company-modal__close::before,
.company-page-new .company-modal__close::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 2px;
  width: 30px;
  height: 2px;
  background: #31bec5;
}

.company-page-new .company-modal__close::before {
  transform: rotate(45deg);
}

.company-page-new .company-modal__close::after {
  transform: rotate(-45deg);
}

.company-page-new .company-modal__image-wrap {
  position: relative;
  align-self: start;
}

.company-page-new .company-modal__image,
.company-page-new .company-modal__image--placeholder {
  display: block;
  width: 330px;
  height: 330px;
  border-radius: 0;
}

.company-page-new .company-modal__image {
  object-fit: cover;
}

.company-page-new .company-modal__image--placeholder {
  background: #3b3b3b;
}

.company-page-new .company-modal__linkedin {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #191833;
  border-radius: 8px;
}

.company-page-new .company-modal__linkedin img {
  width: 30px;
  height: 30px;
}

.company-page-new .company-modal__content {
  padding-top: 13px;
  padding-right: 10px;
}

.company-page-new .company-modal__name {
  margin: 0;
  color: #31bec5;
  font-size: 30px;
  line-height: 1.05;
}

.company-page-new .company-modal__role {
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.5;
  color: #f7f5ff;
}

.company-page-new .company-modal__bio {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.6;
  color: #f7f5ff;
}

.company-page-new .company-modal__bio p {
  margin: 0 0 18px;
}

.company-page-new .company-modal__bio p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------
   Partner logos
-------------------------------------------------------------- */

.company-page-new .company-partners {
  width: 100%;
  padding-top: 65px;
  padding-bottom: 65px;

  position: relative;
  overflow: hidden;
}

.company-page-new .company-partners-content {
  position: relative;
  margin-left: 0;
  margin-right: 0;
}

.company-page-new .company-partners .company-partners-content::before,
.company-page-new .company-partners .company-partners-content::after {
  content: "";
  position: absolute;
  top: -40px;
  bottom: -40px;
  width: 120px;
  z-index: 10;
  pointer-events: none;
}

.company-page-new .company-partners .company-partners-content::before {
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 10, 38, 1) 0%,
    rgba(15, 10, 38, 0) 100%
  );
}

.company-page-new .company-partners .company-partners-content::after {
  right: 0;
  background: linear-gradient(
    270deg,
    rgba(15, 10, 38, 1) 0%,
    rgba(15, 10, 38, 0) 100%
  );
}

.company-page-new .company-partners__swiper {
  width: 100%;
  overflow: hidden;
}

.company-page-new .company-partners__swiper .swiper-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 36px;
  width: max-content;
  max-width: none;
  will-change: transform;
}

.company-page-new .company-partners__slide.swiper-slide {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: auto !important;
  margin-right: 0 !important;
}

.company-page-new .company-partners__slide a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-page-new .company-partners__logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 70px;
}
