:root {
  --ink: #1d2421;
  --muted: #657069;
  --paper: #fffaf1;
  --panel: #ffffff;
  --lime: #b7ef43;
  --green: #177a4b;
  --red: #d7432f;
  --orange: #f58a1f;
  --smoke: #2f3035;
  --teal: #006f74;
  --line: rgba(29, 36, 33, 0.14);
  --shadow: 0 22px 60px rgba(25, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #102116;
  background: var(--lime);
  font-weight: 950;
  font-size: 1.5rem;
  box-shadow: inset -5px -5px 0 rgba(23, 122, 75, 0.22);
}

.brand strong,
.footer-brand {
  display: block;
  color: var(--green);
  font-size: 1.45rem;
  font-weight: 950;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 8px;
  color: #344039;
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: rgba(23, 122, 75, 0.1);
  color: var(--green);
}

.nav .nav-cta {
  background: var(--ink);
  color: #fff;
}

.nav .nav-cta:hover,
.nav .nav-cta[aria-current="page"] {
  background: var(--green);
  color: #fff;
}

.hero,
.page-hero,
.about-hero,
.checkout-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(38px, 7vw, 96px) clamp(18px, 5vw, 72px);
  min-height: calc(100vh - 78px);
  overflow: hidden;
}

.hero > *,
.page-hero > *,
.about-hero > *,
.checkout-hero > *,
.split-section > *,
.checkout-layout > * {
  min-width: 0;
}

.hero {
  background:
    linear-gradient(120deg, rgba(183, 239, 67, 0.28), rgba(255, 250, 241, 0) 50%),
    linear-gradient(180deg, #fffaf1 0%, #fff4df 100%);
}

.hero h1,
.page-hero h1,
.about-hero h1,
.checkout-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.page-hero h1,
.about-hero h1,
.checkout-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 0.95;
}

.hero-line,
.page-hero p,
.about-hero p,
.checkout-hero p,
.split-section p,
.order-summary p {
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-actions,
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 30px rgba(23, 122, 75, 0.22);
}

.button.secondary {
  color: var(--green);
  background: #e5f8bf;
}

.button.ghost {
  border-color: var(--line);
  background: #fff;
}

.button.small {
  min-height: 42px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
}

.hero-stage {
  position: relative;
  min-height: min(620px, 70vw);
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 10% 8% 5%;
  background: radial-gradient(circle at 50% 45%, rgba(183, 239, 67, 0.9), rgba(23, 122, 75, 0.15) 58%, transparent 60%);
}

.hero-pack {
  position: absolute;
  width: min(43%, 360px);
  filter: drop-shadow(0 30px 28px rgba(25, 33, 29, 0.22));
}

.pack-one {
  left: 8%;
  bottom: 4%;
  transform: rotate(-9deg);
}

.pack-two {
  left: 36%;
  top: 1%;
  z-index: 2;
}

.pack-three {
  right: 0;
  bottom: 8%;
  transform: rotate(9deg);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.proof-band div {
  min-height: 138px;
  padding: 24px clamp(18px, 3vw, 36px);
  background: #fff;
}

.proof-band strong {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1;
}

.proof-band span {
  color: var(--muted);
  font-weight: 750;
}

.section {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
}

.split-section.reverse {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 0.95fr);
}

.split-section.reverse > div {
  order: 2;
}

.feature-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  font-weight: 950;
}

.product-grid,
.shop-grid,
.nutrition-cards,
.spec-grid,
.brand-values {
  display: grid;
  gap: 20px;
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card,
.shop-card,
.nutrition-cards article,
.spec-card,
.brand-values article,
.order-form,
.order-summary,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 36px rgba(25, 33, 29, 0.08);
}

.product-card {
  display: grid;
  grid-template-rows: 250px 1fr;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.product-card > div {
  padding: 22px;
}

.product-card h3,
.shop-card h2,
.nutrition-cards h2,
.brand-values h2,
.order-summary h2,
.spec-card h3 {
  margin: 0 0 10px;
  line-height: 1.04;
  letter-spacing: 0;
}

.product-card p,
.shop-card p,
.nutrition-cards p,
.brand-values p,
.spec-card p {
  color: var(--muted);
}

.chip-label {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.accent-green {
  border-top: 7px solid var(--green);
}

.accent-red {
  border-top: 7px solid var(--red);
}

.accent-orange {
  border-top: 7px solid var(--orange);
}

.accent-smoke {
  border-top: 7px solid var(--smoke);
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.image-strip img {
  width: 100%;
  height: clamp(220px, 32vw, 440px);
  object-fit: cover;
}

.page-hero,
.checkout-hero {
  min-height: auto;
  background: #f6ffe6;
}

.compact-hero {
  background: #fff2e5;
}

.page-hero img,
.checkout-hero img {
  width: min(100%, 560px);
  justify-self: center;
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 25px 26px rgba(25, 33, 29, 0.18));
}

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

.shop-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) 1fr;
  align-items: center;
  gap: 10px;
  padding: 20px;
}

.shop-card img {
  width: 100%;
  min-height: 280px;
  object-fit: contain;
}

.shop-copy {
  padding: 12px;
}

.macro-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.macro-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf1;
}

.macro-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.macro-list dd {
  margin: 3px 0 0;
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 950;
}

.nutrition-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nutrition-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.nutrition-table caption {
  padding: 20px;
  font-weight: 950;
  text-align: left;
  background: var(--ink);
  color: #fff;
}

.nutrition-table th,
.nutrition-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.nutrition-table thead th {
  color: var(--green);
  background: #f4ffe5;
}

.nutrition-table tbody th {
  width: 250px;
}

.nutrition-cards,
.spec-grid,
.brand-values {
  grid-template-columns: repeat(3, 1fr);
}

.nutrition-cards article,
.spec-card,
.brand-values article {
  padding: clamp(22px, 3vw, 34px);
}

.about-hero {
  min-height: auto;
  background: var(--ink);
  color: #fff;
}

.about-hero p {
  color: rgba(255, 255, 255, 0.76);
}

.about-hero .eyebrow {
  color: var(--lime);
}

.about-hero img {
  width: 100%;
  height: min(560px, 68vw);
  object-fit: cover;
  border-radius: 8px;
}

.brand-values article span {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--green);
  font-weight: 950;
}

.gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery img:first-child {
  grid-row: span 2;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--green);
  color: #fff;
}

.contact-panel .eyebrow,
.contact-panel a {
  color: var(--lime);
}

.contact-panel address {
  font-style: normal;
  font-size: 1.05rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 420px);
  align-items: start;
  gap: 24px;
}

.order-form,
.order-summary {
  padding: clamp(22px, 4vw, 36px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

label {
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fffdf8;
  font: inherit;
}

textarea {
  resize: vertical;
}

small {
  color: var(--muted);
}

.submit-button {
  width: 100%;
  border: 0;
  font-size: 1rem;
}

.form-success {
  min-height: 28px;
  margin: 16px 0 0;
  color: var(--green);
  font-weight: 900;
}

.summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line span {
  color: var(--muted);
}

.summary-line.total strong {
  color: var(--green);
  font-size: 2rem;
}

.contact-mini {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-mini a {
  color: var(--green);
  font-weight: 850;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #151b18;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer address {
  font-style: normal;
  line-height: 1.7;
}

.site-footer a {
  color: #dffda5;
}

@media (max-width: 1080px) {
  .site-header {
    position: sticky;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 16px 32px rgba(25, 33, 29, 0.1);
  }

  .site-header.menu-open .nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .nav a {
    justify-content: flex-start;
    width: 100%;
  }

  .product-grid,
  .proof-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .hero,
  .page-hero,
  .about-hero,
  .checkout-hero,
  .split-section,
  .split-section.reverse,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero,
  .about-hero,
  .checkout-hero {
    min-height: auto;
    width: 100%;
  }

  .page-hero h1,
  .about-hero h1,
  .checkout-hero h1,
  .page-hero p,
  .about-hero p,
  .checkout-hero p {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .page-hero img,
  .checkout-hero img {
    width: 100%;
    max-width: min(420px, calc(100vw - 48px));
    justify-self: start;
  }

  .hero-stage {
    min-height: 420px;
  }

  .split-section.reverse > div {
    order: 0;
  }

  .product-grid,
  .nutrition-cards,
  .spec-grid,
  .brand-values,
  .image-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .shop-card {
    grid-template-columns: 1fr;
  }

  .shop-card img {
    min-height: 230px;
  }

  .contact-panel,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 1.25rem;
  }

  .nav a {
    padding-inline: 12px;
    font-size: 0.96rem;
  }

  .hero h1,
  .page-hero h1,
  .about-hero h1,
  .checkout-hero h1 {
    font-size: clamp(2.55rem, 15vw, 3.7rem);
    line-height: 0.95;
  }

  .hero-stage {
    min-height: 340px;
  }

  .hero-pack {
    width: 56%;
  }

  .pack-two {
    left: 22%;
  }

  .proof-band,
  .macro-list,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img:first-child {
    grid-row: auto;
  }
}
