.about-section {
  padding: clamp(76px, 10vw) 0;
  overflow: hidden;
  background: #f0eee9;
}

.about-section .row {
  --bs-gutter-x: clamp(2rem, 7vw, 6rem);
}

.about-content {
  max-width: 540px;
}

.about-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #6e8391;
  font: 500 10px/1 "DM Mono", monospace;
  letter-spacing: 1.5px;
}

.about-section .section-label::before {
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
}

.about-section .about-title {
  margin: 0 0 25px;
  color: #171717;
  font: 500 clamp(44px, 5.4vw, 74px)/1.04 "Optima", serif;
  letter-spacing: -2.2px;
}

.about-section .about-title em {
  color: #6e8391;
  font-weight: 500;
}

.about-section .about-description {
  max-width: 450px;
  margin: 0 0 32px;
  color: #5a5852;
  font: 400 14px/1.9 Avenir, sans-serif;
}

.about-section .about-description p {
  margin: 0 0 14px;
}

.about-section .about-description p:last-child {
  margin-bottom: 0;
}

.about-section .about-btn {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid #6e8391;
  color: #171717;
  font: 700 10px/1 Avenir, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease;
}

.about-section .about-btn span {
  font-size: 17px;
  transition: transform 0.25s ease;
}

.about-section .about-btn:hover,
.about-section .about-btn:focus-visible {
  border-color: #171717;
  background: #171717;
  color: #fff;
}

.about-section .about-btn:hover span,
.about-section .about-btn:focus-visible span {
  transform: translateX(4px);
}

.about-section .about-visual {
  width: 100%;
  height: clamp(360px, 39vw, 490px);
}

.about-section .building-image {
  top: 2%;
  left: -2%;
  width: 84%;
  height: 94%;
  background: #d4d0c8;
}

.about-section .building-image img {
  display: block;
  object-position: center 55%;
  transform: scale(1.035);
}

.about-section .shape-one {
  top: 0;
  left: 17%;
  width: 73%;
  height: 93%;
  background: rgba(110, 131, 145, 0.15);
}

.about-section .shape-two {
  top: 7%;
  left: 25%;
  width: 55%;
  height: 83%;
  background: rgba(255, 255, 255, 0.12);
}

.about-section .shape-three {
  top: 2%;
  right: 0;
  width: 20%;
  height: 91%;
  background: rgba(184, 183, 178, 0.42);
}

.about-section .stats-panel {
  top: auto;
  right: 0;
  bottom: 0;
  width: 37%;
  min-height: 0;
  padding: 27px 25px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(23, 23, 23, 0.12);
}

.about-section .stats-panel h3 {
  margin: 0 0 9px;
  color: #6e8391;
  font: 500 clamp(36px, 4vw, 52px)/1 "Optima", serif;
}

.about-section .experience-text {
  margin: 0 0 18px;
  color: #494741;
  font: 500 12px/1.5 Avenir, sans-serif;
}

.about-section .stats-divider {
  margin: 0 0 14px;
  background: #e5e3de;
}

.about-section .stats-list li {
  color: #5a5852;
  font: 500 10px/1.8 Avenir, sans-serif;
}

.services-section {
  padding: clamp(36px, 9vw, 24px) 0;
  background: #dfddda;
}

.services-section .services-heading {
  margin-bottom: 48px;
}

.services-section .section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #6e8391;
  font: 500 10px/1 "DM Mono", monospace;
  letter-spacing: 1.5px;
}

.services-section .section-label::before {
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
}

.services-section .services-title {
  margin: 0;
  color: #171717;
  font: 500 clamp(39px, 5vw, 68px)/1.04 "Optima", serif;
  letter-spacing: -2.2px;
}

.services-section .services-title em {
  color: #6e8391;
  font-weight: 500;
}

.services-section .services-grid {
  margin-top: 0;
  border-top: 1px solid #d6d3cc;
}

.services-section .service-card {
  min-height: 290px;
  padding: 28px 24px 24px;
  border-right: 1px solid #d6d3cc;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.services-section .services-grid > div:first-child .service-card {
  padding-left: 0;
}

.services-section .services-grid > div:last-child .service-card {
  border-right: 0;
}

.services-section .service-card:hover {
  background: rgba(255, 255, 255, 0.48);
  transform: translateY(-4px);
}

.services-section .service-icon {
  height: 44px;
  margin-bottom: 29px;
  color: #6e8391;
}

.services-section .service-icon svg {
  width: 35px;
  height: 35px;
  stroke-width: 1.35;
}

.services-section .service-details {
  gap: 14px;
}

.services-section .service-content h3 {
  min-height: 58px;
  margin: 0 0 12px;
  color: #171717;
  font: 500 22px/1.22 "Optima", serif;
}

.services-section .service-content p {
  max-width: 245px;
  margin: 0;
  color: #5a5852;
  font: 400 14px/1.8 Avenir, sans-serif;
}

.about-section .about-visual.in-view .building-image img {
  animation: about-image-arrive 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.about-section .about-visual.in-view .shape-one {
  animation: about-shape-arrive 0.9s 0.12s ease-out both;
}

@keyframes about-image-arrive {
  from {
    opacity: 0.7;
    transform: scale(1.12);
  }
  to {
    opacity: 1;
    transform: scale(1.035);
  }
}

@keyframes about-shape-arrive {
  from {
    opacity: 0;
    transform: translate(16px, -12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .about-section .about-visual {
    max-width: 640px;
    margin: 0 auto;
  }

  .services-section {
    padding: 76px 0;
  }

  .services-section .services-grid {
    border-bottom: 1px solid #d6d3cc;
  }

  .services-section .service-card,
  .services-section .services-grid > div:first-child .service-card {
    min-height: 270px;
    padding: 26px 22px;
  }

  .services-section .services-grid > div:nth-child(2) .service-card {
    border-right: 0;
  }

  .services-section .services-grid > div:nth-child(3) .service-card,
  .services-section .services-grid > div:nth-child(4) .service-card {
    border-top: 1px solid #d6d3cc;
  }

  .services-section .services-grid > div:last-child .service-card {
    border-right: 0;
  }
}

@media (max-width: 575.98px) {
  .about-section {
    padding: 76px 0;
  }

  .about-section .about-title {
    font-size: clamp(37px, 10vw, 48px);
    letter-spacing: -1.5px;
  }

  .about-section .about-visual {
    height: 340px;
  }

  .about-section .building-image {
    left: 0;
    width: 78%;
    height: 86%;
  }

  .about-section .stats-panel {
    width: 43%;
    padding: 19px 15px;
  }

  .about-section .experience-text {
    font-size: 11px;
  }

  .about-section .stats-list li {
    font-size: 9px;
  }

  .services-section {
    padding: 76px 0;
  }

  .services-section .services-heading {
    margin-bottom: 34px;
  }

  .services-section .services-title {
    font-size: clamp(37px, 10vw, 48px);
    letter-spacing: -1.5px;
  }

  .services-section .services-grid > div .service-card {
    min-height: 0;
    padding: 23px 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #d6d3cc;
  }

  .services-section .services-grid > div:last-child .service-card {
    border-bottom: 0;
  }

  .services-section .service-icon {
    height: 36px;
    margin-bottom: 17px;
  }

  .services-section .service-icon svg {
    width: 31px;
    height: 31px;
  }

  .services-section .service-content h3 {
    min-height: 0;
    font-size: 21px;
  }

  .services-section .service-content p {
    max-width: 380px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-section .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-section .about-visual.in-view .building-image img,
  .about-section .about-visual.in-view .shape-one {
    animation: none;
  }

  .services-section .service-card {
    transition: none;
  }

  .services-section .service-card:hover {
    transform: none;
  }

  .about-section .building-image img {
    transform: none;
  }
}

/* Reference-led Why Choose Us cards */
.services-section {
  padding: 78px 0 88px;
  background: #dfddda;
  color: #171717;
}

.services-section .services-heading {
  max-width: 680px;
  margin: 0 0 48px;
  text-align: left;
}

.services-section .section-label {
  justify-content: flex-start;
  margin-bottom: 10px;
  color: #6e8391;
  font: 700 10px/1.4 Avenir, sans-serif;
  letter-spacing: 1.4px;
}

.services-section .section-label::before {
  display: block;
}

.services-section .services-title {
  margin: 0;
  color: #171717;
  font: 500 clamp(39px, 5vw, 68px)/1.04 "Optima", serif;
  letter-spacing: -2.2px;
}

.services-section .services-description {
  max-width: 610px;
  margin: 14px 0 0;
  color: #5a5852;
  font-size: 15px;
  line-height: 1.75;
}

.services-section .services-grid {
  margin-top: 0;
  border: 0;
}

.services-section .service-card,
.services-section .services-grid > div:first-child .service-card,
.services-section .services-grid > div:nth-child(3) .service-card,
.services-section .services-grid > div:last-child .service-card {
  min-height: 100%;
  padding: 22px 10px 22px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  transition: transform .28s ease;
}

.services-section .service-card:hover {
  background: transparent;
  transform: translateY(-6px);
}

.services-section .service-media {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.services-section .service-icon-stage {
  position: relative;
  width: 64px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.services-section .service-icon-stage i {
  color: var(--mah-gold, #c9a25b);
  font-size: 42px;
  filter: none;
  transition: transform .35s ease, color .35s ease;
}

.services-section .service-card:hover .service-icon-stage i {
  color: var(--mah-gold, #c9a25b);
  transform: translateX(3px);
}

.services-section .service-content {
  padding: 0;
}

.services-section .service-content h3 {
  min-height: 0;
  margin: 0 0 9px;
  color: #171717;
  font: 500 24px/1.2 "Optima", serif;
  letter-spacing: -.5px;
}

.services-section .service-content p {
  max-width: none;
  margin: 0;
  color: #5a5852;
  font: 400 13px/1.72 Avenir, sans-serif;
}

@media (max-width: 991.98px) {
  .services-section .service-media {
    height: auto;
  }
}

@media (max-width: 767.98px) {
  .services-section {
    padding: 64px 0 70px;
  }

  .services-section .services-heading {
    margin-bottom: 34px;
  }

  .services-section .services-title {
    font-size: clamp(40px, 11vw, 52px);
    letter-spacing: -1.5px;
  }

  .services-section .services-grid > div .service-card {
    padding: 20px 0;
    border: 0;
  }

  .services-section .service-media {
    height: auto;
  }

  .services-section .service-content {
    padding: 0;
  }

  .services-section .service-content h3 {
    font-size: 23px;
  }

  .services-section .service-content p {
    font-size: 13px;
  }
}

/* Reference-led featured projects */
.featured.projects-showcase {
  padding-top: 92px;
  padding-bottom: 82px;
  background: #f3f2ef;
}

.projects-showcase-heading {
  max-width: 830px;
  margin: 0 0 46px;
}

.projects-showcase-heading .eyebrow {
  margin-bottom: 13px;
  color: #6e8391;
}

.projects-showcase-heading h2 {
  margin: 0;
  color: #171717;
  font: 500 clamp(43px, 5vw, 70px)/1.02 "Optima", serif;
  letter-spacing: -2px;
}

.projects-showcase-heading h2 em {
  font-weight: 500;
}

.projects-showcase-heading > p:last-child {
  max-width: 690px;
  margin: 19px 0 0;
  color: #595752;
  font: 400 14px/1.8 Avenir, sans-serif;
}

.project-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-showcase-card {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform;
  transition: transform .18s ease-out, box-shadow .3s ease;
}

.project-showcase-card img,
.project-card-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-showcase-card img {
  z-index: -2;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .75, .25, 1), filter .35s ease;
}

.project-card-shade {
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 19, 26, .05) 18%, rgba(13, 19, 26, .82) 100%);
  transition: background .35s ease;
}

.project-showcase-card:hover {
  color: #fff;
  box-shadow: 0 24px 48px rgba(22, 27, 30, .22);
}

.project-showcase-card:focus-visible {
  outline: 3px solid #6e8391;
  outline-offset: 5px;
}

.project-showcase-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.project-showcase-card:hover .project-card-shade {
  background: linear-gradient(180deg, rgba(13, 19, 26, .12) 12%, rgba(13, 19, 26, .9) 100%);
}

.project-coming-soon {
  display: grid;
  align-items: end;
  justify-items: center;
  padding-bottom: 42px;
  border: 1px solid rgba(201, 162, 91, .3);
  background:
    radial-gradient(circle at 78% 18%, rgba(201, 162, 91, .12), transparent 34%),
    linear-gradient(145deg, rgba(20, 29, 38, .91), rgba(6, 11, 17, .96)),
    url('../assets/comingsoon_abstract.jpg') center / cover no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 20px 45px rgba(22, 27, 30, .16);
  backdrop-filter: blur(12px);
}

.project-coming-soon::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 2px;
  pointer-events: none;
}

.coming-soon-panel {
  position: relative;
  padding: 0 30px 17px;
  color: #f7f3ea;
  font: 500 clamp(39px, 4.3vw, 62px)/1 "Optima", serif;
  letter-spacing: -1.4px;
  text-align: center;
}

.coming-soon-panel::after {
  content: '';
  position: absolute;
  right: 30%;
  bottom: 0;
  left: 30%;
  height: 1px;
  background: var(--mah-gold, #c9a25b);
}

.project-showcase-copy {
  position: absolute;
  inset: 0;
  padding: 34px 32px 27px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-kicker {
  position: absolute;
  top: 30px;
  left: 32px;
  color: rgba(255, 255, 255, .92);
  font: 600 10px/1 Avenir, sans-serif;
  letter-spacing: .65px;
  text-transform: uppercase;
}

.project-kicker::after {
  width: 18px;
  height: 1px;
  margin-top: 13px;
  display: block;
  background: rgba(255, 255, 255, .9);
  content: "";
}

.project-showcase-copy h3 {
  margin: 0 0 9px;
  color: #fff;
  font: 500 clamp(34px, 3.4vw, 49px)/1 "Optima", serif;
  letter-spacing: -1.4px;
}

.project-showcase-copy p {
  max-width: 590px;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font: 400 12px/1.65 Avenir, sans-serif;
}

.projects-showcase-action {
  margin-top: 38px;
  display: flex;
  justify-content: center;
}

.projects-view-all {
  min-width: 196px;
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1px solid #85827d;
  color: #222;
  background: transparent;
  font: 600 10px/1 Avenir, sans-serif;
  letter-spacing: .6px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}

.projects-view-all:hover {
  border-color: #171717;
  color: #fff;
  background: #171717;
}

@media (max-width: 800px) {
  .featured.projects-showcase {
    padding-top: 70px;
    padding-bottom: 66px;
  }

  .projects-showcase-heading {
    margin-bottom: 34px;
  }

  .projects-showcase-heading h2 {
    font-size: clamp(39px, 11vw, 54px);
    letter-spacing: -1.5px;
  }

  .projects-showcase-heading > p:last-child {
    font-size: 13px;
  }

  .project-showcase-grid {
    grid-template-columns: 1fr;
  }

  .project-showcase-card {
    min-height: 390px;
  }

  .project-showcase-copy {
    padding: 28px 24px 24px;
  }

  .project-kicker {
    top: 25px;
    left: 24px;
  }

  .project-showcase-copy h3 {
    font-size: clamp(34px, 10vw, 45px);
  }
}

@media (prefers-reduced-motion: reduce), (hover: none) {
  .project-showcase-card {
    transform: none !important;
    transition: box-shadow .3s ease;
    will-change: auto;
  }
}
