:root {
  --leaf: #5eaa21;
  --forest: #183d24;
  --forest-2: #275a32;
  --orange: #ed741c;
  --gold: #f4b943;
  --ink: #17211b;
  --muted: #5f6f64;
  --line: #d9e4da;
  --paper: #f6f5ee;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(22, 48, 29, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  padding: 10px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(217, 228, 218, 0.9);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1;
}

.brand small {
  margin-top: 4px;
  color: var(--forest);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: var(--forest);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: var(--forest);
}

.hero {
  position: relative;
  min-height: calc(94svh - 84px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 35, 22, 0.9) 0%, rgba(13, 35, 22, 0.74) 42%, rgba(13, 35, 22, 0.22) 78%),
    linear-gradient(0deg, rgba(8, 18, 11, 0.36), rgba(8, 18, 11, 0.04));
}

.hero-inner {
  min-height: calc(94svh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.38fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(64px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.hero-copy {
  align-self: center;
  max-width: 820px;
  color: var(--white);
}

.hero-logo {
  width: clamp(130px, 15vw, 196px);
  height: auto;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb05c;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.24;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--orange);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: rgba(24, 61, 36, 0.72);
  backdrop-filter: blur(12px);
}

.hero-panel span {
  color: #ffb05c;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.hero-panel li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.quick-links {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -34px clamp(20px, 5vw, 72px) 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-links a {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 16px;
  border-right: 1px solid var(--line);
  color: var(--forest);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links a:hover {
  color: var(--orange);
  background: #fbf4ea;
}

.section {
  padding: clamp(70px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.section-intro {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-intro p:not(.eyebrow),
.section-head p,
.support-copy p,
.contact p,
.ingredient-item p {
  color: var(--muted);
}

.application-workbench {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
  gap: 18px;
}

.tab-list {
  display: grid;
  gap: 10px;
}

.app-tab {
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--forest);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.app-tab.active {
  color: var(--white);
  border-color: var(--forest);
  background: var(--forest);
}

.app-panel {
  min-height: 310px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(24, 61, 36, 0.94), rgba(39, 90, 50, 0.84)),
    var(--forest);
}

.app-label {
  margin: 0 0 10px;
  color: #ffb05c;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.app-text {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.app-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.app-ingredients span,
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.app-ingredients span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.portfolio {
  background: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.search-box {
  display: grid;
  gap: 8px;
  width: min(420px, 100%);
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid #cbd8cd;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.ingredient-list {
  display: grid;
  gap: 16px;
}

.ingredient-item {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fdfcf7;
}

.ingredient-item[hidden] {
  display: none;
}

.ingredient-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.ingredient-item > div {
  padding: 24px 24px 24px 0;
}

.item-category {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chips span {
  color: var(--forest);
  background: #e9f1e6;
}

.empty-state {
  margin: 20px 0 0;
  color: var(--muted);
  font-weight: 900;
}

.support {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.support-visual {
  min-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.support-visual img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.support-steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.support-steps div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.support-steps span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--forest);
  font-weight: 900;
}

.support-steps h3 {
  grid-column: 2;
}

.support-steps p {
  grid-column: 2;
  margin: -4px 0 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(94, 170, 33, 0.12), rgba(237, 116, 28, 0.11)),
    var(--white);
}

address {
  margin: 24px 0 18px;
  color: var(--muted);
  font-style: normal;
}

.contact-links {
  display: grid;
  gap: 8px;
}

.contact-links a {
  color: var(--forest);
  font-weight: 900;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--forest);
  font-size: 0.92rem;
  font-weight: 900;
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.82);
  background: #111d15;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(244, 185, 67, 0.55);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .hero-inner,
  .support,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-links a {
    border-bottom: 1px solid var(--line);
  }

  .section-head {
    display: block;
  }

  .search-box {
    margin-top: 18px;
  }

  .application-workbench {
    grid-template-columns: 1fr;
  }

  .tab-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ingredient-item {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .hero,
  .hero-inner {
    min-height: calc(92svh - 68px);
  }

  .hero-inner {
    padding-top: 58px;
  }

  .hero-logo {
    width: 124px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(13, 35, 22, 0.92), rgba(13, 35, 22, 0.62));
  }

  .ingredient-item {
    grid-template-columns: 1fr;
  }

  .ingredient-item img {
    min-height: 190px;
  }

  .ingredient-item > div {
    padding: 20px;
  }

  .support-steps div {
    grid-template-columns: 1fr;
  }

  .support-steps h3,
  .support-steps p {
    grid-column: auto;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 430px) {
  .hero-actions .button {
    width: 100%;
  }

  .quick-links,
  .tab-list {
    grid-template-columns: 1fr;
  }
}
