:root {
  color-scheme: light;
  --site-bg: #fbf8f1;
  --site-border: #e5ddcf;
  --site-text: #796f62;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Assistant', sans-serif;
  color: var(--site-text);
  background: var(--site-bg);
}

img,
svg {
  display: block;
}

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

a:focus-visible {
  outline: 3px solid #2f6f47;
  outline-offset: 4px;
}

.site-header {
  position: relative;
  height: 76px;
  padding: 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--site-border);
  background: var(--site-bg);
}

.nav-brand {
  font-size: 20px;
  font-weight: 500;
}

.site-header nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
}

.site-header nav a {
  color: var(--site-text);
}

.hero {
  position: relative;
  height: 500px;
}

.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0);
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/hero.jpg') center 74%/cover no-repeat;
  transform: translateX(-1%) scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, transparent 28%, rgb(55 42 29 / 12%) 57%, rgb(49 39 28 / 56%));
}

.hero-logo {
  position: absolute;
  z-index: 2;
  top: -52px;
  left: 50%;
  width: 158px;
  height: 158px;
  transform: translateX(-50%);
  border: 2px solid rgb(251 248 241 / 55%);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 14px 30px rgb(65 49 35 / 16%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  right: 52px;
  bottom: 50px;
  color: #fff;
  text-shadow: 0 1px 8px rgb(0 0 0 / 28%);
}

.hero-kicker {
  margin: 0;
  font-size: 15px;
}

.hero-title {
  margin: 8px 0 0;
  font-family: 'Amatic SC', cursive;
  font-size: 64px;
  line-height: 1;
}

.products-section {
  padding: 22px 34px 50px;
  background: #e9efe7;
}

.section-divider {
  height: 44px;
  margin: 0 auto 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #71816f;
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 28px;
  height: 1px;
  background: #b8b2a6;
  flex: 0 0 auto;
}

.section-divider svg {
  flex: 0 0 auto;
}

.products-heading {
  margin-bottom: 22px;
  text-align: center;
}

.products-heading p {
  margin: 0;
  font-size: 14px;
  color: #879589;
}

.products-heading h2 {
  margin: 7px 0;
  font-family: 'Amatic SC', cursive;
  font-size: 47px;
  line-height: 1;
  color: #385642;
}

.product-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0;
  scrollbar-width: none;
}

.product-rail::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 calc((100% - 28px) / 3);
  margin: 0;
  overflow: hidden;
  border: 1px solid #ebe4d9;
  border-radius: 10px;
  background: #fff;
  scroll-snap-align: start;
  box-sizing: border-box;
}

.product-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  background: #f5f0e8;
}

.product-caption {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  color: #486050;
}

.about-story {
  padding: 22px 30px 57px;
  color: #594f46;
  background: #eee4d6;
  text-align: center;
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
}

.section-eyebrow {
  margin: 0;
  color: #8d806f;
  font-size: 14px;
}

.about-story h2 {
  margin: 6px 0 14px;
  color: #415747;
  font-family: 'Amatic SC', cursive;
  font-size: 48px;
  line-height: 1.05;
}

.story-copy {
  max-width: 700px;
  margin: 0 auto;
  text-align: right;
  font-size: 15px;
  line-height: 1.68;
  color: #655d52;
}

.story-copy p {
  margin: 0 0 9px;
}

.story-closing {
  display: block;
  margin-top: 13px;
  color: #53604f;
  font-size: 16px;
}

.contact-section {
  padding: 22px 34px 58px;
  text-align: center;
  background: #4c5947;
  color: #fff;
}

.contact-section .section-divider {
  color: #dbe5d9;
}

.contact-section .section-divider::before,
.contact-section .section-divider::after {
  background: rgba(255, 255, 255, 0.3);
}

.contact-section h2 {
  margin: 0 0 12px;
  font-family: 'Amatic SC', cursive;
  font-size: 46px;
  line-height: 1;
  color: #fff;
}

.contact-copy {
  margin: 0 0 24px;
  font-size: 15px;
  opacity: 0.85;
}

.social-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-button {
  min-width: 165px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  color: #35483a !important;
  -webkit-text-fill-color: #35483a;
  border: 1px solid rgba(53, 72, 58, 0.09);
  box-shadow: 0 7px 18px rgba(25, 35, 27, 0.16);
  direction: ltr;
  box-sizing: border-box;
  text-decoration: none !important;
}

.social-button svg {
  flex: 0 0 auto;
}

.phone-button {
  color: #35483a !important;
  -webkit-text-fill-color: #35483a;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.phone-button,
.phone-button:link,
.phone-button:visited,
.phone-button:hover,
.phone-button:active {
  color: #35483a !important;
  -webkit-text-fill-color: #35483a;
  text-decoration: none !important;
  text-decoration-line: none !important;
}

.floating-whatsapp {
  position: fixed;
  z-index: 20;
  left: max(22px, env(safe-area-inset-left));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 7px 20px rgba(27, 83, 50, 0.28);
}

.floating-whatsapp svg {
  display: block;
}

.social-button,
.floating-whatsapp,
.product-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

@media (hover: hover) {
  .social-button:hover,
  .social-button:focus-visible,
  .floating-whatsapp:hover,
  .floating-whatsapp:focus-visible {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 700px) {
  .site-header {
   height: 68px;
   padding: 0 18px;
  }

  .nav-brand,
  .site-header nav {
   display: none;
  }

  .hero {
   height: 500px;
  }

  .hero-logo {
   top: -36px;
   width: 112px;
   height: 112px;
  }

  .hero-shade {
   background: linear-gradient(180deg, transparent 28%, rgb(39 35 29 / 14%) 53%, rgb(39 35 29 / 78%));
  }

  .hero-copy {
   right: 18px;
   left: 18px;
   bottom: 34px;
   text-align: center;
  }

  .hero-title {
   font-size: 54px;
  }

  .products-section {
   padding: 20px 0 42px 18px;
  }

  .products-heading {
   margin-left: -18px;
  }

  .product-rail {
   gap: 13px;
   margin-right: 18px;
  }

  .product-card {
   flex-basis: 82%;
  }

  .about-story {
    padding: 20px 24px 49px;
  }

  .story-copy {
    font-size: 14px;
    line-height: 1.62;
  }

  .contact-section {
    padding: 20px 24px 49px;
  }
}
