/* Base hero spacing; the photographic desktop treatment is scoped below. */
@media (min-width: 681px) {
  .hero .hero-inner {
    padding-top: 60px;
    padding-bottom: 48px;
  }
  .hero .hero-copy {
    max-width: 1000px;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 5.2vw, 4.7rem);
    line-height: 1.08;
    letter-spacing: -.045em;
  }
  .hero h1 .hero-mobile-break {
    display: none;
  }
  .hero-copy > .hero-location {
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 24px auto 28px;
  }
  .hero .button-row {
    gap: 16px;
    max-width: 640px;
    margin-inline: auto;
    justify-content: center;
  }
  .hero .button-row > .btn {
    flex: 0 1 260px;
    max-width: 260px;
    min-height: 52px;
  }
  .hero-copy > .hero-service-link {
    margin-top: 20px;
  }
}

/* Focus the portrait on the technician within the existing suite-service card. */
#suite-services .home-service-photo {
  object-position: center 65%;
}

/* The original building image and a compact animation share the audience section. */
.stakeholder-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.stakeholder-visuals > .stakeholder-scene,
.stakeholder-animation .skyline-flight .skyline-stage {
  aspect-ratio: 3 / 2;
  min-height: 360px;
}
.stakeholder-visuals .stakeholder-photo {
  position: absolute;
  inset: 0;
}
.stakeholder-visuals .stakeholder-photo-copy {
  left: 7%;
  right: 7%;
}
.stakeholder-visuals .stakeholder-photo-copy h3 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}
.stakeholder-animation {
  min-width: 0;
  width: 100%;
}
.stakeholder-animation .skyline-scene {
  margin: 0;
}
.stakeholder-animation .skyline-flight .skyline-logo {
  left: 7%;
  top: 9%;
  width: 38%;
}
.stakeholder-animation .skyline-flight .skyline-message {
  left: 7%;
  top: 40%;
  width: 86%;
  max-width: 86%;
}
.stakeholder-animation .skyline-flight .skyline-message > span {
  font-size: .6875rem;
}
.stakeholder-animation .skyline-flight .skyline-message h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  line-height: 1.04;
  margin: 10px 0 12px;
}
.stakeholder-animation .skyline-flight .skyline-message p {
  font-size: .9375rem;
  line-height: 1.5;
  max-width: 260px;
}
.stakeholder-animation .terrace-replay {
  right: 16px;
  bottom: 16px;
  font-size: .8125rem;
  padding: 10px 14px;
}
.stakeholder-mobile-heading,
.stakeholder-mobile-title,
.stakeholder-heading,
.home-mobile-animation-slot {
  display: none;
}
@media (max-width: 959px) {
  .stakeholder-visuals {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .stakeholder-animation {
    max-width: 640px;
    justify-self: center;
  }
  .stakeholder-visuals > .stakeholder-scene {
    aspect-ratio: 2.2;
    min-height: 300px;
  }
}
@media (max-width: 680px) {
  .stakeholder-section {
    padding-top: 24px;
  }
  .stakeholder-section > .wrap {
    display: flex;
    flex-direction: column;
    width: calc(100% - 40px);
    min-width: 0;
    margin-inline: auto;
  }
  .stakeholder-section .stakeholder-visuals {
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .stakeholder-visuals > .stakeholder-scene {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 300px;
    min-height: 0;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
  }
  .stakeholder-visuals > .stakeholder-scene::after,
  .stakeholder-visuals .stakeholder-photo {
    border-radius: inherit;
  }
  .stakeholder-section .stakeholder-heading {
    display: block;
    order: 2;
    padding: 32px 0 0;
  }
  .stakeholder-heading > .eyebrow,
  .stakeholder-heading > h2:not(.stakeholder-mobile-heading),
  .stakeholder-heading > p,
  .stakeholder-desktop-title {
    display: none;
  }
  .stakeholder-mobile-heading,
  .stakeholder-mobile-title {
    display: block;
  }
  .stakeholder-heading .stakeholder-mobile-heading {
    font-size: 2rem;
    line-height: 1.15;
    margin: 0;
  }
  .stakeholder-section .stakeholder-grid {
    order: 3;
    padding-top: 24px;
  }
  .stakeholder-section > .wrap > .button-row {
    order: 4;
  }
  .home-mobile-animation-slot:not(:empty) {
    display: block;
    background: var(--pale);
    padding: 24px 20px 40px;
  }
  .home-mobile-animation-slot > .stakeholder-animation {
    margin-inline: auto;
  }
  .stakeholder-animation .skyline-flight .skyline-stage {
    aspect-ratio: 1.15;
    min-height: 350px;
  }
  .stakeholder-animation .skyline-flight .skyline-logo {
    width: 46%;
  }
  .stakeholder-animation .skyline-flight .skyline-message h2 {
    font-size: clamp(1.85rem, 6.4vw, 2.3rem);
  }
}
@media print {
  .stakeholder-animation {
    display: none;
  }
}

/* Only Buildings is grey; the rest of the service-directory heading is black. */
#home-services-title { color: #000; }
#home-services-title > .home-building-word { color: #606064; }
.home-photo-hero .home-hero-picture,
.home-photo-hero .home-hero-shade,
.home-photo-hero .hero-desktop-break { display: none; }
@media (min-width: 681px) {
  .hero.home-photo-hero { padding: 28px 0 44px; text-align: left; }
  .home-photo-hero .hero-inner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 28px;
    padding: 0;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: #0b1420;
  }
  .home-photo-hero .home-hero-picture,
  .home-photo-hero .home-hero-shade {
    display: block;
    position: absolute;
    inset: 0;
  }
  .home-photo-hero .home-hero-picture { z-index: 0; }
  .home-hero-picture img {
    width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%;
  }
  .home-photo-hero .home-hero-shade {
    z-index: 1;
    background: linear-gradient(90deg, rgba(4,9,16,.93), rgba(4,9,16,.82) 52%, rgba(4,9,16,.20));
  }
  .home-photo-hero .hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 830px;
    margin: 0;
    padding: 60px 52px;
    color: #fff;
  }
  .home-photo-hero .hero-copy h1 {
    font-size: clamp(2.6rem, 4.5vw, 4.15rem);
    line-height: 1.1;
    letter-spacing: -.04em;
    color: #fff;
  }
  .home-photo-hero .hero-copy h1 span { color: #fff; }
  .home-photo-hero .hero-desktop-break { display: initial; }
  .home-photo-hero .hero-copy > .hero-location {
    margin: 24px 0 28px;
    color: #fff;
    font-size: 1.25rem;
  }
  .home-photo-hero .button-row {
    margin: 0;
    justify-content: flex-start;
    gap: 14px;
  }
  .home-photo-hero .button-row > .btn {
    flex: 0 1 230px;
    max-width: 250px;
  }
  .home-photo-hero .hero-copy > .hero-service-link { margin: 24px 0 0; color: #fff; }
  .home-photo-hero .hero-service-link a { color: #fff; }
  .home-photo-hero .hero-service-link a:hover { text-decoration: underline; }
}
@media (min-width: 681px) and (max-width: 900px) {
  .home-photo-hero .hero-copy { padding: 48px 32px; }
  .home-photo-hero .hero-inner { min-height: 460px; }
  .home-photo-hero .home-hero-shade { background: rgba(4,9,16,.78); }
}
/* Carry the desktop photo, headline and frame through to small screens. */
@media (max-width: 680px) {
  .hero.home-photo-hero { padding: 20px 0 32px; text-align: left; }
  .home-photo-hero .hero-inner {
    position: relative; isolation: isolate; overflow: hidden;
    width: calc(100% - 40px); min-width: 0;
    margin-inline: auto; padding: 0; border-radius: 22px;
    display: flex; background: #0b1420;
  }
  .home-photo-hero .home-hero-picture,
  .home-photo-hero .home-hero-shade {
    display: block; position: absolute; inset: 0;
  }
  .home-photo-hero .home-hero-picture { z-index: 0; }
  .home-photo-hero .home-hero-picture img {
    width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%;
  }
  .home-photo-hero .home-hero-shade {
    z-index: 1;
    background: linear-gradient(90deg, rgba(4,9,16,.9), rgba(4,9,16,.76) 60%, rgba(4,9,16,.5));
  }
  .home-photo-hero .hero-copy {
    position: relative; z-index: 2;
    width: 100%; min-width: 0; margin: 0;
    padding: 40px clamp(20px, 5vw, 28px); color: #fff;
  }
  .home-photo-hero .hero-copy h1 {
    font-size: clamp(1.6rem, 7.6vw, 3.1rem);
    line-height: 1.1; letter-spacing: -.04em; color: #fff;
  }
  .home-photo-hero .hero-copy h1 span { color: #fff; }
  .home-photo-hero .hero-desktop-break { display: initial; }
  .home-photo-hero .hero-copy > .hero-location {
    margin: 20px 0 24px; font-size: 1.0625rem; line-height: 1.5; color: #fff;
  }
  .home-photo-hero .button-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; }
  .home-photo-hero .button-row > .btn { width: 100%; max-width: none; min-height: 50px; }
  .home-service-shortcuts a { max-width: 100%; text-align: center; }
}
@media print {
  .home-photo-hero .home-hero-picture,
  .home-photo-hero .home-hero-shade { display: none; }
  .home-photo-hero .hero-inner { background: #fff; min-height: 0; }
  .home-photo-hero .hero-copy { padding: 20px 0; }
  .home-photo-hero .hero-copy :is(h1,h1 span,p,a) { color: #000; }
}

/* The client marquee lives inside the hero's bottom edge, in normal flow. */
.home-photo-hero .hero-inner { flex-direction: column; align-items: stretch; }
.home-photo-hero .home-hero-clients {
  position: relative; z-index: 2;
  width: 100%; min-width: 0;
  padding: 18px 0 10px; margin: 0;
  background: #f5f5f7;
  border-top: 1px solid #e4e4e7;
  color: #000; text-align: left;
}
.home-hero-clients > .wrap { width: 100%; max-width: none; padding-inline: 32px; }
.home-hero-clients .clients-heading {
  display: flex; align-items: center; gap: 24px;
  margin: 0 0 8px; justify-content: space-between;
}
.home-hero-clients .clients-heading h2 {
  margin: 0; font-size: 14px; line-height: 1.5; letter-spacing: -.01em;
  color: #000;
}
.home-hero-clients .clients-heading h2 br { display: none; }
.home-hero-clients .clients-heading h2 span { color: #000; }
.home-hero-clients .clients-heading h2 span::before { content: ' · '; }
.home-hero-clients .clients-heading p {
  max-width: 430px; margin: 0; font-size: 12px; line-height: 1.5; color: #000;
}
.home-hero-clients .client-marquee {
  padding: 4px 0 8px; outline-offset: 6px;
  mask-image: linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);
}
.home-hero-clients .client-logo-run { align-items: stretch; gap: 16px; padding-right: 16px; }
@media (min-width: 681px) {
  .home-photo-hero .hero-copy { min-height: 430px; padding-block: 50px; }
}
@media (max-width: 680px) {
  .home-photo-hero .home-hero-clients { margin-top: 0; }
  .home-hero-clients > .wrap { padding-inline: 12px; }
  .home-hero-clients .clients-heading { display: block; text-align: center; }
  .home-hero-clients .clients-heading p { max-width: 360px; margin: 6px auto 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-clients .client-marquee { mask-image: none; }
}
