@charset "UTF-8";
/* ARC brand palette — sourced from "ARC Website 2026" Figma, Desktop v11 */
/* Confirmed from design nodes */
/* Derived / supporting (adjust once a full token set is published) */
/* Hero photo treatment — two multiply passes, read off Figma "Frame 136" */
/* Semantic */
/* Gotham (Hoefler & Co.) served from Adobe Fonts — kit pfr5zsa, enqueued in
   functions.php. The kit provides Book (400) and Bold (700), roman + italic,
   under the family name "gotham". Montserrat stays as the fallback for the
   flash before the kit loads, and if the kit ever fails to serve. */
/* Display sizes read from Desktop v11 nodes */
/* Section-level type, read off EHS "Frame 133" */
body, p, li, span, a, div, input, textarea, button, select {
  font-family: "gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  color: #003e75;
  font-weight: 400;
}

/* Layout — content column measures 1230px inside a 1440px frame (Desktop v11) */
/* Media & Text — two-column band. Type scale and background/spacing come from
   the shared section chrome in theme.css; this file carries layout only. */
.media-text {
  /* Build With Us overlaps its image/text pairs rather than stacking them */
}
.media-text.is-staggered {
  margin-top: -80px;
}
@media (max-width: 1024px) {
  .media-text.is-staggered {
    margin-top: 0;
  }
}
.media-text__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
@media (max-width: 1024px) {
  .media-text__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
.media-text {
  /* Media right = copy first in source order, so the DOM still reads
     heading-then-image for screen readers and mobile. */
}
.media-text--media-right .media-text__media {
  order: 2;
}
.media-text--media-right .media-text__copy {
  order: 1;
}
.media-text--media-none .media-text__grid {
  grid-template-columns: 1fr;
  max-width: 900px;
}
.media-text__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}
.media-text__media {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}
.media-text__media > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.media-text {
  /* Collage — 2-up grid, matching the EHS jobsite photo cluster */
}
.media-text__collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.media-text__collage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.media-text__collage {
  /* An odd trailing image spans the row rather than leaving a gap */
}
.media-text__collage img:last-child:nth-child(odd) {
  grid-column: 1/-1;
}
.media-text__video {
  position: relative;
  display: block;
  border-radius: 5px;
  overflow: hidden;
}
.media-text__video img {
  display: block;
  width: 100%;
  height: auto;
}
.media-text {
  /* Quote card overlaid on the media — About "Our Vision", Careers internship */
}
.media-text__quote {
  position: absolute;
  right: 0;
  bottom: 40px;
  max-width: 360px;
  margin: 0;
  padding: 30px;
  background-color: rgba(0, 62, 117, 0.92);
  border-radius: 5px;
  color: #ffffff;
}
.media-text__quote blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}
.media-text__quote figcaption {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.media-text__quote--inline {
  position: static;
  inset: auto;
  max-width: none;
  background-color: #f4f4f4;
  color: #000000;
}
@media (max-width: 1024px) {
  .media-text__quote {
    position: static;
    max-width: none;
    margin-top: 16px;
  }
}
.media-text__quote-name {
  display: block;
  font-weight: 700;
}
.media-text__quote-role {
  display: block;
  opacity: 0.8;
}

/* ---------------------------------------------------------------
   Panel layout — Careers "Internship Program" (Figma Join Grid, 1430x631):
   a navy box inset 5px from the page edges; copy 100px in with the quote
   under the title; a three-photo mosaic flush to the right edge.
---------------------------------------------------------------- */
.media-text--panel.is-bg-navy {
  background-color: #ffffff;
  color: #ffffff;
}
.media-text--panel .media-text__grid {
  grid-template-columns: minmax(0, 664fr) minmax(0, 766fr);
  align-items: stretch;
  gap: 0;
  max-width: none;
  min-height: 631px;
  /* width auto, so the 5px margins sit inside the page instead of the
     container's 100% pushing the right one off-screen */
  width: auto;
  margin: 0 5px;
  padding: 0;
  background-color: #003e75;
  border-radius: 5px;
  overflow: hidden;
  /* width auto: the container's 100% plus the margins overflowed */
}
@media (max-width: 1024px) {
  .media-text--panel .media-text__grid {
    width: auto;
    margin: 0 2px;
  }
}
@media (max-width: 1024px) {
  .media-text--panel .media-text__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}
.media-text--panel .media-text__copy {
  justify-content: center;
  gap: 50px;
  padding: 60px 60px 60px 100px;
}
@media (max-width: 1024px) {
  .media-text--panel .media-text__copy {
    gap: 28px;
    padding: 48px 24px;
  }
}
.media-text--panel .media-text__title {
  max-width: 465px;
  margin: 0;
  font-size: 50px;
  line-height: 60px;
  color: #ffffff;
}
@media (max-width: 1024px) {
  .media-text--panel .media-text__title {
    font-size: 34px;
    line-height: 42px;
  }
}
.media-text--panel {
  /* Tinted quote box with the large green open-quote (Figma Frame 196) */
}
.media-text--panel .media-text__quote--inline {
  position: relative;
  max-width: 501px;
  margin: 0;
  padding: 20px 10px 20px 65px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0;
  color: #ffffff;
}
.media-text--panel .media-text__quote--inline::before {
  content: "“";
  position: absolute;
  top: 20px;
  left: 10px;
  font-family: "gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 100px;
  line-height: 88px;
  color: transparent;
  -webkit-text-stroke: 1.5px #58b947;
}
.media-text--panel .media-text__quote--inline blockquote {
  font-size: 18px;
  line-height: 26px;
}
.media-text--panel .media-text__quote--inline figcaption {
  margin-top: 15px;
  letter-spacing: 2.4px;
}
.media-text--panel .media-text__quote-name {
  font-size: 16px;
  line-height: 16px;
}
.media-text--panel .media-text__quote-role {
  font-size: 12px;
  line-height: 16px;
  opacity: 1;
}
.media-text--panel .media-text__media {
  border-radius: 0;
}
@media (max-width: 1024px) {
  .media-text--panel .media-text__media {
    min-height: 420px;
  }
}
.media-text--panel {
  /* Two photos over one wide one: 411 + 355 over 766, 335 / 295 tall.
     Out of flow, so the photos fill the panel instead of setting its
     height from their own proportions. */
}
.media-text--panel .media-text__collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 411fr) minmax(0, 355fr);
  grid-template-rows: minmax(0, 335fr) minmax(0, 295fr);
  gap: 0;
}
@media (max-width: 1024px) {
  .media-text--panel .media-text__collage {
    position: static;
    height: 420px;
  }
}
.media-text--panel .media-text__collage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 0;
}
.media-text--panel .media-text__collage img:nth-child(3) {
  grid-column: 1/-1;
}

/* Collage on the left, desktop — EHS "Jobsite Safety" (Figma Frame 137):
   the 2x2 runs flush to the left edge, 785.5 of 1440 wide and 818 tall, with
   no gaps and only its right corners rounded; it sits 5px under the hero and
   5px above the stats band. The copy is a 409px column centred on the photo,
   118px off it and 128px in from the right edge. */
@media (min-width: 1025px) {
  .media-text--standard.media-text--media-left:has(.media-text__media--collage) {
    padding: 5px 0 0;
  }
  .media-text--standard.media-text--media-left:has(.media-text__media--collage) .media-text__grid {
    grid-template-columns: minmax(0, 785.5fr) minmax(0, 654.5fr);
    align-items: center;
    gap: 0;
    max-width: none;
    padding: 0;
  }
  .media-text--standard.media-text--media-left:has(.media-text__media--collage) .media-text__media {
    border-radius: 0 5px 5px 0;
    overflow: hidden;
  }
  .media-text--standard.media-text--media-left:has(.media-text__media--collage) .media-text__collage {
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0;
    aspect-ratio: 785.5/818.2;
  }
  .media-text--standard.media-text--media-left:has(.media-text__media--collage) .media-text__collage img {
    min-height: 0;
    border-radius: 0;
  }
  .media-text--standard.media-text--media-left:has(.media-text__media--collage) .media-text__copy {
    padding: 0 128px 0 118px;
  }
}
/* Panel with a single photo — Build With Us "Bid Management &
   Prequalification" (Figma Join Grid 1430x722): equal halves, copy 100px
   in at a 564px measure with 30px between blocks, 17px body, the buttons
   stacked, and the photo filling the right half with rounded corners. */
.media-text--panel:has(.media-text__media--image) .media-text__grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 722px;
}
@media (max-width: 1024px) {
  .media-text--panel:has(.media-text__media--image) .media-text__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}
.media-text--panel:has(.media-text__media--image) .media-text__copy {
  gap: 30px;
  padding: 42px 51px 42px 100px;
}
.media-text--panel:has(.media-text__media--image) .media-text__copy > * {
  max-width: 564px;
}
@media (max-width: 1024px) {
  .media-text--panel:has(.media-text__media--image) .media-text__copy {
    gap: 28px;
    padding: 48px 24px;
  }
}
.media-text--panel:has(.media-text__media--image) {
  /* 440 rather than Figma's 465 box: our Gotham sets narrower, and Figma breaks
     before the ampersand */
}
.media-text--panel:has(.media-text__media--image) .media-text__title {
  max-width: 440px;
  line-height: 1.2;
}
.media-text--panel:has(.media-text__media--image) .media-text__body {
  font-size: 17px;
  line-height: 1.2;
}
.media-text--panel:has(.media-text__media--image) .media-text__body p {
  margin: 0 0 10px;
}
.media-text--panel:has(.media-text__media--image) .media-text__body p:last-child {
  margin-bottom: 0;
}
.media-text--panel:has(.media-text__media--image) .media-text__body h3 {
  margin: 20px 0 10px;
  font-size: 17px;
  line-height: 1.2;
}
.media-text--panel:has(.media-text__media--image) .arc-ctas {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-top: 0;
}
.media-text--panel:has(.media-text__media--image) .media-text__media {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}
.media-text--panel:has(.media-text__media--image) .media-text__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* ---------------------------------------------------------------
   Card layout — Careers "How To Apply" (Figma card 1239x366): white,
   1px #e3e8eb border, 8px radius, image flush left, copy 60px clear.
---------------------------------------------------------------- */
.media-text--card .media-text__grid {
  grid-template-columns: minmax(0, 455fr) minmax(0, 784fr);
  align-items: stretch;
  gap: 60px;
  max-width: 1239px;
  padding: 0 56px 0 0;
  background-color: #ffffff;
  border: 1px solid #e3e8eb;
  border-radius: 8px;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .media-text--card .media-text__grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }
}
.media-text--card.media-text--media-right .media-text__grid {
  grid-template-columns: minmax(0, 784fr) minmax(0, 455fr);
  padding: 0 0 0 56px;
}
.media-text--card .media-text__media {
  min-height: 366px;
  border-radius: 0;
}
.media-text--card .media-text__media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
@media (max-width: 1024px) {
  .media-text--card .media-text__media {
    min-height: 260px;
  }
}
.media-text--card .media-text__copy {
  justify-content: center;
  gap: 30px;
  padding: 30px 0;
}
@media (max-width: 1024px) {
  .media-text--card .media-text__copy {
    padding: 32px 24px;
  }
}
.media-text--card .media-text__title {
  margin: 0 0 -20px;
  font-size: 50px;
  line-height: 70px;
  color: #003e75;
}
@media (max-width: 1024px) {
  .media-text--card .media-text__title {
    font-size: 34px;
    line-height: 44px;
  }
}
.media-text--card .media-text__body {
  font-size: 18px;
  line-height: 26px;
  color: #000000;
}
.media-text--card .media-text__body p {
  margin: 0 0 10px;
}
.media-text--card .media-text__body p:last-child {
  margin-bottom: 0;
}
.media-text--card .arc-btn {
  padding: 16px 22px;
  font-size: 16px;
  letter-spacing: 1.6px;
}

/* ---------------------------------------------------------------
   Type options + quotes, matched to Figma (type audit 2026-10-09)
---------------------------------------------------------------- */
.media-text--heading-large .media-text__title {
  font-size: 50px;
  line-height: 70px;
}
@media (max-width: 1024px) {
  .media-text--heading-large .media-text__title {
    font-size: 34px;
    line-height: 44px;
  }
}

.media-text--body-large .media-text__body {
  font-size: 20px;
  line-height: 28px;
}

/* Quote attribution — Figma: 18/26 quote, name Bold 16 and role 12, both
   uppercase with 2.4px tracking (About "Our Vision", Careers internship) */
.media-text__quote blockquote {
  font-size: 18px;
  line-height: 26px;
}
.media-text__quote figcaption {
  letter-spacing: 2.4px;
  line-height: 16px;
}

.media-text__quote-name {
  font-size: 16px;
  line-height: 16px;
}

.media-text__quote-role {
  font-size: 12px;
  line-height: 16px;
}

/* A quote's sign-off written in the body as <p><strong>Name</strong><br>Role</p>
   (Home, What We Build): name navy Bold 16, role 12, both spaced caps. */
.media-text__body p:has(> strong:first-child + br) {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.media-text__body p:has(> strong:first-child + br) strong {
  font-size: 16px;
  color: #003e75;
}

/* In-body sub-heads (Build With Us "Subcontractor Default Insurance (SDI)
   Projects") — Figma Bold 17 uppercase; links in navy bands Bold. */
.media-text__body h3 {
  margin: 28px 0 10px;
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  color: inherit;
}

.is-bg-navy .media-text__body a {
  font-weight: 700;
  color: #ffffff;
}

/* ---------------------------------------------------------------
   Quote body style — Figma Home / What We Build testimonial: copy 18/26
   in a ~390px measure, a 100px outlined navy opening mark 55px to its
   left level with the first lines, the closing mark inline at the end.
---------------------------------------------------------------- */
.media-text--body-quote .media-text__body {
  position: relative;
  max-width: 445px;
  padding-left: 55px;
}
.media-text--body-quote .media-text__body p {
  margin-bottom: 15px;
}

.media-text__quote-mark {
  position: absolute;
  top: 6px;
  left: 0;
  font-family: "gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 100px;
  line-height: 70px;
  color: transparent;
  -webkit-text-stroke: 1.5px #003e75;
  pointer-events: none;
  user-select: none;
}
.is-bg-navy .media-text__quote-mark {
  -webkit-text-stroke-color: #58b947;
}

/* ---------------------------------------------------------------
   Overlay layout — Figma About "Our Vision": the photo runs the full
   1440 x 937; a frosted navy panel (591 wide, 90% navy, 2px blur) sits
   over its lower right with the heading centred, then the quote.
---------------------------------------------------------------- */
.media-text--overlay {
  /* Flush photo; the 5px white gaps either side come from the bands' margins */
}
.media-text--overlay.content-section {
  padding: 0;
}
.media-text--overlay .media-text__grid {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  max-width: none;
  min-height: 937px;
  padding: 0 192px 63px 0;
}
@media (max-width: 1024px) {
  .media-text--overlay .media-text__grid {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 0;
  }
}
.media-text--overlay .media-text__media {
  position: absolute;
  inset: 0;
  border-radius: 0;
}
.media-text--overlay .media-text__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
@media (max-width: 1024px) {
  .media-text--overlay .media-text__media {
    position: relative;
    height: 340px;
    overflow: hidden;
    /* Parallax (media_text.js): oversized by the 90px travel each way */
  }
  .media-text--overlay .media-text__media > img {
    height: calc(100% + 180px);
    margin-top: -90px;
    transform: translate3d(0, var(--mt-parallax, 0px), 0);
    will-change: transform;
  }
}
.media-text--overlay .media-text__copy {
  position: relative;
  width: 591px;
  max-width: 100%;
  align-items: stretch;
  gap: 20px;
  padding: 56px 62px 49px 48px;
  background-color: rgba(0, 62, 117, 0.9);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 5px;
  color: #ffffff;
}
@media (max-width: 1024px) {
  .media-text--overlay .media-text__copy {
    width: auto;
    border-radius: 0;
    padding: 40px 24px;
  }
}
.media-text--overlay .media-text__title {
  text-align: center;
  color: #ffffff;
}
.media-text--overlay .media-text__quote--inline {
  position: relative;
  margin: 0;
  padding: 0 0 0 55px;
  background: none;
  color: #ffffff;
}
.media-text--overlay .media-text__quote--inline::before {
  content: "“";
  position: absolute;
  top: 6px;
  left: 0;
  font-family: "gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: 100px;
  line-height: 70px;
  color: transparent;
  -webkit-text-stroke: 1.5px #58b947;
}
.media-text--overlay .media-text__quote--inline figcaption {
  margin-top: 15px;
}
.media-text--overlay .media-text__quote-name {
  font-size: 16px;
}
.media-text--overlay .media-text__quote-role {
  font-size: 12px;
  opacity: 1;
}

/* Heading above, centred — Figma What We Build: 76px over the image/quote */
.media-text__head {
  margin-bottom: 76px;
  text-align: center;
}
.media-text__head .media-text__title {
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .media-text__head {
    margin-bottom: 32px;
  }
}

/* ---------------------------------------------------------------
   Statement layout — Figma How We Build: a 786x312 navy box flush to
   the left edge, 50/70 white caps centred (accent words green), and
   the copy (419 wide) at x 903.
---------------------------------------------------------------- */
.media-text--statement .media-text__grid {
  display: grid;
  grid-template-columns: minmax(0, 786fr) minmax(0, 654fr);
  align-items: center;
  gap: 0;
  max-width: none;
  padding: 0;
}
.media-text--statement .media-text__statement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 312px;
  padding: 10px;
  background-color: #003e75;
  border-radius: 0 5px 5px 0;
}
.media-text--statement .media-text__statement-text {
  margin: 0;
  font-size: 50px;
  line-height: 70px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
}
.media-text--statement .media-text__accent {
  color: #58b947;
}
.media-text--statement {
  /* Tablet: break after the green word so "with a purpose." never splits
     (QA 2026-10-16). Phones already set it on its own line. */
}
@media (min-width: 769px) and (max-width: 1024px) {
  .media-text--statement .media-text__accent::after {
    content: "\a";
    white-space: pre;
  }
}
.media-text--statement .media-text__copy {
  padding: 0 118px 0 117px;
}
@media (max-width: 1024px) {
  .media-text--statement .media-text__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .media-text--statement .media-text__statement {
    min-height: 220px;
    border-radius: 0;
  }
  .media-text--statement .media-text__statement-text {
    font-size: 34px;
    line-height: 46px;
  }
  .media-text--statement .media-text__copy {
    padding: 0 24px;
  }
}

/* Phones — Figma Mobile v10 (Home 1229:4156, About 1229:4203, What We Build
   1229:4299, How We Build 1229:4371, EHS 1229:4415). Layout only. */
@media (max-width: 768px) {
  /* Quote body style — Home / What We Build testimonial: the video runs
     full-bleed to the 2px inset (398 x 222, radius 5), 30px to the quote;
     quote mark at x 31, copy at x 86 (286 wide). */
  .media-text--body-quote.content-section {
    padding: 36px 0 43px;
  }
  .media-text--body-quote .media-text__head {
    margin-bottom: 22px;
  }
  .media-text--body-quote {
    /* Scoped: the shared heading-large mobile rule (34/44) is used elsewhere */
  }
  .media-text--body-quote .media-text__head .media-text__title {
    font-size: 32px;
    line-height: 40px;
  }
  .media-text--body-quote .media-text__grid {
    gap: 30px;
  }
  .media-text--body-quote .media-text__media {
    margin: 0 -22px;
  }
  .media-text--body-quote .media-text__copy {
    padding: 0 7px;
  }
  /* Home: 30px from the statement to the video (the statement has no bottom padding) */
  .text-columns--statement + .media-text--body-quote.content-section {
    padding-top: 30px;
    padding-bottom: 56px;
  }
  /* Overlay — About "Our Vision": 402 x 414 photo; the navy panel (2px
     inset, radius 5) overlaps its foot by 85px; heading 32/40. */
  .media-text--overlay .media-text__grid {
    gap: 0;
  }
  .media-text--overlay .media-text__media {
    height: 414px;
  }
  .media-text--overlay .media-text__copy {
    margin: -85px 2px 0;
    padding: 35px 26px 48px 18px;
    border-radius: 5px;
  }
  .media-text--overlay .media-text__title {
    font-size: 32px;
    line-height: 40px;
  }
  /* Statement — How We Build: the navy box starts 2px under the hero,
     2px in from the edges, 188 tall, 36/44 caps breaking
     "We build / differently / with a purpose." */
  .media-text--statement.content-section {
    padding-top: 2px;
    padding-bottom: 22px;
  }
  .media-text--statement .media-text__grid {
    gap: 30px;
  }
  .media-text--statement .media-text__statement {
    min-height: 188px;
    margin: 0 2px;
    border-radius: 5px;
  }
  .media-text--statement .media-text__statement-text {
    font-size: 36px;
    line-height: 44px;
  }
  .media-text--statement .media-text__accent {
    display: block;
  }
  /* EHS "Jobsite Safety" — the photo collage runs full-bleed to the 2px
     inset; 51 under the hero, 30 to the copy, 30 to the stats band.
     (Figma's single photo with a white notch for the title is not built:
     it would drop three of the four photos.) */
  .media-text:has(.media-text__media--collage).content-section {
    padding: 51px 0 30px;
  }
  .media-text:has(.media-text__media--collage) .media-text__grid {
    gap: 30px;
  }
  .media-text:has(.media-text__media--collage) .media-text__media--collage {
    margin: 0 -22px;
  }
  /* EHS "Commitment" (after the stats band): 40 under the band, photo
     full-bleed 398 x 328, 90 from the copy to the awards logos (which
     carry 40 of their own). Source order kept (no notch). */
  .stats + .media-text--media-right.content-section {
    padding: 40px 0 50px;
  }
  .stats + .media-text--media-right .media-text__grid {
    gap: 30px;
  }
  .stats + .media-text--media-right .media-text__media {
    margin: 0 -22px;
  }
  .stats + .media-text--media-right .media-text__media > img {
    height: 328px;
    object-fit: cover;
  }
}
/* Home testimonial under the "Advancing Revolutionary Construction"
   statement: Figma Home has 65px from the heading's caps to the photo. */
@media (min-width: 769px) {
  .text-columns--statement + .media-text.content-section {
    padding-top: 50px;
  }
}
/* ---------------------------------------------------------------
   Staggered pairs (Build With Us event photos) — QA 2026-10-16: the
   photos run flush to the page edge on their side (Tom), a little
   shorter (16:9), while the copy keeps the container's edge.
---------------------------------------------------------------- */
@media (min-width: 1025px) {
  .media-text:is(.media-text--media-left, .media-text--media-right):is(.is-staggered, :has(+ .media-text.is-staggered)) .media-text__grid {
    max-width: none;
  }
  .media-text:is(.media-text--media-left, .media-text--media-right):is(.is-staggered, :has(+ .media-text.is-staggered)).media-text--media-left .media-text__grid {
    padding: 0 calc(max((100% - 1230px) / 2, 0px) + 24px) 0 0;
  }
  .media-text:is(.media-text--media-left, .media-text--media-right):is(.is-staggered, :has(+ .media-text.is-staggered)).media-text--media-right .media-text__grid {
    padding: 0 0 0 calc(max((100% - 1230px) / 2, 0px) + 24px);
  }
  .media-text:is(.media-text--media-left, .media-text--media-right):is(.is-staggered, :has(+ .media-text.is-staggered)) {
    /* Square off the corners that meet the page edge */
  }
  .media-text:is(.media-text--media-left, .media-text--media-right):is(.is-staggered, :has(+ .media-text.is-staggered)).media-text--media-left .media-text__media > img {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .media-text:is(.media-text--media-left, .media-text--media-right):is(.is-staggered, :has(+ .media-text.is-staggered)).media-text--media-right .media-text__media > img {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .media-text:is(.media-text--media-left, .media-text--media-right):is(.is-staggered, :has(+ .media-text.is-staggered)) .media-text__media > img {
    aspect-ratio: 16/9;
    height: auto;
    object-fit: cover;
  }
}
/* Copy Max Width field: caps each block inside the copy column rather than
   the column itself, whose padding would otherwise eat into the measure */
.media-text--copy-width .media-text__copy > * {
  max-width: var(--mt-copy-width);
}
