@import "reset.css";
@import "font.css";

/**
--------------------------------------------------------------------------------------
------------------------ ************ Public Css ************ ------------------------
--------------------------------------------------------------------------------------
**/

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sticky-header-height, 90px) + 24px);
}

/* Mobile experience */

@media (max-width: 768px) {
  body.menu-is-open {
    overflow: hidden;
  }

  .container {
    width: min(100% - 24px, 1200px);
  }

  #header,
  #header.is-sticky {
    padding: 12px 0;
  }

  .header_inner,
  #header.is-sticky .header_inner {
    position: relative;
    grid-template-columns: 1fr auto;
    gap: 0 16px;
  }

  .logo,
  #header.is-sticky .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 140px;
    margin: 0;
  }

  .mobile_menu_toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #1a1a1a;
    background-color: #f5f8f8;
    border: 1px solid #e7ecec;
    border-radius: 12px;
    cursor: pointer;
  }

  .mobile_menu_toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: currentColor;
    border-radius: 999px;
    transition:
      transform 0.25s ease,
      opacity 0.2s ease;
  }

  #header.is-menu-open .mobile_menu_toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  #header.is-menu-open .mobile_menu_toggle span:nth-child(2) {
    opacity: 0;
  }

  #header.is-menu-open .mobile_menu_toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header_nav,
  #header.is-sticky .header_nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 0;
  }

  #header.is-menu-open .header_nav {
    display: block;
  }

  #header.is-menu-open .header_nav_left {
    padding-top: 16px;
  }

  .header_nav ul,
  #header.is-sticky .header_nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .header_nav_left ul,
  .header_nav_right ul {
    justify-content: stretch;
  }

  .header_nav a,
  #header.is-sticky .header_nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 4px;
    font-size: 14px;
    border-bottom: 1px solid #eef0f0;
  }

  #header.is-menu-open {
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.1);
  }

  #hero .container {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 480px;
    height: auto;
    padding: 48px 28px;
    background-position: 62% center;
  }

  #hero .container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.82) 58%,
      rgba(255, 255, 255, 0.22) 100%
    );
  }

  .hero_content {
    width: 100%;
    max-width: 440px;
  }

  .hero_title {
    font-size: 30px;
    line-height: 1.25;
  }

  .hero_excerpt {
    line-height: 1.65;
  }

  .hero_btn {
    min-height: 48px;
  }

  #properties {
    padding: 52px 0 58px;
  }

  .properties_header {
    display: block;
    margin-bottom: 28px;
  }

  .properties_filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    width: calc(100% + 12px);
    margin-top: 20px;
    padding: 0 12px 8px 0;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .properties_filters::-webkit-scrollbar {
    display: none;
  }

  .property_filter {
    flex: 0 0 auto;
    min-height: 42px;
    scroll-snap-align: start;
  }

  .properties_title,
  .developers_title,
  .services_title,
  .team_title {
    font-size: 26px;
    line-height: 1.3;
  }

  .properties_grid {
    gap: 20px;
  }

  #developers .container {
    padding: 38px 0;
  }

  .developers_excerpt {
    font-size: 14px;
  }

  #services {
    padding: 52px 0;
  }

  #services .container {
    padding: 42px 24px;
  }

  #team {
    padding: 4px 0 60px;
  }

  .team_grid {
    gap: 30px 16px;
  }

  #about {
    padding-bottom: 60px;
  }

  #contact {
    padding-bottom: 56px;
  }
}

@media (max-width: 560px) {
  #hero .container {
    align-items: flex-end;
    min-height: 510px;
    padding: 40px 22px;
    background-position: 67% center;
  }

  #hero .container::before {
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.88) 52%,
      rgba(255, 255, 255, 0.12) 100%
    );
  }

  .hero_btn {
    width: 100%;
    justify-content: center;
  }

  #services .container {
    padding: 38px 18px;
  }

  .service_card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .service_card_image {
    width: 72px;
    height: 68px;
    padding: 6px;
    border-radius: 12px;
  }

  .service_card_image img {
    width: 60px;
    height: 50px;
  }

  .team_grid {
    max-width: 400px;
  }

  .team_member_content {
    padding-top: 16px;
  }

  .team_contact_link {
    width: 42px;
    height: 42px;
  }

  .team_profile_link {
    min-height: 46px;
  }

  #contact .container {
    width: calc(100% - 16px);
    padding: 38px 20px;
  }

  .contact_button {
    min-height: 50px;
  }

  #footer {
    padding-bottom: 18px;
  }

  #footer .container {
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.pull-left {
  float: left;
}

.pull-right {
  float: right;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.container-fluid {
  width: 100%;
}

a {
  text-decoration: none;
  color: #000;
}

body {
  font-family: Montserrat, sans-serif;
  background-color: #ffffff;
  overflow-x: hidden;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

input,
textarea,
button {
  font-family: inherit;
}

/* Header */

#header {
  position: relative;
  z-index: 1000;
  padding: 20px 0;
  background-color: #fff;
}

.header_spacer {
  height: 0;
}

#header.is-sticky {
  position: fixed;
  top: var(--admin-bar-height, 0);
  right: 0;
  left: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(124, 192, 191, 0.16);
  box-shadow: 0 10px 32px rgba(26, 26, 26, 0.08);
  animation: header-slide-down 0.38s ease both;
}

@keyframes header-slide-down {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header_inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 64px;
}

.header_nav {
  padding-top: 18px;
}

.header_nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header_nav_left ul {
  justify-content: flex-end;
}

.header_nav_right ul {
  justify-content: flex-start;
}

.header_nav a {
  position: relative;
  font-size: 14px;
  font-weight: 550;
  color: #1a1a1a;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.header_nav a:hover {
  color: #7cc0bf;
}

.header_nav a.is-active,
.header_nav a[aria-current="page"] {
  color: #dbbc88;
}

#header.is-sticky .header_nav {
  padding-top: 0;
}

#header.is-sticky .logo {
  width: 150px;
}

.logo {
  width: 180px;
  flex-shrink: 0;
  margin: 0 12px;
}

.logo a {
  display: block;
}

.logo img {
  width: 100%;
  height: auto;
}

.mobile_menu_toggle {
  display: none;
}

/* Hero */

#hero .container {
  background-image: url(../images/hero-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  padding: 0 50px;
  border-radius: 20px;
}
.hero_content {
  width: 500px;
}
.hero_title {
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 12px;
}

.hero_excerpt {
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  margin: 0;
}

.hero_cta {
  margin-top: 28px;
}

.hero_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background-color: #7cc0bf;
  box-shadow: 0 6px 20px rgba(124, 192, 191, 0.35);
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.hero_btn_icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.hero_btn:hover {
  background-color: #5eb3b2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(124, 192, 191, 0.45);
}

.hero_btn:hover .hero_btn_icon {
  transform: scale(1.1);
}

.hero_btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(124, 192, 191, 0.35);
}

.hero_btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Properties */

#properties {
  padding: 70px 0 80px;
}

.properties_header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.properties_title {
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
}

.properties_filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.property_filter {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.property_filter:hover {
  color: #1a1a1a;
}

.property_filter.is-active {
  color: #fff;
  background-color: #000;
  border-color: #000;
}

.property_filter.is-active:hover {
  color: #fff;
}

.properties_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.property_card {
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.property_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.property_card_image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}

.property_card_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.property_card_badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property_badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.property_badge_type {
  background-color: #7cc0bf;
  color: #fff;
}

.property_badge_status {
  background-color: #dbbc88;
  color: #1a1a1a;
}

.property_card_body {
  padding: 16px 8px 8px;
}

.property_card_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.property_card_name {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.35;
}

.property_card_price {
  font-size: 18px;
  font-weight: 700;
  color: #e85d4a;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.property_card_location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.property_card_location svg {
  flex-shrink: 0;
  color: #999;
}

.property_card_meta {
  margin: 0 0 10px;
}

.property_card_type {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 6px;
}

.property_card_highlight {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0 0 18px;
}

.property_card_btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-color: #7cc0bf;
  padding: 11px 22px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.property_card_btn:hover {
  background-color: #50a5a4;
  color: #fff;
}

/* Developers */

#developers .container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 0;
  background-color: #fbfdfd;
  min-height: 300px;
  border: 1px solid rgba(124, 192, 191, 0.16);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(26, 26, 26, 0.06);
  box-sizing: border-box;
}

#developers .container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url(../images/texture.png);
  background-repeat: repeat;
  opacity: 0.15;
}

.developers_title {
  position: relative;
  font-size: 32px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
  margin: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.developers_excerpt {
  position: relative;
  font-size: 16px;
  line-height: 1.55;
  color: #343a3a;
  text-align: center;
  width: calc(100% - 40px);
  max-width: 500px;
  margin: 12px auto 0 auto;
}

.developers_logos {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  width: calc(100% - 64px);
  max-width: 980px;
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
}

.developer_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 105px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(124, 192, 191, 0.18);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(26, 26, 26, 0.05);
}

.developer_logo img {
  display: block;
  width: 100%;
  max-width: 92px;
  height: 100%;
  object-fit: contain;
}

/* Services */

#services {
  padding: 80px 0;
}

#services .container {
  padding: 64px;
  background-color: #fbfdfd;
  border: 1px solid rgba(124, 192, 191, 0.16);
  border-radius: 20px;
  box-sizing: border-box;
}

.services_header {
  max-width: 650px;
  margin: 0 auto 54px;
  text-align: center;
}

.services_title {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
}

.services_excerpt {
  max-width: 560px;
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.services_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
}

.service_card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-width: 0;
  padding: 30px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.09);
}

.service_card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.service_card_image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 112px;
  height: 92px;
  padding: 8px;
  background-color: #fff;
  border: 1px solid rgba(124, 192, 191, 0.18);
  border-radius: 16px;
  box-sizing: border-box;
}

.service_card_image img {
  width: 96px;
  height: 72px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.service_card:hover .service_card_image img {
  transform: scale(1.06);
}

.service_card_body {
  min-width: 0;
}

.service_card_number {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #4c9897;
}

.service_card_title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1a1a;
}

.service_card_description {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #666;
}

/* Team */

#team {
  padding: 10px 0 90px;
}

.team_header {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.team_title {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  color: #1a1a1a;
}

.team_excerpt {
  max-width: 680px;
  margin: 12px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: #666;
}

.team_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team_member {
  min-width: 0;
}

.team_member_image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: #eee8e2;
  border-radius: 18px;
}

.team_member_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.team_member:hover .team_member_image img {
  transform: scale(1.025);
}

.team_member_content {
  padding: 20px 4px 0;
}

.team_member_name {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
}

.team_member_position {
  min-height: 40px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #777;
}

.team_member_contacts {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.team_contact_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #4f9291;
  background-color: #f1f8f8;
  border: 1px solid rgba(124, 192, 191, 0.22);
  border-radius: 50%;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.team_contact_link:hover {
  color: #fff;
  background-color: #7cc0bf;
  border-color: #7cc0bf;
  transform: translateY(-2px);
}

.team_contact_link:focus-visible,
.team_profile_link:focus-visible {
  outline: 2px solid #7cc0bf;
  outline-offset: 3px;
}

.team_profile_link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 10px 14px;
  color: #1a1a1a;
  border: 1px solid #dedede;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 600;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.team_profile_link svg {
  transition: transform 0.2s ease;
}

.team_profile_link:hover {
  color: #fff;
  background-color: #1a1a1a;
  border-color: #1a1a1a;
}

.team_profile_link:hover svg {
  transform: translateX(3px);
}

/* About */

#about {
  padding-bottom: 90px;
}

#about .container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: 64px;
  background-color: #06131e;
  background-image: url(../images/palmline.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  box-sizing: border-box;
}

#about .container::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(3, 15, 25, 0.2) 0%,
    rgba(3, 15, 25, 0.08) 45%,
    rgba(3, 15, 25, 0) 68%
  );
  pointer-events: none;
}

.about_content {
  max-width: 540px;
  color: #fff;
}

.about_title {
  margin: 0 0 16px;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.about_excerpt {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

.about_experience {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.about_experience strong {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: #dbbc88;
}

.about_experience span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* Contact CTA */

#contact {
  padding-bottom: 90px;
}

#contact .container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 48px 40px;
  background-color: #fbfdfd;
  border: 1px solid rgba(124, 192, 191, 0.22);
  border-radius: 20px;
  box-sizing: border-box;
}

#contact .container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url(../images/texture.png);
  background-repeat: repeat;
  opacity: 0.15;
  pointer-events: none;
}

.contact_content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact_title {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
}

.contact_excerpt {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: #626b6b;
}

.contact_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 24px;
  color: #fff;
  background-color: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.contact_button svg {
  transition: transform 0.25s ease;
}

.contact_button:hover {
  color: #fff;
  background-color: #5aa9a8;
  border-color: #5aa9a8;
  transform: translateY(-2px);
}

.contact_button:hover svg {
  transform: translateX(3px);
}

.contact_button:focus-visible {
  outline: 2px solid #7cc0bf;
  outline-offset: 4px;
}

/* Footer */

#footer {
  padding: 0 0 24px;
}

#footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid #ecefef;
}

.footer_copyright,
.footer_credit {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #7a8080;
}

.footer_credit {
  text-align: right;
}

.footer_credit a {
  color: #4f9291;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer_credit a:hover {
  color: #1a1a1a;
}

.footer_credit a:focus-visible {
  outline: 2px solid #7cc0bf;
  outline-offset: 3px;
}

@media (max-width: 992px) {
  .developers_logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-bottom: 4px;
  }

  .header_inner {
    gap: 40px;
  }

  .header_nav {
    padding-top: 14px;
  }

  .header_nav ul {
    gap: 20px;
  }

  .header_nav a {
    font-size: 13px;
  }

  .logo {
    width: 150px;
  }

  .team_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}

@media (max-width: 1024px) {
  .properties_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #services .container {
    padding: 52px 40px;
  }

  .services_grid {
    column-gap: 40px;
  }

  .service_card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
  }

  .service_card_image {
    width: 96px;
    height: 84px;
  }

  .service_card_image img {
    width: 82px;
    height: 64px;
  }
}

@media (max-width: 768px) {
  .header_inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
  }

  .header_nav {
    padding-top: 0;
  }

  .header_nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 20px;
  }

  .logo {
    margin: 0;
  }

  #header.is-sticky {
    padding: 12px 0;
  }

  #header.is-sticky .header_inner {
    gap: 8px;
  }

  #header.is-sticky .header_nav {
    padding-top: 0;
  }

  #header.is-sticky .header_nav ul {
    gap: 8px 16px;
  }

  #header.is-sticky .logo {
    width: 120px;
  }

  #hero .container {
    min-height: 440px;
    height: auto;
    padding: 48px 32px;
    box-sizing: border-box;
  }

  .hero_content {
    width: min(500px, 100%);
  }

  .hero_title {
    font-size: 30px;
  }

  #properties {
    padding: 50px 0 60px;
  }

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

  .properties_filters {
    justify-content: flex-start;
  }

  .properties_title {
    font-size: 26px;
  }

  .developers_logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(100% - 40px);
    gap: 12px;
    margin-top: 24px;
  }

  #services {
    padding: 60px 0;
  }

  #services .container {
    padding: 48px 32px;
  }

  .services_header {
    margin-bottom: 28px;
  }

  .services_title {
    font-size: 26px;
  }

  .services_grid {
    grid-template-columns: 1fr;
  }

  .service_card:nth-last-child(2) {
    border-bottom: 1px solid rgba(26, 26, 26, 0.09);
  }

  #team {
    padding-bottom: 65px;
  }

  .team_header {
    margin-bottom: 32px;
  }

  .team_title {
    font-size: 26px;
  }

  .team_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #about {
    padding-bottom: 65px;
  }

  #about .container {
    min-height: 460px;
    padding: 48px 36px;
    background-position: 58% center;
  }

  #about .container::after {
    background: linear-gradient(
      90deg,
      rgba(3, 15, 25, 0.88) 0%,
      rgba(3, 15, 25, 0.68) 55%,
      rgba(3, 15, 25, 0.16) 100%
    );
  }

  .about_content {
    max-width: 470px;
  }

  .about_title {
    font-size: 30px;
  }

  .about_excerpt {
    font-size: 16px;
  }

  #contact {
    padding-bottom: 65px;
  }

  #contact .container {
    padding: 44px 32px;
  }

  .contact_title {
    font-size: 28px;
  }
}

@media (max-width: 560px) {
  #header.is-sticky .header_nav a {
    font-size: 11px;
  }

  #hero .container {
    padding: 40px 24px;
  }

  .hero_title {
    font-size: 27px;
  }

  .properties_grid {
    grid-template-columns: 1fr;
  }

  .property_card_top {
    flex-direction: column;
    gap: 6px;
  }

  .property_card_price {
    white-space: normal;
  }

  #services .container {
    padding: 40px 22px;
  }

  .service_card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
    padding: 24px 0;
  }

  .service_card_image {
    width: 82px;
    height: 74px;
    border-radius: 14px;
  }

  .service_card_image img {
    width: 70px;
    height: 56px;
  }

  .service_card_title {
    font-size: 17px;
  }

  .team_grid {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 360px;
    margin: 0 auto;
  }

  .team_member_position {
    min-height: 0;
  }

  #about .container {
    min-height: 500px;
    align-items: flex-end;
    padding: 36px 24px;
    background-position: 74% center;
  }

  #about .container::after {
    background: linear-gradient(
      0deg,
      rgba(3, 15, 25, 0.96) 0%,
      rgba(3, 15, 25, 0.78) 48%,
      rgba(3, 15, 25, 0.1) 100%
    );
  }

  .about_title {
    font-size: 27px;
  }

  .about_experience strong {
    font-size: 42px;
  }

  #contact .container {
    width: min(100% - 20px, 1320px);
    padding: 40px 22px;
  }

  .contact_title {
    font-size: 25px;
  }

  .contact_excerpt {
    font-size: 15px;
  }

  .contact_button {
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
  }

  #footer .container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .footer_credit {
    text-align: center;
  }
}

/* Final mobile overrides */

@media (max-width: 768px) {
  body.menu-is-open {
    overflow: hidden;
  }

  .container {
    width: min(100% - 24px, 1200px);
  }

  #header,
  #header.is-sticky {
    padding: 12px 0;
  }

  .header_inner,
  #header.is-sticky .header_inner {
    position: relative;
    grid-template-columns: 1fr auto;
    gap: 0 16px;
  }

  .logo,
  #header.is-sticky .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    width: 140px;
    margin: 0;
  }

  .mobile_menu_toggle {
    display: inline-flex;
  }

  .header_nav,
  #header.is-sticky .header_nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 0;
  }

  #header.is-menu-open .header_nav {
    display: block;
  }

  #header.is-menu-open .header_nav_left {
    padding-top: 16px;
  }

  .header_nav ul,
  #header.is-sticky .header_nav ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .header_nav a,
  #header.is-sticky .header_nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 4px;
    font-size: 14px;
    border-bottom: 1px solid #eef0f0;
  }

  #hero .container {
    min-height: 480px;
    padding: 48px 28px;
    background-position: 62% center;
  }

  .hero_content {
    width: 100%;
    max-width: 440px;
  }

  .hero_title {
    font-size: 30px;
    line-height: 1.25;
  }

  .hero_excerpt {
    line-height: 1.65;
  }

  .properties_header {
    display: block;
    margin-bottom: 28px;
  }

  .properties_filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: calc(100% + 12px);
    margin-top: 20px;
    padding: 0 12px 8px 0;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }

  .properties_filters::-webkit-scrollbar {
    display: none;
  }

  .property_filter {
    flex: 0 0 auto;
    min-height: 42px;
    scroll-snap-align: start;
  }

  .properties_grid {
    gap: 20px;
  }

  #developers .container {
    padding: 38px 0;
  }

  #services {
    padding: 52px 0;
  }

  #services .container {
    padding: 42px 24px;
  }

  #team {
    padding: 4px 0 60px;
  }

  #about {
    padding-bottom: 60px;
  }

  #contact {
    padding-bottom: 56px;
  }
}

@media (max-width: 560px) {
  #hero .container {
    min-height: 510px;
    padding: 40px 22px;
    background-position: 67% center;
  }

  .hero_btn {
    width: 100%;
    justify-content: center;
  }

  #services .container {
    padding: 38px 18px;
  }

  .service_card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 0;
  }

  .service_card_image {
    width: 72px;
    height: 68px;
    padding: 6px;
  }

  .service_card_image img {
    width: 60px;
    height: 50px;
  }

  .team_contact_link {
    width: 42px;
    height: 42px;
  }

  .team_profile_link {
    min-height: 46px;
  }

  #contact .container {
    width: calc(100% - 16px);
    padding: 38px 20px;
  }

  .contact_button {
    min-height: 50px;
  }
}

/* Refined mobile navigation */

@media (max-width: 768px) {
  .mobile_menu_toggle {
    gap: 4px;
    width: 40px;
    height: 40px;
    color: #303535;
    background-color: transparent;
    border-color: transparent;
    border-radius: 10px;
    transition:
      color 0.2s ease,
      background-color 0.2s ease;
  }

  .mobile_menu_toggle:hover,
  .mobile_menu_toggle:focus-visible,
  #header.is-menu-open .mobile_menu_toggle {
    color: #4f9291;
    background-color: rgba(124, 192, 191, 0.1);
  }

  .mobile_menu_toggle:focus-visible {
    outline: 2px solid rgba(124, 192, 191, 0.5);
    outline-offset: 2px;
  }

  .mobile_menu_toggle span {
    width: 18px;
    height: 1.5px;
  }

  #header.is-menu-open .mobile_menu_toggle span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }

  #header.is-menu-open .mobile_menu_toggle span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  #header.is-menu-open {
    border-bottom: 1px solid rgba(124, 192, 191, 0.12);
    box-shadow: 0 12px 28px rgba(26, 26, 26, 0.07);
  }

  #header.is-menu-open .header_nav_left {
    padding-top: 12px;
  }

  .header_nav a,
  #header.is-sticky .header_nav a {
    min-height: 42px;
    padding: 0 12px;
    border-bottom: 0;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
  }

  .header_nav a:hover {
    color: #4f9291;
    background-color: rgba(124, 192, 191, 0.07);
  }

  .header_nav a.is-active,
  .header_nav a[aria-current="page"] {
    color: #b9975d;
    background-color: rgba(219, 188, 136, 0.1);
  }

  #header.is-menu-open .header_nav_right {
    padding-bottom: 8px;
  }
}

/* Contact page */

.contact_page {
  padding-bottom: 90px;
}

.contact_hero {
  padding: 28px 0 28px;
}

.contact_hero .container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 190px;
  display: flex;
  align-items: center;
  padding: 34px 44px;
  background-color: #fbfdfd;
  border: 1px solid rgba(124, 192, 191, 0.18);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(26, 26, 26, 0.06);
}

.contact_hero .container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url(../images/texture.png);
  background-repeat: repeat;
  opacity: 0.15;
  pointer-events: none;
}

.contact_hero_content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
}

.contact_eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4f9291;
}

.contact_page_title {
  margin: 0;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.18;
  color: #1a1a1a;
}

.contact_page_subtitle {
  max-width: none;
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: #626b6b;
  white-space: nowrap;
}

.contact_detail_item {
  display: block;
  min-width: 0;
  padding: 18px 0;
  color: #1a1a1a;
  border-bottom: 1px solid rgba(26, 26, 26, 0.09);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

a.contact_detail_item:hover {
  color: #4f9291;
  border-color: rgba(124, 192, 191, 0.42);
}

.contact_detail_label {
  display: block;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a8080;
}

.contact_detail_item strong {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: #1a1a1a;
}

.contact_detail_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact_detail_actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
}

.contact_detail_actions a {
  font-size: 12px;
  font-weight: 700;
  color: #4f9291;
  border-bottom: 1px solid rgba(124, 192, 191, 0.4);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.contact_detail_actions a:hover {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.contact_form_section .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 40px;
  align-items: start;
  padding: 44px;
  background-color: #fbfdfd;
  border: 1px solid rgba(124, 192, 191, 0.18);
  border-radius: 20px;
}

.contact_form_intro {
  position: sticky;
  top: calc(var(--sticky-header-height, 90px) + 28px);
  padding: 8px 0;
}

.contact_form_intro h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
  color: #1a1a1a;
}

.contact_form_intro p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: #626b6b;
}

.contact_details_list {
  margin-top: 30px;
  border-top: 1px solid rgba(26, 26, 26, 0.09);
}

.contact_form_panel {
  min-width: 0;
  padding: 22px;
  background-color: #fff;
  border: 1px solid #e7ecec;
  border-radius: 14px;
}

.contact_form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 16px;
}

.contact_form_row {
  min-width: 0;
}

.contact_form_trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact_form_row_full,
.contact_submit_button,
.contact_form_notice {
  grid-column: 1 / -1;
}

.contact_form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 650;
  color: #1a1a1a;
}

.required_mark {
  color: #e85d4a;
}

.optional_mark {
  color: #8a9191;
  font-weight: 500;
}

.contact_form input,
.contact_form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: #1a1a1a;
  background-color: #fbfdfd;
  border: 1px solid #dfe7e7;
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.contact_form textarea {
  min-height: 96px;
  resize: vertical;
}

.contact_form input:focus,
.contact_form textarea:focus {
  background-color: #fff;
  border-color: #7cc0bf;
  box-shadow: 0 0 0 3px rgba(124, 192, 191, 0.16);
}

.contact_interest_field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact_interest_field legend {
  display: block;
  margin-bottom: 2px;
  padding: 0;
  font-size: 13px;
  font-weight: 650;
  color: #1a1a1a;
}

.contact_field_hint {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #7a8080;
}

.contact_interest_options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact_interest_option {
  position: relative;
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}

.contact_interest_option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact_interest_option span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: #555;
  background-color: #fbfdfd;
  border: 1px solid #dfe7e7;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 650;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact_interest_option input:checked + span {
  color: #fff;
  background-color: #5aa9a8;
  border-color: #5aa9a8;
  box-shadow: 0 8px 18px rgba(124, 192, 191, 0.24);
}

.contact_interest_option input:focus-visible + span {
  outline: 2px solid #7cc0bf;
  outline-offset: 3px;
}

.contact_submit_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  color: #fff;
  background-color: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contact_submit_button:hover {
  background-color: #5aa9a8;
  border-color: #5aa9a8;
  transform: translateY(-2px);
}

.contact_submit_button:focus-visible {
  outline: 2px solid #7cc0bf;
  outline-offset: 4px;
}

.contact_form_notice {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.contact_form_notice_success {
  color: #2c6665;
  background-color: rgba(124, 192, 191, 0.14);
  border: 1px solid rgba(124, 192, 191, 0.28);
}

.contact_form_notice_error {
  color: #9b3d31;
  background-color: rgba(232, 93, 74, 0.1);
  border: 1px solid rgba(232, 93, 74, 0.22);
}

@media (max-width: 900px) {
  .contact_hero .container {
    min-height: 180px;
    padding: 32px 34px;
  }

  .contact_page_title {
    font-size: 31px;
  }

  .contact_page_subtitle {
    white-space: normal;
  }

  .contact_form_section .container {
    grid-template-columns: 1fr;
  }

  .contact_form_intro {
    position: static;
  }
}

@media (max-width: 560px) {
  .contact_page {
    padding-bottom: 60px;
  }

  .contact_hero {
    padding-top: 18px;
  }

  .contact_hero .container {
    min-height: 170px;
    padding: 28px 22px;
    border-radius: 16px;
  }

  .contact_page_title {
    font-size: 28px;
  }

  .contact_page_subtitle {
    font-size: 15px;
  }

  .contact_detail_item {
    padding: 16px 0;
  }

  .contact_detail_head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .contact_detail_actions {
    justify-content: flex-start;
  }

  .contact_form_section .container {
    width: calc(100% - 16px);
    gap: 24px;
    padding: 28px 18px;
    border-radius: 16px;
  }

  .contact_form_intro h2 {
    font-size: 25px;
  }

  .contact_form_panel {
    padding: 18px;
  }

  .contact_form {
    grid-template-columns: 1fr;
  }
}

/* Team profile page */

.team_profile_page {
  padding-bottom: 88px;
  color: #1a1a1a;
  background:
    linear-gradient(180deg, #fbfdfd 0, #ffffff 420px);
}

.team_profile_hero {
  padding: 28px 0 42px;
}

.team_profile_hero .container {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: center;
}

.team_profile_media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 460px;
  background-color: #eef3f3;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(26, 26, 26, 0.08);
}

.team_profile_photo,
.team_profile_photo_placeholder {
  width: 100%;
  height: 100%;
}

.team_profile_photo {
  object-fit: cover;
  object-position: center top;
}

.team_profile_photo_placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 82px;
  font-weight: 650;
  color: #4f9291;
  background: linear-gradient(135deg, #eff8f8, #f7f1e7);
}

.team_profile_content {
  min-width: 0;
}

.team_profile_eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4f9291;
}

.team_profile_title {
  max-width: 720px;
  margin: 0;
  font-size: 54px;
  font-weight: 650;
  line-height: 1.06;
  color: #1a1a1a;
}

.team_profile_position {
  margin: 16px 0 0;
  font-size: 19px;
  line-height: 1.5;
  color: #626b6b;
}

.team_profile_actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  max-width: 520px;
  margin-top: 34px;
}

.team_profile_action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 54px;
  padding: 12px 14px;
  color: #1a1a1a;
  background-color: #fff;
  border: 1px solid #e2e8e8;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.04);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.team_profile_action span:last-child {
  overflow-wrap: anywhere;
}

.team_profile_action:hover {
  color: #4f9291;
  border-color: rgba(124, 192, 191, 0.44);
  box-shadow: 0 12px 28px rgba(26, 26, 26, 0.07);
  transform: translateY(-2px);
}

.team_profile_action_icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #4f9291;
  background-color: #f1f8f8;
  border-radius: 50%;
}

.team_profile_save_contact {
  display: none;
}

.team_profile_bio_section .container {
  display: block;
}

.team_profile_bio {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 0.64fr);
  gap: 54px;
  align-items: start;
  max-width: none;
  padding-top: 30px;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.team_profile_bio h2 {
  position: sticky;
  top: calc(var(--sticky-header-height, 90px) + 28px);
  margin: 0;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.25;
  color: #1a1a1a;
}

.team_profile_bio_text {
  font-size: 16px;
  line-height: 1.82;
  color: #555f5f;
}

.team_profile_bio_text p {
  margin: 0 0 18px;
}

.team_profile_bio_text p:last-child {
  margin-bottom: 0;
}

.team_profile_action:focus-visible,
.team_profile_save_contact:focus-visible {
  outline: 2px solid #7cc0bf;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .team_profile_hero .container,
  .team_profile_bio_section .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team_profile_media {
    min-height: 0;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }

  .team_profile_content {
    text-align: center;
  }

  .team_profile_title {
    max-width: 620px;
    margin: 0 auto;
    font-size: 42px;
  }

  .team_profile_actions {
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .team_profile_bio {
    display: block;
    grid-column: 1;
    max-width: 680px;
    margin: 0 auto;
  }

  .team_profile_bio h2 {
    position: static;
    margin-bottom: 18px;
    font-size: 24px;
  }
}

@media (max-width: 560px) {
  .team_profile_page {
    padding-bottom: 58px;
  }

  .team_profile_hero {
    padding: 18px 0 30px;
  }

  .team_profile_hero .container {
    width: calc(100% - 18px);
    gap: 22px;
  }

  .team_profile_media {
    aspect-ratio: 1 / 1.18;
    border-radius: 14px;
  }

  .team_profile_eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .team_profile_title {
    font-size: 34px;
    line-height: 1.12;
  }

  .team_profile_position {
    margin-top: 12px;
    font-size: 16px;
  }

  .team_profile_actions {
    gap: 8px;
    margin-top: 24px;
  }

  .team_profile_action {
    min-height: 50px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
  }

  .team_profile_action_icon {
    width: 32px;
    height: 32px;
  }

  .team_profile_save_contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 520px;
    min-height: 52px;
    margin: 16px auto 0;
    color: #fff;
    background-color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
    box-shadow: 0 14px 32px rgba(26, 26, 26, 0.16);
    transition:
      background-color 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease;
  }

  .team_profile_save_contact:hover {
    color: #fff;
    background-color: #5aa9a8;
    border-color: #5aa9a8;
    transform: translateY(-2px);
  }

  .team_profile_bio_section .container {
    width: calc(100% - 18px);
  }

  .team_profile_bio {
    padding-top: 22px;
  }

  .team_profile_bio h2 {
    font-size: 21px;
  }

  .team_profile_bio_text {
    font-size: 15px;
    line-height: 1.75;
  }
}
