:root {
  --ink: #122315;
  --green: #3f7428;
  --green-dark: #1f4f18;
  --orange: #e86f05;
  --cream: #fbf6ec;
  --line: #e2c999;
  --eco-scale: 1;
  --eco-width: calc(984px * var(--eco-scale));
  --eco-offset: max(0px, calc((100vw - var(--eco-width)) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.eco-page {
  margin: 0;
  background: #fbf6ec;
  color: var(--ink);
  font-family: "Nunito Sans", Arial, sans-serif;
}

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

button {
  font: inherit;
}

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

.eco-wrap {
  width: var(--eco-width);
  max-width: calc(100vw - 38px);
  margin: 0 auto;
}

.eco-header {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, #fffaf0 0%, rgba(255, 250, 240, 0.94) 100%);
}

.eco-nav {
  display: flex;
  align-items: center;
  gap: calc(32px * var(--eco-scale));
  height: calc(76px * var(--eco-scale));
}

.eco-brand {
  flex: 0 0 auto;
  width: calc(268px * var(--eco-scale));
}

.eco-menu {
  display: flex;
  align-items: center;
  gap: calc(30px * var(--eco-scale));
  margin-left: auto;
  color: #0d1b12;
  font-size: calc(14.5px * var(--eco-scale));
  font-weight: 700;
  white-space: nowrap;
}

.eco-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: calc(36px * var(--eco-scale));
}

.eco-menu a.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--green);
  content: "";
}

.eco-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(98px * var(--eco-scale));
  height: calc(39px * var(--eco-scale));
  border-radius: 6px;
  background: linear-gradient(180deg, #3d7228 0%, #245a18 100%);
  color: #fffdf4;
  font-size: calc(14px * var(--eco-scale));
  font-weight: 800;
  white-space: nowrap;
}

.eco-hero {
  position: relative;
  min-height: calc(430px * var(--eco-scale));
  overflow: hidden;
  background:
    linear-gradient(90deg, #fbf7ef 0%, rgba(251, 247, 239, 0.98) 34%, rgba(251, 247, 239, 0.78) 48%, rgba(251, 247, 239, 0.08) 70%),
    radial-gradient(circle at 46% 30%, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0) 35%),
    #fbf6ec;
}

.eco-hero-photo {
  position: absolute;
  top: calc(4px * var(--eco-scale));
  right: var(--eco-offset);
  z-index: 0;
  width: calc(520px * var(--eco-scale));
  height: calc(440px * var(--eco-scale));
  background: url("assets/eco-points-hero.png") center center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 100%);
}

.eco-hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(12px * var(--eco-scale));
}

.eco-breadcrumb {
  display: flex;
  align-items: center;
  gap: calc(11px * var(--eco-scale));
  color: #102016;
  font-size: calc(13px * var(--eco-scale));
  font-weight: 700;
}

.eco-breadcrumb span {
  color: #4e6b44;
  font-size: calc(20px * var(--eco-scale));
  line-height: 1;
}

.eco-hero-copy {
  width: calc(510px * var(--eco-scale));
  margin-top: calc(18px * var(--eco-scale));
}

.eco-hero-copy h1 {
  margin: 0;
  color: #173b1b;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(45px * var(--eco-scale));
  font-weight: 700;
  line-height: 0.98;
}

.eco-hero-copy p {
  width: calc(480px * var(--eco-scale));
  margin: calc(16px * var(--eco-scale)) 0 0;
  color: #17231a;
  font-size: calc(15px * var(--eco-scale));
  line-height: 1.47;
}

.eco-metrics {
  display: grid;
  grid-template-columns: repeat(4, calc(102px * var(--eco-scale)));
  gap: calc(12px * var(--eco-scale));
  width: calc(456px * var(--eco-scale));
  margin-top: calc(20px * var(--eco-scale));
}

.eco-metrics article {
  position: relative;
  min-height: calc(96px * var(--eco-scale));
  text-align: center;
}

.eco-metrics article + article::before {
  position: absolute;
  top: calc(6px * var(--eco-scale));
  bottom: calc(20px * var(--eco-scale));
  left: calc(-6px * var(--eco-scale));
  width: 1px;
  background: #d5c7ab;
  content: "";
}

.metric-icon {
  display: grid;
  place-items: center;
  width: calc(48px * var(--eco-scale));
  height: calc(48px * var(--eco-scale));
  margin: 0 auto calc(4px * var(--eco-scale));
  color: var(--green);
}

.metric-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.metric-icon.people svg {
  fill: currentColor;
  stroke-width: 1.5;
}

.eco-metrics p {
  margin: 0;
  color: #101d13;
  font-size: calc(12.2px * var(--eco-scale));
  font-weight: 700;
  line-height: 1.34;
}

.eco-hero-actions {
  display: flex;
  gap: calc(18px * var(--eco-scale));
  margin-top: calc(15px * var(--eco-scale));
}

.eco-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(40px * var(--eco-scale));
  border-radius: 6px;
  font-size: calc(14px * var(--eco-scale));
  font-weight: 800;
}

.eco-button.primary {
  width: calc(183px * var(--eco-scale));
  background: linear-gradient(180deg, #42792c 0%, #286119 100%);
  color: #fffdf4;
}

.eco-button.secondary {
  width: calc(128px * var(--eco-scale));
  border: 1px solid #4b7d35;
  background: rgba(255, 255, 255, 0.42);
  color: #2b5f1c;
}

.eco-video-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: calc(385px * var(--eco-scale)) calc(270px * var(--eco-scale)) calc(268px * var(--eco-scale));
  gap: calc(20px * var(--eco-scale));
  align-items: start;
  min-height: calc(297px * var(--eco-scale));
  margin-top: 0;
  padding: calc(17px * var(--eco-scale)) calc(12px * var(--eco-scale)) calc(16px * var(--eco-scale));
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  background:
    radial-gradient(circle at 47% 45%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 44%),
    #fbf6ec;
}

.eco-video-thumb {
  display: block;
  width: calc(385px * var(--eco-scale));
  height: calc(238px * var(--eco-scale));
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background: url("assets/eco-points-video-thumb.png") center center / cover no-repeat;
  box-shadow: 0 1px 1px rgba(22, 30, 18, 0.14);
  cursor: pointer;
  padding: 0;
}

.eco-video-thumb iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.eco-video-copy {
  padding-top: calc(4px * var(--eco-scale));
}

.eco-video-copy h2 {
  display: flex;
  align-items: flex-start;
  gap: calc(12px * var(--eco-scale));
  margin: 0 0 calc(11px * var(--eco-scale));
  color: #27231e;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(22px * var(--eco-scale));
  font-weight: 700;
  line-height: 1.05;
}

.video-title-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(30px * var(--eco-scale));
  height: calc(25px * var(--eco-scale));
  color: var(--green);
}

.video-title-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.eco-video-copy p,
.eco-video-copy li {
  color: #17231a;
  font-size: calc(11.6px * var(--eco-scale));
  line-height: 1.45;
}

.eco-video-copy p {
  margin: 0 0 calc(12px * var(--eco-scale));
}

.eco-video-copy ul {
  display: grid;
  gap: calc(7px * var(--eco-scale));
  margin: 0 0 calc(15px * var(--eco-scale));
  padding: 0;
  list-style: none;
}

.eco-video-copy li {
  position: relative;
  padding-left: calc(22px * var(--eco-scale));
}

.eco-video-copy li::before {
  position: absolute;
  top: calc(1px * var(--eco-scale));
  left: 0;
  display: grid;
  place-items: center;
  width: calc(14px * var(--eco-scale));
  height: calc(14px * var(--eco-scale));
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: calc(9px * var(--eco-scale));
  font-weight: 900;
  content: "✓";
}

.eco-play-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(9px * var(--eco-scale));
  width: calc(145px * var(--eco-scale));
  height: calc(37px * var(--eco-scale));
  border: 1px solid #3f7428;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.48);
  color: #234b18;
  cursor: pointer;
  font-size: calc(13px * var(--eco-scale));
  font-weight: 800;
}

.eco-knowledge-card {
  width: calc(268px * var(--eco-scale));
  height: calc(278px * var(--eco-scale));
  border-radius: 8px;
  object-fit: cover;
}

.eco-image-section {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fbf6ec;
}

.eco-image-section img {
  width: 100%;
}

.eco-image-section.practice {
  border-top: 1px solid var(--line);
}

.eco-cta {
  display: grid;
  grid-template-columns: calc(160px * var(--eco-scale)) 1fr calc(270px * var(--eco-scale));
  align-items: center;
  min-height: calc(64px * var(--eco-scale));
  padding: 0 calc(28px * var(--eco-scale));
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0 0 7px 7px;
  background:
    radial-gradient(circle at 58% 50%, rgba(84, 125, 48, 0.34), rgba(84, 125, 48, 0) 46%),
    linear-gradient(90deg, #1f5524, #214d1c);
  color: #fff;
}

.cta-logo {
  display: grid;
  place-items: center;
  width: calc(70px * var(--eco-scale));
  height: calc(54px * var(--eco-scale));
  overflow: hidden;
  justify-self: center;
}

.cta-logo img {
  width: calc(86px * var(--eco-scale));
  max-width: none;
  filter: saturate(0) brightness(1.75);
}

.eco-cta p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: calc(22px * var(--eco-scale));
  font-weight: 700;
  line-height: 1.1;
}

.eco-cta a {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(192px * var(--eco-scale));
  height: calc(39px * var(--eco-scale));
  border-radius: 6px;
  background: #fffaf0;
  color: #1b3919;
  font-size: calc(13.5px * var(--eco-scale));
  font-weight: 800;
}

.eco-footer-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  min-height: calc(38px * var(--eco-scale));
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0 0 10px 10px;
  background: #fbf6ec;
  color: #163719;
  font-size: calc(12px * var(--eco-scale));
  font-weight: 700;
  text-align: center;
}

.eco-footer-links a + a {
  border-left: 1px solid #d6cda9;
}

@media (min-width: 1180px) {
  :root {
    --eco-scale: 1.08;
  }
}

@media (min-width: 1360px) {
  :root {
    --eco-scale: 1.14;
  }
}

@media (min-width: 1560px) {
  :root {
    --eco-scale: 1.2;
  }
}

@media (max-width: 900px) {
  :root {
    --eco-scale: 1;
  }

  .eco-wrap {
    width: calc(100vw - 32px);
  }

  .eco-nav {
    height: auto;
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .eco-brand {
    width: 248px;
  }

  .eco-menu {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
  }

  .eco-hero {
    min-height: auto;
    padding-bottom: 28px;
  }

  .eco-hero-photo {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: 420px;
    margin-top: 18px;
    border-radius: 8px;
  }

  .eco-hero-copy,
  .eco-hero-copy p,
  .eco-metrics {
    width: 100%;
  }

  .eco-metrics,
  .eco-video-panel,
  .eco-cta,
  .eco-footer-links {
    grid-template-columns: 1fr;
  }

  .eco-metrics {
    gap: 18px;
  }

  .eco-metrics article + article::before {
    display: none;
  }

  .eco-video-panel {
    gap: 22px;
  }

  .eco-video-thumb,
  .eco-knowledge-card {
    width: 100%;
  }

  .eco-video-thumb {
    height: 62vw;
    max-height: 360px;
  }

  .eco-knowledge-card {
    height: auto;
  }

  .eco-image-section {
    overflow-x: auto;
  }

  .eco-image-section img {
    width: 984px;
    max-width: none;
  }

  .eco-cta {
    justify-items: center;
    gap: 14px;
    padding: 20px;
    text-align: center;
  }

  .eco-cta a {
    justify-self: center;
  }

  .eco-footer-links {
    gap: 12px;
    padding: 14px 0;
  }

  .eco-footer-links a + a {
    border-left: 0;
  }
}
