/* ==========================================================================
   Cabax Farms Ltd — stylesheet
   1. Tokens          5. Hero
   2. Reset & base    6. Sections & blocks
   3. Utilities       7. Cards, forms, map
   4. Header/footer   8. Pages & responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --emerald-50: #edf5ef;
  --emerald-100: #d3e8d9;
  --emerald-200: #a6d0b4;
  --emerald-300: #6fae85;
  --emerald-400: #3a8a5c;
  --emerald-500: #17703d;
  --emerald-600: #0b5d2e;
  --emerald-700: #094a25;
  --emerald-800: #07381d;
  --emerald-900: #052614;

  --lime-400: #8acf3a;

  --gold-200: #ffe8a3;
  --gold-300: #ffd766;
  --gold-400: #fbcb2e;
  --gold-500: #f5b800;
  --gold-600: #c99500;

  --ivory-50: #fffdf8;
  --ivory-100: #faf7f0;
  --ivory-200: #f1ecdf;
  --ivory-300: #e4dcc8;

  --charcoal-500: #5c5c5c;
  --charcoal-600: #4a4a4a;
  --charcoal-700: #3a3a3a;
  --charcoal-800: #2a2a2a;
  --charcoal-900: #1a1a1a;

  --error-500: #b42318;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --shadow-soft: 0 10px 30px -12px rgba(5, 38, 20, 0.18);
  --shadow-lift: 0 24px 60px -24px rgba(5, 38, 20, 0.35);

  --radius-sm: 1rem;
  --radius-md: 1.5rem;
  --radius-lg: 2rem;
  --pill: 999px;

  --header-h: 80px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Reset & base ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory-100);
  color: var(--charcoal-700);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--charcoal-900);
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(251, 203, 46, 0.4);
  color: var(--emerald-900);
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 3. Utilities ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 3rem;
  }
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--emerald-700);
}

.eyebrow--gold {
  color: var(--gold-300);
}

.hairline {
  height: 1px;
  width: 100%;
  max-width: 120px;
  background: linear-gradient(90deg, var(--gold-500) 0%, rgba(245, 184, 0, 0.45) 55%, rgba(245, 184, 0, 0) 100%);
}

.hairline--wide {
  max-width: 160px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--pill);
  background: var(--emerald-600);
  color: var(--ivory-100);
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

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

.btn--gold {
  background: var(--gold-500);
  color: var(--emerald-900);
  box-shadow: var(--shadow-soft);
}

.btn--gold:hover {
  background: var(--gold-400);
  box-shadow: var(--shadow-lift);
}

.btn--emerald {
  background: var(--emerald-600);
  color: var(--ivory-100);
  box-shadow: var(--shadow-soft);
}

.btn--emerald:hover {
  background: var(--emerald-700);
  box-shadow: var(--shadow-lift);
}

.btn--outline {
  border-color: rgba(11, 93, 46, 0.4);
  color: var(--emerald-700);
}

.btn--outline:hover {
  background: var(--emerald-600);
  border-color: var(--emerald-700);
  color: var(--ivory-100);
}

.btn--outline-light {
  border-color: rgba(250, 247, 240, 0.4);
  color: var(--ivory-100);
  backdrop-filter: blur(6px);
}

.btn--outline-light:hover {
  border-color: var(--gold-400);
  background: rgba(250, 247, 240, 0.1);
  color: var(--gold-200);
}

.btn--ghost {
  color: var(--emerald-700);
  background: none;
  border-color: transparent;
  letter-spacing: 0.12em;
}

.btn--ghost:hover {
  background: var(--emerald-50);
  color: var(--emerald-900);
  transform: none;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-700);
  text-decoration: none;
  transition: color 0.3s;
}

.link-arrow:hover {
  color: var(--emerald-900);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--d1 {
  transition-delay: 0.1s;
}

.reveal--d2 {
  transition-delay: 0.2s;
}

.reveal--d3 {
  transition-delay: 0.3s;
}

/* 4. Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 247, 240, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(228, 220, 200, 0.7);
  transition: box-shadow 0.3s, background 0.3s;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px -24px rgba(5, 38, 20, 0.6);
  background: rgba(250, 247, 240, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--emerald-700);
}

.brand-text small {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal-500);
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal-600);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--emerald-700);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn {
  padding: 0.7rem 1.25rem;
  font-size: 0.6875rem;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ivory-300);
  background: none;
  color: var(--emerald-700);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

.mobile-nav {
  border-top: 1px solid var(--ivory-300);
  background: var(--ivory-100);
  padding-block: 1.5rem;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav .nav-link {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  text-align: left;
  width: 100%;
}

.mobile-nav .nav-link:hover {
  background: var(--emerald-50);
}

.mobile-nav .btn {
  margin-top: 0.75rem;
}
/* higher specificity than .mobile-nav .nav-link { display:block } */
.mobile-nav .m-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  color: inherit;
}

.m-caret { width: 1rem; height: 1rem; transition: transform 0.3s var(--ease); }
.m-sub-toggle[aria-expanded="true"] .m-caret { transform: rotate(180deg); }

.mobile-sub { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.38s var(--ease), opacity 0.28s; }
.mobile-sub.is-open { max-height: 26rem; opacity: 1; }

.mobile-sub ul {
  margin: 0.25rem 0 0.5rem 1rem;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(184, 134, 11, 0.5);
}

.mobile-sub-link {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--charcoal-600);
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.mobile-sub-link:hover { background: var(--emerald-50); color: var(--emerald-700); }

@media (prefers-reduced-motion: reduce) { .mobile-sub { transition: none; } }

@media (min-width: 1024px) {
  .primary-nav,
  .header-actions {
    display: flex;
  }

  .menu-toggle,
  .mobile-nav {
    display: none;
  }
}

/* 5. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  background: var(--emerald-900);
  color: var(--ivory-100);
}


.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* brighter, richer photo */
  filter: brightness(1.18) saturate(1.15) contrast(1.05);
  opacity: 0;
  transform: scale(1.06);
  animation:
    hero-fade 1.6s var(--ease) 0.1s forwards,
    hero-zoom 10s ease-out 0.1s forwards;
}

@keyframes hero-fade {
  to { opacity: 1; }
}

@keyframes hero-zoom {
  to { transform: scale(1); }
}

/* Light scrim: dark only on the left behind the text, clear on the right */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 38, 20, 0.72) 0%, rgba(5, 38, 20, 0.38) 45%, rgba(5, 38, 20, 0) 75%),
    linear-gradient(180deg, rgba(5, 38, 20, 0.12) 0%, rgba(5, 38, 20, 0) 40%, rgba(5, 38, 20, 0.55) 100%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  max-width: 48rem;
  padding-block: 11rem 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(251, 203, 46, 0.5);
  border-radius: var(--pill);
  background: rgba(5, 38, 20, 0.4);
  backdrop-filter: blur(10px);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-200);
}

.badge-dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.badge-dot span:first-child {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--lime-400);
  opacity: 0.75;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.badge-dot span:last-child {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime-400);
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}




.hero-sub {
  max-width: 36rem;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  color: rgba(250, 247, 240, 0.9);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.hero-highlights {
  display: grid;
  gap: 1px;
  width: 100%;
  margin-top: 4rem;
  border: 1px solid rgba(251, 203, 46, 0.3);
  border-radius: var(--radius-md);
  background: rgba(251, 203, 46, 0.2);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero-highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(5, 38, 20, 0.55);
}

.icon-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid rgba(251, 203, 46, 0.5);
  border-radius: 50%;
  color: var(--gold-300);
}

.hero-highlight strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ivory-100);
}

.hero-highlight span small {
  display: block;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(250, 247, 240, 0.7);
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    width: auto;
  }

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

/* Hero polish */
.hero-inner {
  gap: 1.75rem;
  padding-block: 10rem 3rem;
}


.hero-sub {
  font-size: 1.15rem;
  text-shadow: 0 2px 14px rgba(5, 38, 20, 0.6);
}

.hero-badge {
  background: rgba(5, 38, 20, 0.55);
}

/* Highlights: frosted glass strip */
.hero-highlights {
  margin-top: 3rem;
  border-color: rgba(251, 203, 46, 0.35);
  background: rgba(251, 203, 46, 0.25);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(5, 38, 20, 0.6);
}

.hero-highlight {
  background: rgba(5, 38, 20, 0.5);
  transition: background 0.4s var(--ease);
}

.hero-highlight:hover {
  background: rgba(5, 38, 20, 0.7);
}

/* Staggered entrance */
.hero-inner > * {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-rise 1s var(--ease) forwards;
}

.hero-inner > :nth-child(1) { animation-delay: 0.30s; } /* badge */
.hero-inner > :nth-child(2) { animation-delay: 0.50s; } /* title */
.hero-inner > :nth-child(3) { animation-delay: 0.75s; } /* hairline */
.hero-inner > :nth-child(4) { animation-delay: 0.90s; } /* subtitle */
.hero-inner > :nth-child(5) { animation-delay: 1.10s; } /* buttons */
.hero-inner > :nth-child(6) { animation-delay: 1.35s; } /* highlights */

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Gold line draws in */
.hero-inner > .hairline {
  transform-origin: left;
  transform: scaleX(0);
  animation-name: hero-line;
}

@keyframes hero-line {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Soft fade into the next section */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(5, 38, 20, 0.35));
  pointer-events: none;
}

/* 6. Sections -------------------------------------------------------------- */
.section {
  padding-block: 5.5rem;
}

.section--tint {
  background: rgba(241, 236, 223, 0.5);
}

.section--emerald {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--emerald-600);
  color: var(--ivory-100);
  padding-block: 5.5rem;
}

.section--emerald::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(245, 184, 0, 0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(124, 194, 25, 0.18), transparent 40%);
}

@media (min-width: 768px) {
  .section,
  .section--emerald {
    padding-block: 7rem;
  }
}

@media (min-width: 1024px) {
  .section,
  .section--emerald {
    padding-block: 9rem;
  }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}

.section-head--left {
  align-items: flex-start;
  text-align: left;
}

.section-title {
  max-width: 46rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

.section-title em {
  font-style: italic;
  color: var(--emerald-600);
}

.section-lead {
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal-600);
}

.split {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* About */
.about-copy .section-title {
  margin-top: 0;
}

.about-copy p {
  color: var(--charcoal-600);
}

.about-lede {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  line-height: 1.3;
  color: var(--charcoal-800);
}

.media-frame {
  position: relative;
}

.media-frame::after {
  content: "";
  position: absolute;
  right: -1rem;
  bottom: -1rem;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(245, 184, 0, 0.6);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

@media (min-width: 640px) {
  .media-frame::after {
    right: -1.5rem;
    bottom: -1.5rem;
  }
}

.statement-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 4.5rem;
}

@media (min-width: 768px) {
  .statement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.statement {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 2.5rem;
  border: 1px solid var(--ivory-300);
  border-radius: var(--radius-md);
  background: var(--ivory-50);
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.statement::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.statement:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.statement:hover::before {
  transform: scaleX(1);
}

.statement-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.statement-head .icon-ring {
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--emerald-50);
  color: var(--emerald-700);
}

.statement p {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  color: var(--charcoal-900);
}

/* Sustainability section — Refined & Balanced Minimalist Layout */
.sustain {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(48rem 36rem at 85% 45%, rgba(20, 72, 46, 0.45), transparent 70%),
    radial-gradient(38rem 32rem at 15% 25%, rgba(15, 60, 36, 0.35), transparent 60%),
    linear-gradient(170deg, #051c12 0%, #04150e 45%, #020e08 100%);
  color: var(--ivory-100);
  padding-block: var(--space-3xl, 6rem);
}

.sustain::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 8rem 8rem;
  pointer-events: none;
  opacity: 0.5;
}

.sustain-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .sustain-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 4rem;
  }
}

.sustain-text {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.sustain .section-title {
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.sustain .section-title em {
  display: block;
  color: #f1cd68;
  font-style: italic;
  font-weight: 400;
}

.sustain-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background: rgba(12, 41, 27, 0.85);
  border: 1px solid rgba(52, 211, 153, 0.28);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #86efac;
}

.sustain-badge .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
}

.sustain-text p {
  line-height: 1.75;
  color: rgba(226, 232, 240, 0.82);
  font-size: 1.02rem;
}

.sustain-text .sustain-lead {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  color: #f8fafc;
}

/* Glassmorphism Pillar Cards */
.sustain-points {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 0;
  list-style: none;
  margin: 0;
}

.sustain-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.3rem 1.55rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(12, 47, 32, 0.75) 0%, rgba(6, 30, 19, 0.6) 100%);
  border: 1px solid rgba(52, 211, 153, 0.22);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sustain-card:hover {
  transform: translateY(-2px);
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 14px 30px -5px rgba(0, 0, 0, 0.45);
}

.sustain-card--gold {
  border-color: rgba(245, 215, 127, 0.28);
}

.sustain-card--gold:hover {
  border-color: rgba(245, 215, 127, 0.55);
}

.sustain-card-header {
  display: flex;
  align-items: center;
}

.sustain-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(19, 61, 40, 0.75);
  color: #86efac;
  border: 1px solid rgba(34, 84, 61, 0.85);
}

.sustain-card--gold .sustain-tag {
  background: rgba(45, 39, 14, 0.75);
  color: #f1cd68;
  border-color: rgba(82, 67, 23, 0.85);
}

.sustain-card-body {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.sustain-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(17, 54, 36, 0.85);
  border: 1px solid rgba(31, 77, 53, 0.9);
  color: #86efac;
}

.sustain-card--gold .sustain-icon {
  background: rgba(36, 32, 13, 0.85);
  border-color: rgba(74, 60, 20, 0.9);
  color: #f1cd68;
}

.sustain-icon .icon {
  width: 22px;
  height: 22px;
}

.sustain-card-body strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.sustain-card-body small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #94a3b8;
}

/* ======================================================== */
/* Minimalist Circular Infographic Diagram                  */
/* ======================================================== */
.sustain-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.diagram {
  position: relative;
  width: 100%;
  max-width: 32rem;
  margin: 1.5rem auto;
  aspect-ratio: 1;
}

.diagram-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Center Brand Medallion */
.diagram-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  z-index: 5;
  pointer-events: none;
}

.core-medallion {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #d4af37;
  box-shadow: 0 0 0 6px rgba(12, 41, 27, 0.95), 0 16px 36px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
}

.core-medallion img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.core-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #f1cd68;
  background: #061c12;
  border: 1px solid rgba(212, 175, 55, 0.65);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

/* Orbital Stations / Nodes */
.cycle-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.node-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cycle-node .node-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.cycle-node--green .node-icon {
  background: linear-gradient(135deg, #133f28, #092418);
  border: 2px solid #4ade80;
  color: #86efac;
  box-shadow: 0 0 16px rgba(74, 222, 128, 0.25), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cycle-node--gold .node-icon {
  background: linear-gradient(135deg, #2d270e, #181508);
  border: 2px solid #f1cd68;
  color: #f1cd68;
  box-shadow: 0 0 16px rgba(241, 205, 104, 0.25), 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cycle-node .node-icon .icon {
  width: 1.4rem;
  height: 1.4rem;
}

.cycle-node:hover .node-icon {
  transform: scale(1.12);
}

.cycle-node--green:hover .node-icon {
  box-shadow: 0 0 22px rgba(74, 222, 128, 0.45), 0 12px 24px rgba(0, 0, 0, 0.5);
}

.cycle-node--gold:hover .node-icon {
  box-shadow: 0 0 22px rgba(241, 205, 104, 0.45), 0 12px 24px rgba(0, 0, 0, 0.5);
}

/* Node Labels */
.cycle-node .node-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  width: 9rem;
  text-align: center;
  pointer-events: none;
}

.cycle-node--top .node-label {
  bottom: calc(100% + 0.65rem);
}

.cycle-node--below .node-label {
  top: calc(100% + 0.65rem);
}

.cycle-node .node-step {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
}

.cycle-node--green .node-step {
  color: #86efac;
  background: rgba(18, 61, 39, 0.85);
  border: 1px solid rgba(34, 84, 61, 0.9);
}

.cycle-node--gold .node-step {
  color: #f1cd68;
  background: rgba(45, 39, 14, 0.85);
  border: 1px solid rgba(82, 67, 23, 0.9);
}

.cycle-node .node-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.cycle-node .node-detail {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .cycle-node .node-icon {
    width: 3.6rem;
    height: 3.6rem;
  }
  .cycle-node .node-icon .icon {
    width: 1.6rem;
    height: 1.6rem;
  }
  .cycle-node .node-label {
    width: 10.5rem;
  }
  .cycle-node .node-title {
    font-size: 1.05rem;
  }
  .cycle-node .node-detail {
    font-size: 0.78rem;
  }
}

/* Farmers */
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit {
  display: flex;
  gap: 1.25rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(245, 184, 0, 0.6);
  transition: border-color 0.4s;
}

.benefit:hover {
  border-color: var(--emerald-600);
}

.benefit .icon-ring {
  width: 44px;
  height: 44px;
  margin-top: 0.2rem;
  border: 0;
  background: var(--emerald-50);
  color: var(--emerald-700);
  transition: background 0.4s, color 0.4s;
}

.benefit:hover .icon-ring {
  background: var(--emerald-600);
  color: var(--ivory-100);
}

.benefit h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.benefit p {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--charcoal-600);
}

.media-tall img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

/* Our future */
.future-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  max-width: 56rem;
  margin-inline: auto;
  text-align: center;
}

.future-inner .future-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--ivory-100);
}

.future-inner p {
  max-width: 44rem;
  color: rgba(250, 247, 240, 0.85);
}

/* 7. Cards, grids, forms --------------------------------------------------- */
.card-grid {
  display: grid;
  gap: 2rem;
  margin-top: 4.5rem;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ivory-300);
  border-radius: var(--radius-md);
  background: var(--ivory-50);
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}

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

.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.card:hover .card-media img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--pill);
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(6px);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald-700);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
}

.card-meta {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-500);
}

.card-title {
  font-size: 1.5rem;
  line-height: 1.2;
}

.card-title a {
  text-decoration: none;
  transition: color 0.3s;
}

.card-title a:hover {
  color: var(--emerald-700);
}

.card-body p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--charcoal-600);
}

.card-body .link-arrow {
  margin-top: auto;
}

.card--product .card-media {
  aspect-ratio: 16 / 11;
}

.card--product .card-body {
  padding: 2rem;
}

.card--product .card-title {
  font-size: 1.875rem;
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

/* Contact layout */
.contact-grid {
  display: grid;
  gap: 3rem;
  margin-top: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }
}

.panel {
  padding: 2rem;
  border: 1px solid var(--ivory-300);
  border-radius: var(--radius-lg);
  background: var(--ivory-50);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  .panel {
    padding: 2.5rem;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal-800);
}

.field .optional {
  margin-left: 0.4rem;
  font-weight: 400;
  color: var(--charcoal-500);
}

.field .required {
  margin-left: 0.25rem;
  color: var(--error-500);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--ivory-300);
  border-radius: var(--radius-sm);
  background: var(--ivory-50);
  color: var(--charcoal-900);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(92, 92, 92, 0.7);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--emerald-300);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: 0 0 0 4px rgba(245, 184, 0, 0.25);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--error-500);
}

.field-error {
  display: none;
  font-size: 0.8125rem;
  color: var(--error-500);
}

.field.has-error .field-error {
  display: block;
}

.select-wrap {
  position: relative;
}

.select-wrap .icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: var(--emerald-700);
  pointer-events: none;
}

.field select {
  appearance: none;
  padding-right: 3rem;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 0.5rem;
}

@media (min-width: 640px) {
  .form-actions {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--emerald-700);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s;
}

.link-quiet:hover {
  color: var(--emerald-900);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-block: 1rem;
}

.form-success .success-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--emerald-600);
  color: var(--ivory-100);
  box-shadow: var(--shadow-soft);
}

.form-success h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.form-success p {
  max-width: 34rem;
  color: var(--charcoal-600);
}

.form-success .button-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .form-success .button-row {
    flex-direction: row;
    width: auto;
  }
}

/* Contact details card */
.details-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--emerald-900);
  color: var(--ivory-100);
  box-shadow: var(--shadow-lift);
}

@media (min-width: 640px) {
  .details-card {
    padding: 2.5rem;
  }
}

.details-card::before {
  content: "";
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgba(245, 184, 0, 0.15);
  filter: blur(40px);
}

.details-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--ivory-100);
}

.details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-block: 2rem;
}

.details-list li {
  display: flex;
  gap: 1rem;
}

.details-list .icon-ring {
  width: 40px;
  height: 40px;
  border-color: rgba(245, 184, 0, 0.4);
  color: var(--gold-300);
}

.details-list .label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.6);
}

.details-list a,
.details-list .value {
  display: block;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ivory-100);
  text-decoration: none;
  word-break: break-word;
}

.details-list a:hover {
  color: var(--gold-300);
}

/* Map */
.map-figure {
  overflow: hidden;
  border: 1px solid rgba(245, 184, 0, 0.4);
  border-radius: var(--radius-lg);
  background: var(--ivory-50);
  box-shadow: var(--shadow-soft);
  margin: 0;
}

.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) sepia(0.18) saturate(0.9);
  transition: filter 0.7s;
}

.map-figure:hover .map-frame iframe {
  filter: none;
}

.map-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.map-caption span {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--charcoal-700);
}

.map-caption .icon {
  color: var(--emerald-600);
  margin-top: 0.15rem;
}

/* 8. Article & page headers ------------------------------------------------ */
.page-head {
  padding-block: 4rem 0;
}

.page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 52vh;
  overflow: hidden;
  background: var(--emerald-900);
  color: var(--ivory-100);
}

.page-hero img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero .hero-scrim {
  z-index: -1;
}

.page-hero .container {
  padding-block: 9rem 3.5rem;
}

.page-hero h1 {
  max-width: 52rem;
  margin-top: 1rem;
  font-size: clamp(2.1rem, 5vw, 3.75rem);
  color: var(--ivory-100);
}

.page-hero .meta {
  margin-top: 1.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.7);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  text-decoration: none;
}

.back-link:hover {
  color: var(--gold-200);
}

.back-link--dark {
  color: var(--emerald-700);
}

.back-link--dark:hover {
  color: var(--emerald-900);
}

.article-body {
  max-width: 46rem;
  margin-inline: auto;
  padding-block: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-lede {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  line-height: 1.35;
  color: var(--charcoal-800);
}

.article-body p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--charcoal-600);
}

.related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--ivory-300);
}

/* Product detail */
.product-grid {
  display: grid;
  gap: 3.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.product-grid > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.product-title {
  margin-top: 0.75rem;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.product-summary {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--charcoal-600);
}

.spec-grid {
  display: grid;
  gap: 1px;
  margin: 2rem 0;
  border: 1px solid var(--ivory-300);
  border-radius: var(--radius-md);
  background: var(--ivory-300);
  overflow: hidden;
}

@media (min-width: 640px) {
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.spec {
  padding: 1.25rem 1.5rem;
  background: var(--ivory-50);
}

.spec dt {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal-500);
}

.spec dd {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal-800);
}

.use-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.use-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--charcoal-700);
}

.use-list .icon {
  color: var(--emerald-600);
  margin-top: 0.2rem;
}

.cta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 5rem;
  padding: 3.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--emerald-600);
  color: var(--ivory-100);
  text-align: center;
}

.cta-panel h2 {
  max-width: 40rem;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--ivory-100);
}

.cta-panel p {
  max-width: 34rem;
  color: rgba(250, 247, 240, 0.85);
}

/* 9. Footer ---------------------------------------------------------------- */
.site-footer {
  background: var(--emerald-900);
  color: var(--ivory-100);
  padding-block: 5rem 2rem;
}

.footer-grid {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  padding: 0.25rem;
  border-radius: 50%;
  background: var(--ivory-100);
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ivory-100);
  line-height: 1;
}

.footer-brand small {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.footer-about {
  margin-top: 1.5rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(250, 247, 240, 0.75);
}

.footer-col h3 {
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a,
.footer-col span {
  font-size: 0.875rem;
  color: rgba(250, 247, 240, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--gold-300);
}

.footer-contact li {
  display: flex;
  gap: 0.75rem;
}

.footer-contact .icon {
  color: var(--gold-300);
  margin-top: 0.2rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 247, 240, 0.15);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.5);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* 10. Motion preferences --------------------------------------------------- */
@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 11. Diagram animation ---------------------------------------------------- */
.diagram .ring-draw {
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
}

.diagram.is-visible .ring-draw {
  animation: draw-ring 2.6s ease-in-out forwards;
}

@keyframes draw-ring {
  to {
    stroke-dashoffset: 0;
  }
}

.diagram-particles {
  filter: drop-shadow(0 0 6px rgba(245, 184, 0, 0.9));
}

.map-caption .link-arrow {
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .diagram .ring-draw {
    stroke-dashoffset: 0;
  }
}

main.page-in {
  animation: page-in 0.6s var(--ease);
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.site-header {
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* Hero heading: new font + rise from bottom */
.hero-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 8vw, 5.75rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ivory-50);
  text-shadow: 0 4px 30px rgba(5, 38, 20, 0.45);
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-300);
  padding-right: 0.1em; /* stops the italic edge being clipped */
}

/* Cancel the generic fade-up so the lines handle their own motion */
.hero-inner > .hero-title {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Each line is a mask; the text slides up from below it */
.hero-title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
}

.hero-title .line > span {
  display: block;
  transform: translateY(115%);
  animation: line-up 1.2s var(--ease) forwards;
}

.hero-title .line:nth-child(1) > span { animation-delay: 0.5s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.7s; }

@keyframes line-up {
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .line > span {
    transform: none;
  }
}

/* Hero stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  margin-top: 3rem;
  border: 1px solid rgba(251, 203, 46, 0.4);
  border-radius: var(--radius-md);
  background: rgba(5, 38, 20, 0.55);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 60px -30px rgba(5, 38, 20, 0.6);
  overflow: hidden;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.5rem 1.75rem;
  border-right: 1px solid rgba(251, 203, 46, 0.2);
  border-bottom: 1px solid rgba(251, 203, 46, 0.2);
  transition: background 0.4s var(--ease);
}

.hero-stat:hover {
  background: rgba(251, 203, 46, 0.08);
}

.hero-stat:nth-child(2n) {
  border-right: 0;
}

.hero-stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-300);
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.5;
  color: rgba(250, 247, 240, 0.8);
}

@media (min-width: 900px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    max-width: 56rem;
  }

  .hero-stat {
    border-bottom: 0;
    border-right: 1px solid rgba(251, 203, 46, 0.2);
  }

  .hero-stat:nth-child(2n) {
    border-right: 1px solid rgba(251, 203, 46, 0.2);
  }

  .hero-stat:last-child {
    border-right: 0;
  }
}

.hero-title .line:nth-child(3) > span { animation-delay: 0.9s; }

/* smaller third line so the main heading stays dominant */
.hero-title .line--small {
  margin-top: 0.6rem;
}

.hero-title .line--small > span {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-200);
  text-shadow: 0 2px 14px rgba(5, 38, 20, 0.6);
}
/* Hero layout: text centred above, stats bar pinned to the bottom */
.hero {
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

.hero > .container {
  display: flex;
  flex: 1;
  align-items: center;
}

.hero-inner {
  padding-block: 9rem 2.5rem;
}

/* Full-width stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  border-top: 1px solid rgba(251, 203, 46, 0.45);
  border-radius: 0;
  background: rgba(5, 38, 20, 0.6);
  backdrop-filter: blur(16px);
  box-shadow: none;
  opacity: 0;
  transform: translateY(28px);
  animation: hero-rise 1s var(--ease) 1.35s forwards;
}

.hero-stat {
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.75rem 1rem;
  border-right: 1px solid rgba(251, 203, 46, 0.2);
  border-bottom: 1px solid rgba(251, 203, 46, 0.2);
}

.hero-stat:nth-child(2n) {
  border-right: 0;
}

.hero-stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

@media (min-width: 900px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
  }

  .hero-stat {
    padding: 2.25rem 1rem;
    border-bottom: 0;
    border-right: 1px solid rgba(251, 203, 46, 0.2);
  }

  .hero-stat:nth-child(2n) {
    border-right: 1px solid rgba(251, 203, 46, 0.2);
  }

  .hero-stat:last-child {
    border-right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-inner > *,
  .hero-media,
  .hero-stats {
    opacity: 1;
    transform: none;
  }
}

/* About ------------------------------------------------------------------- */
.about {
  background:
    radial-gradient(70rem 36rem at 115% -10%, rgba(211, 232, 217, 0.6), transparent 62%),
    radial-gradient(50rem 28rem at -15% 115%, rgba(245, 184, 0, 0.07), transparent 58%),
    var(--ivory-100);
}
.about-grid { display: grid; gap: 3rem; align-items: center; justify-items: center; }

/* Centered single-column about section (media column removed) */
.about-text { max-width: 52rem; margin-inline: auto; text-align: center; }
.about-text .eyebrow--rule::after { content: ""; width: 2rem; height: 1px; background: var(--gold-500); }
.about-lede, .about-body { margin-inline: auto; }
.about-points { justify-content: center; }
.about-cards { max-width: 46rem; margin-inline: auto; }
.about-actions { justify-content: center; }

.eyebrow--rule { display: inline-flex; align-items: center; gap: 0.75rem; }
.eyebrow--rule::before { content: ""; width: 2rem; height: 1px; background: var(--gold-500); }

.about-title { margin-top: 1.15rem; font-size: clamp(2.15rem, 4.4vw, 3.4rem); line-height: 1.05; }
.about-title em { font-style: italic; color: var(--emerald-600); }

.about-lede { margin-top: 1.5rem; max-width: 40rem; font-size: 1.0625rem; line-height: 1.75; color: var(--charcoal-700); }
.about-body { margin-top: 1rem; max-width: 40rem; font-size: 0.9375rem; line-height: 1.8; color: var(--charcoal-600); }

.about-points { display: flex; flex-wrap: wrap; gap: 0.65rem 1.75rem; margin-top: 1.75rem; }
.about-points li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--emerald-700);
}
.about-points .icon { width: 1rem; height: 1rem; color: var(--gold-600); stroke-width: 2.4; }

.about-cards { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 600px) { .about-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pillar-card {
  position: relative; overflow: hidden; padding: 1.6rem;
  border: 1px solid var(--ivory-300); border-radius: 1.25rem;
  background: var(--ivory-50); box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s;
}
.pillar-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), rgba(245, 184, 0, 0.2));
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.pillar-card:hover { transform: translateY(-4px); border-color: rgba(245, 184, 0, 0.45); box-shadow: var(--shadow-lift); }
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid rgba(245, 184, 0, 0.35); border-radius: 0.85rem;
  background: rgba(245, 184, 0, 0.14); color: var(--gold-600);
}
.pillar-icon .icon { width: 1.15rem; height: 1.15rem; }

.pillar-card h3 { margin-top: 0.9rem; font-size: 1.3rem; line-height: 1.2; }
.pillar-card p { margin-top: 0.5rem; font-size: 0.8125rem; line-height: 1.7; color: var(--charcoal-600); }

.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

/* About media (right) */
.about-media { position: relative; }
.about-photo { position: relative; margin: 0; overflow: hidden; border-radius: 1.75rem; box-shadow: var(--shadow-lift); }
.about-photo::after {
  content: ""; position: absolute; inset: auto 0 0; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(5, 38, 20, 0.35));
  pointer-events: none;
}
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-photo:hover img { transform: scale(1.04); }

.photo-caption {
  position: absolute; z-index: 2; left: 1rem; right: 1rem; bottom: 1rem;
  padding: 0.9rem 1.15rem; border-radius: 0.9rem;
  background: rgba(255, 253, 248, 0.94); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}
.photo-caption__eyebrow {
  display: block; font-size: 0.5625rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-600);
}
.photo-caption strong {
  display: block; margin-top: 0.2rem;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 500;
  line-height: 1.2; color: var(--charcoal-900);
}

.photo-badge {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-top: 1rem; padding: 1rem 1.15rem;
  border: 1px solid var(--ivory-300); border-radius: 1rem;
  background: var(--ivory-50); box-shadow: var(--shadow-lift);
}
.photo-badge > .icon {
  width: 1.15rem; height: 1.15rem; padding: 0.32rem; box-sizing: content-box;
  border-radius: 50%; background: var(--emerald-50); color: var(--emerald-600);
}
.photo-badge strong {
  display: block; font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--charcoal-800);
}
.photo-badge span { display: block; margin-top: 0.25rem; font-size: 0.75rem; line-height: 1.55; color: var(--charcoal-600); }

@media (min-width: 640px) {
  .photo-badge { position: absolute; z-index: 3; left: -1.5rem; bottom: -1.75rem; max-width: 19rem; margin-top: 0; }
}
@media (min-width: 1024px) {
  .about-photo img { aspect-ratio: 5 / 6; }
  .about-media { padding-bottom: 1.75rem; }
}

/* ==========================================================================
   HERO REDESIGN: paste at the very end of style.css
   ========================================================================== */

/* Compact hero, so the stats bar is always in view */
.hero {
  min-height: min(100svh, 46rem);
}

/* Brighter photo, fruit bunches stay visible bottom-right */
.hero-media {
  object-position: 65% 55%;
  filter: brightness(1.22) saturate(1.2) contrast(1.06);
}

/* Dark only behind the text, clear on the right */
.hero-scrim {
  background:
    linear-gradient(90deg, rgba(5, 38, 20, 0.88) 0%, rgba(5, 38, 20, 0.55) 32%, rgba(5, 38, 20, 0) 62%),
    linear-gradient(180deg, rgba(5, 38, 20, 0.25) 0%, rgba(5, 38, 20, 0) 30%, rgba(5, 38, 20, 0.35) 100%);
}

.hero-inner {
  gap: 1.25rem;
  max-width: 40rem;
  padding-block: 6.5rem 3rem;
}

/* Badge with leaf icon */
.hero-badge {
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  background: rgba(5, 38, 20, 0.55);
}

.hero-badge .icon {
  width: 14px;
  height: 14px;
  color: var(--gold-400);
}

/* Heading */
.hero-title {
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  line-height: 1.08;
}

.hero-title .line--small {
  margin-top: 0.9rem;
}

.hero-title .line--small > span {
  font-size: clamp(0.75rem, 1.25vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--gold-200);
}

.hero-inner > .hairline {
  max-width: 90px;
}

/* Two-line serif subheading */
.hero-sub {
  max-width: 26rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ivory-50);
}

/* Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.5rem;
}

.hero-actions .btn {
  padding: 0.85rem 1.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
}

.hero-actions .btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.hero-actions .btn:hover .icon {
  transform: translateX(4px);
}

/* Stats bar: full-width strip, content aligned with the page container */
.hero-bar {
  position: relative;
  width: 100%;
  border-top: 1px solid rgba(251, 203, 46, 0.45);
  background: linear-gradient(180deg, rgba(7, 56, 29, 0.92), rgba(5, 38, 20, 0.97));
  backdrop-filter: blur(14px);
  opacity: 0;
  transform: translateY(28px);
  animation: hero-rise 1s var(--ease) 1.3s forwards;
}

/* reset the old stats-list styling now that the wrapper does the work */
.hero-bar .hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  box-shadow: none;
  opacity: 1;
  transform: none;
  animation: none;
}

.hero-bar .hero-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  padding: 1rem 0.75rem;
  text-align: left;
  border: 0;
  border-right: 1px solid rgba(251, 203, 46, 0.22);
  border-bottom: 1px solid rgba(251, 203, 46, 0.22);
}

.hero-bar .hero-stat:nth-child(2n) {
  border-right: 0;
}

.hero-bar .hero-stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.hero-bar .stat-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--gold-400);
}

.hero-bar .stat-icon .icon {
  width: 2rem;
  height: 2rem;
  stroke-width: 1.3;
}

.hero-bar .stat-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-bar .stat-num {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ivory-50);
}

.hero-bar .stat-label {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.75);
}

@media (min-width: 900px) {
  .hero-bar .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-bar .hero-stat {
    padding: 1.4rem 1.5rem 1.4rem 2.25rem;
    border-bottom: 0;
    border-right: 1px solid rgba(251, 203, 46, 0.22);
  }

  .hero-bar .hero-stat:nth-child(2n) {
    border-right: 1px solid rgba(251, 203, 46, 0.22);
  }

  .hero-bar .hero-stat:first-child {
    padding-left: 0;
  }

  .hero-bar .hero-stat:last-child {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bar {
    opacity: 1;
    transform: none;
  }
}

/* Hero image: slow, continuous zoom-in */
.hero-media {
  transform: scale(1);
  transform-origin: 70% 60%; /* zooms toward the fruit and sunset */
  will-change: transform;
  animation:
    hero-fade 1.6s var(--ease) 0.1s forwards,
    hero-zoom-in 22s ease-in-out 0.1s forwards;
}

@keyframes hero-zoom-in {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media {
    animation: hero-fade 0.01s forwards;
    transform: none;
  }
}

/* ==========================================================================
   ABOUT REDESIGN: paste at the very end of style.css
   ========================================================================== */

.about {
  position: relative;
  overflow: hidden;
}

.about .container {
  position: relative;
  z-index: 1;
}

/* Heading: same Playfair font as the hero, second line on its own row */
.about-title {
  margin-top: 1.1rem;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--charcoal-900);
}

.about-title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--emerald-600);
}

.about-lede {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal-700);
}

.about-points .icon {
  color: var(--emerald-700);
}

/* Mission / Vision: round icon on the left, text on the right */
.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.1rem;
  background: rgba(255, 253, 248, 0.9);
}

.pillar-card::before {
  display: none;
}

.pillar-icon {
  flex-shrink: 0;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid rgba(11, 93, 46, 0.25);
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-700);
}

.pillar-icon .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.pillar-card h3 {
  margin-top: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.pillar-card p {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.6;
}

/* Buttons */
.about-actions .btn .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.4s var(--ease);
}

.about-actions .btn:hover .icon {
  transform: translateX(4px);
}

/* Photo + caption card with round arrow button */
.about-media {
  isolation: isolate;
}

.about-photo::after {
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(5, 38, 20, 0.22));
}

.photo-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 1rem 1.1rem 1rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 253, 248, 0.96);
}

.photo-caption__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.photo-caption__eyebrow::before {
  content: "";
  width: 1.1rem;
  height: 1px;
  background: var(--gold-500);
}

.photo-caption__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--emerald-700);
  color: var(--ivory-50);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}

.photo-caption__go:hover {
  background: var(--emerald-900);
  transform: translateX(3px);
}

.photo-caption__go .icon {
  width: 1.1rem;
  height: 1.1rem;
}



/* Restore original fonts in About */
.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: normal;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.2;
}

/* Intro paragraph: same sans as the body text, like the inspiration */
.about-lede {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--charcoal-700);
}

/* Decorative leaves (pointed, with midrib and veins) */
.about-leaf {
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  display: none;
}

/* Large pale fronds in the bottom-left corner of the section */
.about-leaf--left {
  background-image: url("/cabax-site/leaf.jpg ");
}

/* Two greener leaves peeking out behind the photo */
.about-leaf--media {
  background-image: url("/cabax-site/leaf.jpg");
}

@media (min-width: 1024px) {
  .about-leaf--left {
    display: block;
    left: -7rem;
    bottom: -4rem;
    width: 18rem;
    height: 23rem;
  }

  .about-leaf--media {
    display: block;
    z-index: -1;
    left: -3rem;
    top: 42%;
    width: 8rem;
    height: 11rem;
  }
}

/* Leaf images */
.about-leaf--left,
.about-leaf--media {
  background-repeat: no-repeat;
  background-size: contain;
}

/* Large faded leaf in the bottom-left corner of the section */
.about-leaf--left {
  background-image: url("/cabax-site/palm.png");   /* or images/leaf-left.png */
  background-position: left bottom;
  opacity: 0.35;
  transform: rotate(10deg);
}

/* Leaf peeking out behind the photo */
.about-leaf--media {
  background-image: url("/cabax-site/palm.png");   /* or images/leaf-media.png */
  background-position: center;
  opacity: 0.5;
  transform: scaleX(-1) rotate(-10deg);   
}

/* ==========================================================================
   Editorial Product Showcase (Grounded & Clean)
   ========================================================================== */
.products-section {
  background:
    radial-gradient(40rem 30rem at 10% 20%, rgba(20, 72, 46, 0.25), transparent 70%),
    linear-gradient(180deg, #051a11 0%, #03100a 100%);
  color: var(--ivory-100);
  padding-block: var(--space-3xl, 6rem);
}

.products-head {
  display: grid;
  gap: 2rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
  .products-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.products-head .section-title {
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.products-head .section-title em {
  display: block;
  color: #f1cd68;
  font-style: italic;
  font-weight: 400;
}

.products-head .section-lead {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* 4-Card Responsive Grid */
.editorial-products-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .editorial-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .editorial-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

/* Editorial Product Card */
.editorial-product-card {
  display: flex;
  flex-direction: column;
  background: rgba(8, 34, 22, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.editorial-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 205, 104, 0.35);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.65);
}

.editorial-product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #04140d;
  display: block;
}

.editorial-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.editorial-product-card:hover .editorial-product-card__media img {
  transform: scale(1.05);
}

.editorial-product-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, rgba(8, 34, 22, 0.95));
  pointer-events: none;
}

.editorial-product-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  background: rgba(5, 20, 13, 0.88);
  color: #d1fae5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.editorial-product-card__num {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  background: rgba(5, 20, 13, 0.88);
  color: #f1cd68;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

/* Card Body */
.editorial-product-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem 1.4rem 1.6rem;
  gap: 0.85rem;
}

.editorial-product-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.editorial-product-card__title a {
  color: #f8fafc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.editorial-product-card__title a:hover {
  color: #f1cd68;
}

.editorial-product-card__summary {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
  flex-grow: 1;
}

.editorial-product-card__meta {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.editorial-product-card__meta .meta-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
}

.editorial-product-card__meta .meta-value {
  font-size: 0.78rem;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.4;
}

.editorial-product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f1cd68;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.editorial-product-card__link .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
  transition: transform 0.2s ease;
}

.editorial-product-card__link:hover {
  color: #fae29c;
}

.editorial-product-card__link:hover .icon {
  transform: translateX(4px);
}

/* Bottom Strip */
.products-strip {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .products-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.products-strip__info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.products-strip__info strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f8fafc;
}

.products-strip__info span {
  font-size: 0.875rem;
  color: #94a3b8;
}

.products-strip__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #f1cd68;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.products-strip__action:hover {
  color: #fae29c;
}

.products-strip__action .icon {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Palm Oil Production & Processing Section
   ========================================================================== */
.process-section {
  position: relative;
  overflow: hidden;
  background: #fafbf8;
  color: #0a2a1a;
  padding-block: clamp(5rem, 8vw, 7.5rem);
}

/* Corner Botanical Palm Leaves */
.process-leaf {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
}

.process-leaf--tr {
  top: 0;
  right: 0;
  width: clamp(180px, 22vw, 390px);
  aspect-ratio: 392 / 450;
  background-image: url("images/leaf_tr.png");
  background-position: top right;
}

.process-leaf--bl {
  bottom: 0;
  left: 0;
  width: clamp(160px, 20vw, 360px);
  aspect-ratio: 340 / 226;
  background-image: url("images/leaf_bl.png");
  background-position: bottom left;
}

/* Bottom Landscape Wave */
.process-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: clamp(60px, 10vw, 120px);
  background: linear-gradient(180deg, transparent 0%, rgba(226, 238, 229, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Header */
.process-head {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
  position: relative;
  z-index: 2;
}

.process-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.process-eyebrow__line {
  width: clamp(30px, 6vw, 70px);
  height: 1.5px;
  background: #c59b27;
}

.process-eyebrow__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c59b27;
}

.process-eyebrow .eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0b5d2e;
}

.process-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: #0a2a1a;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 0.85rem;
}

.process-title em {
  font-style: italic;
  color: #c59b27;
  font-weight: 400;
}

.process-lead {
  font-size: 1.05rem;
  line-height: 1.68;
  color: #4b5563;
  margin-top: 1.25rem;
}

/* 4-Step Responsive Grid */
.process-flow {
  display: grid;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
  }
}

@media (min-width: 1024px) {
  .process-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
  }
}

/* Step Column */
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Connecting Arrow Between Steps (Desktop) */
.process-arrow {
  display: none;
}

@media (min-width: 1024px) {
  .process-arrow {
    display: block;
    position: absolute;
    top: 68px;
    right: -24px;
    width: 44px;
    color: #0b5d2e;
    z-index: 3;
    pointer-events: none;
  }
  .process-arrow svg {
    width: 100%;
    height: auto;
  }
}

/* Glowing Step Medallion */
.process-medallion {
  position: relative;
  width: 136px;
  height: 136px;
  margin-bottom: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, #e2f2e7 0%, #edf7f1 65%, #e5f3eb 100%);
  border: 1.5px solid #c3e4ce;
  box-shadow:
    0 10px 24px -6px rgba(11, 93, 46, 0.12),
    0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .process-medallion {
  transform: translateY(-4px);
  box-shadow:
    0 16px 32px -8px rgba(11, 93, 46, 0.2),
    0 4px 10px rgba(0, 0, 0, 0.05);
}

.process-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1.2px solid #0b5d2e;
  color: #0b5d2e;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
}

.process-circle {
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-node__icon {
  width: 58px;
  height: 58px;
  color: #0b5d2e;
  transition: transform 0.35s ease;
}

.process-step:hover .process-node__icon {
  transform: scale(1.08);
}

/* Step Content */
.process-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.process-step__title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #0a2a1a;
  margin: 0;
  line-height: 1.2;
}

.process-step__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #4b5563;
  margin: 0;
  max-width: 18rem;
}

.process-tag {
  margin-top: 0.45rem;
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #f0f7f2;
  border: 1px solid #d1e8d8;
  color: #0b5d2e;
}

/* Bottom CTA Pill */
.process-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(3rem, 5vw, 4.5rem);
  position: relative;
  z-index: 2;
}

.btn--process {
  background: #0b4422;
  border: 1.5px solid #18733c;
  color: #ffffff;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 8px 20px -4px rgba(10, 42, 26, 0.3);
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn--process:hover {
  background: #0e562c;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(10, 42, 26, 0.4);
  color: #ffffff;
}

.btn--process .btn-arrow {
  color: #f1cd68;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.btn--process:hover .btn-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Quality Assurance & Food Safety (Editorial Section)
   ========================================================================== */
.qa-section--editorial {
  background:
    radial-gradient(40rem 30rem at 10% 20%, rgba(20, 72, 46, 0.4), transparent 70%),
    linear-gradient(180deg, #0a200b 0%, #031408 100%);
  color: var(--ivory-100, #f8fafc);
  padding-block: var(--space-3xl, 6rem);
}

.qa-editorial-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .qa-editorial-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.eyebrow--mint {
  color: #4ade80 !important;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.qa-editorial-title {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.qa-editorial-title em {
  font-style: normal;
  color: #86efac;
}

.qa-editorial-sub {
  font-family: var(--font-display, 'Playfair Display', Georgia, serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #f1f5f9;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.qa-editorial-sub em {
  font-style: italic;
  color: #86efac;
}

.qa-editorial-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.68;
  color: #cbd5e1;
  max-width: 44rem;
}

.qa-editorial-body p {
  margin: 0;
}

/* 4 Circular Outline Pillars */
.qa-editorial-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .qa-editorial-pillars {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.qa-editorial-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.qa-editorial-pillar__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.6px solid #86efac;
  background: rgba(12, 45, 26, 0.6);
  color: #86efac;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.qa-editorial-pillar:hover .qa-editorial-pillar__icon {
  transform: translateY(-3px) scale(1.05);
  border-color: #bbf7d0;
  color: #bbf7d0;
}

.qa-editorial-pillar__icon svg {
  width: 26px;
  height: 26px;
}

.qa-editorial-pillar__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.35;
}

/* Pill CTA Button */
.qa-editorial-cta {
  margin-top: 2.25rem;
}

.btn--qa-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1.85rem;
  border-radius: 999px;
  background: rgba(8, 34, 22, 0.85);
  border: 1.4px solid #86efac;
  color: #f8fafc;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.btn--qa-pill:hover {
  background: #0f3d23;
  border-color: #bbf7d0;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.btn--qa-pill .btn-arrow {
  color: #86efac;
  transition: transform 0.2s ease;
}

.btn--qa-pill:hover .btn-arrow {
  transform: translateX(4px);
}

/* Right Visual */
.qa-editorial-visual {
  position: relative;
}

.qa-editorial-photo-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #04170e;
}

.qa-editorial-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.qa-editorial-photo-wrapper:hover .qa-editorial-photo {
  transform: scale(1.025);
}


/* ==========================================================================
   QUALITY SECTION: full-width background image
   ========================================================================== */
.qa-section--editorial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #05290e; /* matches the green of your artwork */
}

.qa-section--editorial > .container {
  width: 100%;
}

/* The artwork. It keeps its own proportions so the circle never gets cropped */
.qa-bg {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 50%;
  aspect-ratio: 1942 / 809;
  transform: translateY(-50%);
  background: url("scientisthero.webp") center / 100% 100% no-repeat;
  /* soft fade on the top and bottom edges so it blends into the section colour */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 94%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 94%, transparent 100%);
}

/* Text stays in the dark area on the left, clear of the leaves */
.qa-editorial-grid {
  grid-template-columns: minmax(0, 34rem);
}

@media (min-width: 1024px) {
  /* on very wide screens, make the section as tall as the artwork */
  .qa-section--editorial {
    min-height: calc(100vw * 0.4166);
  }
}

@media (min-width: 1024px) and (max-width: 1200px) {
  .qa-editorial-grid {
    grid-template-columns: minmax(0, 30rem);
  }
}

/* Phones and tablets: image becomes a banner above the text */
@media (max-width: 1023px) {
  .qa-section--editorial {
    display: block;
    padding-top: 0;
  }

  .qa-bg {
    position: relative;
    top: auto;
    width: 100%;
    margin-bottom: 2rem;
    aspect-ratio: 4 / 3;
    transform: none;
    background-size: cover;
    background-position: 84% center;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  }
}
/* ==========================================================================
   SUSTAINABILITY SECTION: white background version
   ========================================================================== */
.sustain {
  background: #ffffff;
  color: var(--charcoal-800, #222);
}

/* remove the faint dark grid overlay */
.sustain::before {
  display: none;
}

/* Heading + text */
.sustain .section-title {
  color: var(--charcoal-900, #1a1a1a);
}

.sustain .section-title em {
  color: #0b5d2e;
}

.sustain .eyebrow--gold {
  color: #0b5d2e;
}

.sustain-text p {
  color: #4b5563;
}

.sustain-text .sustain-lead {
  color: #1f2937;
}

/* Cards */
.sustain-card {
  background: #ffffff;
  border: 1px solid #dcebdc;
  backdrop-filter: none;
  box-shadow: 0 10px 30px -14px rgba(11, 93, 46, 0.22);
}

.sustain-card:hover {
  border-color: #9fcfae;
  box-shadow: 0 16px 34px -14px rgba(11, 93, 46, 0.3);
}

.sustain-card--gold {
  border-color: #efe2b0;
}

.sustain-card--gold:hover {
  border-color: #e0c968;
}

.sustain-tag {
  background: #e6f4ea;
  color: #0b6b36;
  border: 1px solid #bfe0c8;
}

.sustain-card--gold .sustain-tag {
  background: #fbf3d6;
  color: #8a6a05;
  border-color: #ecdca0;
}

.sustain-icon {
  background: #e6f4ea;
  border: 1px solid #bfe0c8;
  color: #0b6b36;
}

.sustain-card--gold .sustain-icon {
  background: #fbf3d6;
  border-color: #ecdca0;
  color: #8a6a05;
}

.sustain-card-body strong {
  color: #14301f;
}

.sustain-card-body small {
  color: #5f6b64;
}

/* Diagram: labels and nodes */
.cycle-node .node-title {
  color: #14301f;
}

.cycle-node .node-detail {
  color: #5f6b64;
}

.cycle-node--green .node-icon {
  box-shadow: 0 10px 22px -6px rgba(11, 93, 46, 0.4);
}

.cycle-node--gold .node-icon {
  box-shadow: 0 10px 22px -6px rgba(138, 106, 5, 0.4);
}

.cycle-node--green:hover .node-icon {
  box-shadow: 0 14px 26px -6px rgba(11, 93, 46, 0.55);
}

.cycle-node--gold:hover .node-icon {
  box-shadow: 0 14px 26px -6px rgba(138, 106, 5, 0.55);
}

.cycle-node--green .node-step {
  color: #0b6b36;
  background: #e6f4ea;
  border-color: #bfe0c8;
}

.cycle-node--gold .node-step {
  color: #8a6a05;
  background: #fbf3d6;
  border-color: #ecdca0;
}

/* Diagram: centre medallion */
.core-medallion {
  box-shadow: 0 0 0 6px #ffffff, 0 16px 34px -10px rgba(11, 93, 46, 0.35);
}

.core-badge {
  box-shadow: 0 6px 14px -4px rgba(11, 93, 46, 0.35);
}

/* Diagram: SVG ring (these override the colours set inside the SVG) */
.diagram-ring circle[fill="url(#cycle-glow)"] {
  fill: rgba(11, 93, 46, 0.05);
}

.diagram-ring text {
  fill: #0b6b36;
}

.diagram-ring text:nth-of-type(2),
.diagram-ring text:nth-of-type(3) {
  fill: #8a6a05;
}

.diagram-particles {
  filter: drop-shadow(0 0 4px rgba(245, 184, 0, 0.6));
}
/* ==========================================================================
   UNIFIED HEADINGS: one style for every section
   ========================================================================== */
:root {
  /* change this one line to switch the font on the whole site */
  --heading-font: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* Section headings (light backgrounds) */
.section :is(.section-title, .about-title, .process-title, .qa-editorial-title) {
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--charcoal-900, #1a1a1a);
  text-shadow: none;
}

.section :is(.section-title, .about-title, .process-title, .qa-editorial-title) em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: #0b5d2e;
}

/* Section headings (dark backgrounds) */
.products-section :is(.section-title, .qa-editorial-title),
.qa-section :is(.section-title, .qa-editorial-title) {
  color: #faf7f0;
}

.products-section :is(.section-title, .qa-editorial-title) em,
.qa-section :is(.section-title, .qa-editorial-title) em {
  color: #f1cd68;
}

/* Small labels above the headings */
.section .eyebrow,
.section .eyebrow--gold {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0b5d2e;
}

.products-section .eyebrow,
.qa-section .eyebrow,
.section--emerald .eyebrow {
  color: #f1cd68 !important;
}

/* ==========================================================================
   FARMERS SECTION: dark green background
   ========================================================================== */
#farmers {
  background:
    radial-gradient(40rem 30rem at 10% 20%, rgba(20, 72, 46, 0.25), transparent 70%),
    linear-gradient(180deg, #051a11 0%, #03100a 100%);
  color: var(--ivory-100);
}

/* Heading and label: same dark-section style as Products and Quality */
#farmers .eyebrow {
  color: #f1cd68;
}

#farmers .section-title {
  color: #faf7f0;
}

#farmers .section-title em {
  color: #f1cd68;
}

#farmers .section-lead {
  color: rgba(250, 247, 240, 0.82);
}

/* Benefit list */
#farmers .benefit {
  border-left-color: rgba(241, 205, 104, 0.5);
}

#farmers .benefit:hover {
  border-left-color: #f1cd68;
}

#farmers .benefit h3 {
  color: #faf7f0;
}

#farmers .benefit p {
  color: rgba(250, 247, 240, 0.72);
}

#farmers .benefit .icon-ring {
  background: rgba(241, 205, 104, 0.12);
  color: #f1cd68;
}

#farmers .benefit:hover .icon-ring {
  background: #f1cd68;
  color: #052614;
}

/* Photo: darker shadow and a thin gold edge so it sits well on dark green */
#farmers .media-tall img {
  border: 1px solid rgba(241, 205, 104, 0.3);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
:root {
  interpolate-size: allow-keywords; /* lets the answer height animate in modern browsers */
}

.faq {
  background: #ffffff;
}

.faq-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 4.5rem;
  }

  .faq-intro {
    position: sticky;
    top: 7rem;
  }
}

.faq-intro .section-lead {
  margin-top: 0.25rem;
}

/* "Still have a question?" card */
.faq-help {
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: 1.1rem;
  background: linear-gradient(160deg, #07381d, #052614);
  color: #faf7f0;
  box-shadow: 0 24px 50px -24px rgba(5, 38, 20, 0.7);
}

.faq-help h3 {
  font-family: var(--heading-font, "Playfair Display", Georgia, serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: #faf7f0;
}

.faq-help p {
  margin: 0.5rem 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(250, 247, 240, 0.78);
}

.faq-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  border: 1px solid #e3e9e1;
  border-radius: 1rem;
  background: #ffffff;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.faq-item:hover {
  border-color: #b9d6c1;
}

.faq-item[open] {
  border-color: #9fcfae;
  background: #f8fbf7;
  box-shadow: 0 16px 34px -18px rgba(11, 93, 46, 0.3);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 2px solid #0b5d2e;
  outline-offset: 3px;
  border-radius: 1rem;
}

.faq-num {
  flex-shrink: 0;
  width: 1.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #b8860b;
}

.faq-q {
  flex: 1;
  font-family: var(--heading-font, "Playfair Display", Georgia, serif);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  line-height: 1.35;
  color: #14301f;
  transition: color 0.3s;
}

.faq-item:hover .faq-q,
.faq-item[open] .faq-q {
  color: #0b5d2e;
}

/* plus / minus toggle */
.faq-toggle {
  position: relative;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid #bfe0c8;
  border-radius: 50%;
  background: #ffffff;
  transition: background 0.3s, border-color 0.3s;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 1.5px;
  background: #0b5d2e;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease, ease), background 0.3s;
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle {
  border-color: #0b5d2e;
  background: #0b5d2e;
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
  background: #ffffff;
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* answer */
.faq-a {
  padding: 0 1.35rem 1.4rem 1.35rem;
}

@media (min-width: 640px) {
  .faq-a {
    padding-left: 3.95rem; /* lines up with the question text */
  }
}

.faq-a p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #4b5563;
}

.faq-item[open] .faq-a {
  animation: faq-in 0.45s var(--ease, ease);
}

@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* smooth height animation where the browser supports it */
@supports selector(::details-content) {
  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.4s var(--ease, ease), content-visibility 0.4s allow-discrete;
  }

  .faq-item[open]::details-content {
    block-size: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-a {
    animation: none;
  }

  .faq-item::details-content {
    transition: none;
  }
}

/* ==========================================================================
   TESTIMONIALS: dark green, animated
   ========================================================================== */
.testimonials {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(160deg, #06381b 0%, #04200f 55%, #031a0b 100%);
  color: #faf7f0;
}

/* heading and label: same dark-section style as the rest of the site */
.testimonials .eyebrow {
  color: #f1cd68;
}

.testimonials .section-title {
  color: #faf7f0;
}

.testimonials .section-title em {
  color: #f1cd68;
}

/* drifting glow orbs */
.tm-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.tm-glow--a {
  top: -8rem;
  left: -8rem;
  width: 28rem;
  height: 28rem;
  background: rgba(245, 184, 0, 0.14);
  animation: tm-drift 14s ease-in-out infinite alternate;
}

.tm-glow--b {
  right: -10rem;
  bottom: -10rem;
  width: 32rem;
  height: 32rem;
  background: rgba(124, 194, 25, 0.16);
  animation: tm-drift 18s ease-in-out infinite alternate-reverse;
}

@keyframes tm-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}

/* the card */
.tm-stage {
  --tm-duration: 7s;
  position: relative;
  max-width: 52rem;
  margin: 4rem auto 0;
  padding: 4rem 1.5rem 2.25rem;
  text-align: center;
  border: 1px solid rgba(241, 205, 104, 0.25);
  border-radius: 1.75rem;
  background: rgba(250, 247, 240, 0.04);
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .tm-stage {
    padding: 4.5rem 4rem 2.5rem;
  }
}

/* slowly rotating dashed ring behind the card */
.tm-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 135%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px dashed rgba(241, 205, 104, 0.16);
  border-radius: 50%;
  pointer-events: none;
  animation: tm-spin 80s linear infinite;
}

@keyframes tm-spin {
  to { rotate: 360deg; }
}

/* floating gold quote badge */
.tm-mark {
  position: absolute;
  top: -1.75rem;
  left: 50%;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-left: -1.75rem;
  padding-top: 0.7rem;
  border-radius: 50%;
  background: #f1cd68;
  color: #052614;
  font-family: var(--heading-font, "Playfair Display", Georgia, serif);
  font-size: 2.8rem;
  line-height: 1;
  box-shadow: 0 10px 30px -6px rgba(241, 205, 104, 0.6);
  animation: tm-bob 4s ease-in-out infinite;
}

@keyframes tm-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* slides sit on top of each other so the card never changes height */
.tm-slides {
  display: grid;
}

.tm-slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(48px);
  transition:
    opacity 0.7s var(--ease, ease),
    transform 0.9s var(--ease, ease),
    visibility 0s linear 0.9s;
}

.tm-slide.is-before {
  transform: translateX(-48px);
}

.tm-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

/* quote and author fade up one after the other */
.tm-slide blockquote,
.tm-slide figcaption {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease, ease), transform 0.7s var(--ease, ease);
}

.tm-slide.is-active blockquote {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.tm-slide.is-active figcaption {
  opacity: 1;
  transform: none;
  transition-delay: 0.4s;
}

.tm-slide blockquote {
  margin: 0;
}

.tm-slide blockquote p {
  font-family: var(--heading-font, "Playfair Display", Georgia, serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: #faf7f0;
}

.tm-slide figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  text-align: left;
}

.tm-avatar {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid #f1cd68;
  border-radius: 50%;
  background: linear-gradient(145deg, #0b5d2e, #07381d);
  color: #f1cd68;
  font-family: var(--heading-font, "Playfair Display", Georgia, serif);
  font-size: 1.3rem;
  animation: tm-pulse 2.8s ease-out infinite;
}

@keyframes tm-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(241, 205, 104, 0.45); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(241, 205, 104, 0); }
}

.tm-who strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #faf7f0;
}

.tm-who small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f1cd68;
}

/* controls */
.tm-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(241, 205, 104, 0.5);
  border-radius: 50%;
  background: transparent;
  color: #f1cd68;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease, ease);
}

.tm-btn:hover {
  background: #f1cd68;
  color: #052614;
  transform: scale(1.08);
}

.tm-btn .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.tm-btn:focus-visible,
.tm-dot:focus-visible {
  outline: 2px solid #f1cd68;
  outline-offset: 3px;
}

.tm-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* each dot is a progress bar that fills during autoplay */
.tm-dot {
  position: relative;
  width: 2rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.tm-dot::before,
.tm-dot-fill {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  border-radius: 99px;
  transform: translateY(-50%);
}

.tm-dot::before {
  right: 0;
  background: rgba(250, 247, 240, 0.22);
}

.tm-dot-fill {
  width: 0;
  background: #f1cd68;
}

.tm-dot.is-active .tm-dot-fill {
  animation: tm-fill var(--tm-duration, 7s) linear forwards;
}

@keyframes tm-fill {
  to { width: 100%; }
}

/* pause autoplay on hover, keyboard focus, or when scrolled out of view */
.tm-stage:hover .tm-dot-fill,
.tm-stage:has(:focus-visible) .tm-dot-fill,
.tm-stage.is-offscreen .tm-dot-fill {
  animation-play-state: paused;
}

.tm-count {
  margin-top: 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: rgba(250, 247, 240, 0.6);
}

.tm-count span {
  color: #f1cd68;
}

/* reduced motion: no autoplay, no floating */
@media (prefers-reduced-motion: reduce) {
  .tm-glow,
  .tm-stage::before,
  .tm-mark,
  .tm-avatar,
  .tm-dot.is-active .tm-dot-fill {
    animation: none;
  }

  .tm-dot.is-active .tm-dot-fill {
    width: 100%;
  }

  .tm-slide,
  .tm-slide blockquote,
  .tm-slide figcaption {
    transition-duration: 0.01s;
  }
}

/* ==========================================================================
   PRELOADER: Logo -> 2.0s Pause -> Yellow Line Appears -> Split Left & Right
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: preloader-failsafe 0.4s ease 10s forwards;
}

.preloader.is-splitting {
  pointer-events: none;
}

/* 50.5% width prevents any hairline center gap during transition */
.preloader__curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  background-image: linear-gradient(160deg, var(--emerald-600, #0b5d2e), var(--emerald-800, #07381d));
  background-size: 200% 100%;
  transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.preloader__curtain--left {
  left: 0;
  background-position: left top;
  transform: translateX(0);
}

.preloader__curtain--right {
  right: 0;
  background-position: right top;
  transform: translateX(0);
}

/* Curtains split in half: left goes left, right goes right */
.preloader.is-splitting .preloader__curtain--left {
  transform: translateX(-100.5%);
}

.preloader.is-splitting .preloader__curtain--right {
  transform: translateX(100.5%);
}

/* Logo container */
.preloader__logo {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--ivory-50, #fffdf8);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  animation: preloader-logo-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.preloader.is-splitting .preloader__logo {
  animation: none; /* allow the split state to override the entrance animation */
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
}

@keyframes preloader-logo-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.preloader__logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  animation: preloader-pulse 2s ease-in-out infinite;
}

.preloader__logo strong {
  font-family: var(--heading-font, "Playfair Display", Georgia, serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1;
}

.preloader__logo small {
  font-family: var(--font-sans, "Jost", sans-serif);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-200, #ffe8a3);
  opacity: 0.9;
}

@keyframes preloader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.05); opacity: 0.88; }
}

/* Yellow Line: hidden at first (scaleX: 0) */
.preloader__line,
.preloader__logo::after {
  content: "";
  display: block;
  width: 130px;
  height: 3px;
  margin-top: 0.6rem;
  border-radius: 99px;
  background: linear-gradient(90deg, #f5b800, #ffd766 50%, #f5b800);
  box-shadow: 0 0 12px rgba(251, 203, 46, 0.65);
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.4s ease,
              box-shadow 0.8s ease;
}

/* Appears exactly after 2 seconds when .has-line is added */
.preloader.has-line .preloader__line,
.preloader.has-line .preloader__logo::after {
  transform: scaleX(1);
  opacity: 1;
  box-shadow: 0 0 22px rgba(251, 203, 46, 0.85);
}

@keyframes preloader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}


@media (prefers-reduced-motion: reduce) {
  .preloader__logo, .preloader__logo img { animation: none; }
  .preloader__logo { opacity: 1; transform: none; }
  .preloader__curtain, .preloader__logo, .preloader__logo::after {
    transition-duration: 0.01ms;
  }
}

/* About section: headline, content, image, leaves and interactions */
.about .pillar-card p { font-size: 0.875rem; line-height: 1.65; }

/* Each headline line rises from a mask; the green line enters last. */
.about-title.reveal { opacity: 1; transform: none; }
.about-title__mask { display: block; overflow: hidden; padding-block: 0.08em; margin-block: -0.08em; }
.about-title .about-title__line {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-title .about-title__mask:nth-child(2) .about-title__line { transition-delay: 0.1s; }
.about-title.is-visible .about-title__line { transform: translateY(0); }

/* The existing .reveal observer handles the paragraph, list and card stagger. */
.about-points .icon path { stroke-dasharray: 24; stroke-dashoffset: 24; }
.about-points.is-visible .icon path { animation: about-check-draw 0.55s ease forwards; }
.about-points.is-visible li:nth-child(2) .icon path { animation-delay: 0.12s; }
.about-points.is-visible li:nth-child(3) .icon path { animation-delay: 0.24s; }
@keyframes about-check-draw { to { stroke-dashoffset: 0; } }

/* Clip the picture in from below; zoom its inner layer as it arrives. */
.about-photo {
  clip-path: inset(0 0 100% 0 round 1.75rem);
  transition: clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-media.is-visible .about-photo { clip-path: inset(0 0 0 0 round 1.75rem); }
.about-photo__viewport {
  overflow: hidden;
  transform: scale(1.1);
  transition: transform 2.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-media.is-visible .about-photo__viewport { transform: scale(1); }
.about-photo img { transform: none; transition: none; }
.about-photo:hover img { transform: none; }

/* Slow swaying uses rotate; the separate transform is reserved for scroll drift. */
@media (prefers-reduced-motion: no-preference) {
  .about-leaf--left, .about-leaf--media {
    transform-origin: center bottom;
    animation: about-frond-sway 7s ease-in-out infinite alternate;
  }
}
@keyframes about-frond-sway { from { rotate: -2deg; } to { rotate: 2deg; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .about-leaf--left {
      animation: about-frond-sway 7s ease-in-out infinite alternate, about-leaf-left linear both;
      animation-timeline: auto, view();
      animation-range: normal, entry 0% exit 100%;
    }
    .about-leaf--media {
      animation: about-frond-sway 8s ease-in-out infinite alternate, about-leaf-media linear both;
      animation-timeline: auto, view();
      animation-range: normal, entry 0% exit 100%;
    }
    .about-media.is-visible .about-photo img {
      animation: about-photo-parallax linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}
@keyframes about-leaf-left {
  from { transform: translateY(10px) rotate(10deg); }
  to { transform: translateY(-10px) rotate(10deg); }
}
@keyframes about-leaf-media {
  from { transform: translateY(8px) scaleX(-1) rotate(-10deg); }
  to { transform: translateY(-8px) scaleX(-1) rotate(-10deg); }
}
@keyframes about-photo-parallax {
  from { transform: scale(1.06) translateY(-1.5%); }
  to { transform: scale(1.06) translateY(1.5%); }
}

/* Card and button interactions */
.about .pillar-icon { transition: transform 0.35s ease, background-color 0.35s ease, color 0.35s ease; }
.about-actions .btn--emerald { position: relative; overflow: hidden; isolation: isolate; }
.about-actions .btn--emerald::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: #17703d; transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.about-actions .btn .icon, .about-actions .link-arrow .icon { transition: transform 0.35s ease; }
.about-actions .link-arrow { position: relative; }
.about-actions .link-arrow::after {
  content: ""; position: absolute; height: 1px; background: currentColor;
  left: 0; right: 0; bottom: -4px; transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
@media (hover: hover) {
  .about .pillar-card.is-visible:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px -20px rgba(5, 38, 20, 0.38);
    border-color: rgba(11, 93, 46, 0.28);
  }
  .about .pillar-card:hover .pillar-icon { transform: scale(1.08); background: #cce9d4; }
  .about-actions .btn--emerald:hover::before { transform: scaleX(1); }
  .about-actions .btn:hover .icon { transform: translateX(4px); }
  .about-actions .link-arrow:hover::after { transform: scaleX(1); }
  .about-actions .link-arrow:hover .icon { transform: translate(3px, -3px); }
}
@media (prefers-reduced-motion: reduce) {
  .about-title .about-title__line { transform: none; transition: none; }
  .about-points .icon path { stroke-dashoffset: 0; animation: none !important; }
  .about-photo { clip-path: none; transition: none; }
  .about-photo__viewport, .about-media.is-visible .about-photo__viewport { transform: none; transition: none; }
  .about .pillar-card.is-visible:hover, .about .pillar-card:hover .pillar-icon,
  .about-actions .btn:hover .icon, .about-actions .link-arrow:hover .icon { transform: none; }
  .about-leaf--left, .about-leaf--media, .about-photo img { animation: none !important; }
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 3px solid #0b5d2e;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px #f5b800;
  pointer-events: none;
}

/* =========================================
   Mission and vision cards
   ========================================= */

.about-cards {
  align-items: stretch;
}

.about .pillar-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  height: 100%;
  padding: 1.45rem;
  background: linear-gradient(
    145deg,
    #fffdf8 0%,
    #f7f9f1 100%
  );
}

.about .pillar-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.about .pillar-head .pillar-icon {
  width: 2.65rem;
  height: 2.65rem;
  flex-shrink: 0;
}

.about .pillar-head h3 {
  margin: 0;
  font-size: 1.18rem;
}

.about .pillar-card p {
  width: 100%;
  margin-top: 0.95rem;
  font-size: 14px;
  line-height: 1.75;
}

/* Card hover */
@media (hover: hover) {
  .about .pillar-card.is-visible:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 93, 46, 0.28);
    box-shadow: 0 18px 34px -20px rgba(5, 38, 20, 0.38);
  }

  .about .pillar-card:hover .pillar-icon {
    transform: scale(1.08);
    background: #cce9d4;
  }
}


/* =========================================
   CEO image, shadow and floating caption
   ========================================= */

.about-figure {
  position: relative;
  margin: 0;
}

.about-photo-frame {
  position: relative;
  isolation: isolate;
  border-radius: 1.75rem;
  box-shadow: 0 24px 45px -24px rgba(5, 38, 20, 0.38);
}

/* Thin offset green outline behind the image */
.about-photo-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12px -12px -12px 12px;
  border: 1.5px solid rgba(11, 93, 46, 0.42);
  border-radius: inherit;
  pointer-events: none;
  transition: transform 0.5s ease, border-color 0.5s ease;
}

/* Remove the old green and yellow border */
.about-figure .about-photo::before {
  content: none;
}

.about-figure .about-photo {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  box-shadow: none;
}

.about-photo__viewport {
  overflow: hidden;
  transition: transform 0.85s ease;
}

.about-photo__viewport img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-media {
  padding-bottom: 3.5rem;
}

/* Floating caption */
.about-figure .photo-caption {
  position: absolute;
  z-index: 3;
  left: -1.25rem;
  right: auto;
  bottom: -2.25rem;
  width: min(19.5rem, 82%);
  border: 1px solid rgba(11, 93, 46, 0.12);
  box-shadow: 0 16px 35px -20px rgba(5, 38, 20, 0.36);
}

/* Image zoom and outline movement */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .about-figure:hover .about-photo-frame::before {
    transform: translate(4px, 4px);
    border-color: rgba(11, 93, 46, 0.62);
  }

  .about-media.is-visible .about-photo-frame:hover .about-photo__viewport {
    transform: scale(1.055);
    transition-duration: 0.85s;
  }
}

/* On phones, put the caption below the image */
@media (max-width: 639px) {
  .about-media {
    padding-bottom: 0.75rem;
  }

  .about-figure .photo-caption {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 1.25rem;
  }

  .about-photo-frame::before {
    inset: 8px -8px -8px 8px;
  }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  .about-photo-frame::before {
    transition: none;
  }

  .about .pillar-card.is-visible:hover,
  .about .pillar-card:hover .pillar-icon {
    transform: none;
  }
}

/* Quality section layout */
.qa-section--editorial {
  display: block;
  min-height: 0;
  padding-block: clamp(4rem, 7vw, 6rem);
  background: #05290e;
}

.qa-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.qa-editorial-content {
  min-width: 0;
}

/* Clearer paragraph text */
.qa-editorial-body {
  max-width: 38rem;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.qa-editorial-body strong {
  color: #d5f8df;
  font-weight: 600;
}

/* Quality icons and labels */
.qa-editorial-pillars {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 2.25rem;
}

.qa-editorial-pillar {
  gap: 0.8rem;
}

.qa-editorial-pillar__title {
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Stagger the entrance */
.qa-pillar--1 { transition-delay: 0.08s; }
.qa-pillar--2 { transition-delay: 0.18s; }
.qa-pillar--3 { transition-delay: 0.28s; }
.qa-pillar--4 { transition-delay: 0.38s; }

.qa-editorial-pillar__icon {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .qa-editorial-pillar:hover .qa-editorial-pillar__icon {
    transform: translateY(-4px);
    border-color: #b9f8c9;
    box-shadow: 0 8px 25px rgba(105, 236, 149, 0.28);
  }
}

/* Scientist image with softly blended edges */
.qa-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1.3;
  overflow: hidden;

  -webkit-mask-image: radial-gradient(
    ellipse 75% 50% at 52% 50%,
    #000 50%,
    transparent 100%
  );

  mask-image: radial-gradient(
    ellipse 75% 50% at 52% 50%,
    #000 50%,
    transparent 100%
  );
}

.qa-art__image {
  position: absolute;
  inset: 0;
  background: url("Botanical.webp") right center / cover no-repeat;
  transform: scale(1.06);
  object-fit: cover;
  transition: transform 2s cubic-bezier(0.22, 1, 0.36, 1);
}

.qa-art.is-visible .qa-art__image {
  transform: scale(1);
}

/* Button fill sweep */
.btn--qa-pill {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn--qa-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #155534;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.btn--qa-pill .btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .btn--qa-pill:hover::before {
    transform: scaleX(1);
  }

  .btn--qa-pill:hover .btn-arrow {
    transform: translateX(5px);
  }
}

/* Tablet and phone layout */
@media (max-width: 1023px) {
  .qa-section--editorial {
    padding-block: 4rem;
  }

  .qa-editorial-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .qa-art {
    grid-row: 1;
    width: min(100%, 38rem);
    justify-self: center;
  }
}

/* Two icons per row on phones */
@media (max-width: 639px) {
  .qa-editorial-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1rem;
  }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
  .qa-art__image,
  .qa-art.is-visible .qa-art__image {
    transform: none;
    transition: none;
  }

  .qa-editorial-pillar:hover .qa-editorial-pillar__icon,
  .btn--qa-pill:hover .btn-arrow {
    transform: none;
  }

  .btn--qa-pill::before {
    transition: none;
  }
}

/* Scientist image fills the right side on desktop */
@media (min-width: 1024px) {
  .qa-section--editorial {
    position: relative;
    overflow: hidden;
  }

  .qa-editorial-grid {
    grid-template-columns: minmax(0, 50%);
  }

  .qa-editorial-content {
    position: relative;
    z-index: 1;
    max-width: 34rem;
  }

  .qa-art {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    aspect-ratio: auto;

    /* Blend the left edge into the green background */
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 25%,
      #000 100%
    );

    mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 25%,
      #000 100%
    );
  }

  /* Keep the image aligned while it fades in */
  .qa-art.reveal {
    transform: none;
  }

  .qa-art__image {
    background-position: right center;
    background-size: cover;
  }
}

/* Diagram: Enhanced layout & interactive states */
.diagram-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.sustain-visual {
  width: 100%;
}

.diagram {
  position: relative;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  aspect-ratio: 1;
}

/* Center medallion & ripple waves */
.diagram-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  z-index: 5;
  pointer-events: none;
}

.core-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
}

.core-ripple--1 {
  width: 8rem;
  height: 8rem;
  animation: core-ripple-pulse 3.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.core-ripple--2 {
  width: 10.2rem;
  height: 10.2rem;
  animation: core-ripple-pulse 3.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite 1.6s;
}

@keyframes core-ripple-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.45);
    opacity: 0;
  }
}

.core-medallion {
  width: 6.8rem;
  height: 6.8rem;
  border: 2.5px solid #c59b27;
  box-shadow: 0 0 0 8px #ffffff, 0 16px 36px -8px rgba(11, 93, 46, 0.25);
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.core-medallion img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.core-badge {
  color: #0b5d2e;
  background: #ffffff;
  border: 1.5px solid #0b5d2e;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px -2px rgba(11, 93, 46, 0.2);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  z-index: 2;
}

.core-badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 6px #10b981;
  margin-right: 0.35rem;
  animation: dot-pulse 1.8s infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* Diagram: Flow Arcs */
.diagram-flow-arc {
  opacity: 0.22;
  transition: opacity 0.4s ease, stroke-width 0.4s ease, filter 0.4s ease;
}

.diagram-flow-arc.is-active-arc {
  opacity: 1;
  stroke-width: 4.5;
  stroke-dasharray: 8 4;
  animation: arc-flow 1.4s linear infinite;
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.65));
}

@keyframes arc-flow {
  from { stroke-dashoffset: 24; }
  to { stroke-dashoffset: 0; }
}

/* Diagram: Flow Badges */
.diagram-flow-badge {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  pointer-events: none;
}

.diagram-flow-badge rect {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.05));
  transition: stroke 0.3s ease, fill 0.3s ease, stroke-width 0.3s ease;
}

.diagram-flow-badge text {
  transition: fill 0.3s ease;
}

.diagram-flow-badge.is-active-badge {
  filter: drop-shadow(0 4px 14px rgba(11, 93, 46, 0.22));
}

.diagram-flow-badge.is-active-badge rect {
  stroke-width: 2px;
  fill: #f0fdf4;
}

/* Diagram: Particles */
.diagram-particles {
  filter: drop-shadow(0 0 4px rgba(197, 155, 39, 0.6));
}

/* Orbital Stations / Node Buttons */
.cycle-node {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  font-family: inherit;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cycle-node:focus-visible .node-icon {
  outline: 2px solid #0b5d2e;
  outline-offset: 4px;
}

.node-pulse-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
  transition: all 0.3s ease;
}

.cycle-node.is-active .node-pulse-halo {
  border-color: rgba(52, 211, 153, 0.7);
  animation: halo-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes halo-ping {
  75%, 100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.cycle-node.is-active .node-icon {
  transform: scale(1.15);
}

.cycle-node--green.is-active .node-icon {
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.55), 0 10px 24px -2px rgba(11, 93, 46, 0.4);
}

.cycle-node--gold.is-active .node-icon {
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.55), 0 10px 24px -2px rgba(197, 155, 39, 0.4);
}

.cycle-node.is-active .node-step {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.cycle-node--green.is-active .node-step {
  background: #0b5d2e;
  color: #ffffff;
  border-color: #0b5d2e;
}

.cycle-node--gold.is-active .node-step {
  background: #8a6a05;
  color: #ffffff;
  border-color: #8a6a05;
}

/* Inspector Card */
.diagram-inspector {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
}

.inspector-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.inspector-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: #f0f5f1;
  padding: 0.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(11, 93, 46, 0.1);
}

.inspector-tab {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #4b6354;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.inspector-tab .tab-num {
  opacity: 0.65;
  font-size: 0.62rem;
}

.inspector-tab:hover {
  color: #0b5d2e;
  background: rgba(255, 255, 255, 0.6);
}

.inspector-tab.is-active {
  background: #0b5d2e;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(11, 93, 46, 0.25);
}

.inspector-tab.is-active .tab-num {
  opacity: 1;
}

.inspector-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid rgba(11, 93, 46, 0.18);
  color: #0b5d2e;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.inspector-play-btn:hover {
  border-color: #0b5d2e;
  background: #f7faf8;
}

.inspector-play-btn .play-icon {
  display: flex;
  align-items: center;
}

.inspector-play-btn .play-icon svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.inspector-card {
  background: #ffffff;
  border: 1px solid rgba(11, 93, 46, 0.12);
  border-radius: 1.15rem;
  padding: 1.15rem 1.25rem;
  box-shadow: 0 10px 28px -6px rgba(11, 93, 46, 0.08);
  transition: border-color 0.3s ease;
}

.inspector-card:hover {
  border-color: rgba(11, 93, 46, 0.24);
}

.inspector-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.inspector-category {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0b5d2e;
}

.inspector-step-badge {
  font-size: 0.64rem;
  font-weight: 700;
  color: #8a6a05;
  background: #fdf8ea;
  border: 1px solid #f2e0a2;
  padding: 0.12rem 0.5rem;
  border-radius: 9999px;
}

.inspector-headline {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: #14301f;
  line-height: 1.3;
  margin: 0.2rem 0 0.35rem;
}

.inspector-story {
  font-size: 0.8rem;
  color: #4b5563;
  line-height: 1.45;
  margin-bottom: 0.8rem;
}

.inspector-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.inspector-metric-pill {
  background: #f8faf8;
  border: 1px solid rgba(11, 93, 46, 0.09);
  border-radius: 0.55rem;
  padding: 0.45rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.metric-label {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748b;
}

.metric-val {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0b5d2e;
  line-height: 1.2;
}

.inspector-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f2;
}

.inspector-hint {
  font-size: 0.66rem;
  color: #94a3b8;
  font-style: italic;
}

.inspector-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  color: #0b5d2e;
  cursor: pointer;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.inspector-next-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.inspector-next-btn:hover {
  color: #c59b27;
}

.inspector-next-btn:hover svg {
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .inspector-metrics {
    grid-template-columns: 1fr;
  }
  .inspector-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .inspector-tabs {
    justify-content: center;
  }
  .inspector-play-btn {
    align-self: center;
  }
}
/* ======================================================== */
/* Diagram polish: fix label/node overlap on left & right   */
/* ======================================================== */
/* Left/right nodes had no label rule, so labels sat on top of the icons.
   Place them under the icon, like the bottom node. */
.cycle-node--left .node-label,
.cycle-node--right .node-label,
.cycle-node--below .node-label {
  top: calc(100% + 0.7rem);
  bottom: auto;
}

.cycle-node--top .node-label {
  top: auto;
  bottom: calc(100% + 0.7rem);
}

/* Keep icons above the guide rings and labels above the arcs */
.cycle-node .node-icon-box {
  position: relative;
  z-index: 2;
}

.cycle-node .node-label {
  z-index: 1;
  padding: 0.3rem 0.4rem 0.35rem;
  border-radius: 0.75rem;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.92) 55%, rgba(255, 255, 255, 0) 100%);
}

.cycle-node .node-title {
  letter-spacing: -0.005em;
}

/* Give the diagram breathing room above/below for the top & bottom labels */
.diagram {
  margin-block: 3.25rem 3.5rem;
}

/* Slightly narrower labels on small screens so side labels never clip */
@media (max-width: 639px) {
  .cycle-node .node-label {
    width: 7.6rem;
  }
  .cycle-node .node-detail {
    font-size: 0.66rem;
  }
  .diagram {
    margin-block: 1.75rem 1.25rem;
  }
}

/* Declutter: tabs sit centred now that the Auto-Loop button is gone */
.inspector-nav {
  justify-content: center;
}

/* ======================================================== */
/* Diagram: mobile layout                                   */
/* ======================================================== */
@media (max-width: 639px) {
  .diagram {
    margin-block: 4rem 4.75rem;
  }

  /* Smaller centre so it doesn't crowd the ring */
  .core-medallion {
    width: 4.4rem;
    height: 4.4rem;
    padding: 0.25rem;
    box-shadow: 0 0 0 4px #ffffff, 0 10px 22px -8px rgba(11, 93, 46, 0.35);
  }
  .core-badge {
    font-size: 0.5rem;
    padding: 0.15rem 0.5rem;
    letter-spacing: 0.08em;
  }

  /* Smaller nodes */
  .cycle-node .node-icon {
    width: 2.6rem;
    height: 2.6rem;
  }
  .cycle-node .node-icon .icon {
    width: 1.15rem;
    height: 1.15rem;
  }

  /* Compact labels: step pill + title only (full detail is in the card below) */
  .cycle-node .node-label {
    width: 5.6rem;
    padding: 0.2rem 0.25rem;
    gap: 0.1rem;
  }
  .cycle-node .node-detail {
    display: none;
  }
  .cycle-node .node-step {
    font-size: 0.5rem;
    padding: 0.1rem 0.4rem;
  }
  .cycle-node .node-title {
    font-size: 0.74rem;
    line-height: 1.15;
  }
  .cycle-node--left .node-label,
  .cycle-node--right .node-label,
  .cycle-node--below .node-label {
    top: calc(100% + 0.5rem);
  }
  .cycle-node--top .node-label {
    bottom: calc(100% + 0.5rem);
  }

  /* Tabs: 2x2 grid instead of an overflowing pill */
  .inspector-nav {
    justify-content: stretch;
  }
  .inspector-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: 1rem;
    gap: 0.25rem;
  }
  .inspector-tab {
    justify-content: center;
    padding: 0.5rem 0.4rem;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .diagram-inspector {
    max-width: 100%;
  }
}

/* ==========================================================================
   TESTIMONIALS v2: light editorial look (overrides the dark version above)
   ========================================================================== */
.testimonials {
  background:
    radial-gradient(60rem 28rem at 85% -10%, rgba(197, 155, 39, 0.14), transparent 60%),
    radial-gradient(48rem 26rem at 0% 110%, rgba(11, 93, 46, 0.09), transparent 60%),
    #f8f4ea;
  color: #14301f;
}

.testimonials .eyebrow {
  color: #0b5d2e;
}

.testimonials .section-title {
  color: #0f2a1a;
}

.testimonials .section-title em {
  color: #b58a16;
}

/* old dark-theme decorations off */
.tm-glow,
.tm-stage::before {
  display: none;
}

/* the card */
.tm-stage {
  --tm-duration: 7s;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 1.5rem;
  max-width: 58rem;
  margin: 3.5rem auto 0;
  padding: 3.5rem 1.5rem 1.75rem;
  text-align: left;
  border: 1px solid rgba(11, 93, 46, 0.12);
  border-radius: 1.5rem;
  background: #fffdf8;
  backdrop-filter: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 30px 60px -34px rgba(11, 61, 34, 0.35),
    0 6px 16px -10px rgba(11, 61, 34, 0.12);
  overflow: hidden;
}

/* gold-to-green accent line along the top edge */
.tm-stage::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #c59b27, #f1cd68 45%, #0b5d2e);
}

@media (min-width: 768px) {
  .tm-stage {
    padding: 4.5rem 4.5rem 2.25rem;
  }
}

/* big, quiet quotation mark instead of the floating badge */
.tm-mark {
  position: absolute;
  top: 0.6rem;
  left: 1.25rem;
  display: block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  animation: none;
  color: #c59b27;
  opacity: 0.3;
  font-size: 7rem;
  line-height: 1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .tm-mark {
    top: 1rem;
    left: 3rem;
    font-size: 9rem;
  }
}

.tm-slides {
  grid-column: 1 / -1;
  position: relative;
}

.tm-slide blockquote p {
  font-size: clamp(1.3rem, 2.6vw, 1.95rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: #14301f;
}

/* author row: hairline above, avatar + name */
.tm-slide figcaption {
  justify-content: flex-start;
  gap: 0.9rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(11, 93, 46, 0.14);
}

.tm-avatar {
  width: 3rem;
  height: 3rem;
  border: 2px solid #f1cd68;
  background: linear-gradient(145deg, #0b5d2e, #07381d);
  color: #f1cd68;
  font-size: 1.15rem;
  animation: none;
  box-shadow: 0 6px 14px -6px rgba(11, 93, 46, 0.6);
}

.tm-who strong {
  color: #0f2a1a;
}

.tm-who small {
  color: #8a6a05;
}

/* footer: controls left, counter right */
.tm-controls {
  justify-content: flex-start;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.tm-btn {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(11, 93, 46, 0.3);
  color: #0b5d2e;
  background: #ffffff;
}

.tm-btn:hover {
  background: #0b5d2e;
  border-color: #0b5d2e;
  color: #f1cd68;
}

.tm-btn:focus-visible,
.tm-dot:focus-visible {
  outline-color: #0b5d2e;
}

.tm-dot::before {
  background: rgba(11, 93, 46, 0.14);
}

.tm-dot-fill {
  background: #c59b27;
}

.tm-count {
  margin-top: 1.75rem;
  font-family: var(--heading-font, "Playfair Display", Georgia, serif);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: rgba(15, 42, 26, 0.45);
  text-align: right;
}

.tm-count span {
  font-size: 1.6rem;
  color: #0b5d2e;
}

@media (max-width: 520px) {
  .tm-stage {
    padding: 3.25rem 1.25rem 1.5rem;
  }
  .tm-dot {
    width: 1.5rem;
  }
  .tm-btn {
    width: 2.4rem;
    height: 2.4rem;
  }
  .tm-controls {
    gap: 0.5rem;
  }
}

/* ==========================================================================
   TESTIMONIALS v3: deep green, gold details, star ratings
   (overrides v2 above)
   ========================================================================== */
.testimonials {
  background:
    radial-gradient(52rem 26rem at 88% -8%, rgba(241, 205, 104, 0.16), transparent 62%),
    radial-gradient(44rem 24rem at 0% 108%, rgba(52, 211, 153, 0.12), transparent 62%),
    linear-gradient(165deg, #07381d 0%, #052a15 50%, #031d0e 100%);
  color: #f6f1e4;
}

/* fine dotted texture + big ring behind the card */
.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(241, 205, 104, 0.1) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  pointer-events: none;
}

.testimonials::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 58%;
  left: 50%;
  width: min(70rem, 130vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  border: 1px solid rgba(241, 205, 104, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(241, 205, 104, 0.025), 0 0 0 8rem rgba(241, 205, 104, 0.015);
  pointer-events: none;
}

.testimonials .eyebrow {
  color: #f1cd68;
}

.testimonials .section-title {
  color: #faf7f0;
}

.testimonials .section-title em {
  color: #f1cd68;
}

/* the glow orbs are back, softer */
.tm-glow {
  display: block;
  opacity: 0.8;
}

/* card: dark glass with a gold frame */
.tm-stage {
  border: 1px solid rgba(241, 205, 104, 0.32);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 55%),
    rgba(6, 46, 24, 0.72);
  backdrop-filter: blur(12px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 50px 90px -40px rgba(0, 0, 0, 0.75),
    0 0 0 6px rgba(241, 205, 104, 0.04);
  overflow: hidden;
}

/* thin inner frame line (the "detailing") */
.tm-stage::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0.6rem;
  z-index: 0;
  width: auto;
  aspect-ratio: auto;
  translate: none;
  rotate: none;
  animation: none;
  border: 1px solid rgba(241, 205, 104, 0.16);
  border-radius: 1.1rem;
  pointer-events: none;
}

.tm-stage::after {
  height: 3px;
  background: linear-gradient(90deg, transparent, #c59b27 20%, #f1cd68 50%, #c59b27 80%, transparent);
}

.tm-slides,
.tm-controls,
.tm-count {
  position: relative;
  z-index: 1;
}

.tm-mark {
  color: #f1cd68;
  opacity: 0.2;
}

/* star rating row */
.tm-rating {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.tm-stars {
  display: inline-flex;
  gap: 0.25rem;
}

.tm-star {
  width: 1.3rem;
  height: 1.3rem;
  fill: #f1cd68;
  stroke: #c59b27;
  stroke-width: 0.6;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(241, 205, 104, 0.55));
}

.tm-score {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.6);
}

.tm-score strong {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #f1cd68;
}

/* stars pop in one by one, then the quote fades up */
.tm-slide .tm-rating {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease, ease), transform 0.6s var(--ease, ease);
}

.tm-slide.is-active .tm-rating {
  opacity: 1;
  transform: none;
  transition-delay: 0.1s;
}

.tm-slide.is-active .tm-star {
  animation: tm-star-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.tm-slide.is-active .tm-star:nth-child(1) { animation-delay: 0.20s; }
.tm-slide.is-active .tm-star:nth-child(2) { animation-delay: 0.30s; }
.tm-slide.is-active .tm-star:nth-child(3) { animation-delay: 0.40s; }
.tm-slide.is-active .tm-star:nth-child(4) { animation-delay: 0.50s; }
.tm-slide.is-active .tm-star:nth-child(5) { animation-delay: 0.60s; }

@keyframes tm-star-pop {
  from { opacity: 0; transform: scale(0.3) rotate(-30deg); }
  to   { opacity: 1; transform: none; }
}

.tm-slide blockquote p {
  color: #faf7f0;
}

.tm-slide figcaption {
  border-top: 1px solid rgba(241, 205, 104, 0.22);
}

.tm-avatar {
  border: 2px solid #f1cd68;
  background: linear-gradient(145deg, #0e7a3b, #07381d);
  color: #f1cd68;
  animation: tm-pulse 2.8s ease-out infinite;
  box-shadow: none;
}

.tm-who strong {
  color: #faf7f0;
}

.tm-who small {
  color: #f1cd68;
}

.tm-btn {
  border: 1px solid rgba(241, 205, 104, 0.5);
  background: rgba(255, 255, 255, 0.04);
  color: #f1cd68;
}

.tm-btn:hover {
  background: #f1cd68;
  border-color: #f1cd68;
  color: #052614;
}

.tm-btn:focus-visible,
.tm-dot:focus-visible {
  outline-color: #f1cd68;
}

.tm-dot::before {
  background: rgba(250, 247, 240, 0.2);
}

.tm-dot-fill {
  background: #f1cd68;
}

.tm-count {
  color: rgba(250, 247, 240, 0.5);
}

.tm-count span {
  color: #f1cd68;
}

@media (max-width: 520px) {
  .tm-star {
    width: 1.1rem;
    height: 1.1rem;
  }
  .tm-rating {
    gap: 0.6rem;
  }
  .tm-score {
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tm-slide.is-active .tm-star,
  .tm-avatar {
    animation: none;
  }
}

/* ---------- Animated gold footer divider ---------- */
.site-footer { position: relative; }

.footer-divider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f5b800 0%, #ffd766 50%, #f5b800 100%);
  box-shadow: 0 0 14px rgba(245, 184, 0, 0.45);
  transform: scaleX(0);
  transform-origin: left center;           /* grows from the left */
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-divider.is-drawn {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .footer-divider {
    transform: scaleX(1);
    transition: none;
  }
}

/* ---------- Nav dropdown ---------- */
.nav-item { position: relative; display: flex; align-items: center; }

.nav-item.has-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-caret {
  width: 0.8rem; height: 0.8rem;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.3s;
}
.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 15rem;
  margin: 0;
  padding: 0.6rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ivory-300, #e8e2cf);
  border-top: 2px solid #f5b800;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 40px rgba(5, 38, 20, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 200;
}

/* invisible bridge so the menu doesn't close while the mouse travels down */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -1.2rem; left: 0; right: 0;
  height: 1.2rem;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown li { margin: 0; }

.dropdown-link {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--charcoal-600, #3a4a40);
  text-decoration: none;
  transition: background 0.25s, color 0.25s, padding-left 0.25s;
}
.dropdown-link:hover,
.dropdown-link:focus-visible {
  background: var(--emerald-50, #eef5ec);
  color: var(--emerald-700, #0b5d2e);
  padding-left: 1.3rem;                 /* small slide on hover */
}

/* ---------- Mobile sub list ---------- */
.mobile-sub {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin: 0.15rem 0 0.5rem 1rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(184, 134, 11, 0.5);
  list-style: none;
}
.mobile-nav .dropdown-link {
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
}

/* 7 links is tight on small laptops */
@media (min-width: 1024px) and (max-width: 1279px) {
  .primary-nav { gap: 1.25rem; }
  .nav-link { font-size: 0.75rem; letter-spacing: 0.1em; }
}

/* ---------- Header: no wrapping + polish ---------- */
.nav-link,
.header-actions .btn,
.brand { white-space: nowrap; }

.primary-nav { gap: clamp(1.1rem, 2vw, 2rem); }

.nav-link {
  position: relative;
  padding-block: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

/* gold underline that grows from the left */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #f5b800, #ffd766);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.has-dropdown:hover > .nav-link::after { transform: scaleX(1); }

.nav-link:hover,
.has-dropdown:hover > .nav-link { color: var(--emerald-700); }

/* "Get in touch" button */
.header-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.4rem;
  letter-spacing: 0.16em;
  box-shadow: 0 6px 18px rgba(11, 93, 46, 0.25);
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s, color 0.3s;
}
.header-actions .btn::after {
  content: "→";
  transition: transform 0.3s;
}
.header-actions .btn:hover {
  background: #f5b800;
  color: #052614;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 184, 0, 0.35);
}
.header-actions .btn:hover::after { transform: translateX(4px); }

/* header gets a soft shadow + gold hairline once you scroll */
.site-header { transition: box-shadow 0.35s, background 0.35s; }
.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(5, 38, 20, 0.12);
  border-bottom: 1px solid rgba(184, 134, 11, 0.35);
}

/* 7 links need more room: use the menu button below 1200px */
@media (min-width: 1024px) and (max-width: 1199px) {
  .primary-nav,
  .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: block; }
}
/* "Partner with us" – outlined pill button */
.about-actions .link-arrow {
  padding: 0.95rem 1.75rem;
  border: 1px solid rgba(11, 93, 46, 0.4);
  border-radius: var(--pill);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.about-actions .link-arrow::after { display: none; } /* remove old underline effect */
@media (hover: hover) {
  .about-actions .link-arrow:hover {
    background: var(--emerald-600);
    border-color: var(--emerald-700);
    color: var(--ivory-100);
    transform: translateY(-2px);
  }
}
.about-actions .link-arrow:focus-visible {
  outline: 2px solid var(--emerald-600);
  outline-offset: 3px;
}

/* Mobile Products dropdown: collapsed by default, expands on tap */
.mobile-nav .mobile-sub {
  display: block;
  margin: 0;
  padding: 0;
  border-left: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}
.mobile-nav .mobile-sub.is-open { max-height: 26rem; opacity: 1; }
.mobile-nav .m-has-sub > .m-sub-toggle { width: 100%; text-align: left; }

/* ==========================================================================
   Mobile hero: stronger overlay and text shadows so the copy stays readable
   ========================================================================== */
@media (max-width: 767px) {
  .hero-media {
    filter: brightness(0.95) saturate(1.1) contrast(1.05);
  }

  /* Full-width vertical overlay (the desktop one fades out to the right,
     which leaves the text sitting on the bright sky on phones) */
  .hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(5, 38, 20, 0.62) 0%,
        rgba(5, 38, 20, 0.74) 40%,
        rgba(5, 38, 20, 0.68) 72%,
        rgba(5, 38, 20, 0.35) 100%);
  }

  .hero-badge {
    background: rgba(5, 38, 20, 0.78);
    border-color: rgba(251, 203, 46, 0.55);
  }

  .hero-title {
    text-shadow: 0 2px 4px rgba(5, 38, 20, 0.75), 0 6px 28px rgba(5, 38, 20, 0.7);
  }
  .hero-title em { text-shadow: 0 2px 4px rgba(5, 38, 20, 0.8), 0 6px 24px rgba(5, 38, 20, 0.7); }

  .hero-title .line--small > span {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    color: var(--gold-100, #fde9a6);
    text-shadow: 0 1px 3px rgba(5, 38, 20, 0.9), 0 2px 14px rgba(5, 38, 20, 0.8);
  }

  .hero-sub {
    color: #fff;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(5, 38, 20, 0.9), 0 3px 18px rgba(5, 38, 20, 0.75);
  }

  .hero-actions .btn--outline-light {
    background: rgba(5, 38, 20, 0.55);
    border-color: rgba(250, 247, 240, 0.7);
    color: #fff;
  }
}

/* ---------- Footer social icons ---------- */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;  /* going bigger than 36px makes the icons wrap onto 2 rows on ~1024px-wide screens */
  height: 36px;
  border: 1px solid rgba(251, 203, 46, 0.45);
  border-radius: 50%;
  color: var(--gold-300);
  text-decoration: none;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (hover: hover) {
  .footer-social a:hover {
    background-color: var(--gold-400);
    border-color: var(--gold-400);
    color: var(--emerald-900);
    transform: translateY(-2px);
  }
}