/* ==================== */
/* Colours
/* ==================== */

/**
 * Edit, delete or add as needed
 */
:root {
  --brand-main: #0A4F3B;
  --brand-main-hover: #0b5a44;
  --brand-sec: #A82946;
  --brand-sec-hover: #b82d4d;
  --off-grey: #d2d2d2;
  --off-white: #efefef;
}


/* ================================================== */
/* BRANDED CONTENT TEMPLATES                          */
/* ================================================== */

.contact-page {
  --contact-green: #0a4f3b;
  --contact-red: #a82946;
  background: #fff;
}


/* ================================================== */
/* SINGLE CASE STUDY                                  */
/* ================================================== */

.case-study-single {
  --case-green: #075b46;
  --case-red: #b12648;
  overflow: hidden;
  background: #fff;
  color: #151515;
}

body.single-case_study .main-header,
body.single-case-study .main-header {
  background: transparent;
}

body.single-case_study .main-header .home-link__logo,
body.single-case-study .main-header .home-link__logo {
  filter: brightness(0) invert(1);
}

body.single-case_study .main-header__burger-icon span,
body.single-case-study .main-header__burger-icon span {
  background: #fff;
}

.case-study-single h1,
.case-study-single h2,
.case-study-single h3 {
  font-family: 'Poppins', sans-serif;
}

/* Project hero */
.case-study-hero {
  position: relative;
  display: flex;
  min-height: 525px;
  align-items: flex-end;
  overflow: hidden;
  background: var(--case-green);
  color: #fff;
}

.case-study-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 88px;
}

.case-study-hero__back {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 55px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.case-study-hero__back:hover {
  color: #fff;
  text-decoration: underline;
}

.case-study-hero__eyebrow,
.case-study-kicker {
  margin: 0 0 10px;
  color: var(--case-red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.case-study-hero__eyebrow {
  color: #fff;
}

.case-study-hero h1 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 6vw, 52px);
  line-height: 1.03;
}

.case-study-hero__intro {
  max-width: 740px;
  margin: 22px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
}

.case-study-hero__stripe {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 18px;
  background: repeating-linear-gradient(90deg, #a82946 0 16.66%, #be2d4e 16.66% 33.33%, #c63354 33.33% 50%);
}

/* Facts and overview */
.case-study-overview {
  padding: 0 0 100px;
}

.case-study-facts {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: -1px;
  background: var(--case-green);
  box-shadow: 0 0 0 100vmax var(--case-green);
  clip-path: inset(0 -100vmax);
  color: #fff;
}

.case-study-facts__item {
  min-height: 120px;
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, .22);
}

.case-study-facts__item:last-child {
  border-right: 0;
}

.case-study-facts__item span,
.case-study-facts__item strong {
  display: block;
}

.case-study-facts__item span {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.case-study-facts__item strong {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  line-height: 1.3;
}

.case-study-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(55px, 8vw, 110px);
  align-items: center;
  padding-top: 95px;
}

.case-study-copy h2,
.case-study-story h2,
.case-study-results h2,
.case-study-gallery h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1.12;
}

.case-study-copy__body,
.case-study-story__panel > div,
.case-study-results__copy {
  font-size: 16px;
  line-height: 1.65;
}

.case-study-copy__body p:last-child,
.case-study-story__panel > div p:last-child,
.case-study-results__copy p:last-child {
  margin-bottom: 0;
}

.case-study-overview__media {
  min-height: 470px;
  margin: 0;
  background: #d9d9d9;
}

.case-study-overview__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

/* Challenge and solution */
.case-study-story {
  background: linear-gradient(to right, #f1f1f1 0%, #f1f1f1 50%, #075b46 50%, #075b46 100%);
}

@media (max-width: 900px) {
  .case-study-story {
    background: #f1f1f1;
  }
  .case-study-story .container {
    width: 100%;
  }
}

.case-study-story__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-study-story__panel {
  position: relative;
  min-height: 470px;
  padding: clamp(48px, 6vw, 85px);
}

.case-study-story__panel--green {
  background: var(--case-green);
  color: #fff;
}

.case-study-story__panel--green h2,
.case-study-story__panel--green .case-study-kicker {
  color: #fff;
}

.case-study-story__number {
  position: absolute;
  top: 32px;
  right: 36px;
  color: rgba(7, 91, 70, .18);
  font-family: 'Poppins', sans-serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}

.case-study-story__panel--green .case-study-story__number {
  color: rgba(255, 255, 255, .15);
}

/* Outcomes */
.case-study-results {
  padding: 100px 0;
  background: var(--case-red);
  color: #fff;
}

.case-study-results .case-study-kicker,
.case-study-results h2,
.case-study-results__copy {
  color: #fff;
}

.case-study-results__intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  align-items: start;
}

.case-study-results__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 60px;
  background: rgba(255, 255, 255, .3);
}

.case-study-result {
  min-height: 160px;
  padding: 30px;
  background: var(--case-red);
}

.case-study-result strong,
.case-study-result span {
  display: block;
  color: #fff;
}

.case-study-result strong {
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
}

/* Gallery and testimonial */
.case-study-gallery {
  padding: 100px 0;
}

.case-study-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.case-study-gallery__item {
  height: 420px;
  margin: 0;
  overflow: hidden;
  background: #d9d9d9;
}

.case-study-gallery__item:nth-child(3n + 1) {
  grid-column: 1 / -1;
  height: 580px;
}

.case-study-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.22, 1, .36, 1);
}

.case-study-gallery__item:hover img {
  transform: scale(1.025);
}

.case-study-gallery__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.case-study-gallery__link:focus-visible {
  outline: 4px solid var(--case-red);
  outline-offset: -7px;
}

.case-study-gallery__zoom {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--case-red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: transform 200ms ease, background-color 200ms ease;
}

.case-study-gallery__link:hover .case-study-gallery__zoom,
.case-study-gallery__link:focus-visible .case-study-gallery__zoom {
  background: var(--case-green);
  transform: scale(1.08);
}

body.case-study-lightbox-open { overflow: hidden; }

.case-study-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  padding: clamp(18px, 4vw, 58px);
  place-items: center;
  background: rgba(3, 25, 19, .95);
}

.case-study-lightbox[hidden] { display: none; }

.case-study-lightbox__figure {
  display: flex;
  width: min(1200px, 100%);
  height: min(82vh, 850px);
  margin: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.case-study-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(82vh - 70px);
  object-fit: contain;
}

.case-study-lightbox__caption {
  min-height: 28px;
  margin-top: 14px;
  color: #fff;
  text-align: center;
}

.case-study-lightbox__close,
.case-study-lightbox__previous,
.case-study-lightbox__next {
  position: absolute;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--case-green);
  color: #fff;
  cursor: pointer;
}

.case-study-lightbox__close { top: 22px; right: 22px; font-size: 26px; }
.case-study-lightbox__previous { top: 50%; left: 22px; transform: translateY(-50%); }
.case-study-lightbox__next { top: 50%; right: 22px; transform: translateY(-50%); }

.case-study-lightbox button:hover { background: var(--case-red); }
.case-study-lightbox button:focus-visible { outline: 3px solid var(--case-red); outline-offset: 3px; }

@media (max-width: 650px) {
  .case-study-lightbox { padding: 70px 14px; }
  .case-study-lightbox__close { top: 12px; right: 12px; }
  .case-study-lightbox__previous { top: auto; bottom: 12px; left: calc(50% - 64px); transform: none; }
  .case-study-lightbox__next { top: auto; right: calc(50% - 64px); bottom: 12px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .case-study-gallery__zoom { transition: none; }
}

.case-study-testimonial {
  padding: 90px 0;
  background: var(--case-green);
  color: #fff;
}

.case-study-testimonial blockquote {
  max-width: 930px;
  margin: 0 auto;
  text-align: center;
}

.case-study-testimonial blockquote > span {
  display: block;
  height: 60px;
  color: var(--case-red);
  font-family: Georgia, serif;
  font-size: 100px;
  line-height: 1;
}

.case-study-testimonial blockquote p {
  margin: 10px 0 28px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.35;
}

.case-study-testimonial footer strong,
.case-study-testimonial footer small {
  display: block;
  color: #fff;
}

.case-study-testimonial footer small {
  margin-top: 4px;
  opacity: .75;
}

.case-study-next {
  padding: 62px 0;
  border-bottom: 18px solid var(--case-red);
  background: #fff;
}

.case-study-next a {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  color: var(--case-green);
  text-decoration: none;
}

.case-study-next a > span {
  color: var(--case-red);
  font-weight: 700;
  text-transform: uppercase;
}

.case-study-next a > strong {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 38px);
  text-align: right;
}

.case-study-next a:hover strong {
  color: var(--case-red);
}

@media (max-width: 900px) {
  .case-study-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-study-overview__grid,
  .case-study-story__grid,
  .case-study-results__intro {
    grid-template-columns: 1fr;
  }

  .case-study-results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .case-study-hero {
    min-height: 500px;
  }

  .case-study-hero__back {
    margin-bottom: 35px;
  }

  .case-study-facts,
  .case-study-results__grid,
  .case-study-gallery__grid {
    grid-template-columns: 1fr;
  }

  .case-study-facts__item {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
  }

  .case-study-overview,
  .case-study-gallery,
  .case-study-results {
    padding-bottom: 72px;
  }

  .case-study-overview__grid {
    padding-top: 30px;
  }

  .case-study-overview__media,
  .case-study-overview__media img,
  .case-study-gallery__item,
  .case-study-gallery__item:nth-child(3n + 1) {
    min-height: 320px;
    height: 320px;
  }

  .case-study-next a {
    display: block;
  }

  .case-study-next a > span {
    display: block;
    margin-bottom: 10px;
  }

  .case-study-next a > strong {
    display: block;
    text-align: left;
  }
}

/* Contact page typography and layout */
.contact-page h1,
.contact-page h2,
.contact-page h3 {
  font-family: 'Poppins', sans-serif;
}

/* Contact hero */
.contact-hero {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: flex-end;
  overflow: hidden;
  background: var(--contact-green);
  color: #fff;
}

.contact-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 79, 59, .98) 0%, rgba(10, 79, 59, .9) 45%, rgba(10, 79, 59, .5) 100%);
}

.contact-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 82px;
}

.contact-hero__eyebrow,
.contact-page__kicker {
  margin: 0 0 10px;
  color: var(--contact-red);
  font-weight: 700;
}

.contact-hero__eyebrow {
  color: #fff;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-hero__title {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
}

.contact-hero__copy {
  max-width: 630px;
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
}

.contact-hero__stripe {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 18px;
  background: repeating-linear-gradient(90deg, #a82946 0 16.66%, #be2d4e 16.66% 33.33%, #c63354 33.33% 50%);
}

/* Contact details and enquiry form */
.contact-page__main {
  padding: 96px 0;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(55px, 8vw, 120px);
  align-items: start;
}

.contact-page__details h2,
.contact-form-panel h2,
.contact-location h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.15;
}

.contact-page__intro {
  max-width: 470px;
  line-height: 1.6;
}

.contact-details {
  margin-top: 38px;
  border-top: 1px solid rgba(10, 79, 59, .2);
}

.contact-details__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(10, 79, 59, .2);
}

.contact-details__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--contact-red);
  color: #fff;
}

.contact-details__item strong,
.contact-details__item a {
  display: block;
}

.contact-details__item strong {
  margin-bottom: 4px;
  color: var(--contact-green);
  font-family: 'Poppins', sans-serif;
}

.contact-details__item p {
  margin: 0;
}

.contact-details__item a {
  color: inherit;
  text-decoration: none;
}

.contact-details__item a:hover {
  color: var(--contact-red);
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.contact-socials a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--contact-green);
  border-radius: 50%;
  color: var(--contact-green);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-socials a:hover,
.contact-socials a:focus-visible {
  background: var(--contact-green);
  color: #fff;
  transform: translateY(-2px);
}

.contact-form-panel {
  padding: clamp(32px, 5vw, 60px);
  background: var(--contact-green);
  color: #fff;
}

.contact-form-panel h2,
.contact-form-panel label,
.contact-form-panel .frm_primary_label,
.contact-form-panel .frm_description,
.contact-form-panel .frm_error {
  color: #fff;
}

.contact-form-panel input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.contact-form-panel textarea,
.contact-form-panel select {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #222;
}

.contact-form-panel textarea {
  min-height: 145px;
  resize: vertical;
}

.contact-form-panel .frm_button_submit,
.contact-form-panel button[type='submit'],
.contact-form-panel input[type='submit'] {
  float: none;
  min-width: 170px;
  padding: 14px 24px;
  border: 2px solid var(--contact-red);
  border-radius: 0;
  background: var(--contact-red);
  color: #fff;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.contact-form-panel .frm_button_submit:hover,
.contact-form-panel button[type='submit']:hover,
.contact-form-panel input[type='submit']:hover {
  border-color: #fff;
  background: #fff;
  color: var(--contact-green);
}

.contact-form-panel :focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.contact-form-panel__notice {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .5);
}

/* Contact location */
.contact-location {
  background: #f1f1f1;
}

.contact-location__grid {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  min-height: 500px;
}

.contact-location__content {
  align-self: center;
  padding: 70px clamp(35px, 6vw, 90px) 70px 0;
}

.contact-location__content > div {
  line-height: 1.6;
}

.contact-location__hours {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 79, 59, .25);
}

.contact-location__hours strong {
  display: block;
  color: var(--contact-green);
}

.contact-location__media {
  width: calc(100% + max(5vw, calc((100vw - 1280px) / 2)));
  min-height: 500px;
  background: var(--contact-green);
}

.contact-location__media iframe,
.contact-location__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
  object-fit: cover;
}

.contact-location__placeholder {
  display: grid;
  min-height: 500px;
  place-items: center;
  background: linear-gradient(135deg, var(--contact-green), #07382b);
  color: rgba(255, 255, 255, .35);
  font-size: 72px;
}

@media (max-width: 900px) {
  .contact-page__grid,
  .contact-location__grid {
    grid-template-columns: 1fr;
  }

  .contact-page__main {
    padding: 72px 0;
  }

  .contact-location__content {
    padding-right: 0;
  }

  .contact-location__media {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-hero {
    min-height: 500px;
  }

  .contact-hero__content {
    padding-bottom: 62px;
  }

  .contact-hero__copy {
    font-size: 16px;
  }

  .contact-form-panel {
    margin-right: -5.55%;
    margin-left: -5.55%;
  }

  .contact-location__media,
  .contact-location__media iframe,
  .contact-location__media img,
  .contact-location__placeholder {
    min-height: 360px;
    margin-bottom: 22px;
  }
}


/* ================================================== */
/* SUSTAINABILITY PAGE TEMPLATE                       */
/* ================================================== */

.sustainability-page { --sus-green: #0a4f3b; --sus-red: #a82946; background: #fff; }
.sustainability-page .container { width: calc(100% - 200px); max-width: 1240px; }
.sustainability-page h1,
.sustainability-page h2,
.sustainability-page h3 { font-family: 'Poppins', sans-serif; }

/* Hero */
.sustainability-hero { position: relative; display: flex; min-height: 637px; align-items: flex-end; overflow: hidden; background: var(--sus-green); color: #fff; }
.sustainability-hero__image,
.sustainability-homes__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sustainability-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.08) 5%, rgba(10,79,59,.25) 48%, rgba(10,79,59,.97) 100%); }
.sustainability-hero__content { position: relative; z-index: 1; padding-bottom: 84px; }
.sustainability-hero__eyebrow { margin: 0 0 8px; color: #fff; font-size: 24px; font-weight: 600; }
.sustainability-hero__title { max-width: 825px; margin: 0 0 16px; color: #fff; font-size: 40px; line-height: 1.1; }
.sustainability-hero__copy { max-width: 620px; margin: 0; color: #fff; font-size: 16px; line-height: 1.45; }
.sustainability-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.sustainability-hero__stripe { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; height: 18px; background: repeating-linear-gradient(90deg, #a82946 0 16.66%, #be2d4e 16.66% 33.33%, #c63354 33.33% 50%); }

/* Shared editorial typography */
.sustainability-copy-block h2,
.sustainability-homes h2,
.sustainability-esg h2,
.sustainability-policies h2 { margin: 0 0 12px; font-size: 32px; line-height: 1.15; }
.sustainability-copy-block__kicker,
.sustainability-esg__kicker,
.sustainability-policies__kicker { margin: 0 0 22px; color: var(--sus-red); font-weight: 700; }
.sustainability-copy-block__copy,
.sustainability-homes__copy,
.sustainability-esg__copy { font-size: 16px; line-height: 1.55; }
.sustainability-copy-block__copy p:first-child,
.sustainability-homes__copy p:first-child,
.sustainability-esg__copy p:first-child { margin-top: 0; }
.sustainability-copy-block__copy p:last-child,
.sustainability-homes__copy p:last-child,
.sustainability-esg__copy p:last-child { margin-bottom: 0; }

/* Sustainability approach */
.sustainability-approach { padding: 29px 0 76px; }
.sustainability-approach__intro { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(50px, 7vw, 100px); align-items: center; padding-bottom: 50px;}
.sustainability-approach__media { min-height: 385px; overflow: hidden; background: #d9d9d9; }
.sustainability-approach__media img { display: block; width: 100%; height: 100%; min-height: 385px; object-fit: cover; }
.sustainability-approach__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 60px; }
.sustainability-process-card { position: relative; min-height: 208px; overflow: hidden; background: var(--sus-green); color: #fff; }
.sustainability-process-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.22,1,.36,1); }
.sustainability-process-card__overlay { position: absolute; inset: 0; background: rgba(10,79,59,.88); }
.sustainability-process-card--red .sustainability-process-card__overlay { background: rgba(168,41,70,.88); }
.sustainability-process-card__number { position: absolute; top: 18px; right: 18px; z-index: 1; font-family: 'Poppins', sans-serif; font-weight: 700; }
.sustainability-process-card__content { position: absolute; right: 18px; bottom: 20px; left: 18px; z-index: 1; }
.sustainability-process-card h3 { margin: 0 0 8px; color: #fff; font-size: 24px; line-height: 1.18; }
.sustainability-process-card p { margin: 0; color: #fff; font-size: 14px; line-height: 1.35; }
.sustainability-process-card:hover .sustainability-process-card__image { transform: scale(1.05); }

/* Sustainable homes feature */
.sustainability-homes { position: relative; min-height: 693px; display: flex; align-items: center; overflow: hidden; background: var(--sus-green); color: #fff; }
.sustainability-homes__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,79,59,.28) 0%, rgba(10,79,59,.92) 51%, rgba(10,79,59,.98) 100%); }
.sustainability-homes__inner { position: relative; z-index: 1; padding-top: 62px; padding-bottom: 42px; }
.sustainability-homes__content { width: 48%; margin-left: auto; }
.sustainability-homes h2,
.sustainability-homes__kicker,
.sustainability-homes__copy { color: #fff; }
.sustainability-homes__kicker { margin: 0 0 22px; font-weight: 700; }
.sustainability-homes__metric { margin-top: 38px; }
.sustainability-homes__metric strong { display: block; color: #fff; font-family: 'Poppins', sans-serif; font-size: 32px; line-height: 1.2; }
.sustainability-homes__metric span { display: block; max-width: 420px; margin-top: 3px; font-size: 14px; }
.sustainability-homes__benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; margin-top: 72px; }
.sustainability-homes__benefits h3 { margin: 0 0 8px; color: #fff; font-size: 16px; }
.sustainability-homes__benefits p { margin: 0; color: #fff; font-size: 13px; line-height: 1.4; }

/* Environment, social and governance rows */
.sustainability-esg { overflow: hidden; }
.sustainability-esg__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 338px; padding: 40px 40px 0 0;}
.sustainability-esg__media { width: calc(100% - 10px); min-height: 338px; background: #d9d9d9; }
.sustainability-esg__media img { display: block; width: 100%; height: 100%; max-height: 450px; object-fit: cover; }
.sustainability-esg__content { display: flex; align-items: center; padding: 40px 77px; }
.sustainability-esg__content > div { max-width: 550px; }
.sustainability-esg__row--image-right .sustainability-esg__media { order: 2; margin-left: 10px; }
.sustainability-esg__row--image-right .sustainability-esg__content { order: 1; justify-content: flex-end; }

/* Policy link cards */
.sustainability-policies { padding: 82px 0 92px; }
.sustainability-policies__intro { max-width: 620px; margin-bottom: 46px; }
.sustainability-policies__intro > p:last-child { line-height: 1.5; }
.sustainability-policies__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sustainability-policy-card { position: relative; min-height: 112px; overflow: hidden; background: var(--sus-green); color: #fff; }
.sustainability-policy-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.22,1,.36,1); }
.sustainability-policy-card__overlay { position: absolute; inset: 0; background: rgba(10,79,59,.88); }
.sustainability-policy-card:has(.sustainability-policy-card__link):hover .sustainability-policy-card__overlay { position: absolute; inset: 0; background: #a82946de; }
/* .sustainability-policy-card:nth-child(4n + 3) .sustainability-policy-card__overlay { background: rgba(168,41,70,.88); } */
.sustainability-policy-card__content { position: relative; z-index: 1; padding: 18px; pointer-events: none; }
.sustainability-policy-card h3 { margin: 0 0 8px; color: #fff; font-size: 20px; }
.sustainability-policy-card p { margin: 0; color: #fff; font-size: 14px; line-height: 1.35; }
.sustainability-policy-card__link { position: absolute; inset: 0; z-index: 2; }
.sustainability-policy-card__link:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
.sustainability-policy-card:has(.sustainability-policy-card__link):hover .sustainability-policy-card__image { transform: scale(1.05); }

@media (max-width: 1023px) {
  .sustainability-page .container { width: 90%; }
  .sustainability-approach__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sustainability-homes__content { width: 58%; }
  .sustainability-homes__benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .sustainability-page .container { width: 90%; }
  .sustainability-hero { min-height: 680px; }
  .sustainability-hero__eyebrow { font-size: 20px; }
  .sustainability-hero__title { font-size: 36px; }
  .sustainability-hero__content { padding-bottom: 68px; }
  .sustainability-approach__intro,
  .sustainability-esg__row { grid-template-columns: 1fr; }
  .sustainability-approach__media,
  .sustainability-approach__media img,
  .sustainability-esg__media,
  .sustainability-esg__media img { min-height: 300px; }
  .sustainability-approach__cards,
  .sustainability-policies__grid { grid-template-columns: 1fr; }
  .sustainability-process-card { min-height: 208px; }
  .sustainability-homes { min-height: 0; }
  .sustainability-homes__overlay { background: rgba(10,79,59,.9); }
  .sustainability-homes__content { width: 100%; }
  .sustainability-homes__benefits { grid-template-columns: 1fr; gap: 24px; margin-top: 50px; }
  .sustainability-esg__row--image-right .sustainability-esg__media { order: 1; margin-left: 0; }
  .sustainability-esg__row--image-right .sustainability-esg__content { order: 2; }
  .sustainability-approach { padding: 64px 0; }
  .sustainability-approach__cards { margin-top: 44px; }
  .sustainability-esg__media { width: 100%; }
  .sustainability-esg__content { padding: 52px 5vw; }
  .sustainability-policies { padding: 64px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .sustainability-process-card__image,
  .sustainability-policy-card__image { transition: none; }
}


/* ==================== */
/* Scroll Behaviour
/* ==================== */

html {
  scroll-behavior: smooth;
}


/* ==================== */
/* Global Font
/* ==================== */

body {
  font-family: 'Nunito Sans', sans-serif; /* Change to correct font */
  font-size: 16px;
}

.post, .page {
  margin: 0 !important;
}

/* ==================== */
/* Container
/* ==================== */

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-has-bg .container {
  position: relative;
  z-index: 2;
}

/* ==================== */
/* Sections
/* ==================== */

.section {
  padding: 2rem 0;
}

.section--off-grey {
  background-color: var(--off-grey);
}

.section-has-bg {
  background-size: cover;
  position: relative;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.section-has-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

@media (min-width: 1280px){
  .section {
    padding: 50px 0;
  }

  .section-has-bg {
    padding: 50px 0;
  }
}


/* ================================================== */
/* CAREERS PAGE AND VACANCIES                         */
/* ================================================== */
.careers-page { --careers-green: #0a4f3b; --careers-red: #a82946; background: #fff; }
.careers-page .container,
.single-job .container { width: calc(100% - 200px); max-width: 1240px; }
.careers-page h1,
.careers-page h2,
.careers-page h3,
.single-job h1,
.single-job h2 { font-family: 'Poppins', sans-serif; }
.careers-anchor { scroll-margin-top: 100px; }

.careers-hero { position: relative; display: flex; min-height: 637px; align-items: flex-end; overflow: hidden; background: var(--careers-green); color: #fff; }
.careers-hero__image { position: absolute; inset: -5% 0; width: 100%; height: 110%; object-fit: cover; will-change: transform; }
.careers-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(10,79,59,.96)); }
.careers-hero__content { position: relative; z-index: 1; padding-bottom: 76px; }
.careers-hero__eyebrow { margin: 0 0 8px; color: #fff; font-size: 24px; font-weight: 600; }
.careers-hero h1 { max-width: 470px; margin: 0 0 16px; color: #fff; font-size: 40px; line-height: 1.08; }
.careers-hero__content > p:not(.careers-hero__eyebrow) { max-width: 525px; margin: 0 0 24px; color: #fff; line-height: 1.45; }
.careers-hero__stripe { position: absolute; right: 0; bottom: 0; left: 0; z-index: 2; height: 53px; background: repeating-linear-gradient(90deg,#a82946 0 16.66%,#be2d4e 16.66% 33.33%,#c63354 33.33% 50%); }

.careers-nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(10,79,59,.2); background: #fff; }
.careers-nav .container { display: flex; gap: 28px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.careers-nav a { flex: 0 0 auto; color: #111; font-weight: 700; text-decoration: none; }
.careers-nav a:hover,
.careers-nav a:focus-visible { color: var(--careers-red); }

.careers-why { padding: 44px 0 0; }
.careers-section-copy { max-width: 610px; }
.careers-page h2 { margin: 0 0 20px; font-size: 32px; line-height: 1.15; }
.careers-section-copy div,
.careers-jobs__intro,
.careers-life__grid > div:first-child { line-height: 1.5; }
.careers-gallery.case-studies { min-height: 0; margin-top: 58px; padding: 0 0 34px; overflow: hidden; }
.careers-gallery .case-studies__viewport { margin: 0; }
.careers-gallery__track.case-studies__track { gap: 20px; padding: 0; }
.careers-gallery__slide.case-studies__card { flex-basis: 295px; width: 295px;  background: #d9d9d9; }
.careers-gallery__image { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.careers-gallery__controls { display: flex; justify-content: flex-end; gap: 14px; width: calc(100% - 200px); max-width: 1240px; margin: 14px auto 0; }
.careers-gallery__controls button { width: 28px; height: 32px; border: 0; background: transparent; color: var(--careers-green); font-size: 25px; cursor: pointer; }
.careers-gallery__controls button:focus-visible { outline: 2px solid var(--careers-red); outline-offset: 2px; }

.careers-jobs { padding: 62px 0 76px; }
.careers-jobs__intro { max-width: 610px; margin-bottom: 42px; }
.careers-jobs__list { display: grid; gap: 16px; }
.careers-job-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 130px; padding: 24px 34px; overflow: hidden; background: linear-gradient(100deg,rgba(10,79,59,.96),rgba(10,79,59,.82)); color: #fff; }
.careers-job-card h3 { margin: 0 0 5px; font-size: 24px; }
.careers-job-card h3 a { color: #fff; text-decoration: none; }
.careers-job-card p { margin: 4px 0; color: #fff; }
.careers-job-card__meta { font-weight: 700; }
.careers-job-card small { display: block; margin-top: 7px; }
.careers-job-card .site-button { flex: 0 0 auto; }
.careers-jobs__empty { max-width: 760px; padding: 36px; border-left: 7px solid var(--careers-red); background: #f3f3f3; }
.careers-jobs__empty h3 { margin-top: 0; font-size: 25px; }

.careers-life { padding: 72px 0; background: #f8f8f8; }
.careers-life__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 90px; }
.careers-values details { border-bottom: 2px solid var(--careers-green); }
.careers-values summary { position: relative; padding: 14px 38px 14px 0; font-family: 'Poppins',sans-serif; font-size: 20px; font-weight: 700; cursor: pointer; list-style: none; color: var(--brand-sec); }
.careers-values summary::-webkit-details-marker { display: none; }
.careers-values summary::after { position: absolute; right: 4px; content: '+'; }
.careers-values details[open] summary::after { content: '−'; }
.careers-values details p { margin: 0; padding: 0 38px 16px 0; }

.careers-process { padding: 76px 0; }
.careers-process__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.careers-process__grid article { padding: 30px; background: var(--careers-green); color: #fff; }
.careers-process__grid span { font-family: 'Poppins',sans-serif; font-weight: 700; }
.careers-process__grid h3 { margin: 28px 0 8px; color: #fff; font-size: 22px; }
.careers-process__grid p { margin: 0; color: #fff; line-height: 1.45; }

.careers-final { position: relative; padding: 52px 0; background: linear-gradient(rgba(10,79,59,.89),rgba(10,79,59,.89)),var(--careers-final-image),var(--careers-green); background-position:center; background-size:cover; color:#fff; text-align:center; }
.careers-final h2 { margin-bottom: 8px; color: #fff; }
.careers-final p { max-width: 610px; margin: 0 auto 22px; color: #fff; font-size: 18px; }

.single-job__hero { padding: 190px 0 72px; background: var(--brand-main); color: #fff; }
.single-job__hero p { color: #fff; }
.single-job__hero h1 { max-width: 800px; margin: 4px 0 18px; color: #fff; font-size: clamp(38px,5vw,62px); }
.single-job__summary { max-width: 680px; font-size: 19px; }
.single-job__layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 80px; padding-top: 76px; padding-bottom: 90px; }
.single-job__details { margin: 0; padding: 28px; background: #f2f2f2; }
.single-job__details div + div { margin-top: 18px; }
.single-job__details dt { color: var(--brand-sec); font-weight: 700; }
.single-job__details dd { margin: 3px 0 0; }
.single-job__content section { margin-top: 42px; }
.single-job__content h2 { font-size: 28px; }
.single-job__closed { margin: 40px 0 20px; padding: 20px; border-left: 6px solid var(--brand-sec); background: #f2f2f2; }
.single-job__back { display: block; margin-top: 30px; color: var(--brand-main); font-weight: 700; }

@media (max-width:1023px) {
  .careers-page .container,.single-job .container,.careers-gallery__controls { width:90%; }
  .careers-life__grid { gap:50px; }
  .single-job__layout { grid-template-columns:1fr; gap:40px; }
}
@media (max-width:767px) {
  .careers-hero { min-height:680px; }
  .careers-hero h1 { font-size:36px; }
  .careers-hero__eyebrow { font-size:20px; }
  .careers-nav .container { width:100%; padding-right:5%; padding-left:5%; }
  .careers-gallery__slide.case-studies__card { flex-basis:78vw; width:78vw; height:390px; }
  .careers-job-card { align-items:flex-start; flex-direction:column; }
  .careers-life__grid,.careers-process__grid { grid-template-columns:1fr; }
  .careers-final { padding:58px 0; }
}
@media (prefers-reduced-motion:reduce) {
  .careers-hero__image,.careers-gallery__image { transform:none!important; }
}


/* ==================== */
/* Reset H1 CSS
/* ==================== */

h1.home-link,
a.home-link {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 16px !important;
}

.home-link__logo {
  display: block;
  max-width: 320px;
  width: 100%;
}


/* ==================== */
/* Site Titles
/* ==================== */

.rte h2, .rte h3, .rte h4,
.site-title {
  margin-top: 0 !important;
  color: var(--brand-main) !important;

}

.site-title--centre {
  text-align: center;
}


/* ==================== */
/* Site Button
/* ==================== */

.site-button {
  --button-background: var(--brand-main);
  --button-border: var(--brand-main);
  --button-colour: #fff;
  --button-hover-background: var(--brand-main-hover);
  --button-hover-border: var(--brand-main-hover);
  --button-hover-colour: #fff;
  align-items: center;
  background: var(--button-background);
  border: 3px solid var(--button-border);
  border-radius: 0;
  color: var(--button-colour) !important;
  display: inline-flex;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  gap: 22px;
  justify-content: space-between;
  line-height: 1;
  min-height: 46px;
  min-width: 158px;
  padding: 10px 10px 10px 22px;
  text-decoration: none !important;
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.site-button:hover,
.site-button:focus-visible {
  background: var(--button-hover-background);
  border-color: var(--button-hover-border);
  color: var(--button-hover-colour) !important;
}

.site-button:visited {
  color: var(--button-colour) !important;
}

.site-button:visited:hover,
.site-button:visited:focus-visible {
  color: var(--button-hover-colour) !important;
}

.site-button:focus-visible {
  outline: 2px solid var(--brand-sec);
  outline-offset: 3px;
}

.site-button--brand {
  --button-background: var(--brand-main);
  --button-border: var(--brand-main);
  --button-colour: #fff;
  --button-hover-background: var(--brand-main-hover);
  --button-hover-border: var(--brand-main-hover);
  --button-hover-colour: #fff;
}

.site-button--outline-dark {
  --button-background: transparent;
  --button-border: #000;
  --button-colour: #000;
  --button-hover-background: #000;
  --button-hover-border: #000;
  --button-hover-colour: #fff;
}

.site-button--outline-light {
  --button-background: rgba(0, 86, 64, .22);
  --button-border: #fff;
  --button-colour: #fff;
  --button-hover-background: #fff;
  --button-hover-border: #fff;
  --button-hover-colour: var(--brand-main);
}

.site-button--solid-light {
  --button-background: #fff;
  --button-border: #fff;
  --button-colour: var(--brand-main);
  --button-hover-background: var(--brand-main);
  --button-hover-border: var(--brand-main);
  --button-hover-colour: #fff;
}

.site-button--pill {
  border-radius: 50px;
  min-height: 0;
  min-width: 0;
  padding: 8px 32px;
  text-transform: uppercase;
}

.site-button--hero {
  font-size: 16px;
  min-height: 43px;
  min-width: 138px;
  padding: 10px 20px;
}

.site-button__icon {
  display: block;
  flex: 0 0 15px;
  height: 15px;
  width: 15px;
}

.site-button__text-icon {
  font-size: 18px;
  line-height: 0;
}


/* ==================== */
/* Typography
/* ==================== */

p:first-of-type {
  margin-top: 0;
}

.rte {
  line-height: 1.75 !important;
}

@media (min-width: 1280px){
  .rte--larger-text {
    font-size: 18px;
  }
}


/* ==================== */
/* Misc Classes
/* ==================== */

.text-align-center {
  text-align: center !important;
}

.max-width--750 {
  max-width: 750px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.text--white {
  color: white !important;
}

.disp-block {
  display: block !important;
}

/* ==================== */
/* Grid
/* ==================== */

.row{
  display: flex!important;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;

}

.row-invert{
  display: flex!important;
  flex-direction: column-reverse;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;

}

.col-2, .col-3, .col-4, .col-2-small, .col-2-big, .col-2-no-space{
  width: 100%;
}

.col-4{
  padding: 15px 0;
}

.vertical_center{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px){

  .row, .row-invert{
    flex-direction: row;
  }

  .col-4{
    width: 48.5%;
  }

}

@media (min-width: 1024px){

  .row, .row-invert{
    flex-direction: row;
  }

  .col-2{
    width: 48.5%;
  }

  .col-2-small{
    width: 31.5%;
  }

  .col-2-big{
    width: 64.5%;
  }

  .col-2-no-space{
    width: 50%;
  }

  .col-3{
    width: 31.5%;
  }

  .col-4{
    width: 23.5%;
  }

}

/* ==================== */
/* Top Bar
/* ==================== */

.top-bar {
  background-color: white;
  padding: 6px 0;
  text-align: center;
}

/* .top-bar__col--contact {
  display: none;
} */

.top-bar__cta-btn {
  display: inline-block;
  color: white !important;
  font-size: 14px;
  text-decoration: none !important;
  background-color: var(--brand-main);
  padding: 8px 32px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
}

.top-bar__item {
  color: var(--brand-main);
}

.top-bar__item i {
  display: inline-block;
  margin-right: 5px;
}

.top-bar__item a {
  color: var(--brand-main) !important;
  text-decoration: none !important;
  display: inline-block;
  margin-right: 1.5rem;
  font-size: 16px;
  cursor: pointer;
}

@media (min-width: 768px){
  .top-bar {
    display: block;
    padding: 8px 0;
  }

  .top-bar__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .top-bar__col--contact {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .top-bar__cta-btn {
    padding: 5px 25px;
  }
}

/* ==================== */
/* Header and navigation overlay
/* ==================== */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

.main-header {
  position: relative;
  padding: 24px 0 54px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.64) 44%, rgba(255, 255, 255, 0) 100%);
}

.main-header > .container,
.navigation-overlay > .container {
  width: 84%;
}

.main-header__row,
.navigation-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.main-header__col--logo {
  flex: 0 1 auto;
}

.main-header .home-link__logo {
  width: clamp(125px, 11vw, 180px);
}

.main-header__burger {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 10000;
}

.main-header__burger-button {
  width: 48px;
  height: 42px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.main-header__burger-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.main-header__burger-icon span {
  display: block;
  height: 4px;
  background: #b8264a;
  transform-origin: center;
  transition: opacity 280ms ease, transform 420ms cubic-bezier(.7, 0, .3, 1), width 280ms ease;
  will-change: transform;
}

.main-header__burger-icon span:nth-child(1) {
  width: 27px;
  height: 5px;
}
.main-header__burger-icon span:nth-child(2) {
  width: 27px;
  height: 5px;
  transform: translateX(-24%);
}
.main-header__burger-icon span:nth-child(3) {
  width: 27px;
  height: 5px;
}

body.navigation-is-open .main-header__burger-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

body.navigation-is-open .main-header__burger-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(-24%) scaleX(0);
}

body.navigation-is-open .main-header__burger-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

body.navigation-is-open {
  overflow: hidden;
}

.navigation-overlay {
  --navigation-green: #005640;
  position: fixed;
  inset: 0;
  z-index: 9999;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: auto;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.85s;
}

.navigation-overlay::before {
  content: "";
  position: fixed;
  opacity: 98%;
  inset: 0;
  background: var(--navigation-green);
  clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%);
  animation: navigation-curtain-out 0.7s cubic-bezier(0.7, 0, 0.3, 1) both;
}

.navigation-overlay.is-open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.navigation-overlay.is-open::before {
  animation: navigation-curtain-in 0.85s cubic-bezier(0.7, 0, 0.3, 1) both;
}

@keyframes navigation-curtain-in {
  0% { clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%); }
  54% { clip-path: polygon(0 34%, 0 34%, 47% 100%, 0 100%); }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

@keyframes navigation-curtain-out {
  0% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
  46% { clip-path: polygon(0 34%, 0 34%, 47% 100%, 0 100%); }
  100% { clip-path: polygon(0 100%, 0 100%, 0 100%, 0 100%); }
}

.navigation-overlay__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 24px;
  padding-bottom: 28px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.navigation-overlay.is-open .navigation-overlay__inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.66s;
}

.navigation-overlay__home-link {
  display: block;
  line-height: 1;
}

.navigation-overlay__logo {
  display: block;
  width: clamp(100px, 11vw, 150px);
  max-height: 72px;
  object-fit: contain;
  object-position: left top;
}

.navigation-overlay__nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  padding: 42px 2% 28px;
}

.navigation-overlay .main-browse-nav {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.navigation-overlay .main-browse-nav > li {
  margin: 0 0 7px;
}

.navigation-overlay .menu-item-has-children {
  display: grid;
  grid-template-columns: minmax(0, auto) 42px;
  align-items: center;
  width: max-content;
  max-width: 100%;
}

.navigation-overlay .main-browse-nav a {
  display: inline-block;
  color: #fff !important;
  font-size: clamp(24px, 2.35vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.navigation-overlay .main-browse-nav a:hover,
.navigation-overlay .main-browse-nav a:focus-visible {
  opacity: 0.68;
  transform: translateX(5px);
}

.navigation-overlay .sub-menu {
  position: static;
  display: none;
  grid-column: 1 / -1;
  width: auto;
  margin: 8px 0 12px 18px;
  padding: 0;
  list-style: none;
}

.navigation-overlay__submenu-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.navigation-overlay__submenu-toggle span {
  position: absolute;
  top: 50%;
  left: 66%;
  width: 15px;
  height: 15px;
  border-right: 5px solid #fff;
  border-bottom: 5px solid #fff;
  transform: translate(-50%, -68%) rotate(45deg);
  transition: transform 240ms ease;
}

.navigation-overlay__submenu-toggle[aria-expanded="true"] span {
  transform: translate(-50%, -30%) rotate(225deg);
}

.navigation-overlay__submenu-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.navigation-overlay .sub-menu a {
  padding: 0;
  background: transparent;
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 500;
}

.navigation-overlay__footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 36px;
  align-items: end;
  padding: 20px 2% 0;
  border-top: 2px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  font-size: 11px;
}

.navigation-overlay__legal,
.navigation-overlay__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.navigation-overlay__footer a {
  color: #fff !important;
  text-decoration: none !important;
}

.navigation-overlay__contact i {
  width: 18px;
  margin-right: 4px;
}

.navigation-overlay__socials {
  display: flex;
  gap: 18px;
  padding-bottom: 4px;
  font-size: 16px;
}

@media (max-width: 767px) {
  .main-header {
    padding: 18px 0 42px;
  }

  .main-header > .container,
  .navigation-overlay > .container {
    width: 86%;
  }

  .navigation-overlay__inner {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .navigation-overlay__nav {
    align-items: flex-start;
    padding: 56px 4% 36px;
  }

  .navigation-overlay .main-browse-nav a {
    font-size: 25px;
  }

  .navigation-overlay__footer {
    grid-template-columns: 1fr auto;
    gap: 18px 24px;
    padding-right: 4%;
    padding-left: 4%;
  }

  .navigation-overlay__contact {
    align-items: flex-end;
  }

  .navigation-overlay__socials {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navigation-overlay::before,
  .navigation-overlay.is-open::before {
    animation-duration: 0.01ms;
  }

  .navigation-overlay__inner,
  .navigation-overlay.is-open .navigation-overlay__inner {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }

  .main-header__burger-icon span {
    transition-duration: 0.01ms;
  }

  .navigation-overlay__submenu-toggle span {
    transition-duration: 0.01ms;
  }
}


/*====================
Feature Process Carousel
====================*/

.feature-carousel {
  --feature-green: #075a45;
  --feature-red: #b2294b;
  --feature-card-width: clamp(270px, 25vw, 360px);
  --feature-card-height: clamp(160px, 14vw, 205px);
  --feature-stack-start: 0px;
  background: #fff;
  overflow: hidden;
  padding: clamp(70px, 8vw, 120px) 0;
}

.feature-carousel__layout {
  align-items: center;
  display: grid;
  gap: clamp(50px, 7vw, 110px);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}

.feature-carousel__heading {
  color: #111;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 24px;
}

.feature-carousel__heading span {
  color: var(--feature-red);
}

.feature-carousel__copy {
  color: #111;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.5;
  max-width: 570px;
}

.feature-carousel__copy p {
  margin: 0 0 22px;
}

.feature-carousel__copy p:last-child {
  margin-bottom: 0;
}

.feature-carousel__visual {
  min-width: 0;
}

.feature-carousel__stage {
  cursor: grab;
  height: calc(var(--feature-card-height) + 110px);
  outline: none;
  position: relative;
  touch-action: pan-y;
}

.feature-carousel__stage.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.feature-carousel__stage:focus-visible {
  outline: 2px solid var(--feature-green);
  outline-offset: 8px;
}

.feature-carousel__track {
  height: 100%;
  position: relative;
  width: 100%;
}

.feature-carousel__card {
  height: var(--feature-card-height);
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform-origin: center center;
  visibility: hidden;
  width: var(--feature-card-width);
  will-change: transform, opacity;
}

.feature-carousel__card-inner {
  height: 100%;
  overflow: hidden;
  position: relative;
  transform-origin: center center;
  transition: transform 450ms cubic-bezier(.22, 1, .36, 1);
  width: 100%;
}

.feature-carousel__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transform: scale(1.02);
  transition: transform 1.4s cubic-bezier(.22, 1, .36, 1);
  width: 100%;
}

.feature-carousel__overlay {
  background: rgba(7, 90, 69, .84);
  inset: 0;
  position: absolute;
  transition: background-color 450ms ease;
  z-index: 1;
}

.feature-carousel__card--red .feature-carousel__overlay {
  background: rgba(178, 41, 75, .82);
}

.feature-carousel__content {
  color: #fff;
  inset: 0;
  padding: clamp(20px, 2vw, 30px);
  position: absolute;
  z-index: 2;
}

.feature-carousel__number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  position: absolute;
  right: clamp(18px, 2vw, 28px);
  top: clamp(16px, 1.8vw, 24px);
}

.feature-carousel__title {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 64px 16px 0;
}

.feature-carousel__description {
  color: #fff;
  font-size: clamp(12px, 1vw, 15px);
  line-height: 1.5;
  margin: 0;
  max-width: 82%;
}

.feature-carousel__card.is-visible {
  pointer-events: auto;
}

.feature-carousel__card.is-visible:hover .feature-carousel__card-inner,
.feature-carousel__card.is-visible:focus-within .feature-carousel__card-inner {
  transform: translateY(-8px) scale(1.015);
}

.feature-carousel__card.is-visible:hover .feature-carousel__image,
.feature-carousel__card.is-visible:focus-within .feature-carousel__image {
  transform: scale(1.1);
}

.feature-carousel__card.is-visible:hover .feature-carousel__overlay,
.feature-carousel__card.is-visible:focus-within .feature-carousel__overlay {
  background: rgba(4, 54, 41, .91);
}

.feature-carousel__card--red.is-visible:hover .feature-carousel__overlay,
.feature-carousel__card--red.is-visible:focus-within .feature-carousel__overlay {
  background: rgba(116, 23, 48, .91);
}

.feature-carousel__navigation {
  align-items: center;
  display: flex;
  gap: 20px;
  margin-top: 12px;
}

.feature-carousel__button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  padding: 6px;
  width: 40px;
}

.feature-carousel__button img {
  display: block;
  height: 24px;
  width: 14px;
}

.feature-carousel__button:focus-visible {
  outline: 2px solid var(--feature-green);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .feature-carousel {
    --feature-card-width: min(68vw, 470px);
  }

  .feature-carousel__layout {
    grid-template-columns: 1fr;
  }

  .feature-carousel__copy {
    max-width: 680px;
  }
}

@media (max-width: 767px) {
  .feature-carousel {
    --feature-card-width: min(100%, 430px);
    --feature-card-height: clamp(230px, 70vw, 310px);
    padding: 60px 0;
  }

  .feature-carousel__stage {
    height: calc(var(--feature-card-height) + 18px);
  }

  .feature-carousel__title{
    font-size:22px;
  }
  .feature-carousel__number{
    font-size:22px;
  }

  .feature-carousel__description {
    max-width: 94%;
    font-size: 16px;
  }

  .feature-carousel__navigation {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-carousel__card-inner,
  .feature-carousel__image,
  .feature-carousel__overlay {
    transition-duration: .01ms;
  }
}


/*====================
Offsite Manufacturing Video
====================*/

.offsite-manufacturing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: clamp(420px, 35.7vw, 514px);
}

.offsite-manufacturing__media {
  background: #000;
  min-height: inherit;
  overflow: hidden;
  position: relative;
}

.offsite-manufacturing__media iframe,
.offsite-manufacturing__placeholder {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.offsite-manufacturing__panel {
  align-items: center;
  background: #f9f9f9;
  display: flex;
  min-height: inherit;
  padding: clamp(54px, 6.2vw, 89px);
}

.offsite-manufacturing__content {
  max-width: 481px;
}

.offsite-manufacturing__title {
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 2.25vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 25px;
}

.offsite-manufacturing__copy {
  color: #000;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.42;
}

.offsite-manufacturing__copy p {
  margin: 0 0 12px;
}

.offsite-manufacturing__content > .site-button {
  margin-top: 9px;
}

@media (max-width: 767px) {
  .offsite-manufacturing {
    grid-template-columns: 1fr;
  }

  .offsite-manufacturing__media {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .offsite-manufacturing__panel {
    min-height: 0;
    padding: 54px 24px 60px;
  }
}


/*====================
Case Studies
====================*/

.case-studies {
  background: #fff;
  min-height: 553px;
  overflow: hidden;
  padding: clamp(82px, 8.2vw, 118px) 0 86px;
}

.case-studies__layout {
  display: grid;
  gap: clamp(80px, 12vw, 180px);
  grid-template-columns: minmax(320px, 450px) minmax(0, 1fr);
}

.case-studies__intro {
  padding-top: 11px;
}

.case-studies__heading {
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 26px;
}

.case-studies__heading span {
  color: #a82946;
  display: block;
}

.case-studies__copy {
  color: #000;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
  max-width: 460px;
}

.case-studies__intro > .site-button {
  margin-top: 23px;
}

.case-studies__nav-button:focus-visible,
.case-studies__viewport:focus-visible {
  outline: 2px solid #a82946;
  outline-offset: 3px;
}

.case-studies__carousel {
  min-width: 0;
}

.case-studies__viewport {
  cursor: grab;
  margin-right: calc((100vw - 100%) / -2);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  touch-action: pan-y;
}

.case-studies__viewport::-webkit-scrollbar {
  display: none;
}

.case-studies__viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.case-studies__track {
  display: flex;
  gap: 22px;
  min-height: 231px;
  min-width: max-content;
  padding-right: 40px;
}

.case-studies__card {
  flex: 0 0 269px;
  height: 269px;
  margin: 0;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
}

.case-studies__card-link {
  color: #fff;
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  width: 100%;
}

.case-studies__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 650ms cubic-bezier(.22, 1, .36, 1);
  width: 100%;
}

.case-studies__overlay {
  background: linear-gradient(180deg, rgba(102, 102, 102, 0) 0%, rgba(10, 79, 59, .96) 76%);
  inset: 0;
  position: absolute;
  z-index: 1;
}

.case-studies__units {
  backdrop-filter: blur(5px);
  background: #a82946;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  left: 20px;
  line-height: 21px;
  min-width: 75px;
  padding: 0 8px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 12px;
  z-index: 2;
}

.case-studies__card-content {
  bottom: 18px;
  left: 20px;
  position: absolute;
  right: 20px;
  z-index: 2;
}

.case-studies__type {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 3px;
  text-transform: uppercase;
}

.case-studies__card h3 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 8px;
}

.case-studies__learn-more {
  align-items: center;
  color: #fff;
  display: flex;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  gap: 9px;
}

.case-studies__learn-more img {
  display: block;
  height: 10px;
  width: 10px;
}

.case-studies__card-link:hover .case-studies__image,
.case-studies__card-link:focus-visible .case-studies__image {
  transform: scale(1.06);
}

.case-studies__card-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.case-studies__navigation {
  display: flex;
  gap: 20px;
  margin-top: 18px;
}

.case-studies__nav-button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  padding: 4px;
  width: 24px;
}

.case-studies__nav-button img {
  display: block;
  height: 24px;
  width: 14px;
}

.case-studies__nav-button:disabled {
  cursor: default;
  opacity: .3;
}

.case-studies__empty {
  color: #555;
  margin: 0;
}

@media (max-width: 1100px) {
  .case-studies__layout {
    gap: 60px;
    grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .case-studies__layout {
    gap: 55px;
    grid-template-columns: 1fr;
  }

  .case-studies__intro {
    padding-top: 0;
  }

  .case-studies__viewport {
    margin-right: calc((100vw - 100%) / -2);
  }
}

@media (max-width: 767px) {
  .case-studies {
    min-height: 0;
    padding: 65px 0;
  }

  .case-studies__card {
    flex-basis: min(78vw, 269px);
  }
}


/*====================
Latest News
====================*/

.latest-news {
  background: #fff;
  min-height: 626px;
  overflow: hidden;
  padding: 25px 0 78px;
}

.latest-news__heading {
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 9px 4px;
}

.latest-news__divider {
  display: block;
  height: 3px;
  object-fit: fill;
  width: 100%;
}

.latest-news__header {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  margin: 20px 0 45px 4px;
}

.latest-news__intro {
  color: #000;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  line-height: 1.45;
  margin: 0;
  max-width: 460px;
}

.latest-news__header > .site-button {
  flex: 0 0 auto;
}

.latest-news__read-more img {
  display: block;
  height: 15px;
  width: 15px;
}

.latest-news__nav-button:focus-visible,
.latest-news__viewport:focus-visible {
  outline: 2px solid #a82946;
  outline-offset: 3px;
}

.latest-news__viewport {
  cursor: grab;
  margin-right: calc((100vw - 100%) / -2);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  touch-action: pan-y;
}

.latest-news__viewport::-webkit-scrollbar {
  display: none;
}

.latest-news__viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.latest-news__track {
  display: flex;
  gap: 20px;
  min-height: 296px;
  min-width: max-content;
  padding-right: 40px;
}

.latest-news__card {
  flex: 0 0 270px;
  width: 272px;
  margin: 0;
  scroll-snap-align: start;
}

.latest-news__image-link {
  background: #0a4f3b;
  display: block;
  height: 176px;
  margin-bottom: 12px;
  overflow: hidden;
  width: 270px;
}

.latest-news__image,
.latest-news__image-placeholder {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.22, 1, .36, 1);
  width: 100%;
}

.latest-news__image-placeholder {
  background: linear-gradient(135deg, #0a4f3b, #08745a);
}

.latest-news__image-link:hover .latest-news__image,
.latest-news__image-link:focus-visible .latest-news__image {
  transform: scale(1.05);
}

.latest-news__card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-news__card-title a {
  color: #000;
  text-decoration: none;
}

.latest-news__card-title a:hover,
.latest-news__card-title a:focus-visible {
  color: #a82946;
}

.latest-news__excerpt {
  color: #000;
  display: -webkit-box;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.4;
  margin: 0;
  min-height: 45px;
  overflow: hidden;
}

.latest-news__read-more {
  align-items: center;
  color: #000;
  display: inline-flex;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 16px;
  gap: 18px;
  margin-top: 10px;
  text-decoration: none;
}

.latest-news__read-more:hover{
  color: #631225;
}


.latest-news__read-more:focus-visible,
.latest-news__read-more:visited {
  color: #a82946;
}

.latest-news__navigation {
  display: flex;
  gap: 20px;
  margin-top: 18px;
}

.latest-news__nav-button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  padding: 4px;
  width: 24px;
}

.latest-news__nav-button img {
  display: block;
  height: 24px;
  width: 14px;
}

.latest-news__nav-button:disabled {
  cursor: default;
  opacity: .3;
}

.latest-news__empty {
  color: #555;
  margin: 0;
}

@media (max-width: 767px) {
  .latest-news {
    min-height: 0;
    padding: 55px 0 65px;
  }

  .latest-news__heading {
    font-size: 28px;
    margin-left: 0;
  }

  .latest-news__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
    margin: 20px 0 35px;
  }

  .latest-news__card {
    flex-basis: min(78vw, 270px);
  }

  .latest-news__image-link {
    width: 100%;
  }
}


/* ==================== */
/* Slideshow
/* ==================== */

#slideshow {
  overflow: hidden;
}

.fp-slideshow__slide {
  height: 500px;
  position: relative;
  background-position: center;
  background-size: cover;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.fp-slideshow__slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

.fp-slideshow__content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.fp-slideshow__title {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  color: #FFF;
  font-family: Poppins;
  font-size: 60px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
}

.fp-slideshow__text {
  color: white;
  margin: 0 0 0.5rem 0;
  max-width: 500px;

}

#slideshow .slick-dots {
  bottom: 1rem;
}

#slideshow .slick-dots li button:before {
  font-size: 14px;
  color: white;
}

#slideshow .slick-dots li.slick-active button:before {
  color: white;
  opacity: 1;
}

#slideshow .slick-dotted.slick-slider {
  margin-bottom: 0;
}

@media (min-width: 1280px){

  .fp-slideshow__slide {
    height: 750px;
  }

  .fp-slideshow__logo {
    width: 550px;
  }
/*
  .fp-slideshow__title {
    font-size: 28px;
  } */

  .fp-slideshow__text {
    font-size: 22px;
  }

  #slideshow .slick-dots {
    bottom: 2rem;
  }
}


/* ==================== */
/* Footer
/* ==================== */

.site-footer-main {
  padding: 32px 0;
  background-color: var(--brand-main);
}

.site-footer-main__col--blurb {
  margin-bottom: 32px;
}

.site-footer__logo {
  max-width: 192px;
  margin-bottom: 1rem;
}

.site-footer__blurb {
  font-size: 14px;
  color: white;
}

.site-footer__title {
  color: white;
  position: relative;
  padding-bottom: 4px;
  font-size: 18px;
  font-weight: 400;
}

/* .site-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 50px;
  height: 2px;
  background-color: white;
} */

.footer-nav-wrap ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
}

ul.footer-legal-nav {
  margin-bottom: 1rem !important;
}

.footer-nav-wrap ul a {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
  color: white !important;
  text-decoration: none !important;
}

.footer-nav-wrap ul a:hover {
  border-color: white;
}

.site-footer__addr {
  color: white !important;
  padding-left: 32px;
  position: relative;
  margin-bottom: 16px;
}

.site-footer__addr::before {
  content: "\f3c5";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: white;
  position: absolute;
  left: 0;
}

.site-footer__link {
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
  color: white !important;
  text-decoration: none !important;
}

.site-footer__link-wrap {
  position: relative;
  padding-left: 32px;
}

.site-footer__link-wrap::before {
  content: "\f095";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: white;
  position: absolute;
  left: 0;
}

.site-footer__link-wrap--email::before {
  content: "\f0e0";
}

.social-icons {
  padding: 16px 0 0 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
  display: flex;
}

.social-icons__link {
  font-size: 32px;
  color: white !important;
}

.social-icons__item {
  margin-right: 1rem;
}

.social-icons__item:last-of-type {
  margin-right: 0;
}

.social-icons__link--dark {
  color: var(--brand-main) !important;
}

.site-footer .social-icons__item {
  margin-right: 0.5rem;
}

@media (min-width: 768px){

  .site-footer-main__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .site-footer-main__col--blurb,
  .site-footer__blurb {
    margin-bottom: 0;
  }

  .site-footer__title {
    margin-top: 0;
  }
}

@media (min-width: 1024px){

  .site-footer-main {
    padding-top: 50px;
  }

  .site-footer-main__row {
    flex-wrap: nowrap;
  }

  .site-footer-main__col {
    flex-basis: calc(25% - 32px);
  }
}

@media (min-width: 1280px){

  .site-footer-main {
    padding-top: 75px;
  }

  .site-footer__blurb {
    padding-right: 50px;
  }

  .social-icons__link--lg {
    font-size: 45px;
  }

  .site-footer__blurb {
    line-height: 2;
  }
}


/* ==================== */
/* Site Info
/* ==================== */

.site-info {
  background-color: var(--brand-main);
  overflow: hidden;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-info__text {
  margin: 0;
  color: white;
  font-size: 14px;
}

.site-info__copyright,
.site-info__designby {
  display: flex;
  text-align: center;
  align-items: center;
}

.site-info img{
  height: 30px;
  margin-left: 8px;
}

.site-info a {
  color: white !important;
}

@media (min-width: 768px){
  .site-info__text {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .site-info__copyright {
    margin-right: 8px;
    position: relative;
  }

  .site-info__copyright::after {
    content: " |";
    display: inline-block;
    padding-left: 8px;
  }
}


/* ==================== */
/* Main Banner
/* ==================== */

.main-banner {
  background-size: cover;
  background-position: center;
  background-color: var(--brand-main); /* Default colour fallback for banner */
  height: 200px;
  display: flex;
  align-items: center;
  position: relative;
}

.main-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

.main-banner__row {
  position: relative;
}

.main-banner__title {
  margin: 0;
  color: white;
}

@media (min-width: 1280px){
  .main-banner {
    height: 300px;
  }

  .main-banner__title {
    font-size: 50px;
  }
}


/* ==================== */
/* Page Builder
/* ==================== */

.page-wrap {
  background-color: #efefef;
  padding: 2rem 0 1rem 0;
}

.content-box__row {
/*  background-color: white;*/
/*  padding: 1rem;*/
  margin-bottom: 2rem;
/*  box-shadow: 0 0 4px rgba(0,0,0,0.4);*/
}

.content-box__row p:last-of-type {
  margin-bottom: 0;
}

.col-order-1 {
  margin-bottom: 2rem;
}

.content-box__title {
  margin-bottom: 1rem;
}

.content-box__body {
  margin-bottom: 1rem;
}

.section-has-bg .content-box__row {
  background-color: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-shadow: none;
}

.section-has-bg .site-title-pre,
.section-has-bg .content-box__title,
.section-has-bg .content-box__body .rte * {
  color: white !important;
}

@media (min-width: 1024px){

  .col-order-1 {
    margin-bottom: 0;
  }

  .content-box__row {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
  }

  .content-box__row--single-row {
    flex-direction: column;
    align-items: center;
    text-align: center !important;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
  }

  .content-box__col--txt {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .content-box__col--img {
    width: 400px;
  }

  .content-box__col--txt.col-order-1 {
    padding-right: 2rem;
  }

  .col-order-1 {
    order: 1;
  }

  .col-order-2 {
    order: 2;
  }
}

@media (min-width: 1280px){
  .content-box__row {
    padding: 3rem 0;
  }

  .content-box__body {
    margin-bottom: 2rem;
  }
}


/* ==================== */
/* Contact Page 1
/* ==================== */

.contact-card {
  background-color: var(--brand-main);
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-card__icon-wrap {
  margin-right: 1rem;
}

.contact-card__icon-circle {
  color: white !important;
}

.contact-card__icon {
  color: var(--brand-main) !important;
}

.contact-card__text-wrap,
.contact-card__link {
  color: white !important;
}

.contact-card__link {
  text-decoration: none !important;
}

.opening-hours {
  margin: 0 0 2rem 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
}

.opening-hours__item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
}

.opening-hours__item::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px dotted white;
}

.opening-hours__day,
.opening-hours__hours {
  background-color: var(--brand-main);
  display: inline-block;
  position: relative;
  z-index: 1;
}

.opening-hours__day {
  padding-right: 8px;
}

.opening-hours__hours {
  padding-left: 8px;
}

.section-about-lower__col--hours {
  margin-bottom: 2rem;
}

.section-contact__col--form h2 {
  margin-bottom: 2rem !important;
}

.social-icons {
  padding: 16px 0 0 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
  display: flex;
  gap: 16px;
}

.social-icons__link {
  font-size: 32px;
  color: var(--brand-main) !important;
}

.site-footer .social-icons__link {
  color: white !important;
}

@media (min-width: 1024px){
  .section-contact__row,
  .section-about-lower__row {
    display: flex;
    justify-content: space-between;
  }

  .section-contact__col--form {
    flex-basis: 60%;
  }

  .section-contact__col--text {
    flex-basis: 35%;
  }

  .section-about-lower__col {
    flex-basis: 40%;
  }
}


/*====================
Contact Page 2
====================*/

.contact_box_wrapper{
  background-color: var(--brand-main);
  padding: 30px;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  margin: 15px 0;
  box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.2);
}

.contact_box_wrapper h2{
  font-size: 60px;
  margin: 0;
}

.contact_box_wrapper a{
  color: #fff;
  text-decoration: none;
}

.contact_box_wrapper a:hover{
  color: var(--brand-secondary);
  text-decoration: none;
}

.frm_button_submit{
  float: right;
}

.contact_form{
  background-color: var(--brand-main);
}

.contact_form h2{
  color: #fff;
}



/* ============================================================ */
/* Custom code starts below...
/* ============================================================ */


/*====================
Hero Section
====================*/


.hero {
  position: relative;
  height: 100vh;
  height: 112svh;
  min-height: 650px;
  overflow: hidden;
  background: #005640;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 86, 64, 0.34) 0%, rgba(0, 86, 64, 0.05) 58%, rgba(0, 86, 64, 0) 100%),
    linear-gradient(180deg, rgba(0, 86, 64, 0) 28%, rgba(0, 86, 64, 1) 89%, rgba(0, 86, 64, 0.9) 100%);
  pointer-events: none;
}

.hero__video {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero__video--poster {
  background-position: center;
  background-size: cover;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-top: 108px;
  padding-bottom: 280px;
}

.hero__copy {
  width: min(1005px, 88%);
}

.hero__title {
  margin: 0 0 28px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(42px, 5.4vw, 140px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__stats {
  display: grid;
  position: absolute;
  right: 0;
  bottom: 0;
  min-height: 150px;
  left: 0;
  z-index: 3;
  background: rgba(0, 86, 64, 0.96);
  align-content: center;
}

.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 18px);
  align-items: center;
  min-height: 104px;
  padding-top: 20px;
  padding-bottom: 20px;
  max-width: 1590px;
  justify-items: center;
}

.hero__stat p {
  margin: 0;
  color: #fff;
}

.hero__stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.hero__stat-value span {
  font-size: 1em;
  font-weight: 600;
}

.hero__stat-label {
  margin-top: 4px !important;
  font-size: clamp(8px, 0.7vw, 11px);
  font-weight: 400;
  line-height: 1.25;
}

@media (max-width: 1023px) {
  .hero {
    min-height: 720px;
  }

  .hero__content {
    padding-bottom: 210px;
  }

  .hero__copy {
    width: min(1005px, 82%);
  }

  .hero__stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 34px;
    min-height: 170px;
  }
}

@media (max-width: 599px) {
  .hero {
    min-height: 780px;
  }

  .hero__content {
    align-items: center;
    padding-top: 180px;
    padding-bottom: 260px;
  }

  .hero__copy {
    width: 100%;
  }

  .hero__title {
    font-size: clamp(38px, 11.5vw, 140px);
  }

  .hero__actions {
    flex-wrap: wrap;
  }

  .site-button--hero {
    min-width: 128px;
  }

  .hero__stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    min-height: 232px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero__stat-value {
    font-size: 20px;
  }

  .hero__stat-label {
    font-size: 9px;
  }
}


/*====================
Process Cards
====================*/

.process-section__grid {
  display: grid;
}

.process-card {
  min-height: clamp(320px, 31.6vw, 455px);
  overflow: hidden;
  position: relative;
}

.process-card__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 500ms ease;
  width: 100%;
  z-index: 1;
}

.process-card__overlay {
  background: rgba(10, 79, 59, 0.7);
  inset: 0;
  position: absolute;
  transition: background-color 350ms ease;
  z-index: 2;
}

.process-card--red .process-card__overlay {
  background: rgba(168, 41, 70, 0.6);
}

.process-card__content {
  bottom: 30px;
  left: clamp(26px, 3vw, 46px);
  max-width: min(86%, 420px);
  position: absolute;
  right: 24px;
  transform: translateY(calc(100% - 48px));
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.process-card h2 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 22px;
}

.process-card p {
  color: #fff;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.5;
  margin: 0;
  opacity: 0;
  transition: opacity 250ms ease 40ms;
}

.process-card__link {
  inset: 0;
  position: absolute;
  z-index: 4;
}

.process-card:has(.process-card__link) {
  cursor: pointer;
}

.process-card:hover .process-card__image,
.process-card:focus-within .process-card__image {
  transform: scale(1.035);
}

.process-card:hover .process-card__overlay,
.process-card:focus-within .process-card__overlay {
  background: rgba(10, 79, 59, 0.88);
}

.process-card--red:hover .process-card__overlay,
.process-card--red:focus-within .process-card__overlay {
  background: rgba(168, 41, 70, 0.86);
}

.process-card:hover .process-card__content,
.process-card:focus-within .process-card__content {
  transform: translateY(0);
}

.process-card:hover p,
.process-card:focus-within p {
  opacity: 1;
}

@media (min-width: 768px) {
  .process-section__grid {
    grid-template-columns: 1fr 1fr 1.09fr;
  }
}

@media (max-width: 767px) {
  .process-card {
    min-height: 360px;
  }

  .process-card__content {
    transform: translateY(0);
  }

  .process-card p {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-card__image,
  .process-card__content,
  .process-card p {
    transition-duration: 0.01ms;
  }
}

/*====================
CTA Bar
====================*/


.cta-sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--brand-main);
  color: #fff;
  padding: 10px 0;
  margin-bottom:3px
}

.cta-sec p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.CTA-title{
  font-family: 'Poppins', sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.cta-sec .site-button {
  margin: 0;
}

@media (max-width: 850px){
  .cta-sec{
    padding-bottom: 10px;
  }

  .site-title{
    text-align: center;
  }

  .site-text{
    text-align: center;
  }

  .cta-sec p {
    text-align: center;
    padding-bottom: 23px;
  }

}


/* ============================================================
   REUSABLE PAGE AND TEMPLATE COMPONENTS
   These sections contain the scoped styles for the ACF page
   builder and custom page templates.
   ============================================================ */

/* ============================================================
   ACF FLEXIBLE CONTENT PAGE BUILDER
   ============================================================ */

/* Reusable ACF Flexible Content page builder — Figma node 423:654. */
.page-builder {
  background: #fff;
  color: #000;
}

.builder-section {
  position: relative;
  padding: clamp(35px, 7vw, 50px) 0;
  overflow: hidden;
}

.builder-section--white { background: #fff; }
.builder-section--light-grey { background: #f9f9f9; }
.builder-section--green { background: var(--brand-main); color: #fff; }

.builder-section__background,
.builder-hero__image,
.builder-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.builder-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 79, 59, 0.86);
}

.builder-section--has-image > .container {
  position: relative;
  z-index: 1;
}

.builder-section__eyebrow {
  margin: 0 0 8px;
  color: var(--brand-sec);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.builder-section__title {
  margin: 0 0 24px;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 2.45vw, 36px);
  font-weight: 700;
  line-height: 1.18;
}

.builder-section__title_small {
  margin: 0 0 24px;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(18px, 2.45vw, 22px);
  font-weight: 700;
  line-height: 1.18;
}

.builder-section__copy {
  font-size: 16px;
  line-height: 1.5;
}

.builder-section__copy p:first-child { margin-top: 0; }
.builder-section__copy p:last-child { margin-bottom: 0; }
.builder-section__copy + .site-button {
  margin-top: 28px;
  width: fit-content;
}

.builder-section--green .builder-section__eyebrow,
.builder-section--green .builder-section__title,
.builder-section--green .builder-section__copy,
.builder-section--has-image .builder-section__eyebrow,
.builder-section--has-image .builder-section__title,
.builder-section--has-image .builder-section__copy {
  color: #fff;
}

.builder-hero {
  position: relative;
  display: flex;
  min-height: clamp(500px, 40.55vw, 584px);
  align-items: flex-end;
  overflow: hidden;
  background: var(--brand-main);
}

.builder-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0) 48%, rgba(10, 79, 59, 0.97) 100%);
}

.builder-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(42px, 4vw, 58px);
}

.builder-hero__eyebrow,
.builder-hero__title { margin: 0; color: #fff; }

.builder-hero__eyebrow {
  margin-bottom: 5px;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 500;
}

.builder-hero__title {
  max-width: 650px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.12;
}

.builder-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.builder-hero--stripe { margin-bottom: 53px; }
.builder-hero--stripe::after {
  position: absolute;
  right: 0;
  bottom: -53px;
  left: 0;
  z-index: 3;
  height: 53px;
  background: repeating-linear-gradient(90deg, #a82946 0 16.666%, #be2d4e 16.666% 33.333%, #c63354 33.333% 50%, #a82946 50% 66.666%, #e7375f 66.666% 83.333%, #a82946 83.333% 100%);
  content: "";
}

.builder-hero--stripe { overflow: visible; }

.builder-split__inner {
  --builder-container-gutter: max(5vw, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(50px, 8vw, 118px);
  align-items: stretch;
}

.builder-split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 338px;
}

.builder-split__media {
  width: calc(100% + var(--builder-container-gutter));
  min-height: 338px;
  overflow: hidden;
  max-height: 600px;
  background: #d9d9d9;
}

.builder-split__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.builder-split--reverse .builder-split__content { order: 2; }
.builder-split--reverse .builder-split__media {
  order: 1;
  margin-left: calc(var(--builder-container-gutter) * -1);
}

.builder-text__inner { max-width: 860px; }

.builder-cards__header {
  max-width: 680px;
  margin-bottom: 38px;
}

.builder-cards__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 16px;
}


.builder-card {
  position: relative;
  min-height: 208px;
  overflow: hidden;
  background: var(--brand-main);
  color: #fff;
}

.builder-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 79, 59, 0.88);
}

.builder-card--red { background: var(--brand-sec); }
.builder-card--red .builder-card__overlay { background: rgba(168, 41, 70, 0.88); }

.builder-card__content {
  position: relative;
  z-index: 1;
  padding: 28px 22px 24px;
}

.builder-card__number {
  position: absolute;
  top: 12px;
  right: 16px;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.builder-card h3 {
  margin: 0 34px 12px 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

.builder-card__content > p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.page-projects {
  --builder-container-gutter: max(5vw, calc((100vw - 1280px) / 2));
  padding: clamp(80px, 8vw, 118px) 0;
  overflow: hidden;
}

.page-projects__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.45fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
}

.page-projects--reverse .page-projects__intro { order: 2; }
.page-projects--reverse .page-projects__carousel { order: 1; }

.page-projects__heading {
  margin: 0 0 24px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 3vw, 40px);
  line-height: 1.16;
}

.page-projects__heading span { display: block; color: var(--brand-sec); }
.page-projects__copy { max-width: 460px; font-size: 16px; line-height: 1.45; }
.page-projects__copy + .site-button { margin-top: 24px; }

.page-projects__viewport {
  width: calc(100% + var(--builder-container-gutter));
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  touch-action: pan-y;
}

.page-projects__viewport::-webkit-scrollbar { display: none; }
.page-projects__viewport.is-dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }

.page-projects__track { display: flex; gap: 16px; width: max-content; }

.page-projects__card {
  position: relative;
  flex: 0 0 269px;
  height: 231px;
  overflow: hidden;
  scroll-snap-align: start;
}

.page-projects__card-link { position: absolute; inset: 0; color: #fff !important; text-decoration: none !important; }
.page-projects__image { width: 100%; height: 100%; object-fit: cover; }
.page-projects__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(102, 102, 102, 0) 16%, rgba(10, 79, 59, 0.98) 82%); }

.page-projects__units {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  background: #a82946;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.page-projects__card-content { position: absolute; right: 18px; bottom: 16px; left: 18px; }
.page-projects__type { margin: 0 0 3px; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.page-projects__card h3 { margin: 0 0 9px; color: #fff; font-family: 'Poppins', sans-serif; font-size: 19px; line-height: 1.2; }
.page-projects__learn-more { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; }
.page-projects__learn-more img { width: 15px; height: 15px; }

.page-projects__navigation { display: flex; gap: 12px; margin-top: 18px; }
.page-projects__navigation button { width: 20px; height: 28px; padding: 3px; border: 0; background: transparent; cursor: pointer; }
.page-projects__navigation img { display: block; width: 100%; height: 100%; object-fit: contain; }
.page-projects__navigation button:focus-visible { outline: 2px solid var(--brand-sec); outline-offset: 3px; }

@media (max-width: 1023px) {
  .builder-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-projects__layout { grid-template-columns: 1fr; }
  .page-projects--reverse .page-projects__intro,
  .page-projects--reverse .page-projects__carousel { order: initial; }
}

@media (max-width: 767px) {
  .builder-split__inner,
  .builder-cards__grid { grid-template-columns: 1fr; }

  .builder-split__content { min-height: 0; }
  .builder-split__media { min-height: 320px; }
  .builder-split--reverse .builder-split__content,
  .builder-split--reverse .builder-split__media { order: initial; }

  .builder-split__media {
    width: calc(100% + 10vw);
    margin-left: -5vw !important;
  }

  .builder-card { min-height: 190px; }
  .page-projects__card { flex-basis: min(269px, 78vw); }
}

@media (prefers-reduced-motion: reduce) {
  .page-projects__viewport { scroll-behavior: auto; }
}

/* ============================================================
   ABOUT PAGE TEMPLATE
   ============================================================ */

/* About page — Figma node 411:46. */
.about-page {
  background: #fff;
  color: #000;
}

.about-hero {
  position: relative;
  display: flex;
  min-height: clamp(440px, 40.55vw, 584px);
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--brand-main);
  background-image: var(--about-hero-image, none);
  background-position: center;
  background-size: cover;
}

.about-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0) 52%, rgba(10, 79, 59, 0.96) 100%);
  content: "";
}

.about-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(38px, 3.5vw, 52px);
}

.about-hero__eyebrow,
.about-hero__title {
  margin: 0;
  color: #fff;
}

.about-hero__eyebrow {
  margin-bottom: 4px;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 500;
}

.about-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(34px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.12;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-intro {
  padding: clamp(68px, 7.6vw, 110px) 0 48px;
  background: #f9f9f9;
}

.about-intro__content {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.about-intro__heading,
.about-feature__title {
  margin: 0;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.18;
}

.about-intro__heading {
  max-width: 470px;
  font-size: clamp(34px, 3.35vw, 75px);
}

.about-intro__copy {
  max-width: 715px;
  font-size: 16px;
  line-height: 1.55;
}

.about-intro__copy p:first-child {
  margin-top: 0;
}

.about-intro__copy p:last-child {
  margin-bottom: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 54px);
  padding-top: clamp(56px, 6vw, 86px);
}

.about-stats p {
  margin: 0;
  color: var(--brand-main);
}

.about-stats__value {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.about-stats__value span {
  font-size: 0.62em;
}

.about-stats__label {
  margin-top: 4px !important;
  font-size: 11px;
  line-height: 1.25;
}

.about-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 338px;
}

.about-features {
  --about-container-gutter: max(5vw, calc((100vw - 1280px) / 2));
  overflow: hidden;
}

.about-feature__content,
.about-feature__media {
  min-height: 338px;
}

.about-feature__content {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  padding: clamp(48px, 6vw, 88px);
  background: #fff;
}

.about-feature__content-inner {
  width: min(100%, 481px);
}

.about-feature__title {
  margin-bottom: 22px;
  font-size: clamp(26px, 2.25vw, 32px);
}

.about-feature__copy {
  margin-bottom: 26px;
  font-size: 16px;
  line-height: 1.5;
}

.about-feature__copy p {
  margin: 0;
}

.about-feature__media {
  width: calc(100% + var(--about-container-gutter));
  overflow: hidden;
  background: #d9d9d9;
}

.about-feature__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-feature--reverse .about-feature__content {
  order: 2;
}

.about-feature--reverse .about-feature__media {
  order: 1;
  margin-left: calc(var(--about-container-gutter) * -1);
}

@media (max-width: 1023px) {
  .about-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-feature__content {
    padding: 48px 42px;
  }
}

@media (max-width: 767px) {
  .about-hero {
    min-height: 500px;
  }

  .about-intro__content,
  .about-feature {
    grid-template-columns: 1fr;
  }

  .about-intro__content {
    gap: 30px;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .about-feature__content,
  .about-feature__media {
    min-height: 320px;
  }

  .about-feature__content {
    padding: 48px 24px;
  }

  .about-feature--reverse .about-feature__content,
  .about-feature--reverse .about-feature__media {
    order: initial;
  }

  .about-feature__media {
    order: 2 !important;
    width: calc(100% + 10vw);
    margin-left: -5vw !important;
  }
}

/* ============================================================
   OFFSITE CONSTRUCTION PAGE TEMPLATE
   ============================================================ */

/* Offsite Construction page — Figma node 416:282. */
.offsite-page {
  background: #fff;
  color: #000;
}

.offsite-page-hero {
  position: relative;
  display: flex;
  min-height: clamp(500px, 40.55vw, 584px);
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--brand-main);
  background-image: var(--offsite-hero-image, none);
  background-position: center;
  background-size: cover;
}

.offsite-page-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0) 0%, rgba(10, 79, 59, 0.97) 82%);
  content: "";
}

.offsite-page-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(42px, 4vw, 58px);
}

.offsite-page-hero__eyebrow,
.offsite-page-hero__title {
  margin: 0;
  color: #fff;
}

.offsite-page-hero__eyebrow {
  margin-bottom: 4px;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 500;
}

.offsite-page-hero__title {
  max-width: 650px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(34px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.12;
}

.offsite-page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.offsite-process {
  padding: clamp(56px, 5vw, 74px) 0 clamp(64px, 7vw, 100px);
}

.offsite-process__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(22px, 3.4vw, 52px);
}

.offsite-process__icon {
  width: 100%;
  height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  overflow: hidden;
}

.offsite-process__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.offsite-process__title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.offsite-process__title::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--brand-main);
  content: "";
}

.offsite-process__description {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.offsite-engineering {
  padding-bottom: clamp(82px, 8vw, 120px);
}

.offsite-engineering__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  gap: clamp(54px, 8vw, 120px);
  align-items: start;
}

.offsite-engineering__intro h2,
.offsite-system__content h2 {
  margin: 0 0 24px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}

.offsite-engineering__copy,
.offsite-system__content {
  font-size: 16px;
  line-height: 1.5;
}

.offsite-engineering__copy p:first-child,
.offsite-system__content p:first-child {
  margin-top: 0;
}

.offsite-engineering__copy p:last-child,
.offsite-system__content p:last-child {
  margin-bottom: 0;
}

.offsite-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.offsite-capability {
  position: relative;
  min-height: 167px;
  padding: 36px 28px 24px;
  overflow: hidden;
  background-color: var(--brand-main);
  background-image: linear-gradient(var(--capability-overlay), var(--capability-overlay)), var(--capability-image, none);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.offsite-capability--green {
  --capability-overlay: rgba(10, 79, 59, 0.88);
}

.offsite-capability--red {
  --capability-overlay: rgba(168, 41, 70, 0.88);
  background-color: var(--brand-sec);
}

.offsite-capability__number {
  position: absolute;
  top: 14px;
  right: 18px;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.offsite-capability h3 {
  margin: 0 40px 10px 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  line-height: 1.15;
}

.offsite-capability > p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.offsite-systems {
  padding-bottom: clamp(90px, 9vw, 132px);
}

.offsite-system {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 396px;
  margin-bottom: 16px;
}

.offsite-system:last-child {
  margin-bottom: 0;
}

.offsite-system__media {
  min-height: 396px;
  overflow: hidden;
  background: #d9d9d9;
}

.offsite-system__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offsite-system__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 6vw, 88px);
  background: #fff;
}

.offsite-system--image-right .offsite-system__media {
  order: 2;
}

.offsite-system--image-right .offsite-system__content {
  order: 1;
}

@media (max-width: 1023px) {
  .offsite-process__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offsite-engineering__inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .offsite-process__grid,
  .offsite-capabilities,
  .offsite-system {
    grid-template-columns: 1fr;
  }

  .offsite-process__grid {
    gap: 42px;
  }

  .offsite-process__icon {
    height: 120px;
  }

  .offsite-system__media,
  .offsite-system__content {
    min-height: 320px;
  }

  .offsite-system__content {
    padding: 48px 24px;
  }

  .offsite-system--image-right .offsite-system__media,
  .offsite-system--image-right .offsite-system__content {
    order: initial;
  }
}

/* ============================================================
   WHY CYGNUM PAGE TEMPLATE
   ============================================================ */

/* Why Cygnum page — Figma node 434:166. */
.why-cygnum-page {
  background: #fff;
  color: #000;
}

.why-cygnum-hero {
  position: relative;
  display: flex;
  min-height: clamp(500px, 40.55vw, 584px);
  margin-bottom: 53px;
  align-items: flex-end;
  background: var(--brand-main);
}

.why-cygnum-hero::after {
  position: absolute;
  right: 0;
  bottom: -53px;
  left: 0;
  z-index: 3;
  height: 53px;
  background: repeating-linear-gradient(90deg, #a82946 0 16.666%, #be2d4e 16.666% 33.333%, #c63354 33.333% 50%, #a82946 50% 66.666%, #e7375f 66.666% 83.333%, #a82946 83.333% 100%);
  content: "";
}

.why-cygnum-hero__image,
.why-cygnum-feature__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-cygnum-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0) 48%, rgba(10, 79, 59, 0.97) 100%);
}

.why-cygnum-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(42px, 4vw, 58px);
}

.why-cygnum-hero__eyebrow,
.why-cygnum-hero__title {
  margin: 0;
  color: #fff;
}

.why-cygnum-hero__eyebrow {
  margin-bottom: 5px;
  font-size: clamp(16px, 1.7vw, 24px);
  font-weight: 500;
}

.why-cygnum-hero__title {
  max-width: 650px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.12;
}

.why-cygnum-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.why-cygnum-features {
  --why-cygnum-gutter: max(5vw, calc((100vw - 1280px) / 2));
  overflow: hidden;
}

.why-cygnum-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 500px;
}

.why-cygnum-feature__content,
.why-cygnum-feature__media {
  min-height: 500px;
}

.why-cygnum-feature__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Click-to-load video preview: YouTube is not requested until activation. */
.why-cygnum-feature__video-trigger {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--brand-main);
  color: #fff;
  cursor: pointer;
}

.why-cygnum-feature__video-thumbnail,
.why-cygnum-feature__video-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.why-cygnum-feature__video-thumbnail {
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.why-cygnum-feature__video-shade {

  transition: background-color 250ms ease;
}

.why-cygnum-feature__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  /* border: 3px solid #fff; */
  border-radius: 50%;
  background: var(--brand-sec);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
  transform: translate(-50%, -50%);
  transition: background-color 200ms ease, transform 200ms ease;
}

.why-cygnum-feature__play span {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid #fff;
}

.why-cygnum-feature__play-label {
  position: absolute;
  right: 0;
  bottom: 38px;
  left: 0;
  z-index: 1;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.why-cygnum-feature__video-trigger:hover .why-cygnum-feature__video-thumbnail {
  transform: scale(1.04);
}

.why-cygnum-feature__video-trigger:hover .why-cygnum-feature__play {
  background: var(--brand-sec-hover);
  transform: translate(-50%, -50%) scale(1.07);
}

.why-cygnum-feature__video-trigger:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -8px;
}

.why-cygnum-feature__video-fallback {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .why-cygnum-feature__video-thumbnail,
  .why-cygnum-feature__play {
    transition: none;
  }
}


/* ================================================== */
/* CONTENT ARCHIVES: CASE STUDIES AND NEWS             */
/* ================================================== */

.content-archive {
  --archive-green: #075b46;
  --archive-red: #b12648;
  background: #fff;
}

/* White archive header treatment over the solid-green hero. */
body.blog .main-header,
body.post-type-archive-case_study .main-header,
body.post-type-archive-case-study .main-header {
  background: transparent;
}

body.blog .main-header .home-link__logo,
body.post-type-archive-case_study .main-header .home-link__logo,
body.post-type-archive-case-study .main-header .home-link__logo {
  filter: brightness(0) invert(1);
}

body.blog .main-header__burger-icon span,
body.post-type-archive-case_study .main-header__burger-icon span,
body.post-type-archive-case-study .main-header__burger-icon span {
  background: #fff;
}

.content-archive__hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 430px;
  overflow: hidden;
  padding: 180px 0 72px;
  background: var(--archive-green);
  color: #fff;
}

.content-archive__hero::after {
  content: none;
}

.content-archive__hero-inner {
  position: relative;
  z-index: 1;
}

.content-archive__eyebrow {
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.content-archive__title {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 3.1vw, 44px);
  font-weight: 700;
  line-height: 1.05;
}

.content-archive__intro {
  max-width: 680px;
  margin: 22px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
}

.content-archive__listing {
  padding: clamp(70px, 8vw, 120px) 0;
}

/* Case Study archive sector filter. */
.case-study-filter {
  margin-bottom: clamp(38px, 5vw, 64px);
}

.case-study-filter__label {
  margin: 0 0 14px;
  color: var(--archive-green);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.case-study-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#primary > section > div > nav.case-study-filter > ul a{
  color: var(--archive-green);
}

.case-study-filter__link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 18px;
  border: 2px solid var(--archive-green);
  background: #fff;
  color: var(--archive-green);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.case-study-filter__link:hover,
.case-study-filter__link:focus-visible,
.case-study-filter__link.is-active {
  border-color: var(--archive-green);
  background: var(--archive-green);
  color: #fff!important;
}

.case-study-filter__link:focus-visible {
  outline: 3px solid var(--archive-red);
  outline-offset: 3px;
}

.content-archive__grid {
  display: grid;
  gap: clamp(24px, 3vw, 38px);
}

.content-archive__grid--projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.content-archive__grid--news { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Case study archive cards. */
.archive-project-card {
  position: relative;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  background: var(--archive-green);
}

.archive-project-card__link {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  color: #fff !important;
  text-decoration: none !important;
}



.archive-project-card__image,
.archive-project-card__placeholder {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.22, 1, .36, 1);
}

.archive-project-card__placeholder { background: linear-gradient(135deg, #0a4f3b, #08745a); }

.archive-project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 44, 34, .05) 12%, rgba(7, 79, 60, .98) 88%);
}

.archive-project-card__units {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.archive-project-card__content {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
}

.archive-project-card__type {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.archive-project-card__title {
  margin: 0 0 12px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.2;
}

.archive-project-card__more,
.archive-news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.archive-project-card__link:hover .archive-project-card__image,
.archive-project-card__link:focus-visible .archive-project-card__image { transform: scale(1.06); }

.archive-project-card__link:focus-visible,
.archive-news-card__image-link:focus-visible,
.archive-news-card__title a:focus-visible,
.archive-news-card__more:focus-visible {
  outline: 3px solid var(--archive-red);
  outline-offset: 3px;
}

/* News archive cards. */
.archive-news-card { margin: 0; }

.archive-news-card__image-link {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--archive-green);
}

.archive-news-card__image,
.archive-news-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(.22, 1, .36, 1);
}

.archive-news-card__placeholder { background: linear-gradient(135deg, #0a4f3b, #08745a); }
.archive-news-card__image-link:hover .archive-news-card__image { transform: scale(1.05); }
.archive-news-card__body { padding-top: 20px; }

.archive-news-card__meta {
  margin: 0 0 8px;
  color: var(--archive-red);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.archive-news-card__title {
  margin: 0 0 10px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.25;
}

.archive-news-card__title a { color: #111; text-decoration: none; }
.archive-news-card__title a:hover { color: var(--archive-red); }

.archive-news-card__excerpt {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

.archive-news-card__more {
  margin-top: 18px;
  color: #111;
  text-decoration: none;
}

.archive-news-card__more:hover { color: var(--archive-red); }

/* Shared numbered pagination. */
.content-archive .navigation.pagination { margin-top: clamp(48px, 6vw, 76px); }
.content-archive .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }

.content-archive .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  border: 2px solid var(--archive-green);
  color: var(--archive-green);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.content-archive .page-numbers.current,
.content-archive .page-numbers:hover,
.content-archive .page-numbers:focus-visible { background: var(--archive-green); color: #fff; }
.content-archive .page-numbers:focus-visible { outline: 2px solid var(--archive-red); outline-offset: 2px; }
.content-archive__empty { margin: 0; font-size: 18px; }

@media (max-width: 1023px) {
  .content-archive__grid--projects,
  .content-archive__grid--news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .content-archive__hero { min-height: 390px; padding: 160px 0 58px; }
  .content-archive__hero::after { right: -35vw; bottom: -150px; width: 92vw; opacity: .7; }
  .content-archive__intro { max-width: 90%; font-size: 16px; }
  .content-archive__grid--projects,
  .content-archive__grid--news { grid-template-columns: 1fr; }
  .archive-project-card { min-height: 360px; }
  .case-study-filter__list { flex-wrap: nowrap; padding: 3px; overflow-x: auto; scrollbar-width: thin; }
  .case-study-filter__list li { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .archive-project-card__image,
  .archive-news-card__image,
  .case-study-filter__link { transition: none; }
}

.why-cygnum-feature__content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 4vw, 64px);
  background: #fff;
}

.why-cygnum-feature__content-inner {
  width: min(100%, 525px);
}

.why-cygnum-feature__title {
  margin: 0 0 8px;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(27px, 2.3vw, 32px);
  font-weight: 700;
  line-height: 1.18;
}

.why-cygnum-feature__title span,
.why-cygnum-feature__kicker {
  color: var(--brand-sec);
}

.why-cygnum-feature__kicker {
  margin: 0 0 26px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.why-cygnum-feature__copy {
  font-size: 16px;
  line-height: 1.5;
}

.why-cygnum-feature__copy p:first-child { margin-top: 0; }
.why-cygnum-feature__copy p:last-child { margin-bottom: 0; }

.why-cygnum-feature__list {
  margin: 24px 0 0;
  padding-left: 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.why-cygnum-feature__media {
  position: relative;
  width: calc(100% + var(--why-cygnum-gutter));
  overflow: hidden;
  background: #d9d9d9;
}

.why-cygnum-feature--image-left .why-cygnum-feature__media {
  order: 1;
  margin-left: calc(var(--why-cygnum-gutter) * -1);
}
.why-cygnum-feature--image-left .why-cygnum-feature__content { order: 2; }
.why-cygnum-feature--image-right .why-cygnum-feature__content { order: 1; }
.why-cygnum-feature--image-right .why-cygnum-feature__media { order: 2; }

@media (max-width: 1023px) {
  .why-cygnum-feature__content { padding: 54px 42px; }
}

@media (max-width: 767px) {
  .why-cygnum-feature { grid-template-columns: 1fr; }
  .why-cygnum-feature__content,
  .why-cygnum-feature__media { min-height: 360px; }
  .why-cygnum-feature__content { padding: 50px 24px; }
  .why-cygnum-feature__content { order: 1 !important; }
  .why-cygnum-feature__media {
    order: 2 !important;
    width: calc(100% + 10vw);
    margin-left: -5vw !important;
  }
}

/* Why Cygnum: partnership, collaboration, audiences and project CTA. */
.why-partner {
  --why-cygnum-gutter: max(5vw, calc((100vw - 1280px) / 2));
  overflow: hidden;
  background: var(--brand-main);
  color: #fff;
}

.why-partner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(52px, 7vw, 110px);
  align-items: center;
  min-height: 431px;
}

.why-partner__content { max-width: 525px; padding: 72px 0; }

.why-partner h2,
.why-collaboration h2,
.why-audiences h2 {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.25;
}

.why-partner__subheading {
  margin: 8px 0 22px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.why-partner__copy { font-size: 16px; line-height: 1.5; }
.why-partner__copy p:first-child { margin-top: 0; }
.why-partner__copy p:last-child { margin-bottom: 0; }

.why-partner__media {
  width: calc(100% + var(--why-cygnum-gutter));
  height: 346px;
  overflow: hidden;
}

.why-partner__image,
.why-project-cta__image,
.why-audience-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-collaboration { padding: clamp(76px, 7vw, 90px) 0; background: #f7f7f7; }

.why-collaboration__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(70px, 10vw, 150px);
}

.why-collaboration__content { max-width: 500px; }
.why-collaboration h2 { max-width: 450px; margin-bottom: 24px; }
.why-collaboration__copy { font-size: 16px; line-height: 1.5; }
.why-collaboration__copy p { margin: 0 0 10px; }
.why-collaboration__copy p:last-child { margin-bottom: 0; }

.why-collaboration__benefits { max-width: 465px; }
.why-collaboration__benefits h3 { margin: 0 0 12px; font-family: 'Poppins', sans-serif; font-size: 16px; line-height: 1.4; }
.why-collaboration__benefits ul { margin: 0; padding: 0; list-style: none; }
.why-collaboration__benefits li { padding: 8px 7px; border-bottom: 1px solid var(--brand-main); font-size: 16px; line-height: 1.25; }

.why-audiences { padding: clamp(54px, 6vw, 76px) 0 48px; overflow: hidden; background: #fff; }
.why-audiences h2 { max-width: 660px; margin-bottom: 42px; }
.why-audiences__viewport { overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; scroll-snap-type: x mandatory; }
.why-audiences__viewport::-webkit-scrollbar { display: none; }
.why-audiences__track { display: flex; width: 100%; gap: 16px; }

.why-audience-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 0;
  min-height: 208px;
  overflow: hidden;
  color: #fff;
  scroll-snap-align: start;
}

.why-audience-card__image,
.why-audience-card__overlay { position: absolute; inset: 0; }
.why-audience-card__overlay { background: rgba(10, 79, 59, .85); }
.why-audience-card--red .why-audience-card__overlay { background: rgba(168, 41, 70, .88); }

.why-audience-card__number {
  position: absolute;
  top: 15px;
  right: 17px;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 19px;
  font-weight: 700;
}

.why-audience-card__content { position: absolute; right: 20px; bottom: 22px; left: 20px; z-index: 1; }
.why-audience-card__content h3 { margin: 0 38px 10px 0; color: #fff; font-family: 'Poppins', sans-serif; font-size: 22px; line-height: 1.15; }
.why-audience-card__content p { margin: 0; color: #fff; font-size: 14px; line-height: 1.38; }

.why-audiences__navigation { display: flex; justify-content: flex-end; gap: 13px; margin-top: 24px; }
.why-audiences__navigation button { width: 22px; height: 30px; padding: 3px; border: 0; background: transparent; cursor: pointer; }
.why-audiences__navigation button:disabled { cursor: default; opacity: .3; }
.why-audiences__navigation button:focus-visible { outline: 2px solid var(--brand-sec); outline-offset: 3px; }
.why-audiences__navigation img { display: block; width: 100%; height: 100%; object-fit: contain; }

.why-project-cta {
  position: relative;
  display: grid;
  min-height: 334px;
  place-items: center;
  overflow: hidden;
  background: var(--brand-main);
  color: #fff;
}

.why-project-cta__image,
.why-project-cta__overlay { position: absolute; inset: 0; }
.why-project-cta__overlay { background: rgba(10, 79, 59, .89); }

.why-project-cta__content { position: relative; z-index: 1; max-width: 710px; padding-top: 62px; padding-bottom: 62px; text-align: center; }
.why-project-cta__copy { font-size: 20px; line-height: 1.35; }
.why-project-cta__copy p { margin: 0 0 16px; }
.why-project-cta__copy p:last-child { margin-bottom: 0; font-weight: 600; }
.why-project-cta .site-button { margin: 22px auto 0; }

@media (max-width: 1023px) {
  .why-partner__inner { gap: 48px; }
  .why-audience-card { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 767px) {
  .why-partner__inner,
  .why-collaboration__inner { grid-template-columns: 1fr; }
  .why-partner__inner { gap: 0; }
  .why-partner__content { padding: 58px 0 46px; }
  .why-partner__media { width: calc(100% + 10vw); height: 300px; margin-left: -5vw; }
  .why-collaboration { padding: 60px 0; }
  .why-collaboration__inner { gap: 44px; }
  .why-audiences h2 { margin-bottom: 30px; }
  .why-audience-card { flex-basis: min(295px, 82vw); }
  .why-audiences__track { width: max-content; }
  .why-project-cta { min-height: 370px; }
  .why-project-cta__content { padding-top: 54px; padding-bottom: 54px; }
  .why-project-cta__copy { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .why-audiences__viewport { scroll-behavior: auto; }
}


/* ================================================== */
/* SINGLE NEWS / POST                                 */
/* ================================================== */

.news-single {
  --news-green: #075b46;
  --news-red: #b12648;
  overflow: hidden;
  background: #fff;
  color: #161616;
}

body.single-post .main-header { background: transparent; }
body.single-post .main-header .home-link__logo { filter: brightness(0) invert(1); }
body.single-post .main-header__burger-icon span { background: #fff; }

.news-single h1,
.news-single h2,
.news-single h3 { font-family: 'Poppins', sans-serif; }

/* Article hero */
.news-single-hero {
  position: relative;
  display: flex;
  min-height: 610px;
  align-items: flex-end;
  overflow: hidden;
  background: var(--news-green);
  color: #fff;
}

.news-single-hero__image,
.news-single-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.news-single-hero__image { object-fit: cover; }
.news-single-hero__overlay { background: linear-gradient(180deg, rgba(7, 91, 70, .38), rgba(7, 91, 70, .98)); }
.news-single-hero:not(.news-single-hero--has-image) .news-single-hero__overlay { background: linear-gradient(135deg, #075b46, #0a4f3b); }

.news-single-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 82px;
}

.news-single-hero__back {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 52px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.news-single-hero__back:hover { color: #fff; text-decoration: underline; }

.news-single-hero__eyebrow {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.news-single-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5.5vw, 50px);
  line-height: 1.30;
}

.news-single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: #fff;
  font-weight: 600;
}

.news-single-hero__stripe {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 18px;
  background: repeating-linear-gradient(90deg, #a82946 0 16.66%, #be2d4e 16.66% 33.33%, #c63354 33.33% 50%);
}

/* Article content and share links */
.news-article { padding: clamp(70px, 8vw, 115px) 0; }

.news-article__layout {
  display: grid;
  grid-template-columns: 100px minmax(0, 790px);
  gap: clamp(40px, 6vw, 85px);
  justify-content: center;
  align-items: start;
}

@media (max-width: 900px) {
  .news-article__layout {
    display: block;
   }
   .entry-content{
    padding-top: 30px;
  }
}

.news-article__aside {
  position: sticky;
  top: 120px;
}

.news-article__aside > span {
  display: block;
  margin-bottom: 14px;
  color: var(--news-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.news-article__share { display: flex; flex-direction: column; gap: 10px; }

.news-article__share a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--news-green);
  border-radius: 50%;
  color: var(--news-green);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.news-article__share a:hover,
.news-article__share a:focus-visible {
  background: var(--news-green);
  color: #fff;
  transform: translateY(-2px);
}



.news-article__content {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #252525;
  font-size: 18px;
  line-height: 1.72;
}

.news-article__standfirst {
  margin: 0 0 38px;
  color: var(--news-green);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.4;
}

.news-article__content h2 { margin: 54px 0 18px; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; }
.news-article__content h3 { margin: 40px 0 14px; font-size: clamp(22px, 2.5vw, 29px); line-height: 1.25; }
.news-article__content a { color: var(--news-red); }
.news-article__content img { height: auto; }
.news-article__content figure { margin-top: 40px; margin-bottom: 40px; }
.news-article__content blockquote { margin: 45px 0; padding: 32px 38px; border-left: 7px solid var(--news-red); background: #f1f1f1; color: var(--news-green); font-family: 'Poppins', sans-serif; font-size: 23px; font-weight: 600; }
.news-article__content blockquote p:last-child { margin-bottom: 0; }

.news-article__tags {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 58px;
  padding-top: 26px;
  border-top: 1px solid rgba(7, 91, 70, .25);
}

.news-article__tags strong { color: var(--news-green); }
.news-article__tags a { display: inline-block; margin: 0 8px 8px 0; padding: 6px 11px; background: #f1f1f1; color: #222; text-decoration: none; }
.news-article__tags a:hover { background: var(--news-green); color: #fff; }

/* Previous and next articles */
.news-single-nav { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.news-single-nav__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-single-nav__item { min-height: 170px; padding: 42px 0; }
.news-single-nav__item--previous { padding-right: 55px; border-right: 1px solid #ddd; }
.news-single-nav__item--next { padding-left: 55px; text-align: right; }
.news-single-nav__item a { display: block; color: var(--news-green); text-decoration: none; }
.news-single-nav__item a > span { display: block; margin-bottom: 10px; color: var(--news-red); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.news-single-nav__item strong { font-family: 'Poppins', sans-serif; font-size: clamp(18px, 2vw, 25px); line-height: 1.3; }
.news-single-nav__item b { font-weight: inherit; }
.news-single-nav__item a:hover strong { color: var(--news-red); }

/* Related article cards reuse the News archive card design. */
.news-related { padding: clamp(75px, 8vw, 110px) 0; background: #f5f5f5; }
.news-related__heading { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 42px; }
.news-related__heading p { margin: 0 0 5px; color: var(--news-red); font-weight: 700; }
.news-related__heading h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); }
.news-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 38px); }

@media (max-width: 900px) {
  .news-article__layout { grid-template-columns: 1fr; }
  .news-article__aside { position: static; }
  .news-article__share { flex-direction: row; }
  .news-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .news-single-hero { min-height: 570px; }
  .news-single-hero__back { margin-bottom: 35px; }
  .news-article__content { font-size: 17px; }
  .news-article__content blockquote { padding: 25px; font-size: 20px; }
  .news-single-nav__grid,
  .news-related__grid { grid-template-columns: 1fr; }
  .news-single-nav__item { min-height: 0; }
  .news-single-nav__item--previous { padding-right: 0; border-right: 0; border-bottom: 1px solid #ddd; }
  .news-single-nav__item--next { padding-left: 0; text-align: left; }
  .news-related__heading { display: block; }
  .news-related__heading .site-button { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .news-article__share a { transition: none; }
}

#primary > header > div.container.case-study-hero__content > a{
  color: #fff;
}
#primary > header > div.container.news-single-hero__content > a{
  color: #fff;
}
.about-feature > .about-feature__content{
 padding: clamp(48px, 6vw, 88px)
          clamp(48px, 6vw, 88px)
          clamp(48px, 6vw, 88px)
          clamp(0px, 6vw, 0px)
}

.about-feature--reverse > .about-feature__content{
   padding: clamp(48px, 6vw, 88px);
}

/* =========================================
   Careers Gallery Lightbox
========================================= */

.careers-gallery__slide {
	cursor: zoom-in;
}

/* Lightbox */
.careers-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: clamp(20px, 5vw, 80px);

	background: rgba(0, 0, 0, 0.92);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transition:
		opacity 0.3s ease,
		visibility 0.3s ease;
}

.careers-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}


/* Image */
.careers-lightbox__image {
	display: block;

	width: auto;
	height: auto;

	max-width: 90vw;
	max-height: 88vh;

	object-fit: contain;
}


/* Close */
.careers-lightbox__close {
	position: absolute;
	top: 25px;
	right: 30px;

	z-index: 2;

	padding: 0;

	color: #fff;
	background: transparent;
	border: 0;

	font-size: 48px;
	line-height: 1;

	cursor: pointer;
}


/* Previous / Next */
.careers-lightbox__previous,
.careers-lightbox__next {
	position: absolute;
	top: 50%;

	transform: translateY(-50%);

	display: flex;
	align-items: center;
	justify-content: center;

	width: 50px;
	height: 50px;

	padding: 0;

	color: #fff;
	background: transparent;
	border: 0;

	font-size: 36px;

	cursor: pointer;
}

.careers-lightbox__previous {
	left: 30px;
}

.careers-lightbox__next {
	right: 30px;
}

.careers-lightbox__close:hover,
.careers-lightbox__previous:hover,
.careers-lightbox__next:hover {
	opacity: 0.6;
}


/* Prevent page scrolling */
body.careers-lightbox-open {
	overflow: hidden;
}


@media (max-width: 767px) {

	.careers-lightbox {
		padding: 60px 15px;
	}

	.careers-lightbox__image {
		max-width: 100%;
		max-height: 80vh;
	}

	.careers-lightbox__previous {
		left: 10px;
	}

	.careers-lightbox__next {
		right: 10px;
	}

	.careers-lightbox__previous,
	.careers-lightbox__next {
		width: 44px;
		height: 44px;

		background: rgba(0, 0, 0, 0.4);

		font-size: 26px;
	}

	.careers-lightbox__close {
		top: 15px;
		right: 20px;
	}

}
/* ==================================================
   DROPDOWN MENUS
================================================== */

.main-navigation .menu-item-has-children {
	position: relative;
}

.main-navigation .menu-item-has-children > .sub-menu {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transition:
		opacity 0.25s ease,
		visibility 0.25s ease;
}


/* Hover */
.main-navigation .menu-item-has-children:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}


/* Click */
.main-navigation .menu-item-has-children.focus > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}


/* Keyboard */
.main-navigation .menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}


/* ==================================================
   PRODUCTS: ARCHIVE AND SINGLE
================================================== */

.product-archive,
.product-single {
  --product-green: #075b46;
  --product-red: #b12648;
  --product-grey: #f1f1f1;
  background: #fff;
}

/* Match the solid-green Case Studies banner and white header treatment. */
body.post-type-archive-product .main-header,
body.single-product .main-header {
  background: transparent;
}

body.post-type-archive-product .main-header .home-link__logo,
body.single-product .main-header .home-link__logo {
  filter: brightness(0) invert(1);
}

body.post-type-archive-product .main-header__burger-icon span,
body.single-product .main-header__burger-icon span {
  background: #fff;
}

.product-hero {
  position: relative;
  display: flex;
  min-height: 430px;
  align-items: flex-end;
  overflow: hidden;
  padding: 180px 0 72px;
  color: #fff;
  background: var(--product-green);
}

.product-hero__content {
  position: relative;
  z-index: 1;
}

.product-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  color: #fff !important;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.product-hero__back:hover,
.product-hero__back:focus-visible {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-hero__back:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 5px;
}

.product-hero__eyebrow,
.product-section__eyebrow {
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.product-hero h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(42px, 4.2vw, 64px);
  font-weight: 700;
  line-height: 1.05;
}

.product-hero__intro {
  max-width: 560px;
  margin: 12px 0 34px;
  color: #fff;
  font-size: 20px;
  line-height: 1.45;
}

.product-hero--archive .site-button { margin-top: 52px; }

/* Product archive cards. */
.product-archive__listing { padding: clamp(76px, 9vw, 126px) 0; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.product-card { margin: 0; background: var(--product-grey); }

.product-card__image-link {
  display: block;
  aspect-ratio: 400 / 239;
  overflow: hidden;
  background: #d9d9d9;
}

.product-card__image,
.product-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(.22, 1, .36, 1);
}

.product-card__placeholder { background: linear-gradient(135deg, #dadada, #f4f4f4); }
.product-card__image-link:hover .product-card__image { transform: scale(1.045); }
.product-card__body { min-height: 239px; padding: 30px 28px; }

.product-card__title {
  margin: 0 0 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.product-card__title a { color: #111; text-decoration: none; }
.product-card__title a:hover { color: var(--product-red); }
.product-card__excerpt { min-height: 72px; margin-bottom: 24px; color: #333; font-size: 16px; line-height: 1.5; }
.product-card__excerpt p { margin: 0; }

.product-card__image-link:focus-visible,
.product-card__title a:focus-visible {
  outline: 3px solid var(--product-red);
  outline-offset: 3px;
}

.product-archive .navigation.pagination { margin-top: 60px; }
.product-archive .nav-links { display: flex; justify-content: center; gap: 8px; }
.product-archive .page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; border: 2px solid var(--product-green); color: var(--product-green); font-weight: 700; text-decoration: none; }
.product-archive .page-numbers.current,
.product-archive .page-numbers:hover { background: var(--product-green); color: #fff; }

/* Product overview. */
.product-overview { padding: 24px 0 56px; }

.product-overview__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(48px, 8vw, 115px);
}

.product-overview__content h2,
.product-contact h2 {
  margin: 0 0 24px;
  color: #111;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1.18;
}

.product-overview__copy { color: #252525; font-size: 17px; line-height: 1.65; }
.product-overview__copy > :last-child { margin-bottom: 0; }
.product-overview__media { margin: 0; }
.product-overview__media img { display: block; width: 100%; height: auto; }

/* Timed product diagram slideshow. */
.product-diagram {
  position: relative;
  overflow: hidden;
  background: #f1f1f1;
}

.product-diagram__slides { display: grid; }

.product-diagram__slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.product-diagram__slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.product-diagram__slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 610 / 371;
  object-fit: contain;
}

.product-diagram__controls {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.product-diagram:hover .product-diagram__controls,
.product-diagram:focus-within .product-diagram__controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.product-diagram__button {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: var(--product-green);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.product-diagram__button:hover,
.product-diagram__button:focus-visible { background: var(--product-red); }
.product-diagram__button:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }

.product-diagram__status {
  min-width: 58px;
  height: 44px;
  margin: 0;
  padding: 12px 10px;
  background: #fff;
  color: var(--product-green);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}

/* Technical specifications. */
.product-specs { padding: clamp(68px, 7vw, 86px) 0; background: var(--product-green); color: #fff; }

.product-specs__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(60px, 9vw, 126px);
}

.product-specs__table { margin: 0; }

.product-specs__table > div {
  display: grid;
  grid-template-columns: minmax(150px, .9fr) 1.1fr;
  gap: 22px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.product-specs__table dt { font-weight: 400; }
.product-specs__table dd { margin: 0; font-weight: 700; }

.product-specs__supplied h2 {
  margin: 0 0 20px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  line-height: 1.2;
}

.product-specs__supplied ul { margin: 0 0 25px; padding-left: 20px; }
.product-specs__supplied li { margin-bottom: 6px; }
.product-specs__options { margin-top: 24px; }
.product-specs__options a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.product-specs__footnote { margin: 18px 0 0; font-size: 13px; opacity: .84; }

/* Product enquiry section. */
.product-contact { padding: clamp(72px, 9vw, 128px) 0; background: #fff; }

.product-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(55px, 9vw, 130px);
}

.product-contact .product-section__eyebrow { color: var(--product-red); }
.product-contact__details > p:not(.product-section__eyebrow) { max-width: 470px; font-size: 17px; line-height: 1.6; }
.product-contact__item { padding: 18px 0; border-bottom: 1px solid #d8d8d8; }
.product-contact__item strong { display: block; margin-bottom: 6px; color: var(--product-green); font-family: 'Poppins', sans-serif; }
.product-contact__item p { margin: 0; }
.product-contact__item a { color: #222; }

.product-contact__form { padding: clamp(34px, 5vw, 58px); background: var(--product-green); color: #fff; }
.product-contact__form h2 { color: #fff; }
.product-contact__form .frm_primary_label,
.product-contact__form label { color: #fff !important; }
.product-contact__form input:not([type='submit']):not([type='file']),
.product-contact__form textarea,
.product-contact__form select { width: 100%; border: 0; border-radius: 0; background: #fff; }
.product-contact__form .frm_button_submit { border: 2px solid #fff !important; border-radius: 0 !important; background: transparent !important; color: #fff !important; box-shadow: none !important; }
.product-contact__form .frm_button_submit:hover { background: #fff !important; color: var(--product-green) !important; }

@media (max-width: 1023px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-overview__grid,
  .product-specs__grid,
  .product-contact__grid { gap: 50px; }
}

@media (max-width: 767px) {
  .product-hero { min-height: 390px; padding: 160px 0 58px; }
  .product-hero__intro { font-size: 17px; }
  .product-hero--archive .site-button { margin-top: 36px; }
  .product-grid,
  .product-overview__grid,
  .product-specs__grid,
  .product-contact__grid { grid-template-columns: 1fr; }
  .product-overview__media { order: -1; }
  .product-specs__table > div { grid-template-columns: 1fr; gap: 4px; }
  .product-contact__form { padding: 30px 22px; }
}

@media (hover: none) {
  .product-diagram__controls {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card__image,
  .product-diagram__slide,
  .product-diagram__controls { transition: none; }
}


/* ==================================================
   TESTIMONIALS PAGE
================================================== */

.testimonials-page {
  --testimonials-green: #075b46;
  --testimonials-red: #b12648;
  background: #fff;
}

body.page-template-page-testimonials .main-header {
  background: transparent;
}

body.page-template-page-testimonials .main-header .home-link__logo {
  filter: none;
}

body.page-template-page-testimonials.navigation-is-open .main-header .home-link__logo {
  filter: brightness(0) invert(1);
}

body.page-template-page-testimonials .main-header__burger-icon span {
  background: var(--brand-sec);
}

.testimonials-hero {
  position: relative;
  display: flex;
  min-height: 520px;
  align-items: flex-end;
  overflow: hidden;
  padding: 190px 0 105px;
  background-color: var(--testimonials-green);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, 0) 52%, rgba(10, 79, 59, .97) 100%), var(--testimonials-hero-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.testimonials-hero::after {
  content: '';
  position: absolute;
  right: -8vw;
  bottom: 28px;
  width: min(48vw, 690px);
  aspect-ratio: 1;
  border: clamp(70px, 8vw, 120px) solid rgba(255, 255, 255, .045);
  transform: rotate(45deg);
}

.testimonials-hero__content { position: relative; z-index: 1; }

.testimonials-hero__eyebrow,
.testimonials-list__eyebrow {
  margin: 0 0 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.testimonials-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
}

.testimonials-hero__intro {
  max-width: 690px;
  margin: 24px 0 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
}

.testimonials-hero__stripe {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 53px;
  background: repeating-linear-gradient(90deg, #a82946 0 16.666%, #be2d4e 16.666% 33.333%, #c63354 33.333% 50%, #a82946 50% 66.666%, #e7375f 66.666% 83.333%, #a82946 83.333% 100%);
}

.testimonials-list { padding: clamp(76px, 9vw, 128px) 0; }
.testimonials-list__intro { max-width: 720px; margin-bottom: clamp(44px, 6vw, 74px); }
.testimonials-list__eyebrow { color: var(--testimonials-red); }

.testimonials-list__intro h2 {
  margin: 0 0 18px;
  color: #111;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(34px, 3.7vw, 50px);
  line-height: 1.12;
}

.testimonials-list__intro > p:last-child { margin: 0; color: #333; font-size: 17px; line-height: 1.6; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(24px, 3vw, 40px);
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: clamp(34px, 4vw, 52px);
  overflow: hidden;
  background: #f1f1f1;
  color: #151515;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.testimonial-card:nth-child(4n + 2),
.testimonial-card--featured {
  background: var(--testimonials-green);
  color: #fff;
}

.testimonial-card:nth-child(4n + 2) .testimonial-card__quote-mark,
.testimonial-card--featured .testimonial-card__quote-mark { color: rgba(255, 255, 255, .16); }

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(10, 79, 59, .12);
}

.testimonial-card__quote-mark {
  position: absolute;
  top: 10px;
  right: 26px;
  color: rgba(177, 38, 72, .13);
  font-family: Georgia, serif;
  font-size: 150px;
  line-height: 1;
}

.testimonial-card blockquote { position: relative; z-index: 1; margin: 0 0 34px; }
.testimonial-card blockquote p { margin: 0; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; line-height: 1.55; }
.testimonial-card footer { position: relative; z-index: 1; margin-top: auto; padding-top: 22px; border-top: 2px solid var(--testimonials-red); }
.testimonial-card footer strong { display: block; font-family: 'Poppins', sans-serif; font-size: 16px; }
.testimonial-card footer span { display: block; margin-top: 4px; font-size: 14px; opacity: .78; }

@media (max-width: 767px) {
  .testimonials-hero { min-height: 500px; padding: 180px 0 100px; }
  .testimonials-hero::after { right: -35vw; width: 100vw; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-card { transition: none; }
}
