/* Inner pages share the homepage design language (header, hero, section tones,
   red corner beams, headings). Natural section heights. Scoped to body.inner. */

.inner {
  overflow-x: hidden;
}

/* header: nav on the right, red corner beam instead of the Contact button */
.inner header {
  overflow: visible;
}

.inner header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  pointer-events: none;
}

.inner .desktop-contact-only {
  display: none;
}

.inner .header-inner {
  justify-content: flex-start;
}

@media (max-width: 1024px) {
  .inner .header-inner {
    justify-content: space-between;
  }
}

.inner nav.desktop-nav {
  margin-left: auto;
  margin-right: 56px;
}

.inner nav.desktop-nav a {
  font-size: 15px;
}

/* hero */
.inner .inner-hero {
  padding: 120px 0;
}

.inner .inner-hero .eyebrow {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-transform: none;
  letter-spacing: 0;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 14px;
}

.inner .inner-hero h1 {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  max-width: 600px;
}

@media (max-width:1024px) {
  .inner .inner-hero h1 {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .inner .inner-hero h1 {
    font-size: clamp(22px, 6.8vw, 26px);
    max-width: 280px;
  }
}

.inner .inner-hero .link-arrow {
  color: var(--white);
}

.inner .inner-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* sections: alternating light tones with red corner beams, like the homepage */
.inner main section:not(.inner-hero):not(.cta-band) {
  position: relative;
  padding: 64px 0;
}

.inner main section:not(.inner-hero):not(.cta-band):nth-of-type(even),
.inner main .section-alt,
.inner .experience {
  background-color: #F5F5F5;
  color: var(--charcoal);
}

.inner main section:not(.inner-hero):not(.cta-band):nth-of-type(even)::after,
.inner main section:not(.inner-hero):not(.cta-band):nth-of-type(odd)::before {
  content: "";
  position: absolute;
  top: 0;
  width: 56px;
  height: 56px;
  background: var(--red);
  pointer-events: none;
}

.inner main section:not(.inner-hero):not(.cta-band):nth-of-type(even)::after {
  right: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.inner main section:not(.inner-hero):not(.cta-band):nth-of-type(odd)::before {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* the dark context / why band becomes a light section */
.inner .experience .section-head h2,
.inner .experience .section-sub strong {
  color: var(--charcoal);
}

.inner .experience .section-sub,
.inner .experience .sectors-line {
  color: var(--secondary);
}

.inner .svc-why .prose p {
  color: var(--secondary);
}

/* headings: homepage rhythm, first word in Carmine red */
.inner main .section-head h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.12;
}

.inner main .section-head .eyebrow {
  display: block;
  color: var(--secondary);
  text-transform: none;
  letter-spacing: 0;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 12px;
}

.inner .hl {
  color: var(--red);
}

/* strips */
.inner .why-strip {
  background: var(--red);
  padding: 48px 0;
}

.inner .why-strip .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.inner .why-strip h2 {
  color: var(--white);
}

@media (max-width: 1024px) {

  .inner header::after,
  .inner .inner-hero::after,
  .inner main section:not(.inner-hero):not(.cta-band)::before,
  .inner main section:not(.inner-hero):not(.cta-band)::after {
    width: 40px;
    height: 40px;
  }

  .inner .inner-hero {
    padding: 64px 0;
  }

  .inner main section:not(.inner-hero):not(.cta-band) {
    padding: 48px 0;
  }
}

/* inner hero: black/grey text on a light image, a white fade on the left, fixed height so the image shows, intro line hidden */
.inner .inner-hero {
  height: 520px;
  padding: 0;
  display: flex;
  align-items: center;
}

.inner .inner-hero::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.72) 42%, rgba(255, 255, 255, 0) 78%);
}

.inner .inner-hero h1 {
  color: #141416;
}

.inner .inner-hero .eyebrow {
  color: #5B6170;
}

.inner .inner-hero .link-arrow {
  color: #141416;
}

.inner .inner-hero .lede {
  display: none;
}

.inner .inner-hero .hero-parent {
  color: #5B6170;
}

.inner .inner-hero .hero-parent a {
  color: #141416;
}

@media (max-width: 760px) {
  .inner .inner-hero {
    height: 380px;
  }
}

/* inner hero text sits on the left edge of the site container, in line with the logo.
   The large right margin reserves room for the photo on wide screens; it's reduced on
   smaller screens where there isn't enough width to spare and the text needs room to fit. */
.inner .inner-hero .wrap {
  width: 100%;
  margin: 0 620px 0 0;
}

@media (max-width: 1024px) {
  .inner .inner-hero .wrap {
    margin-right: 40px;
  }
}

@media (max-width: 480px) {
  .inner .inner-hero .wrap {
    margin-right: 20px;
  }
}

/* capability cards: same hover-reveal image as the sector hub cards (sectors.php). Their text is
   shorter so the natural height is less (144px vs 186px); min-height matches it exactly. */
.cap-hub-grid .sector-hub-card {
  min-height: 186px;
}