:root {
  --front-ink: #12231a;
  --front-text: #455449;
  --front-soft: #f8f6ee;
  --front-paper: #fffdf8;
  --front-green: #245b39;
  --front-green-2: #6ca56b;
  --front-gold: #d99a3d;
  --front-blue: #e7f2f3;
  --front-line: rgba(18, 35, 26, 0.1);
  --front-shadow: 0 22px 70px rgba(32, 63, 43, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--front-paper);
  color: var(--front-ink);
}

.front-page {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0) 0, #fffdf8 620px),
    var(--front-paper);
}

.front-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.front-hero {
  position: relative;
  min-height: calc(72svh);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  color: #fff;
  background: #dfeadd;
}

.front-hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.front-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(10, 34, 18, 0.66),
      rgba(10, 34, 18, 0.22) 54%,
      rgba(10, 34, 18, 0)
    ),
    linear-gradient(0deg, rgba(10, 34, 18, 0.44), rgba(10, 34, 18, 0.02) 52%);
}

.front-hero__body {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 42px;
}

.front-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffe1aa;
  font:
    700 13px/1 "Montserrat",
    sans-serif;
  backdrop-filter: blur(12px);
  animation: frontUp 0.7s ease both;
}

.front-hero h1 {
  max-width: 820px;
  margin: 18px 0 0;
  font:
    700 66px/1.02 "Montserrat",
    sans-serif;
  letter-spacing: 0;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  animation: frontUp 0.78s 0.08s ease both;
}

.front-hero__lead {
  max-width: 630px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.65;
  animation: frontUp 0.78s 0.16s ease both;
}

.front-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: frontUp 0.78s 0.24s ease both;
}

.front-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.front-button:hover {
  transform: translateY(-3px);
}

.front-button--gold {
  background: #f1b75b;
  color: #172316;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.front-button--light {
  color: #172316;
  border-color: rgba(255, 255, 255, 0.48);
  background: #f1b75b;
  backdrop-filter: blur(12px);
}

.front-quick {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}

.front-quick__grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  border: 1px solid var(--front-line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--front-shadow);
  backdrop-filter: blur(16px);
}

.front-quick__item {
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--front-line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}

.front-quick__item:last-child {
  border-right: 0;
}

.front-quick__item strong {
  font:
    800 28px/1 "Montserrat",
    sans-serif;
  color: var(--front-green);
}

.front-quick__item span {
  color: var(--front-text);
  line-height: 1.35;
  font-size: 14px;
}

.front-weather {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.front-weather__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--front-blue);
  color: #2a7781;
  font-size: 25px;
  animation: frontBreath 3.5s ease-in-out infinite;
}

.front-section {
  padding: 92px 0;
}

.front-section--white {
  background: #fff;
}

.front-section--wash {
  background: linear-gradient(180deg, #fffdf8, #f1f8f1);
}

.front-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.front-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--front-gold);
  font:
    800 13px/1 "Montserrat",
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}

.front-head h2,
.front-story h2,
.front-video-text h2 {
  margin: 0;
  font:
    800 42px/1.1 "Montserrat",
    sans-serif;
  letter-spacing: 0;
}

.front-head p,
.front-story p,
.front-video-text p {
  margin: 0;
  color: var(--front-text);
  font-size: 17px;
  line-height: 1.7;
}

.front-directions {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 16px;
}

.front-direction {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 16px;
  background: #ddebd9;
  box-shadow: 0 24px 70px rgba(32, 63, 43, 0.12);
  isolation: isolate;
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease;
}

.front-direction:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 90px rgba(32, 63, 43, 0.16);
}

.front-direction img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: -2;
}

.front-direction:hover img {
  transform: scale(1.04);
}

.front-direction::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(10, 33, 18, 0.76),
    rgba(10, 33, 18, 0.06)
  );
}

.front-direction__body {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  color: #fff;
}

.front-direction__body i {
  color: #ffd38d;
  font-size: 24px;
  margin-bottom: 12px;
}

.front-direction h3 {
  margin: 0 0 10px;
  font:
    800 24px/1.15 "Montserrat",
    sans-serif;
}

.front-direction p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.front-story {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 46px;
  align-items: center;
}

.front-story__photo {
  position: relative;
  min-height: 560px;
  border-radius: 18px;
  overflow: hidden;
  background: #e6efe2;
  box-shadow: var(--front-shadow);
}

.front-story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.front-story__note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(280px, calc(100% - 36px));
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--front-ink);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.front-story__note strong {
  display: block;
  color: var(--front-green);
  font:
    800 28px/1 "Montserrat",
    sans-serif;
  margin-bottom: 7px;
}

.front-story__text {
  display: grid;
  gap: 18px;
}

.front-story__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.front-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--front-line);
  border-radius: 12px;
  background: #fff;
  color: var(--front-text);
}

.front-check i {
  color: var(--front-green-2);
  margin-top: 3px;
}

.front-products {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.front-product {
  grid-column: span 2;
  overflow: hidden;
  border: 1px solid var(--front-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(32, 63, 43, 0.06);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.front-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 65px rgba(32, 63, 43, 0.12);
}

.front-product img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.front-product__body {
  padding: 18px;
}

.front-product h3 {
  margin: 0 0 8px;
  font:
    800 20px/1.2 "Montserrat",
    sans-serif;
}

.front-product p {
  margin: 0;
  color: var(--front-text);
  line-height: 1.55;
}

.front-video-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.front-video {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  box-shadow: var(--front-shadow);
}

.front-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.front-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.front-video__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
}

.front-video__caption span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-weight: 800;
  color: #ffe1aa;
  margin-bottom: 12px;
}

.front-video__caption h3 {
  margin: 0;
  font:
    800 26px/1.15 "Montserrat",
    sans-serif;
}

.front-video-text {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--front-line);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f1f8f1);
  box-shadow: 0 16px 48px rgba(32, 63, 43, 0.06);
}

.front-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.front-metric {
  padding: 15px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--front-line);
}

.front-metric strong {
  display: block;
  color: var(--front-green);
  font:
    800 24px/1 "Montserrat",
    sans-serif;
  margin-bottom: 7px;
}

.front-metric span {
  color: var(--front-text);
  font-size: 13px;
  line-height: 1.35;
}

.front-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.front-gallery img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 16px 46px rgba(32, 63, 43, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.front-gallery img:first-child {
  height: 500px;
}

.front-gallery img:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(32, 63, 43, 0.14);
}

.front-cta {
  padding: 80px 0;
  background: #fff;
}


.front-cta h2 {
  margin: 0 0 12px;
  font:
    800 36px/1.12 "Montserrat",
    sans-serif;
}

.front-cta p {
  margin: 0;
  color: #245b39;
  font-size: 17px;
  line-height: 1.65;
}

.front-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.72s ease,
    transform 0.72s ease;
}

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

@keyframes frontUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes frontBreath {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(108, 165, 107, 0);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 9px rgba(108, 165, 107, 0.16);
  }
}

@media (max-width: 980px) {
  .front-hero h1 {
    font-size: 48px;
  }

  .front-quick__grid,
  .front-head,
  .front-story,
  .front-video-row,
  .front-cta__box {
    grid-template-columns: 1fr;
  }

  .front-quick__item {
    border-right: 0;
    border-bottom: 1px solid var(--front-line);
  }

  .front-directions,
  .front-gallery {
    grid-template-columns: 1fr;
  }

  .front-product {
    grid-column: span 3;
  }

  .front-story__photo {
    min-height: 420px;
  }

  .front-gallery img,
  .front-gallery img:first-child {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .front-shell,
  .front-hero__body {
    width: min(100% - 28px, 1180px);
  }

  .front-hero h1 {
    font-size: 36px;
  }

  .front-hero__lead {
    font-size: 16px;
  }

  .front-section {
    padding: 62px 0;
  }

  .front-head h2,
  .front-story h2,
  .front-video-text h2,
  .front-cta h2 {
    font-size: 30px;
  }

  .front-product {
    grid-column: span 6;
  }

  .front-story__checks,
  .front-metrics {
    grid-template-columns: 1fr;
  }

  .front-video,
  .front-direction {
    min-height: 320px;
  }

  .front-actions,
  .front-button {
    width: 100%;
  }
}

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