/**
 * Basics.
 */
:root {
  --color-green-super-dark: #00231e;
  --color-dark-green: #005546;
  --color-woodfiber-green: #008769;
  --color-green-light: #00a082;
  --color-green-ultralight: #c8dcd7;

  --color-woodfiber-dark-grey: #555555;
  --color-woodfiber-light-grey: #f0f0f0;

  --color-orange: #f05014;
  --color-green-neon: #00d2aa;
  --color-woodfiber-blue: #415596;

  --font-b1-s: 16px;
  --font-h1-s: 48px;
  --font-h2-s: 30px;
  --font-h3-s: 24px;
  --font-h4-s: 18px;

  --min-width: 1280px;
  --max-width: 1920px;
}

* {
  box-sizing: border-box;
}

/**
 * Elements (general).
 */
html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-width: calc(var(--min-width) + 32px * 2);
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: none;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
}

img.blue {
  filter: url("#filter-blue");
}

figure img,
figure > iframe {
  width: 100%;
}

figure > iframe {
  aspect-ratio: 16 / 9;
  border: 0;
}

figure > figcaption {
  margin-top: 16px;
}

a {
  text-decoration: none;
  color: var(--color-orange);
}

p {
  font-size: var(--font-b1-s);
}

h1 {
  font-size: var(--font-h1-s);
}

h2 {
  font-size: var(--font-h2-s);
}

h3 {
  font-size: var(--font-h3-s);
}

h1,
h2,
h3,
ol,
figure,
blockquote {
  margin: 0;
  padding: 0;
}

ol > li {
  list-style-type: none;
}

ol.arrow > li {
  list-style-type: "> ";
  list-style-position: inside;
}

a.read-more {
  font-size: var(--font-b1-s);
  font-weight: bold;
  color: var(--color-dark-green);
}

a.read-more:before {
  content: "> ";
}

/**
 * Classes (general).
 */
.w1 {
  display: flex;
  width: var(--min-width);
  margin: 0 auto;
}

.w2 {
  display: flex;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/**
 * Animation.
 */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.checkered {
  background: conic-gradient(
    from var(--angle) at 80% 80%,
    var(--color-green-super-dark) 90deg,
    var(--color-green-light) 0 180deg,
    var(--color-dark-green) 0 270deg,
    var(--color-woodfiber-green) 0
  );
  animation: rotate 90s linear infinite;
}

@keyframes rotate {
  to {
    --angle: 360deg;
  }
}

/**
 * Form.
 */
::placeholder {
  color: var(--color-dark-green);
  opacity: 1;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

input,
textarea {
  width: 100%;
  height: 64px;
  margin: 0;
  padding: 16px;
  border: 0;
  border-radius: 0;
  font-family: inherit;
  font-size: var(--font-b1-s);
  color: var(--color-dark-green);
  caret-color: var(--color-dark-green);
}

input:focus,
textarea:focus {
  outline: solid var(--color-dark-green);
}

fieldset > input:last-of-type {
  display: none;
}

a.button {
  display: inline-block;
  padding: 0 56px;
  text-align: center;
  font-size: var(--font-b1-s);
  font-weight: bold;
  line-height: 64px;
  color: white;
  background-color: var(--color-orange);
}

a.button.green {
  background-color: var(--color-green-neon);
}

a.button.disabled {
  pointer-events: none;
  cursor: default;
}

/**
 * Header.
 */
header.w2 {
  flex-wrap: wrap;
  position: relative;
  margin-top: 32px;
  align-items: center;
  justify-content: space-between;
}

header > a > img {
  height: 48px;
}

/**
 * Navigation.
 */
header > nav > ol {
  display: flex;
  gap: 16px;
}

header > nav > ol > li {
  display: flex;
  width: 192px;
  height: 64px;
  background-color: var(--color-dark-green);
}

header > nav > ol > li:first-child {
  background-color: var(--color-woodfiber-light-grey);
}

header > nav > ol > li:last-child {
  background-color: var(--color-woodfiber-green);
}

header > nav > ol > li > a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-b1-s);
  font-weight: bold;
  color: white;
}

header > nav > ol > li:first-child > a {
  color: var(--color-dark-green);
}

/**
 * Products.
 */
header > div.products {
  display: none;
  z-index: 2;
  flex-wrap: wrap;
  position: absolute;
  top: 64px;
  width: calc(100% - 64px);
  padding: 64px;
  gap: 32px 64px;
  background-color: white;
}

header > div.products.show {
  display: flex;
}

header > div.products > ol {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--color-dark-green);
}

header > div.products > ol > li > a {
  display: block;
  font-size: var(--font-h4-s);
  font-weight: bold;
  color: var(--color-dark-green);
}

header > div.products > ol > li > a:before {
  content: "> ";
}

header > div.products > ol:last-of-type > li,
header > div.products > ol:last-of-type > li > a {
  color: var(--color-woodfiber-green);
}

header > div.products > div {
  flex: 1 0 100%;
}

/**
 * Breadcrumbs.
 */
header > ol.breadcrumbs {
  margin-top: 64px;
  padding: 0 32px;
  color: var(--color-orange);
}

header > ol.breadcrumbs > li:not(:last-child):after {
  content: ">";
  margin: 0 8px;
}

header > ol.breadcrumbs > li:last-child {
  font-weight: bold;
}

/**
 * Main.
 */
main {
  flex: 1;
  margin: 64px 0;
}

main > section + section {
  margin-top: 64px !important;
}

/**
 * Section (carousel).
 */
main > section.carousel {
  padding: 64px 0;
  background: var(--background-url) center / cover;
  min-height: 800px;
}

main > section.carousel > div.w1 {
  flex-direction: column;
}

main > section.carousel > div.w1 > h1 {
  width: 80%;
  padding: 32px;
  color: white;
  background-color: var(--color-woodfiber-green);
  text-wrap: balance;
}

main > section.carousel > div.w1 > div {
  display: grid;
}

main > section.carousel > div.w1 > div > article {
  display: flex;
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 1s;
}

main > section.carousel > div.w1 > div > article.current {
  z-index: 1;
  opacity: 1;
}

main > section.carousel > div.w1 > div > article > div {
  flex: 1 0 calc(50% - 16px);
  display: flex;
  flex-direction: column;
}

main > section.carousel > div.w1 > div > article > div > div {
  padding: 32px;
  color: var(--color-dark-green);
  background-color: white;
}

main > section.carousel > div.w1 > div > article > div > div > h2 {
  text-box: trim-start cap alphabetic;
}

main > section.carousel > div.w1 > div > article > div > a.button {
  margin-left: auto;
}

/**
 * Section (box pair).
 */
main > section.box-pair {
  gap: 32px;
}

main > section.box-pair > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 32px;
  color: white;
}

main > section.box-pair > div:first-child {
  background-color: var(--color-dark-green);
}

main > section.box-pair > div:last-child {
  background-color: var(--color-woodfiber-green);
}

main > section.box-pair > div > h2 {
  text-box: trim-start cap alphabetic;
}

main > section.box-pair > div > div:has(+ a.button) {
  margin-bottom: 16px;
}

main > section.box-pair > div > a.button {
  margin-top: auto;
}

/**
 * Section (grid).
 */
main > section.grid {
  background-color: var(--color-woodfiber-light-grey);
}

main > section.grid.negative {
  background-color: white;
}

main > section.grid > div.w1 {
  flex-wrap: wrap;
  gap: 32px;
  padding: 32px 0;
  color: var(--color-dark-green);
}

main > section.grid.negative > div.w1 {
  padding: 0;
}

main > section.grid > div.w1 > h2 {
  flex: 1 0 100%;
  padding: 0 32px;
  text-box: trim-both cap alphabetic;
}

main > section.grid > div.w1 > div.entry {
  display: flex;
  flex-direction: column;
  width: calc((100% - 64px) / 3);
  background-color: white;
}

main > section.grid.negative > div.w1 > div.entry {
  background-color: var(--color-woodfiber-light-grey);
}

main > section.grid > div.w1 > div.entry.hamp,
main > section.grid > div.w1 > div.entry.clay {
  background-color: var(--color-green-ultralight) !important;
}

main > section.grid[data-size="2"] > div.w1 > div.entry {
  width: calc((100% - 32px) / 2);
}

main > section.grid > div.w1 > div.entry > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: start;
  padding: 32px;
}

main > section.grid > div.w1 > div.entry > div > h3 {
  text-box: trim-start cap alphabetic;
}

main > section.grid > div.w1 > div.entry > div > a.read-more {
  margin-top: auto;
}

main > section.grid > div.w1 > div:has(a.button) {
  flex: 1 0 100%;
}

/**
 * Section (quote).
 */
main > section.quote {
  flex-direction: column;
}

main > section.quote > blockquote {
  padding: 64px 32px;
  color: white;
  background-color: var(--color-green-light);
  font-size: var(--font-h1-s);
  font-weight: bold;
  font-style: italic;
}

main > section.quote > a.button {
  margin-right: auto;
}

/**
 * Section (text).
 */
main > section.text {
  flex-direction: column;
  gap: 32px;
  color: var(--color-dark-green);
}

main > section.text > * {
  padding: 0 32px;
}

main > section.text > div {
  gap: 32px;
}

main > section.text > h1 {
  text-box: trim-both cap alphabetic;
}

main > section.text > h2 {
  font-size: var(--font-h3-s);
}

main > section.text h3 {
  font-size: var(--font-b1-s);
}

main > section.text * + p,
main > section.text p:first-of-type {
  margin-top: 0;
}

main > section.text.columns > div {
  columns: 2;
}

main > section.text.split > div.split {
  display: flex;
  padding: 0;
}

main > section.text.split > div.split > * {
  flex: 1 0 calc(50% - 16px);
}

main > section.text.split.mirror > div.split > div {
  order: 1;
}

main > section.text.split.mirror > div.split > div,
main > section.text.split:not(.mirror) > div.split > figure > figcaption {
  padding-right: 32px;
}

main > section.text.split:not(.mirror) > div.split > div,
main > section.text.split.mirror > div.split > figure > figcaption {
  padding-left: 32px;
}

/**
 * Section (media).
 */
main > section.media > figure {
  flex: 1;
}

main > section.media > figure > figcaption {
  color: var(--color-dark-green);
  padding: 0 32px;
}

/**
 * Section (form).
 */
main > section.form {
  padding: 32px;
  color: white;
  background-color: var(--color-woodfiber-green);
}

main > section.form > form > fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

main > section.form > form > fieldset > h2 {
  flex: 1 0 100%;
  text-box: trim-both cap alphabetic;
}

main > section.form > form > fieldset > div {
  display: flex;
  flex-wrap: wrap;
  width: calc(50% - 16px);
  gap: 32px;
}

main > section.form > form > fieldset > div > input:nth-child(-n + 2) {
  width: calc(50% - 16px);
}

main > section.form > form > fieldset > div > textarea {
  height: 256px;
}

/**
 * Footer.
 */
footer {
  background: linear-gradient(90deg, var(--color-woodfiber-green) 50%, var(--color-dark-green) 50%);
  font-weight: bold;
  color: white;
}

footer a {
  color: white;
}

footer > div.w1 {
  gap: 32px;
  padding: 0 32px;
}

footer > div.w1 > * {
  padding: 32px 0;
}

footer > div.w1 > nav {
  flex: 2;
  background-color: var(--color-woodfiber-green);
  font-size: var(--font-h4-s);
}

footer > div.w1 > address {
  flex: 1;
  background-color: var(--color-dark-green);
  font-size: var(--font-b1-s);
  font-style: normal;
}

footer > div.w1 > address > ol > li:nth-child(1) {
  font-size: var(--font-h4-s);
}

footer > div.w1 > address > ol > li:nth-child(5) {
  margin-top: 32px;
  font-size: var(--font-h4-s);
}

/**
 * Media queries.
 */
@media screen and (max-width: 640px) {
  /**
   * Basics.
   */
  :root {
    --is-mobile: 1;
    --font-h1-s: 30px;
  }

  /**
   * Elements (general).
   */
  body {
    min-width: unset;
  }

  /**
   * Classes (general).
   */
  .w1 {
    flex-direction: column;
    width: auto;
  }

  .w2 {
    flex-direction: column;
    padding: 0 16px;
  }

  /**
   * Header.
   */
  header.w2 {
    gap: 32px;
  }

  header.w2 > * {
    width: 100%;
  }

  header > a > img {
    height: auto;
  }

  /**
   * Navigation.
   */
  header > nav > ol {
    flex-wrap: wrap;
  }

  header > nav > ol > li {
    width: calc(50% - 8px);
  }

  /**
   * Products.
   */
  header > div.products.show {
    display: none;
  }

  /**
   * Breadcrumbs.
   */
  header > ol.breadcrumbs {
    display: none;
  }

  /**
   * Main.
   */
  main {
    margin: 32px 0;
  }

  main > section + section {
    margin-top: 32px !important;
  }

  /**
   * Section (carousel).
   */
  main > section.carousel > div.w1 > h1 {
    padding: 32px 16px;
  }

  main > section.carousel > div.w1 > div > article {
    flex-direction: column;
  }

  main > section.carousel > div.w1 > div > article > div {
    order: 1;
  }

  main > section.carousel > div.w1 > div > article > div > div {
    padding: 32px 16px;
  }

  /**
   * Section (box pair).
   */
  main > section.box-pair > div {
    padding: 32px 16px;
  }

  /**
   * Section (grid).
   */
  main > section.grid > div.w1 > *:not(div.entry) {
    padding: 0 16px;
  }

  main > section.grid[data-size] > div.w1 > div.entry {
    width: auto;
  }

  main > section.grid > div.w1 > div.entry > div {
    padding: 32px 16px;
  }

  /**
   * Section (quote).
   */
  main > section.quote > blockquote {
    padding: 32px 16px;
  }

  /**
   * Section (text).
   */
  main > section.text > * {
    padding: 0 16px;
  }

  main > section.text.columns > div {
    columns: unset;
  }

  main > section.text.split > div.split {
    flex-direction: column;
  }

  main > section.text.split > div.split > div,
  main > section.text.split > div.split > figure > figcaption {
    padding: 0 16px !important;
  }

  /**
   * Section (media).
   */
  main > section.media > figure > figcaption {
    padding: 0 16px;
  }

  /**
   * Section (form).
   */
  main > section.form {
    padding: 32px 16px;
  }

  main > section.form > form > fieldset > div,
  main > section.form > form > fieldset > div > input:nth-child(-n + 2) {
    width: 100%;
  }

  /**
   * Footer.
   */
  footer > div.w1 {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  footer > div.w1 > * {
    padding: 32px 16px;
  }
}