:root {
  color-scheme: light;
  --ink: #101410;
  --muted: #5c665d;
  --line: #dfe5dc;
  --paper: #f5f5ef;
  --paper-strong: #eceee4;
  --green: #3b7f28;
  --green-dark: #143d22;
  --lime: #b6d453;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(20, 61, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(182, 212, 83, 0.18), transparent 26rem),
    linear-gradient(180deg, #fbfbf7 0%, var(--paper) 42%, #fff 100%);
  color: var(--ink);
  overflow-x: hidden;
}

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

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

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 24rem;
  height: 24rem;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(182, 212, 83, 0.24), transparent 68%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(20, 61, 34, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 50px rgba(16, 20, 16, 0.08);
  transition: transform 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
}

.brand img {
  width: 178px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.nav a {
  position: relative;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--green-dark);
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 0.28rem auto;
  background: white;
}

.section {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  min-height: 100vh;
  align-items: center;
  gap: 2rem;
  padding-top: 8rem;
}

.hero-media {
  min-height: 42rem;
  border-radius: 2rem;
  transform: rotate(-1deg);
}

.photo-placeholder {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 16rem;
  border: 1px solid #cfd5cc;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), transparent 34%),
    repeating-linear-gradient(-45deg, #c7cbc4, #c7cbc4 1px, #d9ddd7 1px, #d9ddd7 15px);
  color: rgba(16, 20, 16, 0.34);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.photo-placeholder span {
  padding: 0.65rem 1rem;
  border: 1px solid rgba(16, 20, 16, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
}

.hero-content {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 8vw, 7.3rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-content p {
  max-width: 37rem;
  font-size: 1.12rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  align-items: end;
  gap: 2rem;
  min-height: 72vh;
  padding-top: 8rem;
}

.page-hero h1 {
  max-width: 58rem;
}

.page-hero p {
  max-width: 46rem;
  font-size: 1.1rem;
}

.page-hero-media {
  min-height: 30rem;
  border-radius: 2rem;
}

.hero-actions,
.button {
  display: flex;
  align-items: center;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.2rem;
  justify-content: center;
  border-radius: 999px;
  padding: 0 1.25rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button.primary {
  background: var(--green-dark);
  color: white;
  box-shadow: 0 16px 30px rgba(20, 61, 34, 0.2);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.hero-card {
  position: absolute;
  right: 2rem;
  bottom: 8rem;
  display: grid;
  grid-template-columns: 8rem 1fr;
  align-items: center;
  gap: 1rem;
  max-width: 28rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-card strong,
.hero-card span,
.floating-note strong,
.floating-note span {
  display: block;
}

.hero-card strong,
.floating-note strong {
  margin-bottom: 0.3rem;
  color: var(--green-dark);
}

.hero-card span,
.floating-note span {
  color: var(--muted);
  line-height: 1.5;
}

.section-copy {
  max-width: 46rem;
  margin-bottom: 2.5rem;
}

.intro-grid,
.green,
.impact,
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 2rem;
}

.intro-text {
  padding: 2rem;
  border-left: 4px solid var(--lime);
  background: rgba(255, 255, 255, 0.62);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-strip div,
.service-card,
.timeline-item,
.impact-meter,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(16, 20, 16, 0.06);
}

.stat-strip div {
  min-height: 10rem;
  padding: 1.1rem;
}

.stat-strip span {
  display: block;
  color: var(--green-dark);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.stat-strip small {
  color: var(--muted);
  font-weight: 700;
}

.history-grid,
.detail-cards {
  display: grid;
  gap: 1rem;
}

.history-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1rem;
}

.history-card,
.detail-card,
.plant-panel,
.quality-band {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 36px rgba(16, 20, 16, 0.06);
}

.history-card {
  min-height: 13rem;
  padding: 1.25rem;
}

.history-card span {
  display: inline-flex;
  margin-bottom: 1.4rem;
  color: var(--green);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.quality-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  padding: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.page-cards {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 1rem;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

a.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card .small {
  margin-bottom: 1.3rem;
  border-radius: 0.9rem;
}

.product-section {
  scroll-margin-top: 7rem;
}

.product-alt {
  width: 100%;
  max-width: none;
  padding-right: max(1rem, calc((100vw - 1180px) / 2));
  padding-left: max(1rem, calc((100vw - 1180px) / 2));
  background: rgba(236, 238, 228, 0.62);
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
  align-items: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.product-grid.reverse {
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1fr);
}

.product-copy {
  max-width: 43rem;
}

.product-photo {
  min-height: 30rem;
  border-radius: 1.5rem;
}

.detail-cards {
  grid-template-columns: repeat(3, 1fr);
}

.detail-cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.detail-card,
.plant-panel {
  padding: 1.4rem;
}

.detail-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.plant-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
  background: var(--green-dark);
}

.plant-panel h3,
.plant-panel p {
  color: white;
}

.plant-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.pill-list,
.green-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill-list span,
.green-tags span {
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.pill-list span {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.green-tags {
  margin-top: 1.5rem;
}

.green-tags span {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.green {
  width: 100%;
  max-width: none;
  padding-right: max(1rem, calc((100vw - 1180px) / 2));
  padding-left: max(1rem, calc((100vw - 1180px) / 2));
  background: #0f2719;
  color: white;
}

.green h1,
.green h2,
.green .eyebrow {
  color: white;
}

.green p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.green-panel {
  max-width: 42rem;
}

.green-panel img {
  width: 14rem;
  margin-bottom: 2rem;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.22));
}

.green-visual {
  position: relative;
}

.photo-placeholder.tall {
  min-height: 38rem;
  border: 0;
  border-radius: 2rem;
}

.floating-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: min(20rem, calc(100% - 2rem));
  padding: 1.2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.timeline-item {
  padding: 1.25rem;
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--paper-strong);
  color: var(--green);
  font-weight: 800;
}

.impact {
  align-items: stretch;
}

.impact-text,
.impact-meter {
  padding: 2rem;
}

.impact-text {
  border-radius: 1.5rem;
  background: var(--green-dark);
}

.impact-text h2 {
  color: white;
}

.impact-text p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.impact-meter {
  display: grid;
  align-content: center;
  gap: 1.2rem;
}

.meter-row {
  display: grid;
  grid-template-columns: 9rem 1fr 3.5rem;
  align-items: center;
  gap: 1rem;
  font-weight: 800;
}

.bar {
  overflow: hidden;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--paper-strong);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--lime));
  transform-origin: left;
}

.impact-meter small {
  color: var(--muted);
}

.inline-logo {
  width: min(15rem, 70%);
  margin-bottom: 1rem;
}

.home-cta .impact-meter {
  justify-items: start;
}

.content-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  line-height: 1.6;
}

.page-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact-card {
  padding: 2rem;
}

.contact-card .button {
  width: fit-content;
  margin-top: 1.5rem;
}

.contact-photo {
  min-height: 28rem;
  border-radius: 1.5rem;
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer img {
  width: 3rem;
}

.footer a {
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 900px) {
  .site-header {
    border-radius: 1.4rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: white;
  }

  .nav.is-open {
    display: flex;
  }

  .hero,
  .page-hero,
  .intro-grid,
  .quality-band,
  .product-grid,
  .product-grid.reverse,
  .plant-panel,
  .green,
  .impact,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 7rem;
  }

  .hero-media {
    min-height: 28rem;
    order: 2;
  }

  .page-hero-media {
    min-height: 24rem;
  }

  .hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    grid-template-columns: 7rem 1fr;
    max-width: none;
  }

  .cards,
  .page-cards,
  .timeline,
  .stat-strip,
  .history-grid,
  .detail-cards,
  .detail-cards.two {
    grid-template-columns: 1fr;
  }

  .photo-placeholder.tall,
  .product-photo,
  .contact-photo {
    min-height: 24rem;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 138px;
  }

  .section {
    padding: 4rem 0;
  }

  h1 {
    font-size: 3.5rem;
  }

  .meter-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

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