/* The 2026 homepage. Keep these rules isolated from the legacy templates. */
.home-2026 {
  --home-bg: #1d2028;
  --home-orange: #f47721;
  --home-max: 1200px;
  --home-gap: 20px;
  background: var(--home-bg);
  color: #fff;
  overflow: clip;
}
.home-2026 *, .home-2026 *::before, .home-2026 *::after { box-sizing: border-box; }
.home-2026 .container { width: min(var(--home-max), calc(100% - 150px)); max-width: none; margin-inline: auto; padding: 0; }
.home-2026 h1, .home-2026 h2, .home-2026 h3, .home-2026 p { margin-top: 0; }
.home-2026 h1, .home-2026 h2, .home-2026 h3 { color: inherit; font-family: 'Montserrat', sans-serif; }
.home-2026 img { display: block; max-width: 100%; }
.home-2026 a { text-decoration: none; }
.home-2026 a:focus-visible, .home-2026 button:focus-visible, .home-2026 [tabindex]:focus-visible { outline: 3px solid var(--home-orange); outline-offset: 4px; }
.home-2026 .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Centered headings and orange dividers. */
.home-2026 .section { position: relative; padding-block: clamp(90px, 10vw, 160px); }
.home-2026 .section__header { text-align: center; margin: 0 auto 34px; }
.home-2026 .section__header h2, .home-2026 .home-logos h2 {
  position: relative;
  margin: 0 0 25px;
  padding-bottom: 28px;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.home-2026 .section__header h2::after, .home-2026 .home-logos h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(100%, 930px);
  transform: translateX(-50%);
  height: 4px;
  background: var(--home-orange);
}
.home-2026 .section__header p { max-width: 790px; margin: 0 auto; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.5; }
.home-2026 .button { display: inline-flex; justify-content: center; align-items: center; min-height: 56px; margin: 0; padding: 16px 35px; border: 0; border-radius: 0; font-size: 15px; font-weight: 700; line-height: 1.3; text-transform: none; transition: background .2s; }
.home-2026 .button--primary { background: var(--home-orange); color: #fff; }
.home-2026 .button--primary:hover, .home-2026 .button--primary:focus-visible { background: #fff; color: var(--home-orange); }
.home-2026 .section__button { margin-top: 28px; min-width: 240px; }

/* Hero: centered brand panel over the field photograph. */
.home-2026 .home-hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(650px, 64vw, 850px); padding-block: 100px; }
.home-2026 .home-hero__background, .home-2026 .home-about__background, .home-2026 .home-posts__background { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.home-2026 .home-hero__background-image, .home-2026 .home-about__background-image, .home-2026 .home-posts__background-image { width: 100%; height: 100%; object-fit: cover; }
.home-2026 .home-hero::before, .home-2026 .home-about::before, .home-2026 .home-posts::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(6, 12, 15, .57); }
.home-2026 .home-hero__inner { width: min(810px, calc(100% - 64px)); padding: 46px 40px 56px; background: var(--home-bg); }
.home-2026 .home-hero__masthead { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.home-2026 .home-hero__brand { min-width: 0; display: flex; flex-direction: column; }
.home-2026 .home-hero__logo { margin-bottom: 16px; }
.home-2026 .home-hero__logo-image { width: 100%; height: auto; max-height: 200px; object-fit: contain; object-position: left center; }
.home-2026 .home-hero__contact { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-top: auto; }
.home-2026 .home-hero__contact a { color: #fff; font-size: 18px; }
.home-2026 .home-hero__contact a:hover { color: var(--home-orange); }
.home-2026 .home-hero__statement { display: flex; flex-direction: column; justify-content: space-between; color: var(--home-orange); font-family: Impact, 'Arial Narrow', sans-serif; font-size: clamp(45px, 4.7vw, 72px); font-weight: 900; line-height: .98; text-transform: uppercase; overflow-wrap: normal; }
.home-2026 .home-hero__bottom { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 25px; align-items: start; margin-top: 50px; }
.home-2026 .home-hero__title { margin: 0 0 18px; font-size: clamp(25px, 2.5vw, 32px); line-height: 1.15; font-weight: 700; text-transform: uppercase; }
.home-2026 .home-hero__content { margin: 0; font-size: 16px; line-height: 1.45; }
.home-2026 .home-hero__actions { display: grid; gap: 16px; }
.home-2026 .home-hero__actions .button { width: 100%; min-height: 62px; padding: 16px 10px; }

/* Warm photographic cards with inset charcoal labels. */
.home-2026 .home-card-grid { display: grid; gap: var(--home-gap); }
.home-2026 .home-tile { min-width: 0; position: relative; overflow: hidden; background: #b78b6b; }
.home-2026 .home-tile__link { display: block; position: relative; width: 100%; height: 100%; color: #fff; }
.home-2026 .home-tile__image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.home-2026 .home-tile::after, .home-2026 .home-post__image::after { content: ''; position: absolute; inset: 0; background: rgba(231, 137, 65, .28); pointer-events: none; }
.home-2026 .home-tile:hover .home-tile__image, .home-2026 .home-post:hover .home-post__image img { transform: scale(1.035); }
.home-2026 .home-tile__title, .home-2026 .home-tile__product-link { position: absolute; z-index: 1; inset: auto 16px 16px; margin: 0; padding: 12px 8px; background: var(--home-bg); color: #fff; text-align: center; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.3; }
.home-2026 .home-tile__title { transition: background-color .2s ease, color .2s ease; }
.home-2026 .home-tile:hover .home-tile__title,
.home-2026 .home-tile:focus-within .home-tile__title { background: var(--home-orange); color: #fff; }
.home-2026 .home-card-grid--categories { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 205px); grid-auto-flow: column; }
.home-2026 .home-tile--category:first-child { grid-row: span 2; }
.home-2026 .home-categories { padding-bottom: 70px; }
.home-2026 .home-services { padding-top: 110px; padding-bottom: 80px; }
.home-2026 .home-picks { padding-top: 110px; padding-bottom: 125px; }

/* Each snap point is a complete slide; indicators count those slides. */
.home-2026 .home-slider { --slides-visible: 2; }
.home-2026 .home-picks .home-slider { --slides-visible: 3; }
.home-2026 .home-slider__track { display: flex; gap: var(--home-gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--home-orange) transparent; }
.home-2026 .home-slider.is-enhanced .home-slider__track { scrollbar-width: none; }
.home-2026 .home-slider.is-enhanced .home-slider__track::-webkit-scrollbar { display: none; }
.home-2026 .home-slider__track > .home-tile { flex: 0 0 calc((100% - (var(--slides-visible) - 1) * var(--home-gap)) / var(--slides-visible)); scroll-snap-align: start; }
.home-2026 .home-slider__slide { display: grid; grid-template-columns: repeat(var(--slides-visible), minmax(0, 1fr)); gap: var(--home-gap); flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.home-2026 .home-tile--service { aspect-ratio: 1.65; }
.home-2026 .home-tile--product { aspect-ratio: 1.12; }
.home-2026 .home-tile__media { height: 100%; overflow: hidden; }
.home-2026 .home-tile__product-link { position: static; }
.home-2026 .home-tile--product .home-tile__product-link { position: absolute; inset: auto 16px 16px; }
.home-2026 .home-tile:focus-within { outline: 3px solid var(--home-orange); outline-offset: -3px; }
.home-2026 .home-tile__product-link:hover { background: #343943; }
.home-2026 .home-slider__controls { display: flex; align-items: center; margin-top: 10px; }
.home-2026 .home-slider__controls[hidden] { display: none; }
.home-2026 .home-slider__pagination { display: flex; flex: 1; align-items: center; gap: var(--home-gap); }
.home-2026 .home-slider__position { position: relative; flex: 1; min-width: 0; height: 32px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.home-2026 .home-slider__position::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 5px; background: #f2c2a0; transition: background .2s; }
.home-2026 .home-slider__position[aria-current='true']::before, .home-2026 .home-slider__position:hover::before { background: var(--home-orange); }


/* About title spans the copy and the photograph. */
.home-2026 .home-about { isolation: isolate; padding-block: 100px; }
.home-2026 .home-about__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 50px; align-items: stretch; }
.home-2026 .home-about__copy { display: flex; flex-direction: column; align-items: flex-start; padding: 35px; background: var(--home-bg); }
.home-2026 .home-about__content { font-size: 16px; line-height: 1.5; }
.home-2026 .home-about__content p { margin-bottom: 20px; }
.home-2026 .home-about__copy .button { margin-top: auto; }
.home-2026 .home-about__media { min-height: 420px; }
.home-2026 .home-about__image { width: 100%; height: 100%; object-fit: cover; }

/* A clean white certification band. */
.home-2026 .home-logos { background: #fff; color: var(--home-bg); text-align: center; padding-block: 100px; }
.home-2026 .home-logos h2 { margin-bottom: 70px; }
.home-2026 .home-logos__group { --logo-gap: 40px; --logos-visible: 5; display: flex; justify-content: space-between; align-items: center; gap: var(--logo-gap); flex-wrap: wrap; }
.home-2026 .home-logos__item { flex: 1 1 150px; display: grid; place-items: center; }
.home-2026 .home-logos__item > a { display: block; max-width: 100%; }
.home-2026 .home-logos__item > a:focus-visible { outline-offset: -3px; }
.home-2026 .home-logos__image { width: 100%; max-width: 190px; height: auto; max-height: 170px; object-fit: contain; }

@media (prefers-reduced-motion: no-preference) {
  .home-2026 .home-logos.is-enhanced .home-logos__grid { overflow: hidden; }
  .home-2026 .home-logos.is-enhanced .home-logos__grid:focus-within { scroll-snap-type: x mandatory; }
  .home-2026 .home-logos.is-enhanced .home-logos__group { flex-wrap: nowrap; justify-content: flex-start; }
  .home-2026 .home-logos.is-enhanced .home-logos__item {
    flex: 0 0 calc((100% + var(--logo-gap)) / min(var(--logos-visible), var(--logo-count)) - var(--logo-gap));
    min-width: 0;
    padding-inline: 1px;
    scroll-snap-align: start;
  }
  .home-2026 .home-logos__item.is-entering { visibility: hidden; }
}

/* Tall resource images, orange read-more bars, then short descriptions. */
.home-2026 .home-posts { isolation: isolate; background: #171917; padding-block: 90px 110px; }
.home-2026 .home-posts::before { background: rgba(10, 11, 10, .79); }
.home-2026 .home-posts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--home-gap); }
.home-2026 .home-post { min-width: 0; }
.home-2026 .home-post__link { position: relative; display: block; color: #fff; }
.home-2026 .home-post__image { position: relative; aspect-ratio: .86; overflow: hidden; background: #34363d; }
.home-2026 .home-post__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.home-2026 .home-post__read-more { position: relative; display: block; margin: 0 16px 24px; padding: 14px; background: var(--home-orange); text-align: center; font-weight: 700; }
.home-2026 .home-post__image + .home-post__read-more { margin-top: -65px; }
.home-2026 .home-post__title { margin: 0 16px 12px; font-size: 17px; line-height: 1.4; }
.home-2026 .home-post__excerpt { margin: 0 16px; font-size: 14px; line-height: 1.5; }
.home-2026 .home-post__link:hover .home-post__read-more,
.home-2026 .home-post__link:focus-visible .home-post__read-more { background: #fff; color: var(--home-orange); }

/* Footer adjustments for this page template. */
.page-template-template-home-2026 .site__footer::before { display: none; }
.page-template-template-home-2026 .footer__inner, .page-template-template-home-2026 .footer__bottom { background: #1d2028; }
.page-template-template-home-2026 .footer__cta-phone { color: #f47721; }
@media (max-width: 1199px) {
  .home-2026 .home-logos__group { --logos-visible: 4; }
}
@media (max-width: 1010px) {
  .home-2026 .container { width: calc(100% - 64px); }
  .home-2026 .home-logos__group { --logos-visible: 3; }
  .home-2026 .home-card-grid--categories { grid-template-rows: repeat(2, 175px); }
  .home-2026 .home-about__inner { gap: 25px; grid-template-columns: 1fr 1fr; }
  .home-2026 .home-about__copy { padding: 25px; }
  .home-2026 .home-about__media { min-height: 360px; }
}
@media (max-width: 767px) {
  .home-2026 { --home-gap: 16px; }
  .home-2026 .container { width: calc(100% - 40px); }
  .home-2026 .section { padding-block: 65px; }
  .home-2026 .section__header h2, .home-2026 .home-logos h2 { font-size: 27px; padding-bottom: 22px; }
  .home-2026 .home-hero { padding-block: 55px; min-height: 600px; }
  .home-2026 .home-hero__inner { padding: 30px 25px; width: calc(100% - 40px); }
  .home-2026 .home-hero__masthead { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; }
  .home-2026 .home-hero__statement { font-size: clamp(34px, 7vw, 53px); }
  .home-2026 .home-hero__contact a { font-size: 13px; }
  .home-2026 .home-hero__bottom { margin-top: 32px; grid-template-columns: 1fr; }
  .home-2026 .home-hero__actions { grid-template-columns: 1fr 1fr; gap: 12px; }
  .home-2026 .home-hero__actions .button { font-size: 13px; min-height: 55px; }
  .home-2026 .home-card-grid--categories { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; grid-auto-flow: row; }
  .home-2026 .home-tile--category { height: 190px; }
  .home-2026 .home-tile--category:first-child { grid-row: auto; grid-column: span 2; height: 270px; }
  .home-2026 .home-slider, .home-2026 .home-picks .home-slider { --slides-visible: 1; }
  .home-2026 .home-tile__title, .home-2026 .home-tile--product .home-tile__product-link { inset: auto 10px 10px; font-size: 14px; }
  .home-2026 .home-about__inner { grid-template-columns: 1fr; gap: 24px; }
  .home-2026 .home-about__media { min-height: 0; aspect-ratio: 1.4; }
  .home-2026 .home-about__copy .button { margin-top: 10px; }
  .home-2026 .home-logos__group { --logo-gap: 35px; }
  .home-2026 .home-logos__item { flex: 1 1 calc(50% - 35px); }
  .home-2026 .home-logos__image { max-height: 110px; }
  .home-2026 .home-posts__grid { grid-template-columns: 1fr; gap: 40px; }
  .home-2026 .home-post__image { aspect-ratio: 1.2; }
}
@media (max-width: 600px) {
  .home-2026 .home-logos__group { --logos-visible: 2; }
}
@media (max-width: 420px) {
  .home-2026 .home-hero__inner { padding-inline: 20px; }
  .home-2026 .home-hero__statement { font-size: 32px; }
  .home-2026 .home-hero__contact { gap: 5px; }
  .home-2026 .home-hero__contact a { font-size: 11px; }
  .home-2026 .home-hero__title { font-size: 24px; }
  .home-2026 .home-hero__content { font-size: 14px; }
  .home-2026 .home-tile--category { height: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-2026 *, .home-2026 *::before, .home-2026 *::after { transition: none !important; scroll-behavior: auto !important; }
}
