.office-page {
  background: #ffffff;
  color: #333333;
  font-family: "Geist", "Inter", Arial, sans-serif;
}

.office-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 28px 5vw;
}

.legacy-header {
  background: linear-gradient(rgba(0, 0, 0, 0.67), rgba(0, 0, 0, 0.67)), url("../assets/images/Office_design/omniarch/creative-office-design-malaysia-walkway-min.jpg") center 42% / cover;
  color: #ffffff;
  height: 242px;
}

.legacy-header__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: none;
  padding: 28px 46px 0;
  position: relative;
}

.legacy-logo {
  align-items: center;
  display: flex;
  height: 44px;
  margin-right: auto;
  width: 126px;
}

.legacy-logo > .pencil-10 {
  flex-shrink: 0;
  transform: scale(1.36);
  transform-origin: left center;
}

.legacy-nav {
  align-items: center;
  display: flex;
  flex-basis: 100%;
  gap: 28px;
  justify-content: center;
  margin-top: 34px;
  white-space: nowrap;
}

.legacy-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Geist", "Inter", Arial, sans-serif;
  font-size: 11px;
  transition: color 180ms ease;
}

.legacy-nav a:hover,
.legacy-nav a.is-current {
  color: #84d735;
}

.legacy-search {
  font-size: 27px;
  position: absolute;
  right: 28px;
  top: 28px;
}

.office-footer a {
  color: #55524c;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  transition: color 180ms ease;
}

.office-footer a:hover {
  color: #151515;
}

.legacy-intro {
  margin: 0 auto;
  max-width: 860px;
  padding: 72px 28px 55px;
  text-align: center;
}

.legacy-intro h1 {
  color: #2c2c2c;
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 34px;
}

.legacy-intro__columns {
  display: flex;
  gap: 58px;
  text-align: left;
}

.legacy-intro__columns article {
  flex: 1;
}

.legacy-intro h2 {
  color: #292929;
  font-size: 17px;
  font-weight: 400;
  margin: 0 0 18px;
}

.legacy-intro h2 span {
  font-size: 25px;
  margin-right: 12px;
}

.legacy-intro p {
  color: #8d8d8d;
  font-size: 13px;
  line-height: 1.42;
  margin: 0;
}

.legacy-services {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 82px;
}

.legacy-services a {
  align-items: center;
  border: 1px solid #cbeaf3;
  border-radius: 50%;
  color: #24a9ca;
  display: flex;
  flex-direction: column;
  height: 122px;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease;
  width: 122px;
}

.legacy-services a:hover {
  background: #24a9ca;
  color: #ffffff;
}

.legacy-services__icon {
  display: block;
  fill: none;
  height: 31px;
  margin-bottom: 12px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 31px;
}

.legacy-services small {
  font-size: 12px;
}

.office-section-heading span,
.office-footer {
  color: #77736c;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-transform: uppercase;
}

.office-archive {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 4px;
  text-align: right;
}

.office-archive p {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.office-archive a {
  border: 1px solid #080808;
  border-radius: 999px;
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  padding: 9px 15px;
}

.office-portfolio {
  background: #ffffff;
  color: #080808;
  margin: 0;
  max-width: none;
  padding: 0 0 100px;
}

.office-gallery-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.office-card {
  cursor: pointer;
  display: block;
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  position: relative;
  text-align: left;
}

.office-card__image {
  aspect-ratio: 4 / 3;
  background: #eeeeee;
  display: block;
  overflow: hidden;
  border: 0;
  width: 100%;
}

.office-card__image img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transition: opacity 250ms ease, transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.office-card__overlay {
  align-items: center;
  background: rgba(20, 30, 35, 0.82);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 18px;
  position: absolute;
  text-align: center;
  transition: opacity 220ms ease;
}

.office-card:hover .office-card__overlay,
.office-card:focus-visible .office-card__overlay {
  opacity: 1;
}

.office-card__title {
  color: #ffffff;
  display: block;
  font-family: "Geist", "Inter", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
}

.office-card__view {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 11px;
  margin-top: 12px;
  padding-top: 9px;
}

.office-card:focus-visible {
  outline: 1px solid #080808;
  outline-offset: 7px;
}

.office-footer {
  background: #ffffff;
  color: #77736c;
  min-height: 110px;
}

.office-gallery {
  align-items: center;
  background: rgba(8, 8, 8, 0.96);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 70px 7vw;
  position: fixed;
  z-index: 20;
}

.office-gallery__image {
  max-height: calc(100vh - 140px);
  max-width: min(1100px, 90vw);
  object-fit: contain;
}

.office-gallery__close,
.office-gallery__arrow {
  background: transparent;
  border: 0;
  color: #f1eee8;
  cursor: pointer;
  font-family: "Geist Mono", monospace;
  position: absolute;
}

.office-gallery__close {
  font-size: 26px;
  right: 28px;
  top: 24px;
}

.office-gallery__arrow {
  font-size: 42px;
  top: 50%;
  transform: translateY(-50%);
}

.office-gallery__arrow--previous { left: 24px; }
.office-gallery__arrow--next { right: 24px; }
.office-gallery__caption {
  bottom: 25px;
  color: #aaa59c;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
}

.office-vr-section {
  padding: 0 5vw 100px;
}

.office-vr-section__eyebrow {
  color: #77736c;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.office-vr-section__heading {
  color: #151515;
  font-family: "Geist", "Inter", Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 24px;
}

.office-vr-tour {
  aspect-ratio: 16 / 9;
  background: #061624;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.office-vr-tour__frame {
  border: 0;
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

@media (max-width: 900px) {
  .office-footer { padding: 22px 20px; }
  .legacy-header {
    height: auto;
    min-height: 210px;
  }
  .legacy-header__inner {
    padding: 22px 20px 18px;
  }
  .legacy-logo {
    height: 36px;
    width: 104px;
  }
  .legacy-logo > .pencil-10 {
    transform: scale(1.1);
  }
  .legacy-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: flex-start;
    margin-top: 28px;
    white-space: normal;
  }
  .legacy-nav a {
    font-size: 9px;
  }
  .legacy-search {
    right: 20px;
    top: 20px;
  }
  .legacy-intro {
    padding: 48px 20px 40px;
  }
  .legacy-intro h1 {
    font-size: 23px;
    margin-bottom: 28px;
  }
  .legacy-intro__columns {
    flex-direction: column;
    gap: 30px;
  }
  .legacy-services {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 48px;
  }
  .legacy-services a {
    height: 104px;
    width: 104px;
  }
  .legacy-intro p {
    font-size: 12px;
  }
  .office-portfolio { padding: 0 0 70px; }
  .office-gallery-grid { gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office-card__title { font-size: 14px; }
  .office-gallery { padding: 60px 38px; }
  .office-gallery__arrow { font-size: 30px; }
  .office-gallery__arrow--previous { left: 7px; }
  .office-gallery__arrow--next { right: 7px; }
}
