.about-intro {
 display: flex;
 justify-content: space-evenly;
 margin: 0;
}

.about-intro .content {
 display: flex;
 gap: 8rem;
 align-items: flex-start;
 padding-top: 4rem;
}

.about-intro .image-pair {
 display: flex;
 flex-direction: row;
 gap: 2rem;
}

.img {
 object-fit: cover;
}

.about-intro .img {
 width: 15rem;
 height: 21rem;
}

.landscape-hero {
 display: none;
}


.about-intro .text {
 max-width: 800px;
 padding-top: 12rem;
}

.about-intro h1 {
 font-family: var(--title-font);
 font-size: 4rem;
 line-height: 1.1;
 margin-bottom: 2rem;
 font-weight: 300;
}

.normal-h1 {
 display: block;
}

.phone-h1 {
 display: none;
}

.about-intro p {
 font-family: var(--body-font);
 font-size: 1rem;
 letter-spacing: 1px;
 font-weight: 200;
}

.project-phases {
 margin-top: 0;
 padding-top: 0;
}


.phase-block {
 display: flex;
 flex-direction: row;
 align-items: stretch;
 padding: 4rem 0;
 border-top: 0.1px solid var(--text-color);
 border-bottom: 0.1px solid var(--text-color);
}

.phase-left {
 flex: 1 1 70%;
}

.left-section {
 display: flex;
 flex-direction: column;
}

.phase-title {
 font-weight: 300;
 padding-bottom: 1rem;
 font-size: 1rem;
 text-transform: uppercase;
}

.phase-text {
 padding-right: 8rem;
 font-family: var(--body-font);
 color: var(--accent-meta);
 font-size: 2rem;
 font-weight: 100;
 letter-spacing: 1px;
 line-height: 1.3;
}

.phase-img {
 max-width: 30rem;
 height: auto;
 margin-top: auto;
}

.phase-right {
 flex: 1 1 30%;
 border-left: 0.1px solid var(--text-color);
 padding-left: 2rem;
}

.values {
 display: flex;
 flex-direction: column;
 gap: 2rem;
}

.value-block {
 border-bottom: 0.1px solid var(--text-color);
 padding: 0 2rem 2rem;
}

#final-value {
 border-bottom: none;
 padding-bottom: 0;
}

.value-title {
 font-family: var(--body-font);
 font-weight: 300;
 font-size: 1rem;
 text-transform: uppercase;
 padding-bottom: 1rem;
}

.value-text {
 font-size: 0.875rem;
 font-weight: 100;
}

.remaining-page {
 margin-left: 4rem;
 margin-right: 4rem;
}

.team-block {
 display: flex;
 gap: 4rem;
 padding-bottom: 4rem;
}

.team-intro {
 flex: 1 1 40%;
}

.team-intro h2 {
 font-weight: 300;
 margin-bottom: 1rem;
}

.team-intro p {
 font-family: 'Poppins', sans-serif;
 font-size: 1rem;
 font-weight: 200;
 color: var(--text-color);
 line-height: 1.5;
}

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

@media (min-width: 769px) {
 .team-grid {
  flex: 1 1 60%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
 }
}

.team-card {
 overflow: hidden;
 position: relative;
 transition: all 0.6s ease;
 touch-action: manipulation;
}

.team-img-wrapper {
 position: relative;
 width: 100%;
 padding-top: 65%;
 overflow: hidden;
 border-radius: 12px;
 transition: border-radius 1s ease;
}

.team-img-wrapper img {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.name-expand-inline {
 display: flex;
 justify-content: space-between;
}

.expand-arrow {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 1.2rem;
 height: 1.2rem;
 border: 1px solid var(--text-color);
 border-radius: 50%;
 font-size: 0.688rem;
}

.team-name {
 font-family: var(--body-font);
 font-size: 1rem;
 font-weight: 400;
 padding-top: 1rem;
 margin: 0;
}

.team-role {
 font-family: var(--body-font);
 font-size: 0.875rem;
 font-weight: 200;
 padding: 0;
 margin-top: 0.25rem;
 text-transform: uppercase;
 color: var(--accent-meta);
}

.team-photo {
 display: flex;
 justify-content: center;
 margin-bottom: 0;
}

.team-photo .img {
 width: 100%;
 height: auto;
}

.about-page-cta {
 margin-bottom: 4rem;
}

@media screen and (max-width: 1300px) {
.phase-text {
 font-size: 1.6rem;
}
}

@media screen and (max-width: 1200px) {
 .phase-left {
  flex: 1 1 65%;
 }

 .phase-right {
  flex: 1 1 35%;
 }
}

@media screen and (max-width: 1024px) {

 .about-intro .text {
   padding-top: 6rem;
  }

 .about-intro .img {
  width: 10rem;
  height: 14rem;
 }

 .about-intro .content {
  gap: 4rem;
 }

 .phase-block {
  padding-top: 2rem;
  padding-bottom: 2rem;
 }

 .phase-left {
  flex: 1 1 60%;
 }

 .phase-right {
  flex: 1 1 40%;
 }

 .phase-text {
  padding-right: 2rem;
 }

 .phase-img {
  max-width: 75%;
 }

 .value-block {
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
 }

 .remaining-page {
  margin-left: 2rem;
  margin-right: 2rem;
 }

 .team-block {
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
 }

 .team-intro,
 .team-grid {
  flex: 1 1 100%;
 }

}

@media screen and (max-width: 1000px) {
 .about-intro .text {
  padding-top: 0;
 }
}

@media screen and (max-width: 820px) {
 .phase-text {
  padding-right: 2rem;
  font-size: 2rem;
 }

 .phase-img {
  padding-top: 2rem;
  padding-bottom: 2rem;
 }
}

@media screen and (max-width: 768px) {

 .about-intro .content {
  flex-direction: column;
 }

 .normal-h1 {
  display: none;
 }

 .phone-h1 {
  display: block;
 }

 .about-intro .text {
  padding-top: 0;
 }

 .about-intro .image-pair {
  display: none;
 }

 .landscape-hero {
  display: block;
  width: 100%;
  height: auto;
 }

 .phase-block {
  flex-direction: column;
 }

 .phase-left {
  flex: 1 1 100%;
 }

 .phase-right {
  flex: 1 1 100%;
  border-left: none;
  padding-left: 0;
 }

 .phase-text {
  padding-right: 0;
 }

 .phase-img {
  max-width: 100%;
 }

 .team-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
 }
}

@media screen and (max-width: 767px) {
 .text h1 {
  font-size: 3.5rem;
 }

 .team-intro h2 {
  font-size: 1.4rem;
 }

 .about-intro .content {
  gap: 2rem;
 }

 .phase-text {
  font-size: 1.6rem;
 }

}

.hover-bio::after {
 content: "";
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 height: 24px;
 pointer-events: none;
}

.hover-bio::-webkit-scrollbar {
 width: 6px;
}

.hover-bio::-webkit-scrollbar-thumb {
 background: var(--secondary-bg);
 border-radius: 6px;
}

.hover-bio {
 scrollbar-width: thin;
 scrollbar-color: var(--secondary-bg) transparent;
 max-height: 0;
 overflow: hidden;
 transition: max-height 0.45s ease, padding 0.3s ease, opacity 0.3s ease;
 padding-top: 0.5rem;
 padding-bottom: 0;
 opacity: 0;
}


.team-card.open .hover-bio {
 max-height: 220px;
 overflow-y: auto;
 padding-top: 1rem;
 padding-bottom: 1rem;
 opacity: 1;
 -webkit-overflow-scrolling: touch;
}

@media (hover: hover) and (pointer: fine) {
 .team-card:hover .hover-bio {
  max-height: 220px;
  overflow-y: auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
  opacity: 1;
 }
}

.team-name .name-expand-inline {
 all: unset;
 display: flex;
 justify-content: space-between;
 width: 100%;
 font: inherit;
 color: inherit;
 line-height: inherit;
 letter-spacing: inherit;
 text-align: left;
 cursor: inherit;
}

.team-name .name-expand-inline::-moz-focus-inner {
 border: 0;
 padding: 0;
}

.team-name .name-expand-inline:focus,
.team-name .name-expand-inline:focus-visible {
 outline: none;
}

.team-name .expand-arrow {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 1.2rem;
 height: 1.2rem;
 border: 1px solid var(--text-color);
 border-radius: 50%;
 font-size: 0.688rem;
}