* {
  box-sizing: border-box;
}
:root {
  --ink: #17231e;
  --forest: #25463a;
  --sage: #dfe4d3;
  --cream: #f8f5f2;
  --line: #e8e2dc;
  --brown: #a96b43;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: #171916;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
}

.hero {
  max-width: 1440px;
  min-height: 440px;
  margin: auto;
  position: relative;
  display: grid;
  grid-template-columns: 48% 52%;
  overflow: hidden;
  padding: 0 6.5%;
}
.hero-copy {
  padding: 68px 0 35px 0;
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  font: 500 clamp(38px, 4.3vw, 57px) / 1.08 "Playfair Display", serif;
  letter-spacing: -1.8px;
  color: #244437;
  margin: 0 0 19px;
}
.hero-copy > p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 26px;
}
.leaf-deco {
  position: absolute;
  left: 265px;
  top: 51px;
  color: #dce3d0;
  font-size: 50px;
  transform: rotate(45deg);
}
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 13px 21px;
  background: #234638;
  color: white;
  text-decoration: none;
  border-radius: 28px;
  font-size: 11px;
  transition: transform 0.25s, background 0.25s;
}
.primary-button:hover {
  background: #172f26;
  transform: translateY(-3px);
}
.primary-button span {
  font-size: 19px;
}
.values {
  display: flex;
  gap: 28px;
  margin-top: 45px;
  align-items: center;
  flex-wrap: wrap;
}
.values span {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.values b {
  font-size: 20px;
  font-weight: 400;
}
.hero-visual {
  height: 400px;
  position: relative;
  align-self: start;
  margin-top: 4px;
  border-radius: 52% 0 0 38%;
  overflow: visible;
}
.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 52% 0 0 38%;
  display: block;
}
.thoughtful-stamp {
  position: absolute;
  right: 5%;
  top: 8%;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: #a66d47;
  color: #f7eee3;
  border: 1px solid #e4c6a6;
  outline: 4px solid #a66d47;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 1.2px;
  transform: rotate(12deg);
  box-shadow: 0 4px 10px #0002;
}
.thoughtful-stamp b {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}
.hero-wave {
  position: absolute;
  z-index: 1;
  bottom: -65px;
  left: -7%;
  width: 64%;
  height: 210px;
  background: #e0e5d5;
  border-radius: 0 100% 0 0;
  transform: rotate(-5deg);
  pointer-events: none;
}
.benefits {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: -3px auto 32px;
  width: 86%;
  min-height: 128px;
  border: 1px solid #e9e3de;
  border-radius: 17px;
  background: #fbf9f7;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  box-shadow: 0 5px 20px #40372b08;
}
.benefit {
  height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #eee8e2;
  gap: 3px;
}
.benefit:last-child {
  border: 0;
}
.benefit-icon {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 23px;
  margin-bottom: 5px;
}
.sage {
  background: #dce3d0;
}
.sand {
  background: #e9ddc9;
}
.green {
  background: #8fa184;
  color: white;
}
.cream {
  background: #e9ddc9;
}
.benefit strong {
  font-size: 11px;
  font-weight: 600;
}
.benefit small {
  font-size: 9px;
  color: #595852;
}
.section-wrap {
  max-width: 1100px;
  width: 86%;
  margin: 0 auto;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.section-heading h2,
.community h2,
.footer h2 {
  font: 500 23px "Playfair Display", serif;
  color: #1f332a;
  margin: 0;
}
.section-heading a {
  font-size: 10px;
}
.section-heading a span {
  font-size: 19px;
  vertical-align: -2px;
  margin-left: 8px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  border: 1px solid #e6dfd9;
  border-radius: 12px;
  overflow: hidden;
  background: #fbf9f7;
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px #3b30251a;
}
.product-image {
  height: auto;
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  background: #eee9e2;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.product-card:hover .product-image img {
  transform: scale(1.045);
}
.heart {
  position: absolute;
  right: 9px;
  top: 7px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}
.heart.active {
  color: #a65e4b;
}
.product-info {
  padding: 9px 10px 10px;
}
.product-info h3 {
  font-size: 10px;
  font-weight: 600;
  margin: 0 0 2px;
}
.product-info p {
  font-size: 9px;
  color: #77736d;
  margin: 0 0 7px;
}
.product-info strong {
  font-size: 12px;
  font-weight: 600;
}
.add-cart {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 7px;
  border: 1px solid #d8ded1;
  background: transparent;
  color: #294839;
  border-radius: 20px;
  font: 10px "DM Sans";
  cursor: pointer;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.25s;
}
.product-card:hover .add-cart,
.add-cart:focus {
  opacity: 1;
  max-height: 35px;
}
.community {
  max-width: 1100px;
  width: 89%;
  margin: 27px auto 28px;
  min-height: 168px;
  border-radius: 14px;
  overflow: hidden;
  background: #355a4b;
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.05fr;
  color: #f8f3e9;
}
.community-copy {
  padding: 23px 28px;
}
.community h2 {
  color: #f5f0e7;
  font-size: 20px;
  margin-bottom: 8px;
}
.community-copy p {
  font-size: 11px;
  line-height: 1.55;
  margin: 0 0 14px;
  color: #f0eee7;
}
.subscribe-form {
  display: flex;
  height: 33px;
  max-width: 255px;
  border-radius: 20px;
  overflow: hidden;
  background: #faf8f5;
}
.subscribe-form input {
  min-width: 0;
  width: 62%;
  border: 0;
  outline: 0;
  padding: 0 13px;
  font: 9px "DM Sans";
  background: #faf8f5;
}
.subscribe-form button {
  flex: 1;
  border: 0;
  background: #a86d47;
  color: white;
  font: 9px "DM Sans";
  cursor: pointer;
}
.form-message {
  display: block;
  margin-top: 5px;
  font-size: 9px;
}
.community-photo {
  min-height: 168px;
  overflow: hidden;
}
.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.community blockquote {
  margin: 0;
  padding: 22px 25px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.community blockquote span {
  font: bold 48px Georgia;
  line-height: 0.6;
  color: #e9e0c9;
}
.community blockquote p {
  font: 17px/1.25 "Playfair Display", serif;
  margin: 2px 0 0;
}
.community blockquote b {
  position: absolute;
  right: 28px;
  bottom: 12px;
  font-size: 36px;
  font-weight: 400;
  color: #a6b19a;
}
.footer {
  max-width: 1100px;
  width: 83%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
}
.footer h2 {
  font-size: 17px;
  line-height: 1.15;
}
.footer-sprout {
  font-size: 39px;
  color: #7d8e78;
}
.footer-divider {
  height: 48px;
  width: 1px;
  background: #d9d2ca;
  margin: 0 8px;
}
.footer-promise {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-promise span {
  font-size: 31px;
  font-weight: 300;
}
.footer-promise p {
  font-size: 9px;
  line-height: 1.5;
  margin: 0;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #1e3c30;
  color: white;
  padding: 11px 18px;
  border-radius: 30px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 10;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (min-width: 1200px) {
  .hero {
    min-height: 475px;
  }
  .hero-visual {
    height: 440px;
  }
  .hero-copy {
    padding-top: 82px;
  }
}
@media (max-width: 900px) {
  .site-header {
    padding: 18px 4%;
    gap: 15px;
  }
  .main-nav {
    gap: 16px;
  }
  .main-nav a {
    font-size: 11px;
  }
  .search-box {
    width: 130px;
  }
  .hero {
    padding: 0 5%;
    grid-template-columns: 48% 52%;
    min-height: 390px;
  }
  .hero-copy {
    padding-top: 60px;
  }
  .hero-visual {
    height: 360px;
  }
  .values {
    gap: 14px;
    margin-top: 35px;
  }
  .benefits {
    width: 90%;
  }
  .section-wrap {
    width: 90%;
  }
  .community {
    width: 92%;
  }
}
@media (max-width: 650px) {
  .site-header {
    height: 76px;
    padding: 12px 5%;
    justify-content: space-between;
  }
  .brand {
    min-width: 110px;
    align-items: flex-start;
  }
  .brand-name {
    font-size: 28px;
  }
  .brand-leaf {
    left: 48px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: none;
    padding: 8px;
    margin-left: auto;
  }
  .menu-toggle span {
    width: 22px;
    height: 1.5px;
    background: #243d31;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 4%;
    right: 4%;
    background: #fbf9f6;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 10px 25px #0001;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .main-nav.open {
    display: flex;
  }
  .header-actions {
    gap: 10px;
  }
  .search-box {
    width: 35px;
    border: 0;
    background: transparent;
    padding: 0;
  }
  .search-box input {
    display: none;
  }
  .search-box span {
    font-size: 25px;
  }
  .bag-button {
    font-size: 24px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding: 0 6%;
    min-height: 0;
    overflow: hidden;
  }
  .hero-copy {
    padding: 36px 0 18px;
  }
  .hero-copy h1 {
    font-size: 43px;
  }
  .hero-copy > p {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .leaf-deco {
    left: 230px;
    top: 25px;
    font-size: 39px;
  }
  .values {
    margin-top: 25px;
    gap: 18px;
  }
  .values span {
    font-size: 9px;
  }
  .hero-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 1.35;
    margin: 8px 0 0 10%;
    width: 90%;
    border-radius: 55% 0 0 25%;
  }
  .hero-visual > img {
    border-radius: 55% 0 0 25%;
  }
  .thoughtful-stamp {
    width: 76px;
    height: 76px;
    font-size: 7px;
  }
  .thoughtful-stamp b {
    font-size: 23px;
  }
  .hero-wave {
    width: 95%;
    height: 120px;
    bottom: -35px;
  }
  .benefits {
    width: 90%;
    margin: 14px auto 28px;
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 0;
  }
  .benefit {
    height: 94px;
  }
  .benefit:nth-child(2) {
    border-right: 0;
  }
  .benefit:nth-child(-n + 2) {
    border-bottom: 1px solid #eee8e2;
  }
  .benefit-icon {
    width: 39px;
    height: 39px;
    font-size: 20px;
  }
  .benefit strong {
    font-size: 10px;
  }
  .benefit small {
    font-size: 9px;
  }
  .section-wrap {
    width: 90%;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-card:last-child {
    display: block;
  }
  .product-info {
    padding: 9px;
  }
  .product-info h3 {
    font-size: 11px;
  }
  .product-info p {
    font-size: 9px;
  }
  .product-info strong {
    font-size: 12px;
  }
  .add-cart {
    opacity: 1;
    max-height: 35px;
  }
  .community {
    width: 90%;
    grid-template-columns: 1fr 1fr;
    margin-top: 25px;
  }
  .community-copy {
    padding: 20px 16px;
    grid-column: 1/2;
  }
  .community h2 {
    font-size: 17px;
  }
  .community-copy p {
    font-size: 10px;
  }
  .community-photo {
    grid-column: 2;
    grid-row: 1;
    min-height: 190px;
  }
  .community blockquote {
    grid-column: 1/3;
    min-height: 130px;
    padding: 18px 22px;
  }
  .community blockquote p {
    font-size: 18px;
  }
  .footer {
    width: 90%;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 0 0 15px;
    gap: 15px;
  }
  .footer h2 {
    width: 42%;
    font-size: 16px;
  }
  .footer-sprout {
    font-size: 32px;
  }
  .footer-divider {
    display: none;
  }
  .footer-promise {
    gap: 7px;
  }
  .footer-promise span {
    font-size: 25px;
  }
  .footer-promise p {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
