/* Barlow — SIL Open Font License 1.1; files are bundled under assets/fonts. */
@font-face {
  font-display: swap;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/barlow-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/barlow-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/barlow-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/barlow-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/barlow-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/barlow-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/barlow-condensed-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/barlow-condensed-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/barlow-condensed-800-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/barlow-condensed-800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ecs-red: #cf2734;
  --ecs-red-dark: #a91e29;
  --ecs-carbon: #304238;
  --ecs-forest-dark: #26372f;
  --ecs-graphite: #343c35;
  --ecs-steel: #647064;
  --ecs-paper: #f7f2e8;
  --ecs-chalk: #fffdf7;
  --ecs-rule: #d8cfbf;
  --ecs-sage: #6f8268;
  --ecs-sage-pale: #e5ebdd;
  --ecs-sand: #e8dcc7;
  --ecs-wood: #8a5c3b;
  --ecs-wide: 1240px;
  --ecs-focus: #ff3647;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
.editor-styles-wrapper {
  background: var(--ecs-paper);
  color: var(--ecs-graphite);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  overflow-wrap: break-word;
}

body {
  margin: 0;
  overflow-x: hidden;
}

img {
  height: auto;
  max-width: 100%;
}

a {
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ecs-focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-post-title,
.wp-block-query-title {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 0.98;
}

.ecs-main {
  min-height: 55vh;
}

.ecs-main > .wp-block-post-content > :first-child {
  margin-top: 0;
}

.ecs-site-header {
  background: var(--ecs-forest-dark);
  border-bottom: 4px solid var(--ecs-red);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-bar .ecs-site-header {
  top: 32px;
}

.ecs-header-inner {
  min-height: 88px;
  position: relative;
}

.ecs-header-inner .wp-block-site-logo {
  align-self: stretch;
  background: var(--ecs-chalk);
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  display: flex;
  margin-left: calc(-1 * clamp(1rem, 3.2vw, 2rem));
  padding: 0.75rem 2.25rem 0.75rem clamp(1rem, 3.2vw, 2rem);
}

.ecs-header-inner .wp-block-site-logo a {
  align-items: center;
  display: flex;
}

.ecs-header-inner .wp-block-site-logo img {
  max-height: 62px;
  object-fit: contain;
  width: auto;
}

.ecs-nav-list,
.ecs-language-list,
.ecs-footer-nav,
.ecs-product-submenu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ecs-primary-nav {
  align-items: center;
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.ecs-nav-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(0.65rem, 1.6vw, 1.35rem);
}

.ecs-nav-list a,
.ecs-nav-products > details > summary {
  align-items: center;
  color: #fff;
  display: inline-flex;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  min-height: 48px;
  text-decoration: none;
  text-transform: uppercase;
}

.ecs-nav-list a {
  border-bottom: 3px solid transparent;
}

.ecs-nav-list a:hover,
.ecs-nav-list .current-menu-item > a {
  border-bottom-color: var(--ecs-red);
  color: #fff;
}

.ecs-nav-toggle {
  display: none;
}

.ecs-nav-products {
  position: relative;
}

.ecs-nav-products > details > summary {
  cursor: pointer;
  list-style: none;
}

.ecs-nav-products > details > summary::-webkit-details-marker {
  display: none;
}

.ecs-nav-products > details > summary::after {
  color: var(--ecs-red);
  content: "+";
  font-size: 1.1rem;
  margin-left: 0.42rem;
}

.ecs-nav-products > details[open] > summary::after {
  content: "−";
}

.ecs-product-submenu {
  background: var(--ecs-chalk);
  border: 1px solid var(--ecs-carbon);
  border-top: 4px solid var(--ecs-red);
  display: grid;
  gap: 0;
  left: 0;
  min-width: 290px;
  padding: 0.5rem 1rem 0.75rem;
  position: absolute;
  top: calc(100% + 0.25rem);
}

.ecs-product-submenu li + li {
  border-top: 1px solid var(--ecs-rule);
}

.ecs-product-submenu a {
  border: 0;
  color: var(--ecs-carbon);
  font-family: "Barlow", Arial, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0;
  min-height: 42px;
  text-transform: none;
}

.ecs-product-submenu a:hover {
  border: 0;
  color: var(--ecs-red);
}

.ecs-language-list {
  display: flex;
  gap: 0;
}

.ecs-language-list a,
.ecs-language-list span {
  align-items: center;
  border: 1px solid rgb(255 255 255 / 38%);
  color: #fff;
  display: flex;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  justify-content: center;
  letter-spacing: 0.06em;
  line-height: 1;
  min-height: 44px;
  min-width: 44px;
  padding: 0.45rem;
  text-decoration: none;
}

.ecs-language-list li + li a,
.ecs-language-list li + li span {
  border-left: 0;
}

.ecs-language-list .is-current {
  background: var(--ecs-red);
  border-color: var(--ecs-red);
  color: #fff;
}

/* Homepage hero: original imagery, editorial catalogue rail. */
.ecs-hero-slider {
  background: var(--ecs-forest-dark);
  color: #fff;
  height: clamp(570px, calc(100svh - 88px), 780px);
  margin-block: 0;
  min-height: 570px;
  overflow: hidden;
  position: relative;
}

.ecs-hero-slider__slides,
.ecs-hero-slide,
.ecs-hero-slide__shade {
  inset: 0;
  position: absolute;
}

.ecs-hero-slide {
  clip-path: polygon(112% 0, 100% 0, 100% 100%, 88% 100%);
  opacity: 1;
  transition: clip-path 650ms cubic-bezier(0.22, 0.76, 0.25, 1), visibility 0s linear 650ms;
  visibility: hidden;
  z-index: 0;
}

.ecs-hero-slide.is-active,
.ecs-hero-slide.is-leaving {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition-delay: 0s;
  visibility: visible;
}

.ecs-hero-slide.is-active {
  z-index: 2;
}

.ecs-hero-slide.is-leaving {
  z-index: 1;
}

.ecs-hero-slide.is-active.is-entering {
  clip-path: polygon(112% 0, 100% 0, 100% 100%, 88% 100%);
}

.ecs-hero-slider.is-reversing .ecs-hero-slide.is-active.is-entering {
  clip-path: polygon(0 0, 12% 0, 0 100%, -12% 100%);
}

.ecs-hero-slide__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.ecs-hero-slide.is-active .ecs-hero-slide__image,
.ecs-hero-slide.is-leaving .ecs-hero-slide__image {
  animation: ecs-hero-image-drift 7s linear both;
}

.ecs-hero-slide__shade {
  background: linear-gradient(0deg, rgb(38 55 47 / 20%), rgb(38 55 47 / 4%));
}

.ecs-hero-slide__content {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  isolation: isolate;
  margin-inline: auto;
  max-width: var(--ecs-wide);
  padding: clamp(4rem, 9vw, 7rem) clamp(4.25rem, 8vw, 6.5rem);
  position: relative;
  text-shadow: none;
  z-index: 2;
}

.ecs-hero-slide__content::before {
  background: rgb(48 66 56 / 64%);
  border-left: 8px solid var(--ecs-red);
  bottom: 0;
  box-shadow: -50vw 0 rgb(48 66 56 / 64%);
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 59%;
  z-index: -1;
}

.ecs-hero-slide__content h1,
.ecs-hero-slide__content h2 {
  color: #fff;
  font-size: clamp(3.35rem, 7vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.86;
  margin: 0;
  max-width: 10ch;
  text-shadow: 0 2px 14px rgb(20 32 26 / 38%);
  text-transform: uppercase;
  text-wrap: balance;
}

.ecs-hero-slide.is-active .ecs-hero-slide__content h1,
.ecs-hero-slide.is-active .ecs-hero-slide__content h2 {
  animation: ecs-hero-copy-in 440ms 160ms cubic-bezier(0.22, 0.76, 0.25, 1) both;
}

.ecs-hero-slide__content p {
  border-left: 2px solid rgb(255 255 255 / 45%);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  font-weight: 600;
  line-height: 1.45;
  margin: 1.6rem 0 0;
  max-width: 33rem;
  padding-left: 1rem;
}

.ecs-hero-slide.is-active .ecs-hero-slide__content p {
  animation: ecs-hero-copy-in 420ms 260ms cubic-bezier(0.22, 0.76, 0.25, 1) both;
}

.ecs-hero-slide__button {
  align-items: center;
  background: var(--ecs-red);
  border: 2px solid var(--ecs-red);
  border-radius: 0;
  color: #fff;
  display: inline-flex;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-top: 2rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease-out, border-color 180ms ease-out;
}

.ecs-hero-slide.is-active .ecs-hero-slide__button {
  animation: ecs-hero-copy-in 400ms 360ms cubic-bezier(0.22, 0.76, 0.25, 1) both;
}

@keyframes ecs-hero-image-drift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.022);
  }
}

@keyframes ecs-hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ecs-hero-slide__button::after {
  content: "→";
  margin-left: 0.75rem;
}

.ecs-hero-slide__button:hover {
  background: var(--ecs-red-dark);
  border-color: var(--ecs-red-dark);
  color: #fff;
}

.ecs-hero-slider__arrow,
.ecs-hero-slider__pause,
.ecs-hero-slider__dots button {
  appearance: none;
  background: rgb(38 55 47 / 88%);
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 0;
  color: #fff;
  cursor: pointer;
}

.ecs-hero-slider__arrow {
  align-items: center;
  display: flex;
  font-size: 2rem;
  height: 48px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 0.18rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  z-index: 3;
}

.ecs-hero-slider__arrow:hover,
.ecs-hero-slider__pause:hover {
  background: var(--ecs-red);
  border-color: var(--ecs-red);
}

.ecs-hero-slider__arrow.is-previous {
  left: max(0.75rem, calc((100vw - var(--ecs-wide)) / 2));
}

.ecs-hero-slider__arrow.is-next {
  right: max(0.75rem, calc((100vw - var(--ecs-wide)) / 2));
}

.ecs-hero-slider__controls {
  align-items: center;
  bottom: 1.5rem;
  display: flex;
  gap: 0;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.ecs-hero-slider__dots {
  align-items: center;
  display: flex;
  gap: 0;
}

.ecs-hero-slider__dots button {
  align-items: center;
  background: rgb(38 55 47 / 84%);
  border-right: 0;
  display: flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.ecs-hero-slider__dots button::before {
  background: transparent;
  border: 1px solid #fff;
  content: "";
  height: 8px;
  width: 8px;
}

.ecs-hero-slider__dots button[aria-current="true"]::before {
  background: var(--ecs-red);
  border-color: var(--ecs-red);
  height: 12px;
  width: 12px;
}

.ecs-hero-slider__pause {
  align-items: center;
  display: flex;
  font-size: 0.72rem;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

/* Shared editorial section language. */
.ecs-home-products,
.ecs-home-brands,
.ecs-home-story,
.ecs-home-contact {
  margin-inline: auto !important;
  max-width: var(--ecs-wide) !important;
  position: relative;
}

.ecs-home-products > h2,
.ecs-home-brands > h2,
.ecs-home-story h2,
.ecs-home-contact > h2 {
  font-size: clamp(2.8rem, 5.3vw, 5.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.ecs-home-products > h2::before,
.ecs-home-brands > h2::before,
.ecs-home-contact > h2::before {
  color: var(--ecs-red);
  content: "//";
  font-size: 0.48em;
  letter-spacing: -0.05em;
  margin-right: 0.5em;
  vertical-align: 0.2em;
}

.ecs-home-products > p,
.ecs-home-brands > p {
  color: var(--ecs-steel);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  max-width: 46rem;
}

.ecs-home-products {
  padding-bottom: clamp(4rem, 8vw, 7rem) !important;
  padding-top: clamp(4rem, 8vw, 7rem) !important;
}

.ecs-product-grid-block.alignwide {
  left: 50%;
  margin-top: clamp(2.25rem, 5vw, 4.25rem);
  position: relative;
  transform: translateX(-50%);
  width: min(var(--ecs-wide), calc(100vw - clamp(2rem, 7vw, 4rem)));
}

.ecs-product-grid {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.75rem);
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.ecs-product-card {
  background: var(--ecs-chalk);
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.ecs-product-card:nth-child(5n + 1),
.ecs-product-card:nth-child(5n + 2) {
  grid-column: span 6;
}

.ecs-product-card__image {
  aspect-ratio: 16 / 10;
  background: var(--ecs-sand);
  display: block;
  overflow: hidden;
}

.ecs-product-card__image img {
  filter: saturate(0.9) contrast(1.03);
  height: 100%;
  object-fit: cover;
  transition: filter 220ms ease-out, transform 220ms ease-out;
  width: 100%;
}

.ecs-product-card:hover .ecs-product-card__image img {
  filter: saturate(1.02) contrast(1.04);
  transform: scale(1.018);
}

.ecs-product-card--native-image .ecs-product-card__image {
  align-items: center;
  background:
    linear-gradient(135deg, rgb(255 253 247 / 86%), rgb(232 220 199 / 82%)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgb(111 130 104 / 10%) 18px 19px);
  display: flex;
  justify-content: center;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.ecs-product-card--native-image .ecs-product-card__image img {
  flex: none;
  filter: none;
  height: auto !important;
  max-height: 100%;
  max-width: min(100%, var(--ecs-native-image-width, 365px)) !important;
  min-width: 0 !important;
  object-fit: contain;
  width: auto !important;
}

.ecs-product-card--native-image:hover .ecs-product-card__image img {
  filter: none;
  transform: none;
}

.ecs-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 13rem;
  padding: clamp(1.2rem, 2.5vw, 2rem);
}

.ecs-product-card__title {
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  margin: 0;
  text-transform: uppercase;
}

.ecs-product-card__title a {
  color: var(--ecs-carbon);
  text-decoration: none;
}

.ecs-product-card__title a:focus-visible {
  outline: 0;
}

.ecs-product-card__title a::after {
  content: "";
  inset: 0;
  position: absolute;
}

.ecs-product-card__title a:focus-visible::after {
  box-shadow: inset 0 0 0 3px var(--ecs-focus);
}

.ecs-product-card__excerpt {
  color: var(--ecs-steel);
  margin: 0;
}

.ecs-product-card__more {
  color: var(--ecs-red);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: auto;
  text-transform: uppercase;
}

.single-ecs_product .ecs-product-grid .ecs-product-card,
.single-ecs_product .ecs-product-grid .ecs-product-card:nth-child(5n + 1),
.single-ecs_product .ecs-product-grid .ecs-product-card:nth-child(5n + 2) {
  grid-column: span 4;
}

.ecs-home-brands {
  border-top: 1px solid var(--ecs-carbon);
  padding-bottom: clamp(3.5rem, 7vw, 6rem) !important;
  padding-top: clamp(3.5rem, 7vw, 6rem) !important;
}

.ecs-brand-grid {
  border-left: 1px solid var(--ecs-rule);
  border-top: 1px solid var(--ecs-rule);
  display: grid !important;
  gap: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2rem, 4vw, 3.5rem) !important;
}

.ecs-brand-grid > .wp-block-image {
  align-items: center;
  aspect-ratio: 2.55 / 1;
  background: var(--ecs-chalk);
  border-bottom: 1px solid var(--ecs-rule);
  border-right: 1px solid var(--ecs-rule);
  display: flex !important;
  justify-content: center;
  margin: 0 !important;
  padding: clamp(1rem, 2vw, 1.5rem);
  width: 100% !important;
}

.ecs-brand-grid > .wp-block-image img {
  height: 100% !important;
  max-height: 88px;
  object-fit: contain !important;
  width: 100% !important;
}

.ecs-home-story {
  background: var(--ecs-carbon);
  color: #fff;
  margin-inline: 0 !important;
  max-width: none !important;
  padding: 0 !important;
}

.ecs-home-story > .wp-block-columns {
  gap: 0;
  margin: 0 auto;
  max-width: var(--ecs-wide);
}

.ecs-home-story .wp-block-column:first-child {
  align-self: stretch;
  min-height: 420px;
}

.ecs-home-story .wp-block-column:first-child figure,
.ecs-home-story .wp-block-column:first-child img {
  height: 100%;
  margin: 0;
  object-fit: cover;
  width: 100%;
}

.ecs-home-story .wp-block-column:last-child {
  border-left: 8px solid var(--ecs-red);
  padding: clamp(3rem, 7vw, 6rem);
}

.ecs-home-story h2 {
  color: #fff;
  margin-top: 0;
}

.ecs-home-story p {
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.55;
}

.ecs-home-contact {
  background: var(--ecs-sage-pale);
  border: 1px solid var(--ecs-sage);
  border-top: 5px solid var(--ecs-red);
  display: block;
  margin-top: clamp(4rem, 8vw, 7rem) !important;
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4.5rem) !important;
}

.ecs-home-contact::after {
  content: none;
}

.ecs-home-contact > h2 {
  color: var(--ecs-graphite);
  font-size: clamp(2.35rem, 4.2vw, 4.35rem);
  margin: 0;
}

.ecs-home-contact > p {
  color: var(--ecs-steel);
  font-size: 1.15rem;
  justify-self: start;
  margin: 0 !important;
  text-align: left !important;
  width: 100%;
}

/* Interior pages and product detail. */
.ecs-page-hero,
.ecs-product-hero {
  background: var(--ecs-carbon);
  border-bottom: 8px solid var(--ecs-red);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.ecs-page-hero {
  padding-bottom: clamp(2.25rem, 4vw, 3.5rem) !important;
  padding-top: clamp(2.25rem, 4vw, 3.5rem) !important;
}

.ecs-product-hero {
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem) !important;
  padding-top: clamp(2.5rem, 5vw, 4.5rem) !important;
}

.ecs-page-hero::after,
.ecs-product-hero::after {
  border: 1px solid rgb(255 255 255 / 12%);
  content: "";
  height: 230%;
  pointer-events: none;
  position: absolute;
  right: 12%;
  top: -65%;
  transform: rotate(22deg);
  width: 22%;
}

.ecs-page-title,
.ecs-product-hero .wp-block-post-title {
  color: #fff;
  font-size: clamp(3.5rem, 8vw, 7.75rem) !important;
  font-weight: 800;
  margin-bottom: 0;
  margin-top: clamp(1rem, 2vw, 1.5rem);
  max-width: 12ch;
  text-transform: uppercase;
}

.ecs-page-content {
  padding-bottom: clamp(3.5rem, 7vw, 6rem) !important;
  padding-top: clamp(3.5rem, 7vw, 6rem) !important;
}

.ecs-page-content > :first-child {
  margin-top: 0;
}

.ecs-page-content > :last-child {
  margin-bottom: 0;
}

.ecs-page-content :where(h2) {
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  margin-top: 1.35em;
  text-transform: uppercase;
}

.ecs-page-content :where(h3) {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.ecs-page-content :where(p, li) {
  font-size: 1.05rem;
}

.ecs-breadcrumbs {
  color: rgb(255 255 255 / 76%);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}

.ecs-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ecs-breadcrumbs a {
  color: #fff;
}

.ecs-breadcrumbs li:not(:last-child)::after {
  color: var(--ecs-red);
  content: "/";
  margin-left: 0.35rem;
}

.ecs-product-hero__layout {
  gap: 0;
  margin-bottom: 0;
  margin-top: clamp(2rem, 4vw, 4rem);
  position: relative;
  z-index: 2;
}

.ecs-product-hero__copy {
  padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem) 0;
}

.ecs-product-hero .wp-block-post-excerpt {
  border-left: 3px solid var(--ecs-red);
  color: rgb(255 255 255 / 74%);
  font-size: 1.15rem;
  margin-top: 2rem;
  max-width: 36rem;
  padding-left: 1rem;
}

.ecs-product-hero__media figure,
.ecs-product-hero__media img {
  height: 100%;
  margin: 0;
  min-height: 360px;
  object-fit: cover;
  width: 100%;
}

.ecs-featured-image-is-small .ecs-product-hero__media figure {
  align-items: center;
  background:
    linear-gradient(135deg, rgb(255 253 247 / 94%), rgb(232 220 199 / 90%)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgb(111 130 104 / 10%) 18px 19px);
  display: flex;
  justify-content: center;
  min-height: 360px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.ecs-featured-image-is-small .ecs-product-hero__media img {
  flex: none;
  height: auto !important;
  max-width: min(100%, 365px) !important;
  min-height: 0 !important;
  min-width: 0 !important;
  object-fit: contain;
  width: auto !important;
}

.ecs-contact-card {
  background: var(--ecs-sage-pale);
  border-top: 6px solid var(--ecs-red);
  color: var(--ecs-graphite);
  padding: clamp(1.75rem, 4vw, 3.5rem);
}

.ecs-contact-card h2,
.ecs-contact-card h3,
.ecs-contact-card a {
  color: var(--ecs-graphite);
}

.ecs-contact-card h2 {
  margin-top: 0;
}

.ecs-native-gallery,
.wp-block-gallery.has-nested-images:not(.ecs-brand-grid) {
  border-left: 1px solid var(--ecs-carbon);
  border-top: 1px solid var(--ecs-carbon);
  gap: 0 !important;
}

.ecs-native-gallery figure,
.wp-block-gallery.has-nested-images:not(.ecs-brand-grid) > figure {
  border-bottom: 1px solid var(--ecs-carbon);
  border-right: 1px solid var(--ecs-carbon);
}

.ecs-native-gallery img,
.wp-block-gallery.has-nested-images:not(.ecs-brand-grid) img {
  border-radius: 0;
}

.wp-lightbox-overlay .scrim {
  background: rgb(10 13 14 / 94%) !important;
}

.wp-lightbox-overlay .close-button {
  background: var(--ecs-red) !important;
  color: #fff !important;
  min-height: 48px;
  min-width: 48px;
}

.ecs-archive,
.ecs-not-found {
  padding-bottom: clamp(4rem, 8vw, 7rem) !important;
  padding-top: clamp(4rem, 8vw, 7rem) !important;
}

.ecs-archive > .wp-block-query-title,
.ecs-not-found > h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  text-transform: uppercase;
}

.ecs-archive .wp-block-post-template {
  border-top: 1px solid var(--ecs-carbon);
  list-style: none;
  padding: 0;
}

.ecs-archive .wp-block-post-template > li {
  border-bottom: 1px solid var(--ecs-carbon);
  padding-block: 2rem;
}

.ecs-archive .wp-block-post-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 0;
}

/* Footer as a trade docket, not another card section. */
.ecs-site-footer {
  background: var(--ecs-forest-dark);
  border-top: 6px solid var(--ecs-red);
  color: rgb(255 255 255 / 76%);
  margin-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem) !important;
  padding-top: clamp(3.5rem, 6vw, 5.5rem) !important;
}

.home .ecs-site-footer {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.ecs-site-footer a,
.ecs-site-footer h2,
.ecs-site-footer h3 {
  color: #fff;
}

.ecs-site-footer h2,
.ecs-site-footer h3 {
  text-transform: uppercase;
}

.ecs-site-footer .wp-block-site-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem) !important;
  margin-top: 0;
}

.ecs-site-footer > .wp-block-columns {
  gap: clamp(2rem, 5vw, 5rem);
}

.ecs-footer-navigation {
  padding-top: 0.75rem;
}

.ecs-footer-nav {
  border-top: 1px solid rgb(255 255 255 / 24%);
  display: grid;
  gap: 0;
  padding-top: 0.75rem;
}

.ecs-footer-nav li + li {
  border-top: 1px solid rgb(255 255 255 / 13%);
}

.ecs-footer-nav a {
  align-items: center;
  display: flex;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 600;
  justify-content: space-between;
  letter-spacing: 0.03em;
  min-height: 42px;
  text-decoration: none;
  text-transform: uppercase;
}

.ecs-footer-nav a::after {
  color: var(--ecs-red);
  content: "→";
}

.ecs-footer-meta {
  border-top: 1px solid rgb(255 255 255 / 18%);
}

.ecs-footer-meta .ecs-language-list a,
.ecs-footer-meta .ecs-language-list span {
  min-height: 40px;
  min-width: 40px;
}

/* Gutenberg editor: keep the editing canvas recognisable. */
.editor-styles-wrapper .ecs-hero-slider,
.editor-styles-wrapper .ecs-product-grid-block {
  max-width: var(--ecs-wide);
}

.editor-styles-wrapper .ecs-home-story {
  color: #fff;
}

@media (max-width: 1040px) {
  .ecs-header-inner {
    align-items: center !important;
    display: grid !important;
    gap: 0.5rem !important;
    grid-template-columns: auto 1fr auto;
    min-height: 72px;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    position: relative;
  }

  .ecs-header-inner .wp-block-site-logo {
    margin-left: calc(-1 * clamp(1rem, 3.2vw, 2rem));
    padding-right: 1.5rem;
  }

  .ecs-header-inner .wp-block-site-logo img {
    max-height: 50px;
    max-width: 138px;
  }

  .ecs-primary-nav {
    justify-self: end;
    position: static;
  }

  .ecs-nav-toggle {
    align-items: center;
    background: transparent;
    border: 1px solid rgb(255 255 255 / 46%);
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    gap: 0.4rem;
    letter-spacing: 0.05em;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    text-transform: uppercase;
  }

  .ecs-nav-toggle:not([hidden]) {
    display: inline-flex;
  }

  .ecs-nav-toggle__icon {
    color: var(--ecs-red);
    font-size: 1.15rem;
    line-height: 1;
  }

  .ecs-nav-panel {
    background: var(--ecs-carbon);
    border-bottom: 4px solid var(--ecs-red);
    border-top: 1px solid rgb(255 255 255 / 18%);
    left: 0;
    padding: 0.75rem clamp(1rem, 3.2vw, 2rem) 1rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .ecs-primary-nav.is-enhanced .ecs-nav-panel {
    display: none;
  }

  .ecs-primary-nav.is-enhanced.is-open .ecs-nav-panel {
    display: block;
  }

  .ecs-nav-list {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .ecs-nav-list > li,
  .ecs-nav-list a,
  .ecs-nav-products > details,
  .ecs-nav-products > details > summary {
    width: 100%;
  }

  .ecs-nav-list > li + li {
    border-top: 1px solid rgb(255 255 255 / 15%);
  }

  .ecs-product-submenu {
    background: rgb(255 255 255 / 5%);
    border: 0;
    min-width: 0;
    padding: 0.5rem 0 0.75rem 1rem;
    position: static;
  }

  .ecs-product-submenu a {
    color: #fff;
  }

  .ecs-language-switcher {
    justify-self: end;
  }

  .ecs-hero-slider {
    height: clamp(540px, calc(100svh - 72px), 700px);
  }

  .ecs-product-card,
  .ecs-product-card:nth-child(5n + 1),
  .ecs-product-card:nth-child(5n + 2) {
    grid-column: span 6;
  }

  .admin-bar .ecs-site-header {
    top: 32px;
  }
}

@media (max-width: 782px) {
  .admin-bar .ecs-site-header {
    top: 46px;
  }

  .ecs-hero-slide__content::before {
    width: 78%;
  }

  .ecs-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecs-home-story > .wp-block-columns {
    flex-direction: column;
  }

  .ecs-home-story .wp-block-column:first-child {
    min-height: 330px;
  }

  .ecs-home-story .wp-block-column:last-child {
    border-left: 0;
    border-top: 8px solid var(--ecs-red);
  }

  .ecs-home-contact {
    display: block;
  }

  .ecs-product-hero__layout {
    flex-direction: column;
  }

  .ecs-product-hero__layout > .wp-block-column {
    flex-basis: 100% !important;
    min-width: 0;
    width: 100% !important;
  }

  .ecs-product-hero__copy {
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .ecs-header-inner {
    grid-template-columns: minmax(84px, auto) 1fr auto;
  }

  .ecs-header-inner .wp-block-site-logo img {
    max-width: 104px;
  }

  .ecs-nav-toggle__label {
    position: absolute;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    width: 1px;
  }

  .ecs-language-list a,
  .ecs-language-list span {
    min-width: 40px;
  }

  .ecs-hero-slider {
    height: clamp(500px, 72svh, 620px);
    min-height: 500px;
  }

  .ecs-hero-slide__shade {
    background: linear-gradient(0deg, rgb(38 55 47 / 30%), rgb(38 55 47 / 10%));
  }

  .ecs-hero-slide__image {
    object-position: 65% center;
  }

  .ecs-hero-slide__content {
    justify-content: flex-end;
    padding: 3rem 3.85rem 5.25rem;
  }

  .ecs-hero-slide__content::before {
    border-left-width: 6px;
    background: rgb(48 66 56 / 74%);
    box-shadow: -50vw 0 rgb(48 66 56 / 74%);
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
    height: 68%;
    top: auto;
    width: 100%;
  }

  .ecs-hero-slide__content h1,
  .ecs-hero-slide__content h2 {
    font-size: clamp(2.65rem, 13vw, 4.2rem);
    max-width: 9ch;
  }

  .ecs-hero-slide__content p {
    font-size: 1rem;
    line-height: 1.35;
    margin-top: 1rem;
  }

  .ecs-hero-slide__button {
    margin-top: 1.2rem;
  }

  .ecs-hero-slider__arrow {
    height: 44px;
    width: 44px;
  }

  .ecs-hero-slider__controls {
    bottom: 0.5rem;
  }

  .ecs-hero-slider__dots button {
    width: 40px;
  }

  .ecs-product-grid-block.alignwide {
    width: calc(100vw - 2rem);
  }

  .ecs-product-card,
  .ecs-product-card:nth-child(5n + 1),
  .ecs-product-card:nth-child(5n + 2) {
    grid-column: 1 / -1;
  }

  .ecs-product-card__body {
    min-height: 0;
  }

  .ecs-brand-grid {
    grid-template-columns: 1fr;
  }

  .ecs-page-title,
  .ecs-product-hero .wp-block-post-title {
    font-size: clamp(3rem, 16vw, 5rem) !important;
  }

  .ecs-product-hero__media figure,
  .ecs-product-hero__media img {
    min-height: 260px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .ecs-hero-slide {
    clip-path: none;
    transition: none;
  }

  .ecs-hero-slide.is-active .ecs-hero-slide__image,
  .ecs-hero-slide.is-leaving .ecs-hero-slide__image,
  .ecs-hero-slide.is-active .ecs-hero-slide__content h1,
  .ecs-hero-slide.is-active .ecs-hero-slide__content h2,
  .ecs-hero-slide.is-active .ecs-hero-slide__content p,
  .ecs-hero-slide.is-active .ecs-hero-slide__button {
    animation: none;
  }
}
