@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap");

:root {
  --zg-cream: #f4f0e7;
  --zg-cream-deep: #eae3d7;
  --zg-ink: #193f35;
  --zg-ink-deep: #0f2e27;
  --zg-sage: #647c68;
  --zg-white: #fffdf8;
  --zg-line: rgba(25, 63, 53, 0.18);
  --zg-serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --zg-sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body,
body.next {
  margin: 0;
  background: var(--zg-cream);
  color: var(--zg-ink);
  font-family: var(--zg-sans);
  -webkit-font-smoothing: antialiased;
}

body.zengue-theme {
  overflow-x: hidden;
}

.zengue-home-page .layout-floating-cart {
  display: none !important;
}

.zg-shell {
  width: min(100% - 64px, 1440px);
  margin-inline: auto;
}

.zg-header {
  position: relative;
  z-index: 60;
  background: rgba(244, 240, 231, 0.97);
  border-bottom: 1px solid var(--zg-line);
  color: var(--zg-ink);
}

body.zengue-home-page .zg-header {
  position: absolute;
  inset: 30px 0 auto;
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.zg-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 20px;
  background: var(--zg-ink);
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.zg-nav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 92px;
  gap: 24px;
}

.zg-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.zg-wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--zg-serif);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.zg-wordmark small {
  margin-top: 8px;
  font-family: var(--zg-sans);
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-indent: 0.38em;
}

.zg-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.zg-nav a,
.zg-utility a,
.zg-menu-toggle {
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.zg-nav a:hover,
.zg-utility a:hover,
.zg-menu-toggle:hover {
  opacity: 0.62;
}

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

.zg-utility svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.zg-cart {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.zg-menu-toggle {
  display: none;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.zg-menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px 0;
  background: currentColor;
}

.zg-mobile-menu {
  display: none;
  position: fixed;
  z-index: 100;
  inset: 0;
  padding: 100px 28px 40px;
  background: var(--zg-cream);
  color: var(--zg-ink);
}

.zg-mobile-menu[data-open="true"] {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.zg-mobile-menu a {
  font-family: var(--zg-serif);
  font-size: 32px;
  line-height: 1;
  color: inherit;
  text-decoration: none;
}

.zg-mobile-menu button {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--zg-line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.zg-home {
  overflow: hidden;
}

.zg-hero {
  position: relative;
  height: calc(100svh - 32px);
  min-height: 700px;
  max-height: 960px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #9ea59f;
  color: #fff;
}

.zg-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.zg-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(19, 29, 25, 0.7) 0%, rgba(19, 29, 25, 0.23) 54%, rgba(19, 29, 25, 0.08) 100%),
    linear-gradient(0deg, rgba(9, 18, 15, 0.28), transparent 48%);
}

.zg-hero__inner {
  padding-top: 112px;
}

.zg-hero__copy {
  width: min(640px, 51vw);
}

.zg-eyebrow {
  display: block;
  margin: 0 0 24px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.zg-hero h1,
.zg-section-title,
.zg-diy h2,
.zg-story-intro h2,
.zg-contact h2 {
  margin: 0;
  font-family: var(--zg-serif);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.zg-hero h1 {
  max-width: 720px;
  font-size: clamp(58px, 6.2vw, 106px);
  line-height: 0.9;
  color: #fff;
}

.zg-hero h1 em {
  display: block;
  font-weight: 500;
}

.zg-hero__description {
  max-width: 390px;
  margin: 34px 0 0;
  font-size: 17px;
  line-height: 1.55;
}

.zg-hero__actions,
.zg-button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 42px;
}

.zg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--zg-white);
  color: var(--zg-ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.zg-btn:hover {
  transform: translateY(-2px);
}

.zg-btn--ink {
  background: var(--zg-ink);
  color: white;
}

.zg-btn--outline {
  border-color: currentColor;
  background: transparent;
  color: currentColor;
}

.zg-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.zg-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--zg-line);
  background: var(--zg-cream);
}

.zg-marquee__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}

.zg-marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 16px 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
}

.zg-marquee__item::after {
  display: none;
}

.zg-marquee__item:nth-child(n + 5) {
  display: none;
}

.zg-section {
  padding: 112px 0;
}

.zg-section--tight {
  padding-top: 78px;
}

.zg-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.zg-section-title {
  font-size: clamp(42px, 4.5vw, 74px);
  line-height: 0.96;
}

.zg-section-copy {
  max-width: 450px;
  margin: 20px 0 0;
  color: rgba(25, 63, 53, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.zg-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 18px;
}

.zg-product {
  color: inherit;
  text-decoration: none;
}

.zg-product__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.12;
  border-radius: 16px;
  background: #e8e6df;
}

.zg-product__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 600ms cubic-bezier(.2,.65,.25,1);
}

.zg-product:hover .zg-product__media img {
  transform: scale(1.035);
}

.zg-product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--zg-ink);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zg-product__info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 2px 0;
}

.zg-product__title {
  margin: 0;
  font-family: var(--zg-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.zg-product__price {
  flex: none;
  font-size: 12px;
  font-weight: 600;
}

.zg-diy {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  margin: 20px 0;
  isolation: isolate;
  background: #835552;
  color: #fff;
  -webkit-clip-path: polygon(0 4%, 50% 0, 100% 3%, 100% 97%, 50% 100%, 0 96%);
          clip-path: polygon(0 4%, 50% 0, 100% 3%, 100% 97%, 50% 100%, 0 96%);
}

.zg-diy::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--diy-image);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.zg-diy::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(51, 21, 21, 0.62), rgba(51, 21, 21, 0.08));
}

.zg-diy__copy {
  width: min(600px, 48vw);
}

.zg-diy h2 {
  font-size: clamp(52px, 5.5vw, 90px);
  line-height: 0.94;
  color: #fff;
}

.zg-diy p {
  margin: 24px 0 0;
  font-size: 16px;
}

.zg-story {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 80px;
  align-items: start;
}

.zg-story-intro {
  position: sticky;
  top: 130px;
}

.zg-story-intro h2 {
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.9;
}

.zg-story-intro p {
  max-width: 360px;
  margin-top: 28px;
  color: rgba(25, 63, 53, 0.7);
  line-height: 1.7;
}

.zg-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px 22px;
}

.zg-story-card:nth-child(even) {
  transform: translateY(90px);
}

.zg-story-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 46% 46% 16px 16px;
}

.zg-story-card h3 {
  margin: 20px 0 8px;
  font-family: var(--zg-serif);
  font-size: 26px;
  font-weight: 500;
}

.zg-story-card p {
  margin: 0;
  color: rgba(25, 63, 53, 0.7);
  font-size: 13px;
  line-height: 1.65;
}

.zg-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--zg-line);
  border-bottom: 1px solid var(--zg-line);
}

.zg-value {
  min-height: 270px;
  padding: 44px 34px;
  border-right: 1px solid var(--zg-line);
}

.zg-value:last-child {
  border-right: 0;
}

.zg-value__num {
  display: block;
  margin-bottom: 74px;
  font-size: 10px;
  letter-spacing: 0.15em;
}

.zg-value h3 {
  margin: 0 0 14px;
  font-family: var(--zg-serif);
  font-size: 29px;
  font-weight: 500;
}

.zg-value p {
  margin: 0;
  color: rgba(25, 63, 53, 0.7);
  font-size: 13px;
  line-height: 1.7;
}

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

.zg-collection-card {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  overflow: hidden;
  border-radius: 16px;
  color: white;
  text-decoration: none;
}

.zg-collection-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 700ms ease;
}

.zg-collection-card:hover img {
  transform: scale(1.04);
}

.zg-collection-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(2deg, rgba(13, 31, 26, 0.62), rgba(13, 31, 26, 0.04) 58%);
}

.zg-collection-card span {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  font-family: var(--zg-serif);
  font-size: 37px;
}

.zg-contact {
  margin-top: 110px;
  padding: 96px 0;
  background: var(--zg-ink);
  color: white;
}

.zg-contact__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 44px;
}

.zg-contact h2 {
  max-width: 820px;
  font-size: clamp(54px, 6vw, 96px);
  line-height: 0.92;
}

.zg-contact p {
  max-width: 480px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.zg-footer {
  background: var(--zg-ink-deep);
  color: white;
  padding: 68px 0 30px;
}

.zg-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.8fr;
  gap: 52px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.zg-footer__brand .zg-wordmark {
  font-size: 29px;
}

.zg-footer__brand p {
  max-width: 330px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  line-height: 1.7;
}

.zg-footer h3 {
  margin: 0 0 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.zg-footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zg-footer a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  text-decoration: none;
}

.zg-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.zg-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.65,.25,1);
}

.zg-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  body.zengue-home-page .zg-header {
    inset: 0 0 auto;
  }

  .zg-shell {
    width: min(100% - 36px, 1440px);
  }

  .zg-nav {
    display: none;
  }

  .zg-nav-row {
    grid-template-columns: 1fr auto 1fr;
    min-height: 74px;
  }

  .zg-brand {
    grid-column: 2;
    grid-row: 1;
  }

  .zg-wordmark {
    font-size: 24px;
  }

  .zg-menu-toggle {
    display: block;
    justify-self: start;
  }

  .zg-utility {
    grid-column: 3;
    gap: 12px;
  }

  .zg-utility .zg-search,
  .zg-utility .zg-account {
    display: none;
  }

  .zg-hero {
    height: calc(100svh - 28px);
    min-height: 640px;
    max-height: none;
  }

  body.zengue-home-page .zg-hero__inner {
    padding-top: 118px;
  }

  .zg-hero__copy {
    width: min(620px, 82vw);
  }

  .zg-hero h1 {
    font-size: clamp(54px, 12vw, 86px);
  }

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

  .zg-story {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .zg-story-intro {
    position: static;
  }

  .zg-values {
    grid-template-columns: 1fr;
  }

  .zg-value {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--zg-line);
  }

  .zg-value:last-child {
    border-bottom: 0;
  }

  .zg-value__num {
    margin-bottom: 28px;
  }

  .zg-collections {
    grid-template-columns: 1fr;
  }

  .zg-collection-card {
    min-height: 430px;
  }

  .zg-contact__inner {
    grid-template-columns: 1fr;
  }

  .zg-footer__top {
    grid-template-columns: 1.3fr 1fr;
  }
}

@media (max-width: 620px) {
  .zg-announcement {
    min-height: 28px;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .zg-section {
    padding: 76px 0;
  }

  .zg-hero {
    height: calc(100svh - 28px);
    min-height: 640px;
    max-height: none;
    align-items: flex-end;
    padding-bottom: 66px;
  }

  .zg-hero::before {
    background-position: 61% center;
  }

  .zg-hero::after {
    background: linear-gradient(0deg, rgba(10, 21, 17, 0.74), rgba(10, 21, 17, 0.08) 75%);
  }

  .zg-hero__copy {
    width: 100%;
  }

  .zg-hero h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .zg-hero__description {
    margin-top: 24px;
    font-size: 15px;
  }

  .zg-hero__actions {
    gap: 20px;
    margin-top: 30px;
  }

  .zg-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 30px;
  }

  .zg-section-title {
    font-size: 43px;
  }

  .zg-product-grid {
    gap: 26px 10px;
  }

  .zg-product__media {
    border-radius: 10px;
  }

  .zg-product__info {
    display: block;
    padding-top: 11px;
  }

  .zg-product__title {
    font-size: 11px;
  }

  .zg-product__price {
    display: block;
    margin-top: 5px;
    font-size: 11px;
  }

  .zg-diy {
    min-height: 580px;
    -webkit-clip-path: polygon(0 2%, 50% 0, 100% 2%, 100% 98%, 50% 100%, 0 98%);
            clip-path: polygon(0 2%, 50% 0, 100% 2%, 100% 98%, 50% 100%, 0 98%);
  }

  .zg-diy::before {
    background-position: 53% center;
  }

  .zg-diy__copy {
    width: 100%;
  }

  .zg-diy h2 {
    font-size: 54px;
  }

  .zg-story-grid {
    gap: 46px 12px;
  }

  .zg-story-card:nth-child(even) {
    transform: translateY(48px);
  }

  .zg-story-card h3 {
    font-size: 21px;
  }

  .zg-value {
    padding: 36px 10px;
  }

  .zg-collection-card {
    min-height: 380px;
  }

  .zg-contact {
    margin-top: 76px;
    padding: 76px 0;
  }

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

  .zg-marquee__item {
    padding: 11px 8px;
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  .zg-contact h2 {
    font-size: 54px;
  }

  .zg-footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .zg-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .zg-reveal {
    opacity: 1;
    transform: none;
  }
}
