/* Homepage composition, following design.md. All rules stay inside this page. */
.hered-home {
  --home-space: 80px;
  --home-radius: 6px;
  color: var(--hered-ink);
}
.hered-home [hidden] { display: none !important; }
.hered-home .hered-section { padding-block: var(--home-space); }
.hered-home .hered-eyebrow { margin-bottom: 14px; }
.hered-home .hered-button { gap: 20px; }
.hered-home .hered-button span { font-size: 1.15rem; line-height: 1; }
.hered-home h2 { max-width: 750px; }

/* The existing product photograph and the page's original title form one hero. */
.hered-home-hero { position: relative; overflow: hidden; background: #edf0f2; }
.hered-home-hero__media { position: absolute; inset: 0; }
.hered-home-hero__media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center bottom; }
.hered-home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f1f4f6 0%, #f1f4f6f5 25%, #f1f4f6d9 37%, #f1f4f600 64%);
}
.hered-home-hero__inner { position: relative; z-index: 1; min-height: 590px; display: flex; align-items: center; padding-block: 76px 112px; }
.hered-home-hero__copy { max-width: 460px; }
.hered-home .hered-home-hero h1 { margin: 0 0 24px; }
.hered-home-hero h1 span { display: block; color: var(--hered-blue); }
.hered-home-hero__lead { max-width: 340px; margin: 0; color: #425263; font-size: 1.35rem; line-height: 1.5; }
.hered-home-hero .hered-actions { margin-top: 32px; }
.hered-home-hero .hered-button--outline { background: #ffffffb8; }
.hered-home-hero .hered-button--outline:hover { background: var(--hered-navy); }

.hered-home-proof { position: relative; z-index: 2; margin-top: -40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 28px 10px; background: #fff; border: 1px solid var(--hered-line); border-radius: var(--home-radius); box-shadow: 0 12px 32px #0926500a; }
.hered-home-proof .hered-stat { padding: 2px 18px; }
.hered-home-proof .hered-stat strong { font-size: clamp(2.1rem, 3.5vw, 2.9rem); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; }
.hered-home-proof .hered-stat span { margin-top: 8px; font-size: .85rem; line-height: 1.5; }

.hered-home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.hered-home .hered-home-section-heading h2 { margin-bottom: 0; }
.hered-home-section-heading > .hered-text-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 10px; flex-shrink: 0; }
.hered-home-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border-bottom: 1px solid var(--hered-line); }
.hered-home-filters button { min-height: 46px; padding: 10px 13px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: var(--hered-muted); font-size: .875rem; font-weight: 500; line-height: 1.45; transition: color .18s, border-color .18s; }
.hered-home-filters button:hover { color: var(--hered-blue); }
.hered-home-filters button[aria-pressed=true] { color: var(--hered-blue); border-bottom-color: var(--hered-blue); }
.hered-home-filter-status { color: var(--hered-muted); font-size: .75rem; margin: 0 0 20px; line-height: 1.5; }
.hered-home-families { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hered-home-family { text-align: left; overflow: hidden; border: 1px solid var(--hered-line); border-radius: var(--home-radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.hered-home-family > a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.hered-home-family__media { overflow: hidden; aspect-ratio: 4/3; background: #f7f9fb; }
.hered-home-family__media img { width: 100%; height: 100%; display: block; object-fit: contain; transition: transform .3s ease; }
.hered-home-family__copy { padding: 22px 20px 19px; display: flex; flex: 1; flex-direction: column; border-top: 1px solid var(--hered-line); }
.hered-home .hered-home-family h3 { margin: 0 0 17px; }
.hered-home-family__link { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--hered-blue); font-size: .75rem; font-weight: 500; margin-top: auto; }
.hered-home-family__link > span { font-size: 1.1rem; }
.hered-home-family:hover { border-color: #a7bcd5; box-shadow: 0 10px 24px #0926500a; }
.hered-home-family:hover img { transform: scale(1.035); }
.hered-home-family > a:focus-visible { outline-offset: -4px; }
.hered-home-range-link { margin-top: 30px; text-align: center; }
.hered-home-range-link a { display: inline-flex; align-items: center; gap: 18px; padding: 8px 0; }

.hered-home-company { background: var(--hered-soft); }
.hered-home-company__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); gap: 72px; align-items: center; }
.hered-home-company__copy h2 { max-width: 330px; }
.hered-home-benefits { list-style: none; margin: 28px 0 30px; padding: 0; }
.hered-home-benefits li { display: flex; align-items: center; gap: 13px; font-size: .96rem; padding-block: 10px; }
.hered-home-benefits li::before { content: "✓"; display: inline-grid; place-items: center; width: 23px; height: 23px; border: 1px solid #c8d7eb; border-radius: 50%; color: var(--hered-blue); font-size: .78rem; flex-shrink: 0; }
.hered-home-video { position: relative; width: 100%; overflow: hidden; aspect-ratio: 16/9; background: var(--hered-ink); border-radius: var(--home-radius); box-shadow: 0 14px 35px #09265012; }
.hered-home-video__play { position: relative; display: block; width: 100%; height: 100%; color: #fff; }
.hered-home-video__play > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hered-home-video__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #092650b8, #0926500a 65%); }
.hered-home-video__control { position: absolute; left: 50%; top: 50%; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; transform: translate(-50%, -50%); border-radius: 50%; background: #ffffffef; color: var(--hered-blue); transition: background .2s; }
.hered-home-video__caption { position: absolute; z-index: 1; bottom: 25px; left: 28px; right: 28px; display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; font-weight: 500; color: #fff; }
.hered-home-video__play:hover .hered-home-video__control { background: #fff; }
.hered-home-video__play:focus-visible { outline-offset: -5px; }
.hered-home-video > iframe { display: block; width: 100%; height: 100%; border: 0; }

.hered-home .hered-home-custom { padding-block: 0; background: var(--hered-soft); }
.hered-home-custom__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--home-radius); overflow: hidden; background: var(--hered-blue); }
.hered-home-custom__copy { padding: 58px 56px; color: #fff; align-self: center; }
.hered-home .hered-home-custom h2 { color: #fff; margin-bottom: 24px; }
.hered-home .hered-home-custom .hered-eyebrow { color: #d9e8ff; }
.hered-home-custom__copy > p:not(.hered-eyebrow) { color: #f0f5ff; font-size: 1rem; line-height: 1.8; margin-bottom: 30px; }
.hered-home-custom .hered-button { background: #fff; border-color: #fff; color: var(--hered-blue); }
.hered-home-custom .hered-button:hover { background: #e9f1ff; border-color: #e9f1ff; }
.hered-home-custom__media { min-width: 0; min-height: 380px; }
.hered-home-custom__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hered-home-industry { background: var(--hered-soft); }
.hered-home-industry .hered-home-section-heading { margin-bottom: 34px; }
.hered-home-article { border-color: var(--hered-line); border-radius: var(--home-radius); }
.hered-home-article > a { aspect-ratio: 16/10; }
.hered-home-article .hered-editorial-copy { padding: 27px 26px 25px; }
.hered-home .hered-home-article h3 { font-size: 1.2rem; line-height: 1.4; margin-bottom: 16px; font-weight: 500; }
.hered-home-article .hered-editorial-copy p { font-size: .9rem; line-height: 1.8; margin-bottom: 24px; }
.hered-home-article__link { display: inline-flex; align-items: center; margin-top: auto; padding-block: 5px; font-size: .78rem; font-weight: 500; text-decoration: none; }

.hered-home .hered-home-partners { padding-block: 56px 72px; }
.hered-home-partner-heading { display: flex; align-items: center; gap: 30px; margin-bottom: 28px; }
.hered-home .hered-home-partner-heading h2 { font-size: 1.5rem; margin: 0; }
.hered-home-partner-heading > span { height: 1px; background: var(--hered-line); flex: 1; }
.hered-home-partners .hered-partner-grid { gap: 0; border-top: 1px solid var(--hered-line); border-left: 1px solid var(--hered-line); }
.hered-home-partners .hered-partner-logo { aspect-ratio: 2/1; padding: 24px; border: 0; border-bottom: 1px solid var(--hered-line); border-right: 1px solid var(--hered-line); border-radius: 0; }
.hered-home-partners .hered-partner-logo img { width: 100%; height: 100%; max-height: 52px; object-fit: contain; }

.hered-home .hered-home-faq { padding-top: 8px; }
.hered-home-faq__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.4fr); gap: 72px; align-items: start; }
.hered-home-faq__intro { position: sticky; top: 130px; }
.hered-home-faq__intro h2 { margin-bottom: 26px; }
.hered-home-faq .hered-faq summary { font-size: .94rem; line-height: 1.65; padding-block: 21px; font-weight: 500; }
.hered-home-faq .hered-faq details > div { padding-bottom: 15px; font-size: .9rem; line-height: 1.8; }
.hered-home-contact { background: var(--hered-blue); color: #fff; padding-block: 56px; }
.hered-home-contact__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.hered-home .hered-home-contact h2 { color: #fff; margin: 0 0 12px; }
.hered-home-contact p { margin: 0; color: #e0ecff; }
.hered-home-contact .hered-actions { flex-shrink: 0; gap: 25px; }
.hered-home-contact .hered-button { background: #fff; border-color: #fff; color: var(--hered-blue); }
.hered-home-contact .hered-button:hover { background: #e9f1ff; border-color: #e9f1ff; }
.hered-home-contact__email { display: inline-block; padding-block: 12px; font-size: .9rem; color: #fff; text-decoration: none; }
.hered-home-contact__email:hover { color: #fff; text-decoration: underline; }
body.home.hered-native-site > .hered-footer { margin-top: 0; }

@media (max-width: 1100px) {
  .hered-home { --home-space: 64px; }
  .hered-home-hero__inner { min-height: 550px; }
  .hered-home-hero__copy { max-width: 410px; }
  .hered-home-hero__media::after { background: linear-gradient(90deg, #f1f4f6 0%, #f1f4f6ed 31%, #f1f4f6b8 45%, #f1f4f600 75%); }
  .hered-home-section-heading { flex-wrap: wrap; gap: 24px; }
  .hered-home-families { gap: 18px; }
  .hered-home-family__copy { padding: 18px 15px; }
  .hered-home-company__grid, .hered-home-faq__grid { gap: 42px; }
  .hered-home-custom__copy { padding: 40px 34px; }
  .hered-home-custom__media { min-height: 360px; }
  .hered-home-contact__inner { gap: 30px; }
  .hered-home-contact .hered-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 900px) {
  .hered-home-hero__inner { min-height: 500px; padding-block: 65px 94px; }
  .hered-home-families { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .hered-home-company__grid { grid-template-columns: 1fr 1.2fr; gap: 30px; }
  .hered-home .hered-home-company h2 { font-size: 1.9rem; }
  .hered-home-benefits { margin-block: 20px; }
  .hered-home-video__caption { bottom: 18px; left: 20px; right: 20px; font-size: .8rem; }
  .hered-home-video__control { width: 55px; height: 55px; }
  .hered-home-faq__grid { grid-template-columns: minmax(0, .65fr) minmax(0, 1.3fr); gap: 35px; }
}

@media (max-width: 767px) {
  .hered-home { --home-space: 52px; }
  .hered-home-hero__media { position: relative; }
  .hered-home-hero__media img { height: auto; min-height: 210px; object-fit: cover; object-position: center; }
  .hered-home-hero__media::after { display: none; }
  .hered-home-hero { display: flex; flex-direction: column; background: #f1f4f6; }
  .hered-home-hero__inner { order: -1; min-height: 0; padding-block: 42px 36px; }
  .hered-home-hero__copy { max-width: none; width: 100%; }
  .hered-home-hero h1 span { display: inline; }
  .hered-home .hered-home-hero h1 { margin-bottom: 17px; }
  .hered-home-hero__lead { max-width: none; font-size: 1.12rem; }
  .hered-home-hero .hered-actions { margin-top: 25px; }
  .hered-home-hero .hered-button { font-size: .88rem; gap: 13px; padding-inline: 18px; }
  .hered-home-proof { margin-top: 0; width: 100%; padding: 27px 16px; border: 0; border-bottom: 1px solid var(--hered-line); box-shadow: none; border-radius: 0; }
  .hered-home-proof .hered-stat { padding-inline: 10px; }
  .hered-home-proof .hered-stat strong { font-size: 1.9rem; }
  .hered-home-proof .hered-stat span { font-size: .7rem; }
  .hered-home-company__grid, .hered-home-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hered-home-company__copy h2 { max-width: none; }
  .hered-home-benefits { display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .hered-home-benefits li { font-size: .85rem; padding-block: 5px; gap: 9px; }
  .hered-home-custom__grid { grid-template-columns: minmax(0, 1fr); }
  .hered-home-custom__copy { padding: 36px 30px; }
  .hered-home-custom__media { min-height: 0; aspect-ratio: 7/4; }
  .hered-home-custom__media img { height: 100%; }
  .hered-home-partners .hered-partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hered-home .hered-home-partners { padding-block: 44px 52px; }
  .hered-home-faq__intro { position: static; }
  .hered-home-faq__intro h2 { max-width: 600px; margin-bottom: 18px; }
  .hered-home-contact { padding-block: 42px; }
  .hered-home-contact__inner { display: block; }
  .hered-home-contact .hered-actions { margin-top: 27px; flex-direction: row; align-items: center; gap: 25px; }
}

@media (max-width: 540px) {
  .hered-home { --home-space: 44px; }
  .hered-home-hero__inner { padding-top: 34px; }
  .hered-home .hered-home-hero .hered-eyebrow { margin-bottom: 12px; }
  .hered-home-hero__media img { min-height: 0; aspect-ratio: 1920/921; }
  .hered-home-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 12px; }
  .hered-home-proof .hered-stat { padding-block: 16px; }
  .hered-home-proof .hered-stat:nth-child(2) { border-right: 0; }
  .hered-home-proof .hered-stat:nth-child(-n+2) { border-bottom: 1px solid var(--hered-line); }
  .hered-home-proof .hered-stat strong { font-size: 2rem; }
  .hered-home-proof .hered-stat span { font-size: .78rem; }
  .hered-home-section-heading { gap: 22px; margin-bottom: 18px; }
  .hered-home-filters { width: 100%; gap: 0; justify-content: space-between; }
  .hered-home-filters button { padding-inline: 8px; font-size: .875rem; }
  .hered-home-filter-status { margin-bottom: 16px; }
  .hered-home-families { gap: 15px 12px; }
  .hered-home-family__copy { padding: 16px 12px; }
  .hered-home .hered-home-family h3 { font-size: 1rem; margin-bottom: 16px; line-height: 1.4; }
  .hered-home-family__link { font-size: .65rem; line-height: 1.4; gap: 5px; }
  .hered-home-range-link { margin-top: 23px; }
  .hered-home-benefits { display: block; }
  .hered-home-benefits li { padding-block: 8px; font-size: 1rem; }
  .hered-home-company__grid { gap: 28px; }
  .hered-home-video__caption { font-size: .75rem; left: 18px; right: 18px; }
  .hered-home-custom__copy { padding: 32px 24px; }
  .hered-home .hered-home-custom h2 { font-size: 1.75rem; }
  .hered-home-custom__copy > p:not(.hered-eyebrow) { font-size: .93rem; }
  .hered-home .hered-home-article h3 { font-size: 1.15rem; }
  .hered-home-article .hered-editorial-copy { padding: 25px 23px; }
  .hered-home-partners .hered-partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hered-home-partners .hered-partner-logo { padding: 20px; }
  .hered-home-faq__grid { gap: 27px; }
  .hered-home-faq .hered-faq summary { font-size: .9375rem; padding-block: 19px; }
  .hered-home-faq .hered-faq details > div { font-size: .9375rem; }
  .hered-home .hered-home-contact h2 { font-size: 1.9rem; }
  .hered-home-contact p { font-size: .9rem; }
  .hered-home-contact .hered-actions { gap: 20px; }
}

@media (max-width: 360px) {
  .hered-home-hero .hered-actions { gap: 10px; }
  .hered-home-hero .hered-button { padding-inline: 13px; font-size: .8rem; }
  .hered-home-filters button { font-size: .8rem; padding-inline: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .hered-home-family, .hered-home-family img, .hered-home-filters button, .hered-home-video__control { transition: none; }
  .hered-home-family:hover img { transform: none; }
}
