/* Shared editorial language for company, partner, expertise and project pages. */
:where(.company-page, .partners-page, .expertise-page, .services-page, .realisations-page, .realisation-page) {
  --editorial-ink: #071f35;
  --editorial-blue: #073e68;
  --editorial-night: #061a2b;
  --editorial-gold: #efa816;
  --editorial-line: rgba(7, 31, 53, 0.14);
  --editorial-muted: #64788b;
  --editorial-paper: #f4f8fb;
  --editorial-max: 1384px;
}

:where(.company-page, .partners-page, .expertise-page, .services-page, .realisations-page, .realisation-page) .container {
  width: min(var(--editorial-max), calc(100% - 64px));
  max-width: none;
  margin-inline: auto;
}

:where(.company-page, .partners-page, .expertise-page, .services-page, .realisations-page, .realisation-page) .header-inner {
  min-height: 88px;
}

:where(.company-page, .partners-page, .expertise-page, .services-page, .realisations-page, .realisation-page) .header .logo img {
  width: auto;
  height: 56px;
  max-width: 148px;
  object-fit: contain;
}

/* Expertise portal and projects index share the same image-led opening. */
.services-page .page-hero,
.realisations-page .page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(650px, 86svh, 880px);
  padding: 170px 0 90px;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.services-page .page-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 24, 40, 0.93) 0%, rgba(4, 24, 40, 0.68) 52%, rgba(4, 24, 40, 0.22) 100%),
    url("../images/expertises/solaire-maison.jpg");
}

.realisations-page .page-hero {
  background-image:
    linear-gradient(90deg, rgba(4, 24, 40, 0.94) 0%, rgba(4, 24, 40, 0.62) 54%, rgba(4, 24, 40, 0.18) 100%),
    url("../images/realisations/hotel-eklo-bordeaux-hero.jpg");
  background-position: center 58%;
}

.services-page .page-hero::before,
.realisations-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 18, 31, 0.18), transparent 42%, rgba(3, 18, 31, 0.36));
}

.services-page .page-hero::after,
.realisations-page .page-hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -32vw;
  width: 54vw;
  aspect-ratio: 1;
  z-index: -1;
  border: 1px solid rgba(239, 168, 22, 0.34);
  border-radius: 50%;
}

.services-page .page-hero .container,
.realisations-page .page-hero .container {
  position: relative;
  z-index: 1;
}

.services-page .page-hero .breadcrumb,
.realisations-page .page-hero .breadcrumb {
  margin-bottom: 22px;
  color: var(--editorial-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-page .page-hero .breadcrumb a,
.realisations-page .page-hero .breadcrumb a {
  color: inherit;
}

.services-page .page-hero h1,
.realisations-page .page-hero h1 {
  max-width: 850px;
  margin: 0 0 24px;
  color: #fff;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(56px, 6vw, 86px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.services-page .page-hero p,
.realisations-page .page-hero p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.62;
}

/* Expertise portal. */
.services-page .expertise-overview {
  padding: 118px 0 126px;
  background: #fff;
}

.services-page .section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.55fr);
  grid-template-areas:
    "eyebrow copy"
    "title copy";
  gap: clamp(50px, 8vw, 130px);
  align-items: end;
  max-width: none;
  margin: 0 0 58px;
  text-align: left;
}

.services-page .section-head .eyebrow {
  grid-area: eyebrow;
  align-self: end;
  margin-bottom: -30px;
}

.services-page .section-head h2 {
  grid-area: title;
  margin: 0;
  color: var(--editorial-ink);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(44px, 4.5vw, 66px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.services-page .section-head > p {
  grid-area: copy;
  margin: 0 0 4px;
  color: var(--editorial-muted);
  font-size: 18px;
  line-height: 1.7;
}

.services-page .expertise-six-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.services-page .service-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--editorial-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(7, 31, 53, 0.08);
  transform: none;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 500ms ease, border-color 500ms ease;
}

.services-page .service-media {
  height: 270px;
  overflow: hidden;
  border-bottom: 1px solid var(--editorial-line);
  background: #edf2f5;
}

.services-page .service-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.services-page .service-card-copy {
  display: flex;
  min-height: 249px;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 32px;
}

.services-page .service-card:hover {
  border-color: rgba(239, 168, 22, 0.5);
  box-shadow: 0 32px 78px rgba(7, 31, 53, 0.14);
  transform: translateY(-8px);
}

.services-page .service-card:hover .service-media img { transform: scale(1.045); }

.services-page .service-card h3 {
  margin: 0 0 12px;
  color: var(--editorial-ink);
  font-size: 24px;
  line-height: 1.18;
}

.services-page .service-card p {
  margin: 0 0 24px;
  color: var(--editorial-muted);
  font-size: 16px;
  line-height: 1.65;
}

.services-page .service-card .service-link {
  margin-top: auto;
  color: #b87300;
  font-weight: 800;
}

.services-page .cta-band {
  padding: 112px 0;
  background: var(--editorial-night);
}

.services-page .cta-band .cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 90px;
  align-items: center;
}

.services-page .cta-band h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 400;
  letter-spacing: 0;
}

.services-page .cta-band [style*="grid-template-columns"] {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.services-page .cta-band [style*="grid-template-columns"] > div {
  min-height: 150px;
  padding: 26px !important;
  border: 0 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* Project index. */
.realisations-page .page-hero + .section {
  padding: 112px 0 126px;
  background: var(--editorial-paper);
}

.realisations-page .filters {
  display: flex;
  gap: 4px;
  margin: 0 0 46px;
  overflow-x: auto;
  border-bottom: 1px solid var(--editorial-line);
  scrollbar-width: none;
}

.realisations-page .filters::-webkit-scrollbar { display: none; }

.realisations-page .filter-btn {
  flex: 0 0 auto;
  padding: 15px 18px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--editorial-muted);
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.realisations-page .filter-btn:hover,
.realisations-page .filter-btn.active {
  border-bottom-color: var(--editorial-gold);
  background: transparent;
  color: var(--editorial-ink);
}

.realisations-page .work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 30px;
}

.realisations-page .work-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.realisations-page .work-card:hover {
  box-shadow: none;
  transform: translateY(-7px);
}

.realisations-page .work-img {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe7ed;
}

.realisations-page .work-img::after {
  content: "Voir le projet";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  background: rgba(5, 26, 43, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  backdrop-filter: blur(10px);
  transform: translateY(8px);
  transition: opacity 350ms ease, transform 350ms ease;
}

.realisations-page .work-card:hover .work-img::after {
  opacity: 1;
  transform: none;
}

.realisations-page .work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.realisations-page .work-card:hover .work-img img { transform: scale(1.045); }

.realisations-page .work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px 2px 28px;
  border-bottom: 1px solid var(--editorial-line);
}

.realisations-page .work-body h3 {
  margin: 0 0 10px;
  color: var(--editorial-ink);
  font-size: clamp(22px, 1.7vw, 27px);
  line-height: 1.18;
}

.realisations-page .work-meta {
  margin-bottom: 14px;
  color: #b87300;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.realisations-page .work-body p {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 16px;
  line-height: 1.65;
}

.realisations-page .work-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--editorial-ink);
  font-size: 14px;
  font-weight: 800;
}

.realisations-page .work-link span {
  color: var(--editorial-gold);
  transition: transform 300ms ease;
}

.realisations-page .work-card:hover .work-link span { transform: translateX(5px); }

.realisations-page .cms-state {
  grid-column: 1 / -1;
  padding: 34px 0;
  border: 0;
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
}

.realisations-page .cta-band {
  padding: 112px 0;
  background: var(--editorial-night);
}

.realisations-page .cta-band h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
  color: #fff;
}

.realisations-page .cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

.realisations-page .cta-band .cta-phone {
  color: #fff;
}

/* Project detail: image gallery on the left, editorial copy on the right. */
.realisation-page .realisation-detail-hero {
  min-height: clamp(720px, 88svh, 920px);
  padding: 180px 0 72px;
}

.realisation-page .realisation-detail-hero::after {
  background: linear-gradient(90deg, rgba(3, 22, 37, 0.94) 0%, rgba(3, 22, 37, 0.67) 54%, rgba(3, 22, 37, 0.2) 100%);
}

.realisation-page .realisation-detail-hero img { opacity: 0.9; }

.realisation-page .realisation-kicker {
  font-size: 12px;
  letter-spacing: 0.15em;
}

.realisation-page .realisation-detail-hero h1 {
  max-width: 980px;
  margin: 20px 0 22px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(54px, 6.4vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.realisation-page .realisation-detail-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.62;
}

.realisation-page .realisation-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(4, 24, 40, 0.54);
  backdrop-filter: blur(14px);
}

.realisation-page .realisation-fact {
  min-height: 128px;
  padding: 26px;
}

.realisation-page .realisation-fact strong {
  font-size: clamp(21px, 2vw, 30px);
}

.realisation-page .realisation-content {
  padding: 118px 0 132px;
  background: #fff;
}

.realisation-page .realisation-content .container {
  width: min(var(--editorial-max), calc(100% - 64px));
  max-width: none;
}

.realisation-page .realisation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  grid-template-areas: "gallery copy";
  gap: clamp(54px, 7vw, 108px);
  align-items: start;
}

.realisation-page .realisation-gallery {
  grid-area: gallery;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.realisation-page .realisation-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: 0 22px 58px rgba(7, 31, 53, 0.12);
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 600ms ease;
}

.realisation-page .realisation-gallery img:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.realisation-page .realisation-gallery img:hover {
  box-shadow: 0 32px 72px rgba(7, 31, 53, 0.18);
  transform: translateY(-6px);
}

.realisation-page .realisation-copy {
  position: sticky;
  top: 120px;
  grid-area: copy;
  padding: 30px 0 0;
  border: 0;
  border-top: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.realisation-page .realisation-copy h2 {
  margin: 16px 0 24px;
  color: var(--editorial-ink);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.realisation-page .realisation-copy p {
  color: var(--editorial-muted);
  font-size: 18px;
  line-height: 1.75;
}

.realisation-page .realisation-copy .btn { margin-top: 30px; }

/* Light touch on the already-successful company and partner pages. */
.company-page .company-story,
.partners-page .partner-feature,
.partners-page .partner-community {
  scroll-margin-top: 100px;
}

.company-page .company-story img,
.partners-page .partner-feature img,
.partners-page .partner-community img {
  border-radius: 8px;
}

.expertise-page .container { width: min(var(--editorial-max), calc(100% - 64px)); }

.expertise-page .expertise-hero {
  min-height: clamp(760px, 90svh, 900px);
}

.expertise-page .expertise-hero h1 {
  max-width: 900px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(54px, 6vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.expertise-page .expertise-intro,
.expertise-page .expertise-process,
.expertise-page .expertise-uses,
.expertise-page .expertise-cta {
  padding-top: 118px;
  padding-bottom: 118px;
}

.expertise-page .expertise-intro-copy h2,
.expertise-page .expertise-process h2,
.expertise-page .expertise-uses-copy h2,
.expertise-page .expertise-cta h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.expertise-page .expertise-intro-visual img,
.expertise-page .expertise-uses-visual img,
.expertise-page .expertise-cta-inner {
  border-radius: 8px;
}

@media (max-width: 1080px) {
  .services-page .expertise-six-grid,
  .realisations-page .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-page .section-head,
  .services-page .cta-band .cta-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .realisation-page .realisation-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "gallery" "copy";
    gap: 58px;
  }

  .realisation-page .realisation-copy { position: static; }
}

@media (max-width: 760px) {
  :where(.company-page, .partners-page, .expertise-page, .services-page, .realisations-page, .realisation-page) .container,
  .expertise-page .container,
  .realisation-page .realisation-content .container {
    width: min(100% - 32px, var(--editorial-max));
  }

  :where(.company-page, .partners-page, .expertise-page, .services-page, .realisations-page, .realisation-page) .header-inner {
    min-height: 74px;
  }

  :where(.company-page, .partners-page, .expertise-page, .services-page, .realisations-page, .realisation-page) .header .logo img {
    height: 46px;
  }

  :where(.company-page, .partners-page, .expertise-page, .services-page, .realisations-page, .realisation-page) .header.scrolled .logo-image {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  :where(.company-page, .partners-page, .expertise-page, .services-page, .realisations-page, .realisation-page) .header.scrolled .burger span {
    background: #f4ac17 !important;
    box-shadow: 0 0 12px rgba(244, 172, 23, 0.28) !important;
  }

  .services-page .page-hero,
  .realisations-page .page-hero {
    min-height: 690px;
    padding: 140px 0 64px;
    background-position: 62% center;
  }

  .services-page .page-hero h1,
  .realisations-page .page-hero h1 {
    font-size: clamp(46px, 14vw, 64px);
  }

  .services-page .expertise-overview,
  .realisations-page .page-hero + .section,
  .realisation-page .realisation-content {
    padding: 78px 0 86px;
  }

  .services-page .expertise-six-grid,
  .realisations-page .work-grid,
  .realisation-page .realisation-gallery {
    grid-template-columns: 1fr;
  }

  .services-page .service-card { min-height: 490px; }

  .services-page .section-head { display: block; }
  .services-page .section-head .eyebrow { margin-bottom: 18px; }
  .services-page .section-head > p { margin-top: 24px; }

  .services-page .cta-band [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .realisation-page .realisation-detail-hero {
    min-height: 760px;
    padding: 150px 0 54px;
  }

  .realisation-page .realisation-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .realisation-page .realisation-fact { min-height: 106px; padding: 20px; }
  .realisation-page .realisation-gallery img:first-child { grid-column: auto; }

  .expertise-page .expertise-intro,
  .expertise-page .expertise-process,
  .expertise-page .expertise-uses,
  .expertise-page .expertise-cta {
    padding-top: 82px;
    padding-bottom: 82px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-page .service-card,
  .services-page .service-card::before,
  .realisations-page .work-card,
  .realisations-page .work-img img,
  .realisation-page .realisation-gallery img {
    transition: none;
  }
}

/* Shared opening scene for editorial pages. */
.editorial-hero {
  position: relative;
  isolation: isolate;
  height: 92svh;
  min-height: 820px;
  max-height: 980px;
  display: block;
  overflow: hidden;
  color: #fff;
  background: #071623;
}

.editorial-hero > .editorial-hero-media,
.partners-hero.editorial-hero > .partners-hero-media,
.company-hero.editorial-hero > .company-hero-media,
.expertise-hero.editorial-hero > .expertise-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  animation: editorialHeroReveal 1.35s cubic-bezier(.2, .75, .2, 1) both;
}

.editorial-hero--projects > .editorial-hero-media {
  object-position: center 58%;
}

.editorial-hero > .editorial-hero-overlay,
.partners-hero.editorial-hero > .partners-hero-overlay,
.company-hero.editorial-hero > .company-hero-shade,
.expertise-hero.editorial-hero > .expertise-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 19, 32, .96) 0%, rgba(4, 19, 32, .82) 42%, rgba(4, 19, 32, .25) 72%, rgba(4, 19, 32, .18) 100%),
    linear-gradient(180deg, rgba(5, 18, 30, .18) 0%, rgba(5, 18, 30, .05) 54%, rgba(5, 18, 30, .88) 100%);
}

.editorial-hero > .editorial-hero-inner,
.partners-hero.editorial-hero > .partners-hero-inner,
.company-hero.editorial-hero > .company-hero-inner,
.expertise-hero.editorial-hero > .expertise-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--editorial-max), calc(100% - 64px));
  max-width: none;
  min-height: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding-top: 148px;
  padding-bottom: 40px;
}

.company-hero.editorial-hero > .company-hero-inner,
.expertise-hero.editorial-hero > .expertise-hero-inner {
  padding-bottom: 160px;
}

.editorial-hero-copy,
.partners-hero.editorial-hero .partners-hero-copy,
.company-hero.editorial-hero .company-hero-copy,
.expertise-hero.editorial-hero .expertise-hero-copy {
  width: min(760px, 68%);
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-top: auto;
  margin-bottom: auto;
}

.expertise-hero.editorial-hero .expertise-breadcrumb {
  display: none;
}

.editorial-hero-kicker,
.partners-hero.editorial-hero .partners-kicker,
.company-hero.editorial-hero .company-kicker,
.expertise-hero.editorial-hero .expertise-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #ffc22c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.editorial-hero-kicker::before,
.partners-hero.editorial-hero .partners-kicker::before,
.company-hero.editorial-hero .company-kicker::before,
.expertise-hero.editorial-hero .expertise-kicker::before {
  content: "";
  width: 30px;
  height: 2px;
  flex: 0 0 auto;
  background: currentColor;
}

.editorial-hero h1,
.partners-hero.editorial-hero h1,
.company-hero.editorial-hero h1,
.expertise-page .expertise-hero.editorial-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(56px, 5.35vw, 76px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: 0;
}

.editorial-hero h1 em,
.partners-hero.editorial-hero h1 em,
.company-hero.editorial-hero h1 em,
.expertise-page .expertise-hero.editorial-hero h1 em {
  color: #ffc22c;
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
}

.editorial-hero-copy > p,
.partners-hero.editorial-hero .partners-hero-copy > p,
.company-hero.editorial-hero .company-hero-copy > p,
.expertise-hero.editorial-hero .expertise-hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 19px;
  line-height: 1.65;
}

.editorial-hero-actions,
.partners-hero.editorial-hero .partners-hero-actions,
.company-hero.editorial-hero .company-hero-actions,
.expertise-hero.editorial-hero .expertise-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.editorial-hero-proof,
.partners-hero.editorial-hero .partners-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.editorial-hero-proof > div,
.partners-hero.editorial-hero .partners-hero-proof > div {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 34px;
}

.editorial-hero-proof > div:first-child,
.partners-hero.editorial-hero .partners-hero-proof > div:first-child {
  padding-left: 0;
}

.editorial-hero-proof > div + div,
.partners-hero.editorial-hero .partners-hero-proof > div + div {
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.editorial-hero-proof strong,
.partners-hero.editorial-hero .partners-hero-proof strong {
  color: #ffc22c;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.editorial-hero-proof span,
.partners-hero.editorial-hero .partners-hero-proof span {
  max-width: 190px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.35;
}

.company-hero.editorial-hero .company-proof-shell,
.expertise-hero.editorial-hero .expertise-hero-facts {
  bottom: 40px;
  border-top: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.company-hero.editorial-hero .company-proofbar,
.expertise-hero.editorial-hero .expertise-facts-grid {
  border-top: 1px solid rgba(255, 255, 255, .22);
}

.company-hero.editorial-hero .company-proofbar {
  padding-top: 0;
  padding-bottom: 0;
}

.company-hero.editorial-hero .company-proof,
.expertise-hero.editorial-hero .expertise-fact {
  min-height: 92px;
  display: grid;
  align-content: center;
  padding-top: 18px;
  padding-bottom: 18px;
}

.company-hero.editorial-hero .company-proof strong,
.expertise-hero.editorial-hero .expertise-fact strong {
  color: #ffc22c;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.company-hero.editorial-hero .company-proof span,
.expertise-hero.editorial-hero .expertise-fact span {
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.35;
}

.company-hero.editorial-hero .company-proof span {
  margin-top: 8px;
}

@keyframes editorialHeroReveal {
  from { opacity: .72; transform: scale(1.06); }
  to { opacity: 1; transform: scale(1.015); }
}

@media (max-width: 980px) {
  .editorial-hero {
    height: auto;
    min-height: 790px;
    max-height: none;
  }

  .editorial-hero > .editorial-hero-inner,
  .partners-hero.editorial-hero > .partners-hero-inner,
  .company-hero.editorial-hero > .company-hero-inner,
  .expertise-hero.editorial-hero > .expertise-hero-inner {
    width: min(var(--editorial-max), calc(100% - 32px));
    padding-top: 132px;
  }

  .editorial-hero-copy,
  .partners-hero.editorial-hero .partners-hero-copy,
  .company-hero.editorial-hero .company-hero-copy,
  .expertise-hero.editorial-hero .expertise-hero-copy {
    width: min(720px, 86%);
  }

  .editorial-hero h1,
  .partners-hero.editorial-hero h1,
  .company-hero.editorial-hero h1,
  .expertise-page .expertise-hero.editorial-hero h1 {
    font-size: 54px;
  }
}

@media (max-width: 760px) {
  .editorial-hero {
    min-height: 820px;
  }

  .editorial-hero > .editorial-hero-overlay,
  .partners-hero.editorial-hero > .partners-hero-overlay,
  .company-hero.editorial-hero > .company-hero-shade,
  .expertise-hero.editorial-hero > .expertise-hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 19, 32, .96), rgba(4, 19, 32, .63)),
      linear-gradient(180deg, rgba(5, 18, 30, .2) 0%, rgba(5, 18, 30, .08) 48%, rgba(5, 18, 30, .92) 100%);
  }

  .editorial-hero > .editorial-hero-inner,
  .partners-hero.editorial-hero > .partners-hero-inner {
    padding-top: 116px;
    padding-bottom: 48px;
  }

  .company-hero.editorial-hero > .company-hero-inner {
    padding-top: 116px;
    padding-bottom: 255px;
  }

  .expertise-hero.editorial-hero > .expertise-hero-inner {
    padding-top: 116px;
    padding-bottom: 235px;
  }

  .editorial-hero-copy,
  .partners-hero.editorial-hero .partners-hero-copy,
  .company-hero.editorial-hero .company-hero-copy,
  .expertise-hero.editorial-hero .expertise-hero-copy {
    width: 100%;
    margin-top: 54px;
    margin-bottom: 54px;
  }

  .editorial-hero-kicker,
  .partners-hero.editorial-hero .partners-kicker,
  .company-hero.editorial-hero .company-kicker,
  .expertise-hero.editorial-hero .expertise-kicker {
    margin-bottom: 20px;
    font-size: 11px;
  }

  .editorial-hero h1,
  .partners-hero.editorial-hero h1,
  .company-hero.editorial-hero h1,
  .expertise-page .expertise-hero.editorial-hero h1 {
    font-size: 43px;
    line-height: 1.04;
  }

  .editorial-hero h1 br,
  .partners-hero.editorial-hero h1 br,
  .company-hero.editorial-hero h1 br {
    display: block;
  }

  .editorial-hero-copy > p,
  .partners-hero.editorial-hero .partners-hero-copy > p,
  .company-hero.editorial-hero .company-hero-copy > p,
  .expertise-hero.editorial-hero .expertise-hero-lead {
    margin-top: 22px;
    font-size: 16px;
  }

  .editorial-hero-actions,
  .partners-hero.editorial-hero .partners-hero-actions,
  .company-hero.editorial-hero .company-hero-actions,
  .expertise-hero.editorial-hero .expertise-hero-actions {
    display: grid;
    width: 100%;
    margin-top: 30px;
  }

  .editorial-hero-actions .btn,
  .partners-hero.editorial-hero .partners-hero-actions .btn,
  .company-hero.editorial-hero .company-hero-actions .btn,
  .expertise-hero.editorial-hero .expertise-hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .editorial-hero-proof,
  .partners-hero.editorial-hero .partners-hero-proof {
    grid-template-columns: 1fr;
  }

  .editorial-hero-proof > div,
  .partners-hero.editorial-hero .partners-hero-proof > div {
    min-height: 58px;
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 12px 0;
  }

  .editorial-hero-proof > div + div,
  .partners-hero.editorial-hero .partners-hero-proof > div + div {
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-left: 0;
  }

  .editorial-hero-proof strong,
  .partners-hero.editorial-hero .partners-hero-proof strong {
    font-size: 28px;
  }

  .company-hero.editorial-hero .company-proof-shell,
  .expertise-hero.editorial-hero .expertise-hero-facts {
    bottom: 28px;
  }

  .company-hero.editorial-hero .company-proof,
  .expertise-hero.editorial-hero .expertise-fact {
    min-height: 58px;
  }

  .company-hero.editorial-hero .company-proof strong,
  .expertise-hero.editorial-hero .expertise-fact strong {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-hero > .editorial-hero-media,
  .partners-hero.editorial-hero > .partners-hero-media,
  .company-hero.editorial-hero > .company-hero-media,
  .expertise-hero.editorial-hero > .expertise-hero-media {
    animation: none;
  }
}
