:root {
  /* ---- Source palette ---------------------------------------------------
     Deep crop green, soft mint field surfaces, leaf green, and a small warm
     harvest highlight adapted from the supplied agricultural reference. */
  --olive: #66a63a;
  --moss: #0e3f26;
  --cornsilk: #f7fbef;
  --earth: #f2c340;
  --tiger: #1f9a4a;
  /* Header bar and buttons; every other dark surface stays crop green */
  --bark: #0f6b38;
  --bark-soft: #0b552d;

  /* Accent — clear agriculture green for actions and emphasis */
  --accent: #17853f;
  --accent-deep: #0d6b33;
  --accent-bright: var(--earth);
  --accent-soft: rgba(23, 133, 63, 0.1);
  --accent-line: rgba(23, 133, 63, 0.3);
  /* Accent for dark surfaces */
  --accent-on-dark: #dff2b4;

  /* Support greens */
  --leaf: var(--olive);
  --leaf-deep: var(--moss);

  /* Neutral ramp, drawn from the palette rather than grey */
  --ink: var(--moss);
  --muted: #50634b;
  --line: #dceacb;
  --surface: var(--cornsilk);

  --danger: #b93838;
  --shadow: 0 1px 2px rgba(40, 54, 24, 0.04), 0 6px 18px rgba(40, 54, 24, 0.05);
  --shadow-strong: 0 2px 4px rgba(40, 54, 24, 0.05), 0 14px 36px rgba(40, 54, 24, 0.1);
  --header-height: 106px;
  /* Primary public sections occupy a full display screen. Sections whose
     content needs more room keep growing naturally, without clipping. */
  --screen-section-height: 100svh;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--surface);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

main {
  display: flex;
  flex-direction: column;
  transition: opacity 180ms ease;
}

body.route-exiting main {
  opacity: 0;
}

body.route-entering main {
  animation: routeEnter 240ms ease-out both;
}

@keyframes routeEnter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body[data-language="hi"] {
  font-family: "Noto Serif Devanagari", "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: 1.06rem;
  line-height: 1.6;
}

body[data-language="hi"] h1,
body[data-language="hi"] h2,
body[data-language="hi"] h3,
body[data-language="hi"] .footer-brand strong,
body[data-language="hi"] .language-brand strong,
body[data-language="hi"] .button,
body[data-language="hi"] .nav-links,
body[data-language="hi"] .sort-trigger,
body[data-language="hi"] input,
body[data-language="hi"] textarea,
body[data-language="hi"] select {
  font-family: "Noto Serif Devanagari", "Inter", ui-sans-serif, system-ui, sans-serif;
}

body[data-language="hi"] .brand,
body[data-language="hi"] .brand strong,
body[data-language="hi"] .brand small,
body[data-language="hi"] .footer-brand small,
body[data-language="hi"] .eyebrow,
body[data-language="hi"] .line-card strong,
body[data-language="hi"] .buyer-board h3,
body[data-language="hi"] .crop-tile strong,
body[data-language="hi"] .product-line-metrics span {
  font-family: "Noto Serif Devanagari", "Inter", ui-sans-serif, system-ui, sans-serif;
}

::selection {
  color: #fff;
  background: var(--leaf);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.site-header {
  position: fixed;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  /* Symmetric ease-in-out so the bar eases away and eases back rather than
     snapping at either end. Promoted to its own layer to keep it smooth while
     the page is scrolling underneath. */
  transition:
    top 620ms cubic-bezier(0.65, 0, 0.35, 1),
    transform 620ms cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.site-header.is-scrolled {
  top: 14px;
}

/* Slides clear of the viewport on scroll down; the extra offset covers the
   gap between the top of the screen and the floating bar. */
.site-header.is-tucked {
  transform: translateY(calc(-100% - 28px));
}

.header-shell {
  width: min(1280px, calc(100% - 104px));
  margin: 0 auto;
  border-radius: 11px;
  box-shadow: 0 22px 54px rgba(40, 54, 24, 0.18);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  min-height: 58px;
  padding: 8px 24px;
  background: var(--bark);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  padding: 4px;
  color: #fff;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(40, 54, 24, 0.18);
  font-weight: 900;
  font-size: 24px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transform: none;
}

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

.brand strong {
  position: relative;
  color: #fff;
  /* English wordmark only: grounded display serif with stronger compact caps. */
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
  text-transform: uppercase;
  white-space: nowrap;
}

.brand strong::after {
  position: absolute;
  bottom: -8px;
  left: 2px;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--earth);
  box-shadow: 0 2px 10px rgba(242, 195, 64, 0.42);
  content: "";
}

.brand small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.2vw, 38px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  border-radius: 8px;
  padding: 8px 0;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease, font-weight 180ms ease;
  white-space: nowrap;
}

.mobile-nav-secondary {
  display: none;
}

.header-language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 3px;
}

.header-language-toggle button {
  min-width: 42px;
  min-height: 30px;
  border-radius: 999px;
  padding: 4px 8px;
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  font-weight: 900;
  background: transparent;
}

.header-language-toggle button.is-selected {
  color: var(--bark);
  background: #fff;
}

.header-language-toggle button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 180ms ease, transform 240ms ease;
}

.nav-links a:hover {
  color: #fff;
  background: transparent;
}

.nav-links a.is-active {
  background: transparent;
  color: #fff;
  font-weight: 800;
}

body[data-language="hi"] .nav-links {
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
}

body[data-language="hi"] .nav-secondary {
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.site-header .icon-button {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-secondary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2vw, 34px);
  min-height: 38px;
  padding: 5px 24px;
  color: var(--accent);
  background: var(--surface);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-secondary a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-secondary-product-start {
  margin-left: 0;
}

.route-ready:not([data-route="products"]) .nav-secondary-product-start,
.route-ready:not([data-route="products"]) .nav-secondary-product-link {
  display: none;
}

.nav-secondary a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 180ms ease, transform 240ms ease;
}

.nav-secondary a:hover,
.nav-secondary a.is-active {
  color: var(--accent-deep);
}

.nav-secondary a.is-active {
  font-weight: 800;
}

.nav-secondary a:hover::after,
.nav-secondary a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-secondary svg {
  width: 16px;
  height: 16px;
}

.nav-links a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
}

.icon-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(40, 54, 24, 0.12);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  order: 0;
  min-height: clamp(680px, 100svh, 980px);
  display: grid;
  align-items: center;
  justify-items: stretch;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  padding: calc(var(--header-height) + 28px) clamp(20px, 2.4vw, 48px) 48px;
  background: var(--surface);
}

.hero-media {
  position: absolute;
  inset: 58px clamp(20px, 2.4vw, 48px) 72px;
  z-index: -3;
  border-radius: 18px;
  background: var(--leaf-deep);
  box-shadow: 0 26px 70px rgba(40, 54, 24, 0.18);
  transform: none;
  overflow: hidden;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    radial-gradient(circle at 78% 18%, rgba(242, 195, 64, 0.2), transparent 27%),
    linear-gradient(90deg, rgba(14, 63, 38, 0.94) 0%, rgba(14, 63, 38, 0.84) 40%, rgba(14, 63, 38, 0.38) 70%, rgba(14, 63, 38, 0.16) 100%),
    linear-gradient(180deg, rgba(14, 63, 38, 0.1) 0%, rgba(14, 63, 38, 0.22) 44%, rgba(14, 63, 38, 0.72) 100%);
  pointer-events: none;
}

.hero-media-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.025);
  animation: heroMediaCycle 27s infinite;
}

.hero-media-slide-1 {
  background-image: url("/assets/site/jivika-products-hero-range.webp");
}

.hero-media-slide-2 {
  background-image: url("/assets/site/jivika-hero-premium-2.png");
  animation-delay: 9s;
}

.hero-media-slide-3 {
  background-image: url("/assets/site/jivika-hero-0.png");
  animation-delay: 18s;
}

@keyframes heroMediaCycle {
  0% {
    opacity: 0;
    transform: scale(1.025);
  }

  6%,
  30% {
    opacity: 1;
  }

  30% {
    transform: scale(1);
  }

  38%,
  100% {
    opacity: 0;
    transform: scale(1.035);
  }
}

.hero-scene-meta {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 3;
  display: grid;
  justify-items: end;
  gap: 10px;
}

.hero-scene-label {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(11, 85, 45, 0.34);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-scene-progress {
  display: flex;
  gap: 6px;
}

.hero-scene-progress i {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transition: width 380ms ease, background 380ms ease;
}

.hero-scene-progress i.is-active {
  width: 40px;
  background: var(--earth);
}

.hero-texture {
  position: absolute;
  inset: 58px clamp(20px, 2.4vw, 48px) 72px;
  z-index: -2;
  border-radius: 18px;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 88px);
  opacity: 0.56;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: start;
  max-width: 1320px;
  min-height: clamp(520px, calc(100svh - var(--header-height) - 132px), 760px);
  min-width: 0;
  width: 100%;
  margin: 0 auto;
  padding: clamp(42px, 7vh, 76px) clamp(18px, 4vw, 64px) clamp(70px, 10vh, 108px);
  text-align: left;
}

.hero-content > * {
  max-width: 100%;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: none;
}

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

h1,
h2,
h3 {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
}

h1 {
  width: min(790px, 100%);
  margin-bottom: 18px;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  max-width: 790px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.16;
}

.hero-copy {
  width: min(620px, 100%);
  margin-inline: 0;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.26);
}

body[data-language="hi"] .hero-copy {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.65;
}

.hero-market {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  width: min(620px, 100%);
  margin-bottom: 34px;
}

.hero-market span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.09);
  font-size: 13px;
  font-weight: 840;
}

body[data-language="hi"] .hero-market span {
  padding: 8px 12px;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
}

.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(26px, 4vh, 44px);
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-scroll-cue span {
  display: block;
  width: 38px;
  height: 1px;
  background: var(--earth);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 17px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease;
}

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

.button svg,
.icon-button svg {
  width: 18px;
  height: 18px;
}

body.language-gate-open {
  overflow: hidden;
}

.language-gate[hidden] {
  display: none;
}

.language-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(40, 54, 24, 0.34);
  backdrop-filter: blur(18px);
}

.language-panel {
  width: min(380px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.language-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.language-brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
}

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

.language-brand strong {
  color: var(--leaf-deep);
  font-size: 22px;
  line-height: 1;
}

.language-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
}

.language-kicker {
  margin: 0 0 6px;
  color: var(--leaf);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.language-panel h2 {
  max-width: none;
  margin: 0 0 8px;
  font-size: 25px;
  line-height: 1.08;
}

.language-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.language-option {
  min-height: 82px;
  border: 1px solid rgba(96, 108, 56, 0.22);
  border-radius: 8px;
  padding: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  text-align: left;
}

.language-option:hover,
.language-option.is-selected {
  transform: translateY(-2px);
  border-color: var(--leaf);
  color: #fff;
  background: var(--leaf-deep);
  box-shadow: 0 16px 34px rgba(40, 54, 24, 0.16);
}

.language-option strong,
.language-option span {
  display: block;
}

.language-option strong {
  font-size: 17px;
  line-height: 1.15;
}

.language-option span {
  margin-top: 6px;
  color: currentColor;
  font-size: 12px;
  font-weight: 650;
  opacity: 0.76;
}

.language-option[lang="hi"] {
  font-family: "Noto Serif Devanagari", serif;
}

.primary {
  color: #fff;
  background: var(--bark);
  box-shadow: 0 8px 22px rgba(15, 107, 56, 0.22);
}

.primary:hover {
  background: var(--bark-soft);
  box-shadow: 0 14px 30px rgba(15, 107, 56, 0.28);
}

.secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.86);
}

.secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 38px rgba(40, 54, 24, 0.12);
}

.hero-primary {
  box-shadow: 0 14px 34px rgba(40, 54, 24, 0.34);
}

.hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

@media (hover: hover) and (pointer: fine) {
  .hero-primary svg {
    transition: transform 220ms ease;
  }

  .hero-primary:hover svg {
    transform: translateX(4px);
  }

  .hero-secondary:hover {
    border-color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.16);
  }
}

.product-line-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.35vw, 18px);
  width: 100%;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.product-line-metrics > div {
  position: relative;
  display: grid;
  min-height: 124px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(15, 107, 56, 0.18);
  border-radius: 14px;
  padding: 20px 16px;
  color: #fff;
  text-align: center;
  background: var(--leaf-deep);
  box-shadow: 0 14px 32px rgba(40, 54, 24, 0.12);
  overflow: hidden;
  backdrop-filter: none;
  transition: border-color 240ms ease, background 240ms ease, color 240ms ease,
    box-shadow 240ms ease, transform 240ms ease;
}

.product-line-metrics > div:hover {
  border-color: rgba(96, 108, 56, 0.22);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px) scale(1.035);
}

.product-line-metrics strong {
  display: grid;
  min-height: 34px;
  place-items: center;
  margin-bottom: 6px;
  color: inherit;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 1.05;
}

.product-line-metrics strong svg {
  width: 34px;
  height: 34px;
  stroke-width: 2;
}

.product-line-metrics span {
  max-width: 240px;
  color: inherit;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 800;
  line-height: 1.28;
  opacity: 0.88;
  transition: opacity 240ms ease;
}

.product-line-metrics > div:hover span {
  opacity: 1;
}

.section {
  width: 100%;
  max-width: none;
  min-height: var(--screen-section-height);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 88px) max(24px, calc((100vw - 1280px) / 2));
  scroll-margin-top: 0;
}

.route-ready .routed-section {
  display: none;
}

.route-ready[data-route="home"] [data-page="home"],
.route-ready[data-route="home"] [data-page="about"],
.route-ready[data-route="home"] [data-page="quality"],
.route-ready[data-route="home"] [data-page="crop-solutions"],
.route-ready[data-route="home"] [data-page="activity"],
.route-ready[data-route="home"] [data-page="contact"],
.route-ready[data-route="about-us"] [data-page="about-us"],
.route-ready[data-route="products"] [data-page="products"],
.route-ready[data-route="privacy-policy"] [data-page="privacy-policy"],
.route-ready[data-route="terms-and-conditions"] [data-page="terms-and-conditions"] {
  display: grid;
}

.route-ready:not([data-route="home"]) .section {
  padding-top: calc(var(--header-height) + 40px);
}

/* About is an editorial page: its first screen clears the floating header,
   while following screens use balanced spacing rather than another header gap. */
.route-ready[data-route="about-us"] .about-page-story,
.route-ready[data-route="about-us"] .about-page-focus,
.route-ready[data-route="about-us"] .about-page-values {
  padding-top: clamp(48px, 7vh, 84px);
  padding-bottom: clamp(48px, 7vh, 84px);
}

.route-ready[data-route="products"] .products-section {
  min-height: 0;
}

.policy-section {
  align-items: start;
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 195, 64, 0.18), transparent 30%),
    linear-gradient(180deg, #fbfff4 0%, var(--surface) 100%);
}

.policy-page .policy-section {
  padding-top: calc(var(--header-height) + 40px);
}

.policy-shell {
  display: grid;
  gap: 24px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.policy-header {
  display: grid;
  gap: 10px;
}

.policy-header h1 {
  max-width: 780px;
  color: var(--moss);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.94;
}

.policy-header > p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 760;
}

.policy-card {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 44px);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 22px 52px rgba(15, 107, 56, 0.1);
}

.policy-card h2 {
  margin-top: 12px;
  color: var(--moss);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
}

.policy-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 560;
  line-height: 1.72;
}

.policy-card a {
  color: var(--accent-deep);
  font-weight: 820;
}

/* ---- 404 page -----------------------------------------------------------
   Standalone page served for unknown URLs. It borrows the policy page's warm
   field wash and the footer's crop-row texture so it reads as part of the site. */
.not-found {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 76px);
  min-height: var(--screen-section-height);
  padding: calc(var(--header-height) + 48px) max(24px, calc((100vw - 1280px) / 2)) clamp(52px, 7vw, 88px);
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 195, 64, 0.18), transparent 30%),
    linear-gradient(180deg, #fbfff4 0%, var(--surface) 100%);
}

.not-found-copy {
  display: grid;
  justify-items: start;
}

.not-found-copy h1 {
  max-width: 640px;
  color: var(--moss);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.02;
}

body[data-language="hi"] .not-found-copy h1 {
  line-height: 1.24;
}

.not-found-lead {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.62;
}

.not-found-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  max-width: 100%;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.not-found-path[hidden] {
  display: none;
}

.not-found-path code {
  max-width: 100%;
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  padding: 4px 9px;
  color: var(--accent-deep);
  background: var(--accent-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  overflow-wrap: anywhere;
}

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

.not-found-actions .secondary {
  color: var(--bark);
  border-color: rgba(15, 107, 56, 0.28);
  background: #fff;
}

.not-found-actions .secondary:hover {
  color: #fff;
  background: var(--bark);
}

.not-found-visual {
  position: relative;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  min-height: clamp(320px, 38vw, 460px);
  border-radius: 11px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 14%, rgba(242, 195, 64, 0.26), transparent 36%),
    linear-gradient(160deg, var(--bark) 0%, var(--moss) 100%);
  box-shadow: 0 22px 54px rgba(15, 107, 56, 0.2);
  overflow: hidden;
  isolation: isolate;
}

.not-found-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 92px);
  opacity: 0.56;
}

/* Crop rows running to the horizon: the path the visitor stepped off. */
.not-found-visual::after {
  position: absolute;
  right: -40%;
  bottom: 0;
  left: -40%;
  z-index: -1;
  height: 48%;
  content: "";
  background: repeating-linear-gradient(90deg, rgba(102, 166, 58, 0.46) 0 3px, transparent 3px 46px);
  transform: perspective(240px) rotateX(58deg);
  transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 15%, transparent 95%);
  mask-image: linear-gradient(to top, #000 15%, transparent 95%);
}

.not-found-code {
  display: inline-flex;
  align-items: center;
  gap: 0.08em;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(112px, 13vw, 188px);
  line-height: 0.9;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.24);
}

.not-found-seed {
  display: grid;
  width: 0.74em;
  height: 0.74em;
  place-items: center;
  border-radius: 999px;
  padding: 0.1em;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 0.06em rgba(242, 195, 64, 0.42), 0 18px 40px rgba(0, 0, 0, 0.26);
  animation: notFoundSway 5.6s ease-in-out infinite;
}

.not-found-seed img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes notFoundSway {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-8px) rotate(4deg);
  }
}

.not-found-caption {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.not-found-caption::before {
  display: block;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: var(--earth);
  content: "";
}

body[data-language="hi"] .not-found-caption {
  font-size: 14px;
  letter-spacing: 0;
}

.not-found-routes,
.not-found-help {
  grid-column: 1 / -1;
}

.not-found-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.not-found-route-grid a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.not-found-route-grid img {
  width: 44px;
  height: 68px;
  object-fit: contain;
}

.not-found-route-grid span {
  display: grid;
  gap: 3px;
}

.not-found-route-grid strong {
  color: var(--moss);
  font-size: 17px;
  line-height: 1.2;
}

.not-found-route-grid small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.4;
}

.not-found-route-grid svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  transition: transform 220ms ease;
}

.not-found-route-grid a:focus-visible,
.not-found-help-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .not-found-route-grid a:hover {
    border-color: var(--accent-line);
    background: #fff;
    box-shadow: var(--shadow-strong);
    transform: translateY(-2px);
  }

  .not-found-route-grid a:hover svg {
    transform: translateX(3px);
  }
}

.not-found-help {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 18px;
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--accent-soft);
}

.not-found-help-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--bark);
}

.not-found-help-icon svg {
  width: 24px;
  height: 24px;
}

.not-found-help > div:not(.not-found-help-actions) {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.45;
}

.not-found-help strong {
  color: var(--moss);
  font-size: 17px;
}

.not-found-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.not-found-help-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(15, 107, 56, 0.28);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--bark);
  background: #fff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.not-found-help-link:hover {
  color: #fff;
  background: var(--bark);
}

.not-found-help-link svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 1020px) {
  .not-found {
    grid-template-columns: minmax(0, 1fr);
  }

  .not-found-visual {
    min-height: 300px;
  }

  .not-found-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .not-found {
    padding-top: calc(var(--header-height) + 44px);
  }

  .not-found-help {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .not-found-help-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .not-found {
    padding-inline: 16px;
  }

  .not-found-lead {
    font-size: 17px;
  }

  .not-found-actions,
  .not-found-actions .button {
    width: 100%;
  }

  .not-found-visual {
    min-height: 240px;
  }

  .not-found-route-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .not-found-route-grid a {
    min-height: 80px;
  }

  .not-found-help-link {
    flex: 1 1 auto;
    justify-content: center;
  }
}

.about-story {
  position: relative;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  min-height: var(--screen-section-height);
  padding-top: clamp(64px, 8vh, 104px);
  padding-bottom: clamp(64px, 8vh, 104px);
  background: #fff;
  overflow: hidden;
}

.about-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  order: 1;
  max-width: none;
}

.about-copy p {
  max-width: 600px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.about-copy h2 {
  max-width: 620px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 0.98;
}

.about-visual {
  position: relative;
  z-index: 2;
  order: 2;
  min-height: 0;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(40, 54, 24, 0.16);
  overflow: hidden;
}

/* Same bottom fade the crop tiles and product-line cards use, so the caption
   sits on a consistent surface instead of raw photo. */
.about-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(40, 54, 24, 0) 42%, rgba(40, 54, 24, 0.82) 100%);
  pointer-events: none;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform 800ms ease;
}

.about-visual:hover img {
  transform: scale(1.04);
}

.about-visual div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 10px 18px;
  align-items: center;
  padding: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.about-principles article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 184px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 32px rgba(15, 107, 56, 0.08);
}

.about-principles .eyebrow {
  margin: 0;
}

.about-principles article > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
  line-height: 1.5;
}

.about-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: clamp(32px, 5vw, 76px);
  min-height: var(--screen-section-height);
  padding: calc(var(--header-height) + clamp(20px, 3vw, 42px)) max(24px, calc((100vw - 1280px) / 2)) clamp(46px, 6vw, 82px);
  color: var(--ink);
  background: #fff;
}

.about-page-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: start;
  max-width: 640px;
  padding: clamp(12px, 2vw, 30px) 0;
}

.about-page-hero-copy .eyebrow,
.about-page-hero-copy h1,
.about-page-hero-copy p {
  color: inherit;
}

.about-page-hero-copy h1 {
  max-width: 700px;
  font-size: clamp(42px, 4.7vw, 68px);
  line-height: 1.02;
}

.about-page-hero-copy > p:last-of-type {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

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

.about-page-actions .secondary {
  color: var(--bark);
  border-color: rgba(15, 107, 56, 0.28);
  background: #fff;
}

.about-page-actions .secondary:hover {
  color: #fff;
  background: var(--bark);
}

.about-page-hero-media {
  width: 100%;
  min-height: 0;
  max-height: min(60svh, 560px);
  aspect-ratio: 16 / 11;
  border-radius: 18px;
  background-image: url("/assets/site/jivika-products-hero-range.webp");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.24);
}

.about-page-story {
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  min-height: var(--screen-section-height);
  background: #edf7d7;
}

.about-page-story-copy {
  max-width: 570px;
}

.about-page-story-copy h2,
.about-page-focus h2,
.about-page-values h2 {
  max-width: 700px;
  color: var(--ink);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1;
}

.about-page-story-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.66;
}

.about-page-story-media {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.about-page-story-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(14, 63, 38, 0.78) 100%);
}

.about-page-story-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.about-page-story-media figcaption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  color: #fff;
  font-size: 17px;
  font-weight: 780;
}

.about-page-focus {
  min-height: var(--screen-section-height);
  align-content: center;
  background: #fff;
}

.about-page-focus > header {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin-bottom: 32px;
}

.about-page-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-page-focus-grid article {
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
}

.about-page-focus-grid i {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.about-page-focus-grid h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 24px;
}

.about-page-focus-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.about-page-values {
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(36px, 7vw, 112px);
  min-height: var(--screen-section-height);
  border-top: 1px solid var(--line);
  background: var(--cornsilk);
}

.about-page-values .eyebrow,
.about-page-values h2 {
  color: var(--ink);
}

.about-page-values-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.about-page-values-list article {
  display: grid;
  grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.about-page-values-list strong {
  color: var(--ink);
  font-size: 20px;
}

.about-page-values-list span {
  color: var(--muted);
  line-height: 1.55;
}

.about-visual strong,
.about-visual span {
  display: block;
}

.about-visual strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.12;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.about-visual span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.product-lines {
  order: 2;
  padding: clamp(48px, 7vh, 80px) max(24px, calc((100vw - 1360px) / 2));
  background: #f7fbef;
}

.product-lines-compact {
  min-height: var(--screen-section-height);
  align-content: center;
}

.product-lines-compact .line-grid {
  align-self: start;
}

.product-lines-heading {
  display: grid;
  justify-items: center;
  margin-bottom: clamp(30px, 4vw, 52px);
  text-align: center;
}

.product-lines-heading h2 {
  max-width: none;
  margin-bottom: 0;
  color: var(--accent);
  font-size: clamp(34px, 3.45vw, 54px);
  font-weight: 400;
  line-height: 1.05;
  white-space: nowrap;
}

.about-story {
  order: 3;
}

.line-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
  padding-bottom: 36px;
}

.line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(315px, 28vw, 410px);
  justify-content: flex-end;
  border: 0;
  border-radius: 8px;
  padding: 24px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 24%, rgba(242, 195, 64, 0.22), transparent 34%),
    linear-gradient(180deg, #fbfff4 0%, #edf7d7 100%);
  box-shadow: 0 24px 52px rgba(15, 107, 56, 0.12);
  overflow: hidden;
  transition: box-shadow 280ms ease, transform 280ms ease;
}

.line-card::before {
  position: absolute;
  top: 108px;
  right: 26px;
  left: 26px;
  height: clamp(116px, 9vw, 142px);
  z-index: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(23, 133, 63, 0.08), 0 18px 42px rgba(15, 107, 56, 0.08);
  pointer-events: none;
}

.line-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  z-index: 3;
  border: 1px solid rgba(23, 133, 63, 0.14);
  border-radius: inherit;
  background:
    linear-gradient(180deg, transparent 0%, transparent 48%, rgba(255, 250, 224, 0.64) 100%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), transparent 42%);
  opacity: 0.78;
  transition: opacity 240ms ease;
}

.line-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(15, 107, 56, 0.18);
}

.line-card:hover::after {
  opacity: 1;
}

.line-card strong {
  position: relative;
  z-index: 4;
  max-width: 260px;
  margin: 0 0 auto;
  color: var(--bark);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.12;
}

body[data-language="hi"] .line-card strong {
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.28;
}

.line-card em {
  position: relative;
  z-index: 4;
  max-width: 100%;
  margin-top: 176px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
}

.line-card small {
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--accent);
  background: transparent;
  font-weight: 850;
}

.line-card-footer {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 18px;
  border-top: 1px solid rgba(23, 133, 63, 0.16);
  padding-top: 18px;
}

.line-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  color: var(--bark);
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  transition: color 220ms ease, transform 220ms ease;
  white-space: nowrap;
}

.line-card-cta svg {
  width: 15px;
  height: 15px;
}

.line-card:hover .line-card-cta {
  color: var(--accent);
  transform: translateX(3px);
}

.line-card > img {
  position: absolute;
  top: 104px;
  left: 50%;
  z-index: 2;
  width: min(46%, 172px);
  height: auto;
  max-height: clamp(118px, 9vw, 146px);
  margin: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 20px 26px rgba(15, 107, 56, 0.2)) saturate(1.04);
  transform: translateX(-50%);
  transition: transform 620ms ease;
}

.line-card:hover > img {
  transform: translateX(-50%) scale(1.04);
}

.line-card.has-product-rotator > img {
  opacity: 0;
}

.line-card-photo-stage {
  position: absolute;
  top: 98px;
  right: 38px;
  left: 38px;
  height: clamp(128px, 10vw, 154px);
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: visible;
  pointer-events: none;
}

.line-card-photo-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: drop-shadow(0 18px 24px rgba(15, 107, 56, 0.24)) saturate(1.06);
  transform: scale(0.985);
  transition: opacity 720ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.line-card-photo-stage img.is-active {
  opacity: 0.96;
  transform: scale(1);
}

.line-card-photo-stage img.is-exiting {
  opacity: 0;
  transform: scale(1.015);
}

.line-card:hover .line-card-photo-stage img.is-active {
  transform: scale(1.03);
}

.quality-snapshot {
  position: relative;
  order: 5;
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  min-height: var(--screen-section-height);
  padding: clamp(40px, 5vh, 64px) max(24px, calc((100vw - 1280px) / 2));
  color: var(--ink);
  background: #fff;
  overflow: hidden;
}

.quality-overview,
.quality-detail-board {
  position: relative;
  display: grid;
  min-width: 0;
}

.quality-overview {
  align-content: center;
  gap: clamp(26px, 3.3vw, 44px);
}

.quality-snapshot > *,
.quality-overview > *,
.quality-detail-board > * {
  position: relative;
  z-index: 1;
}

.quality-copy {
  max-width: 610px;
}

.quality-copy h2 {
  /* Halves the browser's default 0.83em gap above the paragraph. */
  margin-bottom: 18px;
  max-width: 620px;
  color: var(--ink);
}

.quality-copy h2 .accent {
  color: var(--accent);
}

.quality-copy p {
  max-width: 530px;
  color: var(--muted);
  font-size: 17px;
}

.quality-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 14px;
  margin-top: 0;
}

.quality-point {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 36px rgba(15, 107, 56, 0.07);
}

.point-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1.5px solid var(--accent-line);
  border-radius: 50%;
  color: var(--accent);
  transition: border-color 240ms ease, background 240ms ease, color 240ms ease, transform 240ms ease;
}

.quality-point:hover .point-icon {
  transform: translateY(-3px);
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.point-label {
  transition: color 240ms ease;
}

.quality-point:hover .point-label {
  color: var(--accent);
}

.point-icon svg {
  width: 24px;
  height: 24px;
}

.point-label {
  display: block;
  max-width: none;
  color: var(--ink);
  font-size: 16px;
  font-weight: 780;
  line-height: 1.3;
}

.point-copy {
  display: grid;
  gap: 8px;
}

.point-copy small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.activity-section {
  order: 7;
  max-width: none;
  min-height: var(--screen-section-height);
  padding-top: clamp(56px, 7vh, 88px);
  padding-bottom: clamp(56px, 7vh, 88px);
  padding-inline: max(24px, calc((100vw - 1280px) / 2));
  background: #edf7d7;
}

.activity-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.activity-gallery {
  order: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: clamp(390px, 38vw, 480px);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(40, 54, 24, 0.16);
  overflow: hidden;
}

.activity-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04);
  transition: transform 700ms ease, filter 240ms ease;
}

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

.activity-gallery img:nth-child(2) {
  object-position: 46% center;
}

.activity-gallery img:nth-child(3) {
  object-position: center 42%;
}

.activity-gallery img:hover {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.025);
}

.team-panel {
  order: 1;
  display: grid;
  align-content: center;
  max-width: 620px;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.team-panel:hover {
  transform: none;
  box-shadow: none;
}

.team-panel p {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.team-panel h2 {
  max-width: 620px;
  margin-bottom: 36px;
  color: var(--ink);
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 0.98;
}

.team-panel h3 {
  margin-bottom: 9px;
}

.products-section {
  order: 9;
  position: relative;
}

.route-ready[data-route="products"] .products-section {
  max-width: none;
  padding-inline: max(24px, calc((100vw - 1220px) / 2));
  background: var(--surface);
}

.product-catalog-intro {
  display: grid;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.product-catalog-intro > div:first-child {
  max-width: 780px;
}

.product-catalog-intro h1 {
  width: auto;
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.98;
}

.product-catalog-intro > div:first-child > p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.product-console {
  position: relative;
  z-index: 40;
  display: grid;
  align-items: center;
  margin-bottom: 18px;
  color: var(--ink);
}

.product-console-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 300px);
  align-items: center;
  gap: 14px;
}

.product-console-tools .search-box {
  min-width: 0;
  box-shadow: 0 12px 28px rgba(40, 54, 24, 0.07);
}

.product-console-tools .sort-control {
  justify-self: end;
  width: 100%;
  color: var(--muted);
}

.product-console-tools .sort-control select {
  color: var(--ink);
}

.sort-control {
  position: relative;
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.sort-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.sort-select {
  position: relative;
  width: 100%;
  min-width: 0;
}

.sort-trigger {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(96, 108, 56, 0.28);
  border-radius: 12px;
  padding: 0 14px 0 16px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(40, 54, 24, 0.07);
  cursor: pointer;
  font-weight: 850;
}

.sort-trigger span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sort-trigger:hover,
.sort-control.is-open .sort-trigger {
  border-color: var(--leaf);
  box-shadow: 0 12px 24px rgba(96, 108, 56, 0.1);
}

.sort-trigger svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.sort-control.is-open .sort-trigger svg {
  transform: rotate(180deg);
}

.sort-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: grid;
  width: max-content;
  min-width: 300px;
  max-width: min(360px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(40, 54, 24, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.sort-control.is-open .sort-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sort-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-weight: 650;
  text-align: left;
}

.sort-menu-group {
  display: grid;
  gap: 4px;
}

.sort-menu-group + .sort-menu-group {
  margin-top: 8px;
  border-top: 1px solid rgba(96, 108, 56, 0.12);
  padding-top: 8px;
}

.sort-menu-label {
  padding: 4px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sort-category-options {
  display: grid;
  gap: 4px;
}

.sort-category-options button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
}

.sort-category-options button svg {
  width: 17px;
  height: 17px;
  color: var(--leaf);
}

.sort-category-options button strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sort-category-options button span {
  display: inline-grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  color: var(--leaf-deep);
  background: rgba(96, 108, 56, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.sort-options button:hover,
.sort-options button[aria-selected="true"] {
  color: var(--leaf-deep);
  background: rgba(96, 108, 56, 0.1);
}

.search-box {
  display: flex;
  min-width: min(100%, 390px);
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(96, 108, 56, 0.22);
  border-radius: 8px;
  padding: 0 13px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(40, 54, 24, 0.07);
}

.search-box:focus-within {
  border-color: var(--leaf);
  box-shadow: none;
}

.search-box.small {
  min-width: 220px;
}

.search-box input {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.search-box input:focus {
  outline: 0;
  background: transparent;
  box-shadow: none;
}

.product-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 18px;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-self: stretch;
  min-height: 0;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(40, 54, 24, 0.08);
  transform: translateY(0);
  contain: content;
  cursor: pointer;
  transition: box-shadow 280ms ease, border-color 280ms ease, transform 280ms ease;
}

.product-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(23, 133, 63, 0.06), transparent 38%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(40, 54, 24, 0.22);
  box-shadow: var(--shadow-strong);
}

.product-card:hover::after {
  opacity: 1;
}

.product-image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 14px 16px 8px;
  object-fit: contain;
  transition: transform 720ms ease, filter 300ms ease;
}

.product-card:hover .product-image img {
  filter: saturate(1.12) contrast(1.04);
  transform: scale(1.08);
}

.product-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 14px 18px 16px;
}

.card-meta {
  display: flex;
  min-height: 20px;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 112px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 860;
}

.card-meta strong {
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--accent);
  background: var(--accent-soft);
}

.product-title-row {
  display: block;
  min-height: 38px;
  padding-right: 112px;
  margin-bottom: 8px;
}

.product-card h3 {
  min-width: 0;
  margin-bottom: 0;
}

.product-category-pill {
  position: absolute;
  top: 14px;
  right: 18px;
  border-radius: 999px;
  padding: 7px 11px;
  color: #fff;
  background: var(--accent-deep);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.product-card p {
  display: -webkit-box;
  min-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-specs {
  display: grid;
  gap: 8px;
  margin: 2px 0 0;
  padding-top: 8px;
}

.product-specs span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.28;
}

.product-specs svg {
  flex: 0 0 auto;
  color: var(--leaf);
}

.product-card[data-category="Insecticide"] .product-category-pill {
  color: #fff;
  background: #0f6b38;
}

.product-card[data-category="Fungicide"] .product-category-pill {
  color: #fff;
  background: #1f9a4a;
}

.product-card[data-category="Herbicide"] .product-category-pill {
  color: #fff;
  background: #5f9634;
}

.product-card[data-category="PGR"] .product-category-pill {
  color: var(--moss);
  background: #dff2b4;
}

.quality-detail-board {
  align-content: center;
  gap: 16px;
}

.buyer-copy {
  display: grid;
  align-content: center;
  justify-items: start;
}

.buyer-copy h2 {
  /* Halves the browser's default 0.83em gap above the paragraph. */
  margin-bottom: 18px;
}

.buyer-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
}

.buyer-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.buyer-board article {
  position: relative;
  min-height: 126px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 16px;
  color: #fff;
  background: var(--leaf-deep);
  box-shadow: 0 18px 46px rgba(40, 54, 24, 0.09);
  overflow: hidden;
  transition: background 280ms ease, color 280ms ease, border-color 280ms ease,
    box-shadow 280ms ease, transform 280ms ease;
}

/* Inverts to the light surface on hover. */
.buyer-board article:hover {
  transform: translateY(-5px);
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 24px 56px rgba(40, 54, 24, 0.13);
}

.buyer-board svg {
  width: 22px;
  height: 22px;
  color: var(--accent-on-dark);
  transition: color 280ms ease;
}

.buyer-board article:hover svg {
  color: var(--leaf);
}

/* The old 36px top margin was clearing the step number, which is gone.
   Bottom margin is half the browser default for an h3 at this size. */
.buyer-board h3 {
  margin: 14px 0 8px;
  color: inherit;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

.buyer-board p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  transition: color 280ms ease;
}

.buyer-board article:hover p {
  color: var(--muted);
}

.product-skeleton {
  pointer-events: none;
}

.product-skeleton .product-image,
.product-skeleton span,
.product-skeleton strong,
.product-skeleton p {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  color: transparent;
  background: linear-gradient(90deg, #e8f3d8 0%, var(--cornsilk) 45%, #e8f3d8 90%);
  background-size: 220% 100%;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

.product-skeleton .product-image {
  aspect-ratio: 1 / 0.88;
}

.product-skeleton span {
  width: 120px;
  height: 16px;
}

.product-skeleton strong {
  width: 68%;
  height: 24px;
}

.product-skeleton p {
  width: 100%;
  height: 14px;
  min-height: 14px;
}

.crop-band {
  position: relative;
  order: 4;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  color: var(--ink);
  background: #edf7d7;
}

.crop-band::after {
  content: none;
}

.crop-band > * {
  position: relative;
  z-index: 1;
}

.crop-band p {
  color: var(--muted);
}

.crop-copy {
  max-width: none;
}

.crop-copy h2 {
  /* Halves the browser's default 0.83em gap above the paragraph. */
  margin-bottom: 18px;
  color: var(--ink);
}

.crop-copy p {
  max-width: 640px;
  font-size: 18px;
}

.crop-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.crop-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  min-height: clamp(315px, 28vw, 410px);
  border: 0;
  border-radius: 8px;
  padding: 20px;
  background: var(--leaf-deep);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 280ms ease, transform 280ms ease;
}

/* The photo lives on its own layer so it can zoom on hover, the way the
   product-line cards zoom their <img>. */
.crop-tile::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: var(--tile-image) center/cover;
  transition: transform 620ms ease;
}

/* Readability gradient, stacked above the photo but below the caption. */
.crop-tile::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(40, 54, 24, 0.42) 0%, rgba(40, 54, 24, 0.28) 38%, rgba(40, 54, 24, 0.88) 100%),
    linear-gradient(90deg, rgba(40, 54, 24, 0.72), transparent 72%);
  pointer-events: none;
}

.crop-tile > * {
  position: relative;
  z-index: 2;
}

.crop-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 64px rgba(40, 54, 24, 0.2);
}

.crop-tile:hover::before {
  transform: scale(1.05);
}

.crop-tile span {
  position: absolute;
  top: 18px;
  left: 20px;
  width: fit-content;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #fff;
  background: transparent;
  backdrop-filter: none;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  /* Sits on the bright top of the photo with no chip behind it, so it leans on
     the scrim in ::after plus this shadow to stay readable. */
  text-shadow: 0 1px 10px rgba(40, 54, 24, 0.8);
}

.crop-tile strong {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.14;
  color: #fff;
  text-shadow: 0 8px 24px rgba(40, 54, 24, 0.52);
}

body[data-language="hi"] .crop-tile strong {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3;
}

.crop-tile small {
  max-width: 360px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 6px 18px rgba(40, 54, 24, 0.42);
}

.crop-tile-large {
  --tile-image: url("/assets/site/crop-paddy-wheat.webp");
}

.crop-tile-vegetables {
  --tile-image: url("/assets/site/crop-vegetables.webp");
}

.crop-tile-fruits {
  --tile-image: url("/assets/site/crop-fruits.webp");
}

.crop-tile-cotton {
  --tile-image: url("/assets/site/crop-cotton-sugarcane.webp");
}

/* No max-width here — the section's own gutter padding keeps it aligned with
   every other section instead of sitting 130px inside them. */
.contact-section {
  order: 8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  align-items: center;
  min-height: var(--screen-section-height);
  gap: clamp(32px, 4vw, 64px);
  padding-top: clamp(42px, 6vh, 70px);
  padding-bottom: clamp(46px, 6vh, 74px);
  background: #f7fbef;
}

/* Home follows the same quiet chapter rhythm as the editorial About page:
   background changes mark a new subject without decorative dividers. */
.route-ready[data-route="home"] .products-section {
  background: #fff;
}

.contact-panel {
  position: relative;
  padding-top: 8px;
}

.contact-panel::before {
  display: none;
}

.contact-panel h2 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(34px, 3.7vw, 48px);
  line-height: 1.02;
}

.contact-panel p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 24px;
}

.contact-methods a,
.contact-methods span {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  width: fit-content;
  min-width: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 720;
}

.contact-methods a {
  min-height: 44px;
  align-items: center;
  padding-block: 8px;
}

.contact-methods i {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--leaf);
}

.facebook-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: currentColor;
}

.facebook-link {
  align-self: flex-start;
  min-width: 44px;
  justify-content: center;
  padding: 8px;
  line-height: 0;
}

.office-address {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.45;
}

.office-address i {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--leaf);
}

.office-address span {
  display: grid;
  gap: 2px;
}

.office-address strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-methods a:hover {
  color: var(--leaf-deep);
}

.contact-advisor-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  max-width: 620px;
  margin-top: 30px;
  border: 1px solid rgba(15, 107, 56, 0.18);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.54);
}

.contact-advisor-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #13834a, #0b5b31);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.08), 0 10px 20px rgba(15, 107, 56, 0.2);
}

.contact-advisor-icon svg {
  width: 27px;
  height: 27px;
  stroke-width: 2.5;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.16));
}
.contact-advisor-card small,
.contact-advisor-card strong,
.contact-advisor-card span { display: block; }
.contact-advisor-card small { color: var(--leaf-deep); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.contact-advisor-card strong { margin-top: 3px; color: var(--bark); font-size: 17px; }
.contact-advisor-card div > span { margin-top: 2px; color: var(--muted); font-size: 13px; }

.contact-phone-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 14px;
  padding: 3px 0;
  color: var(--bark);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}

.contact-phone-action i { width: 20px; height: 20px; flex: 0 0 auto; }
.contact-phone-action i:first-child { width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: #fff; background: var(--bark); }
.contact-phone-action:hover { color: var(--leaf-deep); text-decoration: underline; text-underline-offset: 4px; }

.contact-guidance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-guidance li { display: flex; gap: 10px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.contact-guidance svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--leaf); }
.contact-guidance strong { display: block; color: var(--bark); font-size: 13px; }

.enquiry-form-heading { margin-bottom: 4px; }
.enquiry-form-heading h3 { margin: 3px 0 6px; color: var(--bark); font-size: 26px; }
.enquiry-form-heading p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 820;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--surface);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(96, 108, 56, 0.11);
  outline: 0;
}

textarea {
  resize: vertical;
}

.enquiry-form {
  display: grid;
  gap: 18px;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

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

/* Outlined fields with no fill, so the page shows through. Scoped to the
   contact form so the admin console keeps its filled inputs. */
.contact-section input,
.contact-section textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: transparent;
}

.contact-section input:focus,
.contact-section textarea:focus {
  border-color: var(--accent);
  box-shadow: none;
}

.contact-section textarea {
  min-height: 104px;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 780;
}

.form-note.is-success {
  color: var(--accent-deep);
}

.form-note.is-error {
  color: var(--danger);
}

.field-validation-message {
  display: block;
  margin-top: 7px;
  color: #a42f2f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #c13d35 !important;
  box-shadow: 0 0 0 3px rgba(193, 61, 53, 0.12) !important;
}

.footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.55fr);
  gap: 34px 56px;
  padding: 48px max(24px, calc((100vw - 1220px) / 2)) 24px;
  color: #fff;
  background: var(--leaf-deep);
  overflow: hidden;
}

.footer::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 92px);
  opacity: 0.56;
}

.footer > * {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #fff;
  text-decoration: none;
}

.footer-brand img {
  width: 60px;
  height: 60px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

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

.footer-brand strong {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.footer-brand small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 760;
}

.footer p {
  max-width: 440px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  width: fit-content;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}

.footer-contact i,
.footer-links i {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.footer-contact .office-addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 680px);
}

.footer-contact .office-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.footer-contact .office-address i {
  width: 17px;
  height: 17px;
  color: currentColor;
  margin-top: 1px;
}

.footer-contact .office-address > span {
  display: grid;
  gap: 3px;
  width: auto;
  font-weight: 400;
}

.footer-contact .office-address .office-label,
.footer-contact .office-address .office-copy {
  display: block;
  width: auto;
  font-weight: 400;
}

.footer-contact .office-address .office-copy {
  white-space: pre-line;
}

.footer-contact .office-address .office-label {
  color: #fff;
  font-size: 13px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.footer-contact .footer-social {
  display: grid;
  width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 0;
  color: #fff;
}

.footer-contact .footer-social svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.footer-contact .footer-social:hover {
  border-color: rgba(255, 255, 255, 0.66);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 820px) {
  .contact-advisor-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .contact-advisor-icon { width: 42px; height: 42px; border-radius: 13px; }
  .contact-advisor-icon svg { width: 24px; height: 24px; }
  .contact-phone-action { font-size: 18px; }
  .contact-guidance { grid-template-columns: 1fr; }
  .enquiry-form-heading h3 { font-size: 23px; }
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 2px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-links a {
  position: relative;
  width: fit-content;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 620;
  line-height: 1.25;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 180ms ease, transform 220ms ease;
}

.footer-contact a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 620;
}

.footer-bottom span:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.footer-partner {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 20px;
}

.footer-partner-label {
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-partner-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 620;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-partner-link:hover {
  color: #fff;
}

.footer-partner-card {
  display: block;
  border-radius: 8px;
  padding: 6px 10px;
  background: #fff;
  line-height: 0;
  max-width: 100%;
  transition: transform 180ms ease;
}

.footer-partner-card img {
  width: 280px;
  max-width: 100%;
  height: auto;
}

@media (hover: hover) and (pointer: fine) {
  .footer-partner-link:hover .footer-partner-card {
    transform: translateY(-2px);
  }
}

.product-dialog {
  width: min(1040px, calc(100vw - 32px));
  max-height: min(90dvh, 860px);
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: auto;
  opacity: 0;
  transform: translateY(22px) scale(0.965);
  transform-origin: center;
  transition: opacity 280ms ease, transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-dialog::backdrop {
  background: rgba(40, 54, 24, 0);
  transition: background 280ms ease;
}

.product-dialog.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-dialog.is-open::backdrop {
  background: rgba(40, 54, 24, 0.72);
}

.product-dialog.is-closing {
  opacity: 0;
  transform: translateY(16px) scale(0.975);
}

.product-dialog.is-closing::backdrop {
  background: rgba(40, 54, 24, 0);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

#dialog-content {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.18fr);
}

.dialog-media {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: start center;
  background:
    radial-gradient(circle at 50% 72%, rgba(96, 108, 56, 0.16), transparent 32%),
    var(--cornsilk);
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 360ms ease 80ms, transform 460ms cubic-bezier(0.22, 1, 0.36, 1) 80ms;
}

.dialog-media img {
  width: min(72%, 360px);
  max-height: 440px;
  margin-top: 86px;
  padding: 0 24px 24px;
  object-fit: contain;
}

.dialog-category {
  position: absolute;
  top: 22px;
  left: 22px;
  border-radius: 999px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(40, 54, 24, 0.86);
  box-shadow: 0 12px 28px rgba(40, 54, 24, 0.14);
  font-size: 12px;
  font-weight: 900;
}

.dialog-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 42px;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 360ms ease 140ms, transform 460ms cubic-bezier(0.22, 1, 0.36, 1) 140ms;
}

.product-dialog.is-open .dialog-media,
.product-dialog.is-open .dialog-info {
  opacity: 1;
  transform: translateX(0);
}

.product-dialog.is-closing .dialog-media,
.product-dialog.is-closing .dialog-info {
  opacity: 0;
  transition-delay: 0ms;
}

.dialog-info h2 {
  margin-bottom: 10px;
}

.dialog-tagline {
  margin: 4px 0 8px;
  color: var(--leaf-deep);
  font-size: 17px;
  line-height: 1.35;
}

.dialog-info p {
  color: var(--muted);
}

.details-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 22px;
}

.details-list div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.details-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.details-list dd {
  margin: 3px 0 0;
}

.details-list a {
  color: var(--leaf);
  font-weight: 850;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin: auto 0 0;
}

.dialog-actions .button {
  min-height: 40px;
  border-radius: 999px;
  padding: 9px 16px;
  gap: 7px;
  font-size: 14px;
}

.dialog-actions .button svg {
  width: 16px;
  height: 16px;
}

.secondary.light {
  color: var(--bark);
  border-color: rgba(15, 107, 56, 0.24);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(15, 107, 56, 0.08);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  text-align: center;
}

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

.motion-ready .reveal {
  opacity: 0;
  transition: opacity 560ms ease-out;
  will-change: opacity;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
}

.motion-ready .product-line-metrics > div,
.motion-ready .line-grid .line-card,
.motion-ready .crop-bento .crop-tile,
.motion-ready .buyer-board article {
  opacity: 0;
  transition: opacity 480ms ease-out;
}

.motion-ready .product-lines.is-visible .product-line-metrics > div,
.motion-ready .product-lines.is-visible .line-grid .line-card,
.motion-ready .crop-band.is-visible .crop-bento .crop-tile {
  opacity: 1;
}

.motion-ready .product-line-metrics > div:nth-child(2),
.motion-ready .line-grid .line-card:nth-child(2),
.motion-ready .crop-bento .crop-tile:nth-child(2),
.motion-ready .buyer-board article:nth-child(2) {
  transition-delay: 90ms;
}

.motion-ready .product-line-metrics > div:nth-child(3),
.motion-ready .line-grid .line-card:nth-child(3),
.motion-ready .crop-bento .crop-tile:nth-child(3),
.motion-ready .buyer-board article:nth-child(3) {
  transition-delay: 180ms;
}

.motion-ready .product-line-metrics > div:nth-child(4),
.motion-ready .line-grid .line-card:nth-child(4),
.motion-ready .crop-bento .crop-tile:nth-child(4),
.motion-ready .buyer-board article:nth-child(4) {
  transition-delay: 270ms;
}

.motion-ready .scroll-animate {
  opacity: 0;
  transition:
    opacity 520ms ease-out,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 520ms ease-out;
  transition-delay: var(--scroll-delay, 0ms);
  will-change: opacity;
}

.motion-ready .scroll-animate-media {
  transform: scale(0.99);
  filter: saturate(0.98);
  will-change: opacity, transform;
}

.motion-ready .scroll-animate.is-visible {
  opacity: 1;
  transform: scale(1);
  filter: none;
}

:where(a, button, input, select, textarea, [role="link"]):focus-visible {
  outline: 3px solid var(--earth);
  outline-offset: 3px;
}

.line-card,
.crop-tile,
.product-card,
.buyer-board article,
.contact-panel,
.enquiry-form,
.policy-card {
  border-radius: 16px;
}

@media (hover: hover) and (pointer: fine) {
  .motion-ready .product-line-metrics > div.scroll-animate.is-visible:hover {
    transform: translateY(-4px) scale(1.025);
  }

  .motion-ready .line-card.scroll-animate.is-visible:hover,
  .motion-ready .crop-tile.scroll-animate.is-visible:hover {
    transform: translateY(-6px);
  }

  .motion-ready .product-card.scroll-animate.is-visible:hover,
  .motion-ready .buyer-board article.scroll-animate.is-visible:hover {
    transform: translateY(-5px);
  }

  .motion-ready .activity-gallery img.scroll-animate.is-visible:hover {
    transform: scale(1.025);
  }
}

@media (hover: none) {
  .button:hover,
  .icon-button:hover,
  .product-line-metrics > div:hover,
  .line-card:hover,
  .crop-tile:hover,
  .product-card:hover,
  .buyer-board article:hover,
  .activity-gallery img:hover {
    transform: none;
  }

  .line-card:hover > img {
    transform: translateX(-50%);
  }

  .line-card:hover .line-card-photo-stage img.is-active,
  .product-card:hover .product-image img,
  .crop-tile:hover::before {
    transform: none;
  }
}

.danger {
  color: var(--danger);
}

.is-hidden {
  display: none !important;
}

@keyframes skeletonPulse {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .scroll-animate,
  .product-line-metrics > div,
  .line-grid .line-card,
  .crop-bento .crop-tile,
  .buyer-board article {
    opacity: 1;
    transform: none;
  }

  body.route-exiting main,
  body.route-entering main {
    opacity: 1;
    transform: none;
  }

  .hero-media-slide {
    opacity: 0;
    transform: none;
  }

  .hero-media-slide:first-child {
    opacity: 1;
  }

  .hero-scene-meta,
  .hero-scroll-cue {
    display: none;
  }
}

@media (min-width: 861px) and (max-height: 760px) {
  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 24px;
  }

  .hero-media,
  .hero-texture {
    bottom: 24px;
  }

  .hero-content {
    min-height: 0;
    padding: 34px clamp(28px, 4vw, 56px) 46px;
  }

  .hero-copy {
    margin-bottom: 20px;
  }

  .hero-market {
    margin-bottom: 24px;
  }
}

@media (max-width: 1020px) {
  :root {
    --header-height: 96px;
  }

  .header-shell {
    width: calc(100% - 48px);
  }

  .nav {
    padding-inline: 24px;
  }

  .nav-secondary {
    justify-content: flex-end;
    gap: 22px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-inline: 24px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-media {
    inset: 54px 24px 64px;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(40, 54, 24, 0.98) 0%, rgba(40, 54, 24, 0.88) 46%, rgba(40, 54, 24, 0.42) 100%),
      linear-gradient(180deg, rgba(40, 54, 24, 0.2), rgba(40, 54, 24, 0.58));
  }

  .hero-media-slide {
    background-position: 62% center;
  }

  .hero-texture {
    inset: 54px 24px 64px;
  }

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

  .line-card {
    min-height: 390px;
  }

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

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

  .product-console-tools {
    grid-template-columns: 1fr;
  }

  .product-console-tools .sort-control {
    justify-self: stretch;
  }

  .quality-snapshot {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    top: 12px;
  }

  .site-header.is-scrolled {
    top: 8px;
  }

  .header-shell {
    width: calc(100% - 28px);
    border-radius: 10px;
    /* The menu drops out below .nav, so the shell must not clip it. The radius
       moves onto .nav to keep the bar's rounded corners. */
    overflow: visible;
  }

  .nav {
    min-height: 56px;
    padding: 7px 16px;
    border-radius: 10px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand strong {
    font-size: 23px;
  }

  .brand small {
    font-size: 8px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .nav-secondary {
    display: none;
  }

  .nav-links {
    position: absolute;
    /* Tucked up behind the bar's bottom edge so the two rounded corners meet
       seamlessly — both surfaces are --bark. */
    top: calc(100% - 12px);
    left: 0;
    right: 0;
    display: none;
    justify-content: start;
    align-content: start;
    gap: 0;
    padding: 20px 16px 16px;
    border-radius: 0 0 10px 10px;
    background: var(--bark);
    box-shadow: 0 22px 46px rgba(40, 54, 24, 0.18);
    font-size: 12px;
  }

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

  .nav-links a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 11px 0;
  }

  .mobile-nav-secondary {
    display: grid;
    gap: 0;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 8px;
  }

  .mobile-nav-secondary a {
    color: rgba(255, 255, 255, 0.92);
  }

  .header-language-toggle {
    justify-self: start;
    margin-top: 10px;
    margin-left: 0;
  }

  .hero-content {
    min-height: calc(100svh - var(--header-height) - 96px);
    padding-top: 82px;
    padding-bottom: 104px;
  }

  /* Mobile uses one stable hero image, keeping the copy readable and avoiding
     motion competition in the smaller visual field. */
  .hero-media-slide {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero-media-slide:first-child {
    opacity: 1;
  }

  .hero-scene-meta,
  .hero-scroll-cue {
    display: none;
  }

  h1 {
    font-size: 46px;
  }

  .product-line-metrics,
  .line-grid,
  .about-story,
  .about-principles,
  .about-page-hero,
  .about-page-story,
  .about-page-values,
  .quality-snapshot,
  .quality-overview,
  .quality-detail-board,
  .product-grid,
  .crop-band,
  .activity-layout,
  .contact-section,
  #dialog-content {
    grid-template-columns: 1fr;
  }

  .contact-section {
    min-height: var(--screen-section-height);
    gap: 30px;
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .quality-snapshot,
  .activity-section {
    min-height: var(--screen-section-height);
  }

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

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

  .product-image img {
    height: 100%;
  }

  .about-visual {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .about-visual img {
    min-height: 0;
  }

  .about-copy h2 {
    font-size: 36px;
  }

  .activity-gallery {
    min-height: 420px;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .about-page-hero {
    min-height: var(--screen-section-height);
    padding-top: calc(var(--header-height) + 54px);
  }

  .about-page-hero-copy {
    padding: 0;
  }

  .about-page-hero-media {
    min-height: 0;
    aspect-ratio: 16 / 11;
    margin-top: 38px;
  }

  .about-page-focus-grid {
    grid-template-columns: 1fr;
  }

  .about-page-focus-grid article {
    min-height: auto;
  }

  .about-page-values-list article {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .dialog-media {
    min-height: 280px;
  }

  .dialog-media img {
    width: min(58%, 260px);
    max-height: 260px;
    margin-top: 58px;
  }

  .dialog-info {
    padding: 28px;
  }

  .dialog-actions {
    margin-left: 0;
  }

  .product-line-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 30px;
  }

  .product-line-metrics > div {
    min-height: 108px;
    padding: 16px 12px;
  }

  .crop-bento {
    grid-template-columns: 1fr;
  }

  .crop-tile {
    min-height: 320px;
  }

  .footer {
    align-items: stretch;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  h2 {
    font-size: 34px;
  }

  .product-lines-heading h2 {
    white-space: normal;
  }

  .quality-snapshot {
    gap: 30px;
  }

  .quality-points {
    grid-template-columns: 1fr;
  }

  .quality-point {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .quality-copy {
    max-width: none;
  }

  .product-catalog-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

}

@media (max-width: 560px) {
  :root {
    --header-height: 62px;
  }

  .brand small {
    max-width: 140px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    padding: 0;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand small {
    font-size: 7px;
  }

  .nav {
    min-height: 52px;
    padding: 6px 12px;
  }

  .hero-content {
    min-height: calc(100svh - var(--header-height) - 88px);
    padding: 66px 16px 72px;
  }

  h1 {
    font-size: 39px;
    line-height: 1.02;
  }

  .language-panel {
    padding: 20px;
  }

  .language-panel h2 {
    font-size: 23px;
  }

  .language-options {
    grid-template-columns: 1fr;
  }

  .language-option {
    min-height: 76px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-media {
    inset: 48px 12px 58px;
    border-radius: 14px;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(14, 63, 38, 0.12) 0%, rgba(14, 63, 38, 0.2) 18%, rgba(14, 63, 38, 0.9) 34%, rgba(14, 63, 38, 0.96) 100%);
  }

  .hero-media-slide {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    filter: none;
  }

  .hero h1 {
    text-shadow: 0 3px 18px rgba(7, 35, 21, 0.46);
  }

  .hero-texture {
    inset: 48px 12px 58px;
    border-radius: 14px;
  }

  .hero-market {
    margin-bottom: 22px;
  }

  .hero-actions {
    display: grid;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .about-page-hero,
  .about-page-story,
  .about-page-focus,
  .about-page-values {
    padding-right: 16px;
    padding-left: 16px;
  }

  .about-page-hero-copy h1 {
    font-size: 46px;
  }

  .about-page-hero-media,
  .about-page-story-media,
  .about-page-story-media img {
    min-height: 0;
  }

  .about-page-focus-grid article {
    padding: 22px;
  }

  .route-ready[data-route="products"] .products-section,
  .section {
    padding-inline: 16px;
  }

  .product-catalog-intro h1 {
    font-size: 40px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 38px 16px 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links a,
  .footer-contact a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .footer-contact .office-addresses {
    grid-template-columns: 1fr;
  }

  .footer-brand img {
    width: 52px;
    height: 52px;
  }

  .footer-bottom {
    display: grid;
  }

  .quality-overview {
    gap: 24px;
  }

  .buyer-board {
    grid-template-columns: 1fr;
  }

  .buyer-board article {
    min-height: 124px;
    padding: 16px 16px 16px 62px;
  }

  .buyer-board svg {
    position: absolute;
    top: 20px;
    left: 20px;
  }

  .buyer-board h3 {
    margin-top: 0;
  }

  .line-card {
    min-height: 360px;
  }

  .line-card::before {
    top: 92px;
    right: 22px;
    left: 22px;
    height: 118px;
  }

  .line-card > img {
    top: 88px;
    width: min(48%, 168px);
    height: auto;
    max-height: 124px;
  }

  .line-card-photo-stage {
    top: 84px;
    right: 30px;
    left: 30px;
    height: 132px;
  }

  .line-card strong {
    font-size: 21px;
  }

  .line-card em {
    max-width: 100%;
    margin-top: 142px;
  }

  .search-box {
    min-width: 100%;
  }

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

  .quality-snapshot {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* These used to be hidden here, but with the checkpoint card gone they are
     the only supporting content the section has left. */
  .quality-points {
    gap: 12px;
  }

  .quality-point {
    gap: 8px;
    min-width: 0;
    padding: 16px;
    text-align: left;
  }

  .point-icon {
    width: 42px;
    height: 42px;
  }

  .point-label {
    font-size: 14px;
  }

  .about-visual div {
    left: 16px;
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
    padding: 0;
  }

  .about-visual strong {
    font-size: 16px;
  }

  .activity-section {
    padding-inline: 16px;
  }

  .activity-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
    box-shadow: 0 18px 48px rgba(40, 54, 24, 0.13);
  }

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

  .activity-gallery img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .dialog-info {
    padding: 24px;
  }

  .dialog-actions {
    margin-left: 0;
  }

}
