:root {
  --z-header: 1000;
  --z-dropdown: 2000;
  --z-modal: 3000;
  --z-tooltip: 4000;
  --font-heading: "Playfair Display", "Noto Serif SC", Georgia, serif;
}

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

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  color: #20241f;
  background: #f7f8f6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  letter-spacing: 0;
}

.designs-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 10px max(20px, calc((100% - 1320px) / 2));
  border-bottom: 1px solid #e1e5e1;
  background: #fff;
}

.designs-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.designs-brand img:first-child {
  width: 42px;
  height: 42px;
}

.designs-brand img:last-child {
  width: 132px;
  height: auto;
}

.designs-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.designs-nav a {
  color: #384239;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.designs-nav a[aria-current="page"] {
  color: #1d5538;
}

.designs-header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.designs-header select {
  min-height: 42px;
  padding: 0 34px 0 12px;
  border: 1px solid #dbe1dc;
  border-radius: 4px;
  background: #fff;
}

.designs-menu {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dbe1dc;
  border-radius: 50%;
  color: #214d37;
  background: #fff;
  font-size: 20px;
}

.designs-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: #fff;
  background: #1b221d;
}

.designs-hero > img,
.designs-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.designs-hero > img {
  object-fit: cover;
  object-position: center 42%;
}

.designs-hero-shade {
  background: rgba(10, 14, 11, 0.54);
}

.designs-hero-copy {
  position: relative;
  width: min(1320px, 100%);
  min-height: 430px;
  margin: 0 auto;
  padding: 78px 24px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 16px;
}

.designs-hero-copy > p:first-child,
.designs-gallery-heading p,
.designs-privacy > div > p {
  margin: 0;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.designs-hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: 0;
}

.designs-hero-copy > p:not(:first-child) {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.7;
}

.designs-hero a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 4px;
  color: #173c29;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.designs-toolbar,
.designs-gallery,
.designs-privacy {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.designs-toolbar {
  padding-top: 44px;
  padding-bottom: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 20px;
}

.designs-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.designs-filter button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #d7ddd8;
  border-radius: 4px;
  color: #465048;
  background: #fff;
  font-weight: 750;
}

.designs-filter button[aria-pressed="true"] {
  border-color: #214d37;
  color: #fff;
  background: #214d37;
}

.designs-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d7ddd8;
  border-radius: 4px;
  background: #fff;
}

.designs-gallery {
  padding-top: 30px;
  padding-bottom: 78px;
  scroll-margin-top: 96px;
}

.designs-gallery-heading {
  margin-bottom: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.designs-gallery-heading h2,
.designs-privacy h2 {
  margin: 7px 0 0;
  color: #18251d;
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0;
}

.designs-gallery-heading > span {
  color: #59645c;
  white-space: nowrap;
}

.designs-privacy {
  width: 100%;
  max-width: none;
  padding: 64px max(24px, calc((100% - 1320px) / 2));
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  background: #e9eeea;
}

.designs-privacy > div {
  grid-column: 1 / span 5;
}

.designs-privacy > p {
  grid-column: 7 / -1;
  margin: 0;
  color: #526057;
  line-height: 1.75;
}

.designs-footer {
  padding: 40px max(24px, calc((100% - 1320px) / 2));
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 24px;
  align-items: center;
  color: #fff;
  background: #101d16;
}

.designs-footer strong {
  font-family: var(--font-heading);
  font-size: 28px;
}

.designs-footer span {
  color: rgba(255, 255, 255, 0.66);
}

.designs-footer nav {
  display: flex;
  gap: 18px;
}

.designs-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 900px) {
  .designs-header {
    grid-template-columns: 1fr auto;
  }

  .designs-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 6px);
    z-index: var(--z-dropdown);
    display: none;
    padding: 10px;
    border: 1px solid #dce2dd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(20, 42, 29, 0.16);
  }

  .designs-nav.is-open {
    display: grid;
  }

  .designs-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 10px;
  }

  .designs-menu {
    display: block;
  }

  .designs-toolbar {
    grid-template-columns: 1fr;
  }

  .designs-privacy {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .designs-privacy > div,
  .designs-privacy > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .designs-header {
    min-height: 68px;
    padding: 8px 14px;
  }

  .designs-brand img:first-child {
    width: 38px;
    height: 38px;
  }

  .designs-brand img:last-child {
    width: 94px;
  }

  .designs-header select {
    width: 92px;
  }

  .designs-hero,
  .designs-hero-copy {
    min-height: 390px;
  }

  .designs-hero-copy {
    padding: 64px 18px;
  }

  .designs-hero h1 {
    font-size: 38px;
  }

  .designs-hero-copy > p:not(:first-child) {
    font-size: 15px;
  }

  .designs-toolbar,
  .designs-gallery {
    padding-left: 14px;
    padding-right: 14px;
  }

  .designs-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .designs-gallery-heading {
    display: grid;
  }

  .designs-gallery-heading h2,
  .designs-privacy h2 {
    font-size: 27px;
  }

  .designs-privacy {
    padding: 54px 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .designs-footer {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
