/* Images and copy occupy separate rows at every viewport width. */
.page-hero.bright-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  background: #fff;
  color: var(--ink);
  overflow: visible;
}

.page-hero.bright-hero::after,
.image-card::after,
.case-image::after,
.hero-shade {
  display: none;
}

.bright-hero .hero-media {
  margin: 0;
  width: 100%;
  overflow: hidden;
  background: #eef7fc;
}

.bright-hero .hero-media img {
  display: block;
  position: static;
  width: 100%;
  height: clamp(280px, 31vw, 480px);
  object-fit: cover;
  object-position: center;
}

.home-hero .hero-media img {
  height: clamp(320px, 35vw, 540px);
}

.warehouse-hero .hero-media img {
  object-position: 50% 52%;
}

.bright-hero .hero-media figcaption {
  padding: 13px 8vw;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #315b73;
  background: #eff6f9;
}

.page-hero.bright-hero > .hero-intro {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 7vw;
  width: 100%;
  max-width: none;
  padding: 46px 8vw 54px;
  position: static;
  background: #fff;
}

.bright-hero .hero-intro h1 {
  font: 400 clamp(40px, 4.2vw, 64px)/1.04 Georgia, serif;
  margin: 16px 0 0;
  max-width: 620px;
}

.bright-hero .hero-intro p {
  color: #52616b;
  font-size: 16px;
  line-height: 1.75;
  max-width: 640px;
  margin: 0;
}

.bright-hero .kicker,
.image-card .kicker {
  color: var(--blue);
}

.bright-hero .btn {
  color: #fff;
  background: var(--blue);
  margin-top: 22px;
}

.image-card,
.image-card.light-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #fff;
  color: var(--ink);
  border: 1px solid #dde6eb;
}

.image-card img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-card > div {
  position: static;
  padding: 28px 30px 32px;
}

.image-card p,
.image-card.light-card p {
  color: #52616b;
  line-height: 1.7;
}

.case-study,
.case-study.reverse {
  min-height: 0;
  align-items: start;
}

.case-image {
  display: flex;
  flex-direction: column;
  min-height: 0;
  align-self: start;
  position: sticky;
  top: 24px;
}

.case-image img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.case-image span {
  position: static;
  padding: 22px 26px;
  color: var(--blue);
  background: #eef6f9;
  line-height: 1.6;
}

.image-note {
  color: #65717a;
  font-size: 12px;
  line-height: 1.65;
  max-width: 720px;
}

/* Keep authentic project photographs clear, with copy below each photo. */
.topbar {
  position: relative;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: auto;
  min-height: 0;
  color: var(--ink);
  background: #fff;
}

.hero > img {
  position: static;
  display: block;
  width: 100%;
  height: clamp(280px, 31vw, 480px);
  object-fit: cover;
}

.hero-copy {
  position: static;
  max-width: none;
  margin: 0;
  padding: 48px 8vw;
}

.hero-image-caption {
  margin: 0;
  padding: 12px 8vw;
  background: #eff6f9;
  color: #315b73;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero-copy h1 {
  font-size: clamp(46px, 5vw, 74px);
  line-height: 1.05;
}

.hero-copy .eyebrow,
.results-head .eyebrow {
  color: var(--blue);
}

.hero-copy .lead {
  max-width: 820px;
  color: #52616b;
}

.hero-copy .button.primary {
  background: var(--blue);
  color: #fff;
}

.hero-copy .button.ghost {
  border-color: #9ab9c9;
  color: var(--blue);
}

.hero-stats {
  position: static;
  margin: 0;
  padding: 0 8vw;
  border-top: 1px solid #dce8ed;
  background: #eff6f9;
}

.hero-stats div {
  border-color: #dce8ed;
}

.results-section {
  background: #f0f6f8;
  color: var(--ink);
}

.result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.result-grid article {
  background: #fff;
}

.result-grid .result-main {
  grid-row: auto;
}

.result-grid article img,
.result-grid .result-main img {
  display: block;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.result-grid article > div,
.result-main > div {
  position: static;
  padding: 28px;
  background: #fff;
}

.result-grid h3,
.result-main h3 {
  font-size: 28px;
}

.result-grid span {
  color: var(--blue);
}

.result-grid p {
  color: #52616b;
}

.site-nav nav a.active {
  color: #0b4f78;
}

@media (min-width: 1800px) {
  .bright-hero .hero-media img,
  .hero > img {
    height: 30vw;
  }
}

@media (max-width: 900px) {
  .page-hero.bright-hero > .hero-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 850px) {
  .case-image {
    position: static;
  }
}

@media (max-width: 620px) {
  .bright-hero .hero-media img,
  .home-hero .hero-media img,
  .hero > img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .warehouse-hero .hero-media img {
    aspect-ratio: 4 / 3;
  }

  .page-hero.bright-hero > .hero-intro {
    padding: 32px 6vw 40px;
  }

  .bright-hero .hero-intro h1 {
    font-size: 40px;
  }

  .hero-copy {
    padding: 36px 6vw;
  }

  .hero-stats {
    padding: 0 6vw;
  }
}
