html[data-design="5"] {
  --canvas: #173027;
  --surface: #e0d6bd;
  --ink: #172a23;
  --muted: #4b5c54;
  --rule: #78644d;
  --catalogue-bg: #173027;
  --catalogue-heading: #f2ead6;
  --catalogue-copy: #d4ded8;
  --catalogue-link: #f2ead6;
  --display: "Bitter", Georgia, serif;
}

html[data-design="5"] .site-header {
  height: 72px;
  min-height: 72px;
  padding-block: 6px;
  color: #172a23;
  background: #fff;
  border-bottom: 3px solid var(--brand-navy);
}

html[data-design="5"] .brand { padding: 0; background: transparent; }
html[data-design="5"] .brand-logo { width: clamp(170px, 15vw, 190px); max-height: 54px; object-fit: contain; }
html[data-design="5"] .site-nav a { color: #263642; }
html[data-design="5"] .site-nav .nav-action { color: #fff; }
html[data-design="5"] .menu-toggle { color: var(--brand-navy); border-color: var(--brand-navy); }

html[data-design="5"] .hero { position: relative; color: #f2ead6; background: #173027; }
html[data-design="5"] .hero-copy { border-right: 1px solid var(--brand-accent); }
html[data-design="5"] .hero-summary { color: #d4ded8; }
html[data-design="5"] .hero .button-secondary { color: #f2ead6; border-color: #f2ead6; }
html[data-design="5"] .hero-visual { margin: 34px; border: 1px solid var(--brand-green); }
html[data-design="5"] .hero-visual::before,
html[data-design="5"] .hero-visual::after { content: ""; position: absolute; z-index: 1; background: var(--brand-green); }
html[data-design="5"] .hero-visual::before { left: 42%; top: 0; bottom: 0; width: 1px; }
html[data-design="5"] .hero-visual::after { left: 0; right: 0; top: 38%; height: 1px; }

html[data-design="5"] .trust,
html[data-design="5"] .products-categories,
html[data-design="5"] .key1-product-disclosure { color: var(--ink); background: #e0d6bd; }

html[data-design="5"] .products-category-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 104px) max(24px, calc((100vw - var(--max)) / 2));
  color: #fff8e8;
  background: #0b2347;
  border-bottom: 6px solid #009a44;
}

html[data-design="5"] .products-category-intro::before {
  content: "";
  position: absolute;
  top: 0;
  right: clamp(24px, 8vw, 120px);
  width: clamp(86px, 13vw, 180px);
  height: 100%;
  border-inline: 1px solid rgb(255 255 255 / 18%);
}

html[data-design="5"] .products-category-intro::after {
  content: "";
  position: absolute;
  right: clamp(24px, 7vw, 100px);
  bottom: 22px;
  width: clamp(90px, 16vw, 220px);
  height: 3px;
  background: #009a44;
}

html[data-design="5"] .products-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  color: #55d78d;
  font-family: var(--utility);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

html[data-design="5"] .products-category-intro h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5.8vw, 5.6rem);
}

html[data-design="5"] .products-category-intro .products-intro-copy {
  position: relative;
  z-index: 1;
  max-width: 56ch;
  margin: 0;
  color: #d7e4ed;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

html[data-design="5"] .products-categories .category-list { grid-template-columns: 1.2fr .8fr 1fr; }

html[data-design="5"] .products-categories .key1-category-trigger {
  position: relative;
  min-height: clamp(180px, 23vw, 260px);
  padding-top: 62px;
  background: #eee6d2;
  border-top: 5px solid #009a44;
  border-right: 1px solid #8d826b;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

html[data-design="5"] .products-categories .key1-category-description {
  max-width: 34ch;
  line-height: 1.5;
}

html[data-design="5"] .products-categories .key1-category-trigger::before {
  position: absolute;
  top: 22px;
  left: 30px;
  color: #007d37;
  font-family: var(--utility);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

html[data-design="5"] .products-categories .key1-category-trigger:nth-child(1)::before { content: "01"; }
html[data-design="5"] .products-categories .key1-category-trigger:nth-child(2)::before { content: "02"; }
html[data-design="5"] .products-categories .key1-category-trigger:nth-child(3)::before { content: "03"; }

html[data-design="5"] .products-categories .key1-category-trigger:hover,
html[data-design="5"] .products-categories .key1-category-trigger:focus-visible,
html[data-design="5"] .products-categories .key1-category-trigger[aria-pressed="true"] {
  color: #fff8e8;
  background: #0b2347;
  transform: translateY(-3px);
}

html[data-design="5"] .products-categories .key1-category-trigger:hover small,
html[data-design="5"] .products-categories .key1-category-trigger:focus-visible small,
html[data-design="5"] .products-categories .key1-category-trigger[aria-pressed="true"] small { color: #d7e4ed; }

html[data-design="5"] .key1-product-heading {
  padding: clamp(24px, 4vw, 44px);
  color: #fff8e8;
  background: #0b2347;
  border-bottom: 6px solid #009a44;
}

html[data-design="5"] .key1-product-heading > p:first-child,
html[data-design="5"] .key1-product-heading #key1-product-count { color: #55d78d; }
html[data-design="5"] .key1-product-heading .text-link { color: #fff8e8; }
html[data-design="5"] .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html[data-design="5"] .product-card { display: grid; grid-template-columns: .8fr 1.2fr; background: #eee6d2; }
html[data-design="5"] .product-image { height: auto; min-height: 270px; background: #f4eddc; }

html[data-design="5"] dialog { background: #e0d6bd; border-color: #78644d; }
html[data-design="5"] .dialog-close {
  position: sticky;
  z-index: 3;
  top: 0;
  float: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin-left: auto;
  box-shadow: 0 6px 18px rgb(12 37 31 / 24%);
}
html[data-design="5"] .dialog-layout figure { align-self: start; background: #f4eddc; }
html[data-design="5"] .indications-list { margin: 0 0 30px; color: var(--muted); }
html[data-design="5"] dl.indications-list { padding: 0; }
html[data-design="5"] dl.indications-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
}
html[data-design="5"] .indications-list dt { color: var(--ink); font-weight: 750; }
html[data-design="5"] .indications-list dd { margin: 0; }
html[data-design="5"] .indications-list-plain { padding-left: 22px; }
html[data-design="5"] .indications-list-plain li { margin-bottom: 10px; padding-left: 4px; }
html[data-design="5"] .contact-close { color: #f2ead6; }
html[data-design="5"] .contact-close > div > p { color: #d4ded8; }
html[data-design="5"] .contact-close .button-secondary,
html[data-design="5"] .contact-close .text-link { color: #f2ead6; border-color: #f2ead6; }
html[data-design="5"] .trust-routes strong { font-family: var(--display); font-size: 1.2rem; }

.key5-contact-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  background: rgb(255 255 255 / 96%);
  border-bottom: 3px solid #0b2347;
  backdrop-filter: blur(12px);
}

.key5-contact-header-inner {
  max-width: 1240px;
  min-height: 72px;
  margin: 0 auto;
  padding: 6px clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.key5-contact-brand { flex: none; }
.key5-contact-brand img { width: clamp(170px, 15vw, 190px); max-height: 54px; object-fit: contain; }
.key5-contact-header .site-nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 38px); }
.key5-contact-header .site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #263642;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.key5-contact-header .site-nav a:not(.nav-action):hover { text-decoration: underline; text-underline-offset: 7px; }
.key5-contact-header .site-nav .nav-action { padding: 0 18px; color: #fff; background: #007d37; border: 1px solid #52b97d; }
.key5-contact-header .menu-toggle { display: none; min-height: 46px; padding: 0 16px; color: #0b2347; background: transparent; border: 1px solid #0b2347; font-weight: 700; }

.products-nav {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.products-nav > [data-products-page-link][aria-current="page"] {
  box-shadow: inset 0 -3px #009a44;
}

.products-nav-toggle {
  display: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #0b2347;
  background: transparent;
  border: 1px solid #aeb9b3;
  border-radius: 0;
  font-size: 24px;
  line-height: 1;
}

.products-nav-toggle span { transition: transform 150ms ease; }
.products-nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }

@media (hover: none), (pointer: coarse) {
  .products-nav-toggle { display: inline-flex; }
}

.products-mega-menu {
  position: absolute;
  z-index: 60;
  top: 100%;
  right: 0;
  width: min(680px, calc(100vw - 48px));
  padding: 22px;
  color: #172a23;
  background: #fff;
  border: 1px solid #cbd3cf;
  border-top: 4px solid #0b2347;
  border-radius: 0;
  box-shadow: 0 12px 28px rgb(11 35 71 / 14%);
}

.products-mega-list,
.products-mega-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.products-mega-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.products-mega-item {
  min-width: 0;
  padding: 0 14px;
  border-left: 1px solid #d8dfdb;
}

.products-mega-item:first-child { border-left: 0; }

.site-nav .products-mega-menu a,
.key5-contact-header .site-nav .products-mega-menu a {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 10px 8px 14px;
  color: #172a23;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.site-nav .products-mega-menu a::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  background: transparent;
}

.site-nav .products-mega-menu a:hover,
.site-nav .products-mega-menu a:focus-visible,
.key5-contact-header .site-nav .products-mega-menu a:hover,
.key5-contact-header .site-nav .products-mega-menu a:focus-visible {
  color: #0b5630;
  background: #f3f7f4;
  text-decoration: none;
}

.site-nav .products-mega-menu a:hover::before,
.site-nav .products-mega-menu a:focus-visible::before { background: #009a44; }

.products-mega-submenu {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #d8dfdb;
}

.site-nav .products-mega-submenu a,
.key5-contact-header .site-nav .products-mega-submenu a {
  color: #53635b;
  font-size: 14px;
  font-weight: 600;
}

.key5-contact-header ~ main { overflow: clip; }

.key5-contact-page #dc-root,
.key5-contact-page #dc-root > .sc-host {
  height: auto;
  min-height: 100%;
}

.key5-contact-page .skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 16px;
  padding: 12px 16px;
  color: #0b2347;
  background: #fff2c8;
}
.key5-contact-page .skip-link:focus { top: 16px; }

.key5-site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(150px, 1fr));
  gap: 32px;
  margin: 0;
  padding: 64px max(24px, calc((100vw - 1240px) / 2)) 28px;
  color: rgb(255 255 255 / 72%);
  background: #0b2347;
  border-top: 6px solid #009a44;
  font-family: "Source Sans 3", Arial, sans-serif;
}

.key5-footer-brand img {
  width: auto;
  height: 44px;
  max-height: none;
  margin-bottom: 16px;
  object-fit: contain;
  background: transparent;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.key5-footer-brand p { max-width: 32ch; margin: 0; color: rgb(255 255 255 / 58%); }
.key5-footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.key5-footer-column address {
  max-width: 24ch;
  color: rgb(255 255 255 / 78%);
  font-style: normal;
  line-height: 1.55;
}
.key5-site-footer strong { margin-bottom: 4px; color: #fff; }
.key5-site-footer a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: rgb(255 255 255 / 78%);
  text-decoration: none;
}
.key5-site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.key5-footer-legal {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  padding-top: 18px;
  color: rgb(255 255 255 / 58%);
  border-top: 1px solid rgb(255 255 255 / 14%);
  font-size: 14px;
}

@media (min-width: 981px) {
  html[data-design="5"] .hero {
    min-height: 0;
    height: calc(100svh - 72px);
    max-height: 696px;
    grid-template-rows: minmax(0, 1fr);
  }
  html[data-design="5"] .hero-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(24px, 5.2vh, 48px);
  }
  html[data-design="5"] .hero-copy h1 {
    margin-bottom: clamp(14px, 2.4vh, 24px);
    font-size: clamp(3.15rem, min(5.2vw, 9vh), 5.4rem);
  }
  html[data-design="5"] .hero-summary { max-width: 52ch; }
  html[data-design="5"] .hero-actions { gap: 12px; }
  html[data-design="5"] .hero-actions .button { min-height: 44px; }
  html[data-design="5"] .hero-visual { min-height: 0; margin: clamp(16px, 2.4vh, 26px); }
  html[data-design="5"] .hero-visual figcaption { padding: 10px 14px; }
}

@media (max-width: 980px) {
  html[data-design="5"] .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-design="5"] .hero { height: auto; max-height: none; }
  html[data-design="5"] .hero-visual { max-height: none; }
  html[data-design="5"] .site-nav { background: #fff; border-bottom-color: var(--brand-navy); }
  html[data-design="5"] .site-nav a { border-bottom-color: #ccd4cf; }
  .site-nav .products-nav,
  .key5-contact-header .site-nav .products-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
  }
  .products-nav > [data-products-page-link] { min-width: 0; }
  .products-nav-toggle { display: inline-flex; }
  .products-mega-menu {
    position: static;
    grid-column: 1 / -1;
    width: auto;
    padding: 8px 0 10px;
    border-width: 2px 0 0;
    border-top-color: #0b2347;
    box-shadow: none;
  }
  .products-mega-list { grid-template-columns: 1fr; }
  .products-mega-item,
  .products-mega-item:first-child {
    padding: 0;
    border-left: 0;
    border-bottom: 1px solid #d8dfdb;
  }
  .products-mega-item:last-child { border-bottom: 0; }
  .site-nav .products-mega-menu a,
  .key5-contact-header .site-nav .products-mega-menu a { padding-inline: 16px 12px; }
  .products-mega-submenu {
    margin: 0 0 8px 18px;
    padding: 0 0 0 12px;
    border-top: 0;
    border-left: 2px solid #009a44;
  }
  .key5-contact-header .menu-toggle { display: inline-flex; align-items: center; }
  .key5-contact-header .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 16px 20px 24px;
    background: #fff;
    border-bottom: 5px solid #009a44;
  }
  .key5-contact-header .site-nav.is-open { display: grid; }
  .key5-contact-header .site-nav a { border-bottom: 1px solid #ccd4cf; }
  .key5-site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .key5-footer-legal { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  html[data-design="5"] .hero-visual { margin: 16px; }
  html[data-design="5"] .products-category-intro::before { display: none; }
  html[data-design="5"] .products-categories .category-list { grid-template-columns: 1fr; }
  html[data-design="5"] .products-categories .key1-category-trigger { min-height: 160px; }
  html[data-design="5"] .product-grid { grid-template-columns: 1fr; }
  html[data-design="5"] .product-card { grid-template-columns: 1fr; }
  html[data-design="5"] dl.indications-list div { grid-template-columns: 1fr; gap: 6px; }
  .key5-site-footer { grid-template-columns: 1fr; padding: 48px 20px 28px; }
  .key5-footer-legal { grid-column: 1; }
  .key5-contact-header-inner { padding-inline: 18px; }
  .key5-contact-brand img { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-design="5"] .products-categories .key1-category-trigger { transition: none; }
  html[data-design="5"] .products-categories .key1-category-trigger:hover,
  html[data-design="5"] .products-categories .key1-category-trigger:focus-visible { transform: none; }
}
