:root {
  --black: #0b0b0b;
  --white: #ffffff;
  --soft: #f3f0ea;
  --stone: #ded8cf;
  --muted: #6a6864;
  --line: rgba(11, 11, 11, .14);
  --accent: #e8dfd1;
  --container: min(1380px, calc(100% - 48px));
  --shadow: 0 28px 90px rgba(0, 0, 0, .13);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
  font-size: 13px;
  font-weight: 700;
  transition: .25s ease;
}

.button--dark {
  background: var(--black);
  color: var(--white);
}

.button--dark:hover {
  background: #2a2a2a;
}

.button--light {
  background: var(--white);
  color: var(--black);
}

.button--light:hover {
  background: var(--soft);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header__inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.site-header__left,
.text-button,
.menu-button {
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-header__left {
  justify-self: start;
}

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

.site-brand img {
  width: 54px;
  margin: 0 auto;
}

.site-brand span {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.site-header__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}

.text-button {
  padding-right: 18px;
  border-right: 1px solid var(--black);
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.menu-icon {
  width: 28px;
  display: grid;
  gap: 6px;
}

.menu-icon i {
  height: 2px;
  background: currentColor;
  transition: transform .25s ease;
}

.menu-button:hover .menu-icon i:first-child {
  transform: translateX(4px);
}

.menu-button:hover .menu-icon i:last-child {
  transform: translateX(-4px);
}

.hero {
  padding: 170px 0 90px;
  background: var(--white);
}

.hero__inner {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
  align-items: center;
}

.hero__content h1 {
  max-width: 780px;
  margin-top: 18px;
  font-size: clamp(60px, 8vw, 126px);
  line-height: .92;
  letter-spacing: -.055em;
}

.hero__content h1 span {
  display: block;
  color: #55514b;
}

.hero__copy {
  max-width: 620px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 18px;
}

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

.hero__visual {
  position: relative;
  min-height: 650px;
}

.hero__image-card {
  position: absolute;
  inset: 54px 34px 38px 74px;
  overflow: hidden;
  border-radius: 42% 42% 16px 16px;
  box-shadow: var(--shadow);
}

.hero__image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
}

.hero__shape--one {
  width: 290px;
  height: 290px;
  right: 0;
  top: 0;
  background: var(--accent);
}

.hero__shape--two {
  width: 210px;
  height: 210px;
  left: 0;
  bottom: 0;
  border: 2px solid var(--black);
}

.hero__note {
  position: absolute;
  z-index: 2;
  min-width: 190px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

.hero__note span,
.hero__note strong {
  display: block;
}

.hero__note span {
  color: var(--muted);
  font-size: 12px;
}

.hero__note strong {
  margin-top: 4px;
  font-size: 15px;
}

.hero__note--top {
  top: 42px;
  left: 0;
}

.hero__note--bottom {
  right: 0;
  bottom: 24px;
}

.designs-section {
  padding: 100px 0 120px;
  background: var(--soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.section-heading h2 {
  max-width: 800px;
  margin-top: 10px;
  font-size: clamp(48px, 6vw, 90px);
  line-height: .96;
  letter-spacing: -.045em;
}

.section-heading > p {
  max-width: 430px;
  color: var(--muted);
}

.filter-panel {
  margin-top: 40px;
  padding: 18px;
  background: #d9d0c4;
  border-radius: 24px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-row--extra {
  display: none;
  padding-top: 10px;
}

.filter-row--extra.is-open {
  display: flex;
}

.filter-button,
.filter-expand {
  min-height: 48px;
  padding: 0 18px;
  border: 2px solid rgba(11,11,11,.14);
  border-radius: 999px;
  background: #f8f6f2;
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}

.filter-button:hover,
.filter-button.is-active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.filter-expand {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
}

.designs-meta {
  margin: 44px 0 24px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.design-card {
  overflow: hidden;
  background: var(--white);
  border-radius: 22px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.design-card[hidden] {
  display: none;
}

.design-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.design-card__image {
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
}

.design-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.design-card:hover .design-card__image img {
  transform: scale(1.04);
}

.design-card__body {
  padding: 24px;
}

.design-card__body h3 {
  font-size: 28px;
  letter-spacing: -.03em;
}

.design-card__body p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.design-card__tags {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.design-card__tags span {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 11px;
  font-weight: 700;
}

.design-card__actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.design-card__actions button {
  width: 100%;
}

.contact-section {
  padding: 110px 0;
  background: var(--black);
  color: var(--white);
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 70px;
}

.contact-section__copy h2 {
  margin-top: 12px;
  font-size: clamp(50px, 6vw, 94px);
  line-height: .95;
  letter-spacing: -.045em;
}

.contact-section__copy > p:last-child {
  max-width: 500px;
  margin-top: 24px;
  color: rgba(255,255,255,.62);
}

.contact-form {
  padding: 34px;
  border-radius: 24px;
  background: var(--white);
  color: var(--black);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  outline: none;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--black);
}

.form-submit {
  margin-top: 18px;
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

.form-success {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #eef7ef;
  color: #236c32;
  font-size: 13px;
}

.form-success.is-visible {
  display: block;
}

.site-footer {
  padding: 80px 0 28px;
  background: var(--white);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 70px;
}

.site-footer__brand img {
  width: 74px;
}

.site-footer__brand h2 {
  max-width: 390px;
  margin-top: 18px;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.site-footer__brand > p {
  max-width: 370px;
  margin-top: 16px;
  color: var(--muted);
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 22px;
}

.site-footer__links a {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.site-footer__bottom {
  margin-top: 62px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.social-links {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.social-links svg {
  width: 18px;
  fill: currentColor;
}

.mega-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--black);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: .3s ease;
}

.mega-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mega-menu__top {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.mega-menu__brand img {
  width: 54px;
  filter: brightness(0) invert(1);
}

.mega-menu__close {
  border: 0;
  background: transparent;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.mega-menu__close i {
  position: relative;
  width: 28px;
  height: 28px;
}

.mega-menu__close i::before,
.mega-menu__close i::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--white);
}

.mega-menu__close i::before {
  transform: rotate(45deg);
}

.mega-menu__close i::after {
  transform: rotate(-45deg);
}

.mega-menu__body {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 7vw;
  align-items: center;
}

.mega-menu__nav {
  display: grid;
}

.mega-menu__nav a {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: clamp(48px, 6vw, 96px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.055em;
}

.mega-menu__contact {
  padding-left: 5vw;
  border-left: 1px solid rgba(255,255,255,.15);
}

.mega-menu__contact h2 {
  max-width: 530px;
  margin-top: 12px;
  font-size: clamp(40px, 4vw, 66px);
  line-height: 1;
  letter-spacing: -.045em;
}

.mega-menu__details {
  margin-top: 26px;
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,.65);
}

.mega-menu .social-links a {
  border-color: rgba(255,255,255,.25);
}

.contact-popup {
  position: fixed;
  inset: 0;
  z-index: 120;
  padding: 24px;
  background: rgba(0,0,0,.76);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: .25s ease;
}

.contact-popup.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-popup__panel {
  position: relative;
  width: min(1160px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 40% 60%;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-popup__intro {
  padding: 46px;
  background: var(--soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-popup__intro h2 {
  margin-top: 12px;
  font-size: clamp(44px, 5vw, 78px);
  line-height: .95;
  letter-spacing: -.05em;
}

.contact-popup__intro > p:last-child {
  margin-top: 22px;
  color: var(--muted);
}

.contact-form--popup {
  border-radius: 0;
  padding: 46px;
}

.contact-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 22px;
}

.not-found {
  min-height: 78vh;
  padding: 190px 0 100px;
  display: grid;
  place-items: center;
}

.not-found__inner {
  text-align: center;
}

.not-found h1 {
  max-width: 900px;
  margin: 16px auto 0;
  font-size: clamp(56px, 9vw, 130px);
  line-height: .92;
  letter-spacing: -.06em;
}

.not-found p:not(.eyebrow) {
  max-width: 580px;
  margin: 24px auto 0;
  color: var(--muted);
}

.not-found__actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-header__left {
    display: none;
  }

  .site-brand {
    justify-self: start;
    text-align: left;
  }

  .site-brand img {
    margin: 0;
  }

  .site-brand span {
    display: none;
  }

  .hero__inner,
  .contact-section__inner,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 620px;
  }

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

  .site-footer__links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 28px, 1380px);
  }

  .site-header__inner,
  .mega-menu__top {
    min-height: 78px;
  }

  .site-brand img,
  .mega-menu__brand img {
    width: 46px;
  }

  .text-button {
    display: none;
  }

  .hero {
    padding-top: 120px;
  }

  .hero__inner {
    min-height: auto;
    gap: 50px;
  }

  .hero__visual {
    min-height: 530px;
  }

  .hero__image-card {
    inset: 46px 24px 28px 44px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-expand {
    margin-left: 0;
  }

  .mega-menu__body {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 38px;
    padding-top: 30px;
    overflow-y: auto;
    max-height: calc(100vh - 78px);
  }

  .mega-menu__contact {
    padding: 28px 0 40px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.15);
  }

  .contact-popup__panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero__content h1 {
    font-size: clamp(54px, 17vw, 82px);
  }

  .hero__visual {
    min-height: 430px;
  }

  .hero__note {
    min-width: 150px;
    padding: 14px;
  }

  .hero__note--top {
    top: 16px;
  }

  .hero__note--bottom {
    bottom: 6px;
  }

  .design-grid,
  .form-grid,
  .site-footer__links {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .contact-form--popup {
    padding: 24px;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .contact-popup {
    padding: 10px;
  }

  .contact-popup__panel {
    max-height: calc(100vh - 20px);
  }

  .contact-popup__intro {
    padding: 70px 24px 28px;
  }

  .design-card__actions {
    flex-direction: column;
  }
}

.design-card__image {
  display: block;
  position: relative;
  aspect-ratio: 1.22 / 1;
  overflow: hidden;
}

.design-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.design-card__actions .button {
  width: 100%;
  text-align: center;
}

@media (max-width: 640px) {
  .design-card__actions {
    grid-template-columns: 1fr;
  }
}