:root {
  color-scheme: light;
  --ink: #063f2f;
  --muted: #4f6d5e;
  --line: #cfe4cf;
  --soft: #f1faf0;
  --paper: #fbfff9;
  --accent: #007a3d;
  --accent-dark: #005b2d;
  --accent-light: #7ac143;
  --accent-soft: #e2f3db;
  --warning: #b2523d;
  --shadow: 0 24px 70px rgba(0, 91, 45, 0.15);
  --radius: 8px;
  --max: 1180px;
  font-family: "Aptos", "Satoshi", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(122, 193, 67, 0.08), transparent 36rem),
    var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 122, 61, 0.1) 1px, transparent 0);
  background-size: 18px 18px;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  background: rgba(255, 254, 249, 0.9);
  border-bottom: 1px solid rgba(0, 122, 61, 0.18);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}

.brand-logo {
  width: 188px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-dark);
  box-shadow: 0 10px 30px rgba(0, 122, 61, 0.12);
}

.nav-cta span {
  min-width: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-light);
  color: white;
  font-size: 0.78rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(0, 122, 61, 0.28);
  border-radius: 50%;
  background: white;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--accent);
}

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px;
}

.hero {
  min-height: calc(100dvh - 76px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  overflow: visible;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding-right: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: 0;
  max-width: 13ch;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: 1.05rem;
}

.hero-lede,
.section-heading p,
.quote-copy p,
.contact-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  max-width: 58ch;
  font-size: 1.12rem;
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 32px 0;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:active,
.category-tile:active,
.product-card button:active {
  transform: translateY(1px) scale(0.99);
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 34px rgba(0, 122, 61, 0.24);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--accent);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span,
.audience-list span {
  border: 1px solid rgba(0, 122, 61, 0.2);
  border-radius: 999px;
  background: rgba(226, 243, 219, 0.72);
  padding: 9px 12px;
  color: var(--accent-dark);
  font-size: 0.86rem;
}

.hero-media {
  position: absolute;
  top: 0;
  right: calc(24px - ((100vw - var(--max)) / 2));
  bottom: 0;
  left: auto;
  z-index: 1;
  display: grid;
  width: min(20vw, 300px);
  min-height: 100%;
  opacity: 1;
  transform: none;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-card-main {
  width: 100%;
  min-height: 100%;
  inset: auto;
  animation: hero-card-float 7s ease-in-out infinite;
}

.hero-glass-slide {
  position: absolute;
  inset: 7% 0;
  overflow: hidden;
  border: 1px solid rgba(0, 122, 61, 0.18);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 24px 70px rgba(0, 91, 45, 0.12);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.hero-glass-slide::before,
.hero-glass-slide::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 110px;
  pointer-events: none;
}

.hero-glass-slide::before {
  top: 0;
  background: linear-gradient(180deg, rgba(251, 255, 249, 0.98), rgba(251, 255, 249, 0));
}

.hero-glass-slide::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(251, 255, 249, 0.98), rgba(251, 255, 249, 0));
}

.hero-slide-track {
  min-height: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px;
  animation: hero-range-slide 46s linear infinite;
  will-change: transform;
}

.hero-slide-item {
  width: 100%;
  min-height: 64px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(0, 122, 61, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  padding: 13px 14px;
  color: var(--accent-dark);
  box-shadow: 0 12px 28px rgba(0, 91, 45, 0.08);
}

.hero-slide-item strong {
  font-size: clamp(0.76rem, 0.9vw, 0.94rem);
  line-height: 1.12;
}

.hero-slide-item small {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1;
  white-space: nowrap;
}

@keyframes hero-card-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes hero-range-slide {
  0% {
    transform: translate3d(0, -50%, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

.category-band {
  padding: 86px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--soft);
  border-block: 1px solid rgba(0, 122, 61, 0.18);
}

.section-heading {
  max-width: 720px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.category-tile {
  grid-column: span 3;
  min-height: 280px;
  display: grid;
  grid-template-rows: 150px 1fr;
  border: 1px solid rgba(0, 122, 61, 0.18);
  border-radius: var(--radius);
  background: white;
  padding: 0;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-tile:first-child {
  grid-column: span 6;
}

.category-tile:hover,
.category-tile.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

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

.category-photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--accent-soft);
}

.category-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.category-tile:hover .category-photo img {
  transform: scale(1.04);
}

.category-content {
  min-height: 130px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 18px;
}

.category-content strong,
.category-content small {
  display: block;
}

.category-content strong {
  min-height: 42px;
}

.tile-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

.category-tile small,
.product-card p,
.filter-panel label,
.results-bar,
.process-grid p {
  color: var(--muted);
}

.products-top {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 30px;
  align-items: end;
}

.search-box span,
.enquiry-form span {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.search-box input,
.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  padding: 14px 15px;
  outline: none;
}

.search-box input:focus,
.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 122, 61, 0.12);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  margin-top: 46px;
}

.filter-panel {
  position: sticky;
  top: 104px;
  align-self: start;
  border: 1px solid rgba(0, 122, 61, 0.18);
  border-radius: var(--radius);
  background: white;
  padding: 20px;
}

.filter-panel h3 {
  margin: 0 0 14px;
}

.filter-panel h3:not(:first-child) {
  margin-top: 28px;
}

.filter-panel label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.filter-panel input {
  accent-color: var(--accent);
}

.subcategory-filters {
  display: grid;
  gap: 8px;
  max-height: calc(100dvh - 190px);
  overflow: auto;
  padding-right: 4px;
}

.subcategory-filters label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  border: 1px solid rgba(0, 122, 61, 0.12);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 10px;
}

.subcategory-filters small {
  min-width: 28px;
  border-radius: 999px;
  background: white;
  color: var(--accent-dark);
  padding: 4px 7px;
  text-align: center;
  font-weight: 800;
}

.filter-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.results-bar {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 800;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.catalogue-category {
  overflow: hidden;
  display: grid;
  border: 1px solid rgba(0, 122, 61, 0.18);
  border-radius: var(--radius);
  background: white;
}

.catalogue-category-head {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(122, 193, 67, 0.2), rgba(255, 255, 255, 0));
}

.catalogue-category-head h3 {
  margin: 0;
  font-size: 1.4rem;
}

.catalogue-groups {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.catalogue-group {
  background: white;
}

.catalogue-group-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
}

.catalogue-group-head h4 {
  margin: 0;
  color: var(--accent-dark);
  font-size: 1rem;
}

.catalogue-group-head span {
  min-width: 30px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 5px 8px;
  text-align: center;
  font-weight: 800;
}

.catalogue-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.catalogue-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: white;
  padding: 14px 16px;
}

.catalogue-row strong,
.catalogue-row span {
  display: block;
}

.catalogue-row strong {
  color: var(--ink);
}

.catalogue-row span {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.35;
}

.catalogue-row button {
  min-width: 74px;
  min-height: 38px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: white;
  color: var(--accent-dark);
  font-weight: 800;
  cursor: pointer;
}

.catalogue-row button.is-added {
  background: var(--accent);
  color: white;
}

.product-card {
  min-height: 420px;
  display: grid;
  grid-template-rows: 170px auto;
  overflow: hidden;
  border: 1px solid rgba(0, 122, 61, 0.18);
  border-radius: var(--radius);
  background: white;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
}

.product-card-body {
  padding: 18px;
  display: grid;
  align-content: space-between;
  gap: 16px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.product-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 8px;
  color: var(--muted);
  font-size: 0.78rem;
}

.product-card button {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: white;
  color: var(--accent-dark);
  font-weight: 800;
  cursor: pointer;
}

.product-card button.is-added {
  background: var(--accent);
  color: white;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 32px;
  background: white;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.7fr);
  gap: 42px;
  align-items: center;
  padding: 86px max(24px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 82% 12%, rgba(122, 193, 67, 0.26), transparent 30rem),
    var(--ink);
  color: var(--paper);
}

.quote-section .eyebrow {
  color: #91d3c1;
}

.quote-copy p {
  color: rgba(255, 254, 249, 0.74);
}

.quote-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.quote-panel-head,
.quote-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.quote-list {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.quote-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 0;
}

.quote-item button {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 7px 10px;
  cursor: pointer;
}

.quote-empty {
  color: rgba(255, 254, 249, 0.68);
}

.process-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr;
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-grid article {
  min-height: 245px;
  background: linear-gradient(180deg, rgba(122, 193, 67, 0.08), transparent), var(--paper);
  padding: 24px;
}

.process-grid span {
  display: block;
  margin-bottom: 70px;
  font-family: "Aptos Mono", "SFMono-Regular", Consolas, monospace;
  color: var(--accent-dark);
  font-weight: 800;
}

.audience-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) 1fr;
  gap: 44px;
  align-items: center;
  padding: 76px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--accent-soft);
}

.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 48px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.contact-details div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.contact-details dt {
  font-weight: 800;
}

.contact-details dd {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.enquiry-form {
  display: grid;
  gap: 16px;
}

.enquiry-form textarea {
  resize: vertical;
}

.error-message {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: var(--warning);
  font-size: 0.82rem;
}

.form-status {
  margin: 0;
  color: var(--accent-dark);
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px 24px 48px;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 460px;
  margin: 18px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 18;
  max-width: 410px;
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px;
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner.is-hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    padding: 16px;
    box-shadow: var(--shadow);
  }

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

  .hero,
  .quote-section,
  .audience-band,
  .contact-card,
  .products-top,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 26px;
    padding-top: 62px;
  }

  h1 {
    max-width: 13ch;
  }

  .hero-copy {
    padding-right: 0;
  }

  .hero-media {
    right: 18px;
    width: 180px;
    min-height: 100%;
    opacity: 0.34;
    transform: none;
  }

  .hero-card-main {
    min-height: 100%;
  }

  .hero-slide-item {
    width: 100%;
  }

  .filter-panel {
    position: static;
  }

  .product-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-rows {
    grid-template-columns: 1fr;
  }

  .category-tile,
  .category-tile:first-child {
    grid-column: span 6;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 0 14px;
    gap: 10px;
  }

  .brand-logo {
    width: 150px;
  }

  .nav-cta {
    display: none;
  }

  .section-pad,
  .category-band,
  .quote-section,
  .audience-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-pad {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  h1 {
    font-size: 3.05rem;
    max-width: 11ch;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-media {
    display: none;
  }

  .hero-card-main {
    min-height: 100%;
  }

  .hero-slide-track {
    padding: 18px;
  }

  .hero-slide-item {
    min-height: 70px;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 16px;
  }

  .category-grid,
  .product-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .category-tile,
  .category-tile:first-child {
    grid-column: auto;
  }

  .product-card {
    min-height: auto;
  }

  .results-bar,
  .site-footer,
  .cookie-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-card {
    padding: 20px;
    border-radius: 16px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}
