/* Quiet editorial actions; the photograph and film remain the focal points. */
.button,
.header-cta,
.text-link {
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  padding: 14px 0;
  gap: 32px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.015em;
  transition:
    color 200ms,
    opacity 200ms;
}
.button::before,
.button::after {
  display: none;
}
.button-light,
.hero .button {
  color: #f3eee4;
  background: transparent;
}
.button-dark {
  color: var(--ink);
}
.button:hover,
.header-cta:hover,
.text-link:hover {
  background: transparent;
  color: #b28b4a;
  transform: none;
}
.hero .button:hover {
  color: #e4c991;
}
.button > span:last-child,
.text-link > span:last-child,
.header-cta > span:last-child {
  border: 0;
  background: none;
  border-radius: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  transition: transform 250ms;
}
.button:hover > span:last-child,
.text-link:hover > span:last-child {
  transform: translate(3px, -3px);
}
.button:active,
.text-link:active {
  opacity: 0.65;
}
.hero-foot {
  justify-content: flex-start;
}
.hero-content {
  padding-bottom: 140px;
}
.hero-media {
  filter: none;
}
.language {
  border: 0;
  border-bottom: 1px solid #ffffff55;
  border-radius: 0;
  background: none;
}
.gallery-step {
  border: 0;
  border-radius: 0;
  width: 56px;
  height: 48px;
  color: #e4d5bb;
}
.gallery-step:hover {
  color: #fff;
  background: transparent;
}
.gallery-step svg {
  width: 30px;
  height: 30px;
  transition: transform 200ms;
}
#movingGalleryNext:hover svg {
  transform: translateX(4px);
}
#movingGalleryPrev:hover svg {
  transform: translateX(-4px);
}

/* A perspective room: identical mounted photographs with thick side edges. */
.moving-gallery {
  --gallery-tone: #302820;
  --frame-tone: #be976a;
  --frame-width: clamp(240px, 29vw, 410px);
  background: var(--gallery-tone);
  transition: background-color 1100ms ease;
}
.moving-gallery-heading {
  padding-bottom: 58px;
}
.moving-gallery-stage {
  height: calc(var(--frame-width) * 1.333333 + 95px);
  perspective: 1400px;
  perspective-origin: 50% 46%;
  isolation: isolate;
}
.moving-gallery-slides {
  transform: rotateX(var(--camera-x, 0deg)) rotateY(var(--camera-y, 0deg));
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.moving-gallery-stage::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 110px;
  bottom: 12px;
  left: 5%;
  background: radial-gradient(ellipse, #07070675, transparent 68%);
  transform: rotateX(65deg);
  pointer-events: none;
}
.moving-slide {
  width: var(--frame-width);
  height: auto;
  aspect-ratio: 3 / 4;
  padding: 0;
  background: #181916;
  transform-style: preserve-3d;
  box-shadow: 12px 32px 35px #090a0870;
  outline: 1px solid #ffffff12;
}
.moving-slide::before,
.moving-slide::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12px;
  height: 100%;
  background: var(--frame-tone);
  filter: brightness(0.45);
  backface-visibility: visible;
}
.moving-slide::before {
  left: 0;
  transform-origin: left center;
  transform: rotateY(90deg);
}
.moving-slide::after {
  right: 0;
  transform-origin: right center;
  transform: rotateY(-90deg);
}
.moving-slide img {
  object-fit: cover;
  object-position: center;
  aspect-ratio: 3 / 4;
  transform: translateZ(1px);
}
/* Remove the unused ceiling from the unusually tall source, preserving the fixture. */
.moving-slide[data-project="1"] img {
  object-position: center 70%;
}
.moving-slide[data-project="2"] img {
  object-position: center 45%;
}
.moving-slide[data-project="4"] img {
  object-position: center 60%;
}
.moving-gallery-caption {
  padding-top: 5px;
}
.moving-gallery-caption h3 {
  font-size: clamp(24px, 2.2vw, 32px);
}
.gallery-pagination button::after {
  background: #b9afa0;
}
.gallery-pagination button[aria-pressed="true"]::after {
  background: #f0dfbf;
}
.moving-gallery-footer {
  padding-bottom: 34px;
}
.gallery-disciplines a:hover {
  background: #ffffff05;
}

/* Services: one selected discipline, one composed visual and a clear scope. */
.expertise {
  background: #e6e7df;
  color: #252922;
}
.expertise-heading {
  border: 0;
  margin-bottom: 32px;
}
.expertise-heading .display {
  font-family: var(--sans);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.035em;
}
.expertise-heading p {
  color: #535a4c;
}
.service-tabs {
  display: flex;
  border-bottom: 1px solid #29332130;
  margin-bottom: 48px;
}
.service-tabs button {
  flex: 1;
  position: relative;
  padding: 20px 12px;
  background: none;
  color: #5e6356;
  text-align: start;
  font-size: clamp(13px, 1.15vw, 17px);
  transition: color 200ms;
}
.service-tabs button::after {
  content: "";
  position: absolute;
  height: 2px;
  background: #3d4a32;
  bottom: -1px;
  inset-inline: 12px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}
.service-tabs button[aria-selected="true"] {
  color: #20271b;
}
.service-tabs button[aria-selected="true"]::after,
.service-tabs button:hover::after {
  transform: scaleX(1);
}
.expertise-grid {
  grid-template-columns: 1.08fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}
.expertise-visual {
  aspect-ratio: 1 / 1;
  min-height: 0;
  height: auto;
  max-height: none;
  background: #d1d4c9;
  perspective: 1000px;
}
.expertise-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.expertise-visual[data-service="0"] {
  background: transparent;
  aspect-ratio: 3 / 4;
  width: 100%;
  max-width: 440px;
  justify-self: center;
  overflow: visible;
}
.expertise-visual:has(.service-frame) {
  width: 100%;
  max-width: 440px;
  justify-self: center;
  overflow: visible;
  background: transparent;
}
.expertise-visual[data-service="0"] .service-frame img {
  object-position: center 70%;
}
.expertise-visual[data-service="1"] .service-frame img {
  object-fit: contain;
}
.service-frame {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: #342e24;
  transform: rotateX(var(--service-pitch, 0deg)) rotateY(var(--service-yaw, 0deg));
  transform-style: preserve-3d;
  box-shadow: 8px 18px 32px #27251d30;
  transition: transform 450ms cubic-bezier(.16,1,.3,1);
}
.service-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(6px);
}
.service-frame .visual-caption {
  inset: auto 10px 10px;
  transform: translateZ(12px);
  padding: 50px 16px 16px;
}
@media (prefers-reduced-motion: reduce) {
  .service-frame {
    transition: none;
    transform: none;
  }
}
.service-list {
  border: 0;
  padding: 24px 0;
}
.service-feature-title {
  font: 400 clamp(32px, 3.2vw, 48px)/1.12 var(--sans);
  letter-spacing: -0.03em;
  margin: 0 0 28px;
  color: #252922;
}
.service-feature-description {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.8;
  max-width: 40ch;
  color: #4d5547;
  margin: 0 0 30px;
}
.service-deliverables {
  list-style: none;
  margin: 0 0 35px;
  padding: 0;
}
.service-deliverables li {
  padding: 13px 0;
  border-bottom: 1px solid #29332125;
  font-size: 14px;
  color: #3b4533;
}
.service-inquire {
  color: #283522;
}
.expertise-visual .visual-caption {
  padding: 18px;
}
.expertise-visual.study-visible > img {
  animation: service-image-arrive 1200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes service-image-arrive {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}
html[dir="rtl"] .service-feature-title,
html[dir="rtl"] .expertise-heading .display {
  font-family: "Noto Sans Arabic", sans-serif;
  letter-spacing: 0;
}
@media (max-width: 700px) {
  .moving-gallery {
    --frame-width: 65vw;
  }
  .moving-gallery-heading {
    padding-bottom: 42px;
  }
  .moving-gallery-stage {
    height: calc(var(--frame-width) * 1.333333 + 65px);
    perspective: 900px;
  }
  .moving-slide {
    padding: 0;
  }
  .hero-content {
    padding-bottom: 100px;
  }
  .service-tabs {
    overflow-x: auto;
    margin-bottom: 28px;
    scroll-snap-type: x proximity;
  }
  .service-tabs button {
    flex: 0 0 auto;
    padding: 18px 16px;
    scroll-snap-align: start;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .expertise-visual {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
  .expertise-visual[data-service="0"] {
    aspect-ratio: 3 / 4;
  }
  .service-list {
    padding-top: 20px;
  }
  .service-feature-title {
    font-size: 32px;
    margin-bottom: 18px;
  }
  .service-deliverables {
    margin-bottom: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .moving-gallery,
  .moving-gallery-slides,
  .service-tabs button::after {
    transition: none;
  }
  .expertise-visual.study-visible > img {
    animation: none;
  }
}
