/* Integration styles share the colors and typography of the supplied pages. */
.topbar {
  background: linear-gradient(180deg, #050805e6, #05080588 72%, transparent);
}

.brand-logo {
  display: block;
  height: calc(26 * var(--u));
  width: auto;
  max-width: none;
}

.footer .brand-logo {
  height: 30px;
}

[data-page="index"] .footer .brand-logo {
  height: calc(21 * var(--u));
}

@media (max-width: 899px) {
  .brand-logo { height: 29px; }
  .footer .brand-logo { height: 25px; }
  [data-page="index"] .footer .brand-logo { height: 24px; }
}

/* Project live HTML into the screen corners of the regenerated office scene. */
.scene-base .screen-plane {
  display: none;
}

.footer-legal span {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.4;
}

@media (min-width: 900px) {
  [data-page="index"] .project-grid,
  [data-page="company"] .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

[data-page="company"] .team-placeholder,
[data-page="company"] .person-placeholder,
[data-page="company"] .photo-controls {
  display: none;
}

[data-page="index"] .project-art {
  height: auto;
  aspect-ratio: 16 / 10;
}

[data-page="index"] .project-art img,
[data-page="company"] .work-art img,
#projects-grid .work-media img {
  object-fit: contain;
}

[data-page="company"] .work-art {
  aspect-ratio: 1146 / 836;
}

@media (max-width: 899px) {
  #projects-grid .work-media {
    min-height: 0;
    aspect-ratio: 1146 / 836;
  }
}

.desktop-nav a[aria-current="page"],
.mobile-menu a[aria-current="page"],
.footer-nav a[aria-current="page"] {
  color: var(--lime);
}

.footer-contact {
  color: var(--muted);
  text-align: left;
}

.socials a {
  display: grid;
  place-items: center;
  color: inherit;
}

.form-status .email-brief {
  display: inline-flex;
  margin-top: 12px;
  margin-right: 12px;
  width: auto;
  min-height: 40px;
  padding: 12px 16px;
  font-size: 12px;
}

.email-note {
  margin-top: 12px;
  max-width: 65ch;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (min-width: 900px) and (max-width: 1199px) {
  .desktop-nav {
    gap: calc(16 * var(--u));
  }
}

@media (max-width: 360px) {
  .topbar .header-cta {
    width: 104px;
    right: 72px;
    padding-inline: 8px;
    gap: 6px;
    font-size: 6.5px;
  }
}

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