/* AgrowNex exports: one system for /export and /export/<line>.
   Kind: product (B2B goods). Brand forest with a turmeric-gold accent; photographs carry the colour.
   Motion: hero entrance once, hover and press only. No scroll effects. */
:root {
  --ink: #16211b;
  --muted: #4b5850;
  --ground: #ffffff;
  --ground-2: #eff3f0;
  --forest: #0f2418;
  --line: #d5ddd8;
  --accent: #e3a21a;
  --on-forest: #dce6de;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --r-1: 6px; --r-2: 14px; --r-pill: 999px;

  --display: "Catamaran", "Hind Madurai", system-ui, sans-serif;
  --text: "Hind Madurai", system-ui, sans-serif;

  --t-13: 13px; --t-16: 16px; --t-18: 18px; --t-20: 20px; --t-24: 24px;
  --t-32: 32px; --t-44: 44px; --t-60: 60px;

  --fast: 160ms; --base: 240ms; --enter: 700ms;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 var(--t-18)/1.6 var(--text); }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; color: inherit; }
h1 { font-size: clamp(44px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 3.8vw, var(--t-60)); line-height: 1.05; letter-spacing: -0.025em; }
h3 { font-size: var(--t-24); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--s-5)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: var(--s-2); background: var(--ground); padding: var(--s-2) var(--s-4); z-index: 30; }
.skip:focus { left: var(--s-2); }
.lead { font-size: var(--t-20); line-height: 1.55; max-width: 60ch; color: var(--muted); }
.note { font-size: var(--t-16); color: var(--muted); max-width: 72ch; }

/* ---------- buttons: one filled, one outlined ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 52px;
  padding: 0 var(--s-6); border-radius: var(--r-pill); font: 600 var(--t-18)/1 var(--text); text-decoration: none;
  border: 2px solid var(--accent); background: var(--accent); color: var(--forest); cursor: pointer;
  transition: filter var(--fast), transform var(--fast), background var(--fast); }
.btn:hover { filter: brightness(1.07); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { background: rgba(255, 255, 255, .16); filter: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* ---------- header ---------- */
.xhead { position: sticky; top: 0; z-index: 20; background: var(--forest); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.xhead .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 72px; }
.brand { display: flex; align-items: center; gap: var(--s-3); color: #fff; text-decoration: none; font: 600 var(--t-20)/1 var(--display); }
.brand img { width: 38px; height: 38px; }
.brand small { display: block; font: 400 var(--t-13)/1.2 var(--text); color: var(--on-forest); margin-top: var(--s-1); }
.xnav { display: flex; align-items: center; gap: var(--s-5); margin-left: auto; }
.xnav a { color: var(--on-forest); text-decoration: none; font-size: var(--t-16); }
.xnav a:hover { color: #fff; text-decoration: underline; }
.xnav .btn { min-height: 44px; padding: 0 var(--s-5); font-size: var(--t-16); color: var(--forest); }
.xnav .btn:hover { text-decoration: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .16); color: #fff;
  border-radius: var(--r-1); width: 44px; height: 44px; cursor: pointer; }

/* ---------- hero: copy on forest, the goods large beside it ---------- */
.xhero { background: var(--forest); color: #fff; overflow: hidden; }
.xhero .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: var(--s-8); align-items: center;
  width: min(var(--wrap), 100% - 2 * var(--s-5)); margin-inline: auto; padding: var(--s-8) 0 var(--s-9); }
.xhero .crumb { font-size: var(--t-16); color: var(--on-forest); margin-bottom: var(--s-5); }
.xhero .crumb a { color: var(--on-forest); }
.xhero h1 { max-width: 15ch; }
.xhero .lead { color: var(--on-forest); margin-top: var(--s-5); max-width: 46ch; }
.proof, .glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); margin: var(--s-7) 0 0;
  padding: var(--s-5) 0 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.glance { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s-6); }
.proof dt, .glance dt { font-size: var(--t-13); color: var(--accent); font-weight: 500; }
.proof dd, .glance dd { margin: var(--s-1) 0 0; font-size: var(--t-16); color: #fff; }
.mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--s-3); height: min(64vh, 600px); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-2); }
.mosaic .m1 { grid-row: span 2; }
.xhero.line .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.xhero .single { height: min(62vh, 560px); }
.xhero .single img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-2); }
@media (prefers-reduced-motion: no-preference) {
  .xhero .copy, .xhero .mosaic, .xhero .single { animation: rise var(--enter) cubic-bezier(.2, .7, .2, 1) both; }
  .xhero .mosaic, .xhero .single { animation-delay: 120ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- sections ---------- */
.sec { padding: var(--s-10) 0; }
.sec.alt { background: var(--ground-2); }
.sec.dark { background: var(--forest); color: #fff; }
.sec.dark .lead, .sec.dark .note { color: var(--on-forest); }
.sec.dark a { color: #fff; }
.sec h2 { max-width: 20ch; }
.sec .lead { margin-top: var(--s-5); }
.two { display: grid; grid-template-columns: 5fr 7fr; gap: var(--s-8); align-items: start; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.split .photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-2); }

/* ---------- catalogue ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }
.filters button { font: 500 var(--t-16)/1 var(--text); color: var(--ink); background: var(--ground); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: var(--s-3) var(--s-4); cursor: pointer; transition: background var(--fast), border-color var(--fast); }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.no-js .filters { display: none; }
.tiles { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); }
.tiles li[hidden] { display: none; }
.tile a { display: block; text-decoration: none; }
.tile .ph { overflow: hidden; border-radius: var(--r-2); aspect-ratio: 3 / 2; background: var(--line); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--base) ease; }
.tile a:hover img { transform: scale(1.03); }
.tile a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tile h3 { margin-top: var(--s-4); }
.tile p { color: var(--muted); font-size: var(--t-16); margin-top: var(--s-1); }
.tile .meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); margin-top: var(--s-3); font-size: var(--t-13); color: var(--muted); font-weight: 500; }

/* ---------- reasons ---------- */
.reasons { list-style: none; padding: 0; margin: var(--s-6) 0 0; border-top: 1px solid var(--line); }
.reasons li { padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.reasons b { display: block; font: 500 var(--t-24)/1.25 var(--display); letter-spacing: -0.01em; }
.reasons span { display: block; color: var(--muted); margin-top: var(--s-2); font-size: var(--t-16); }

/* ---------- identity facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--s-6) 0 0; border-top: 2px solid var(--ink); }
.facts div { padding: var(--s-4) var(--s-5) var(--s-4) 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: var(--t-13); color: var(--muted); font-weight: 500; }
.facts dd { margin: var(--s-1) 0 0; font-size: var(--t-18); font-weight: 500; overflow-wrap: anywhere; }
.facts .pending dd { color: var(--muted); font-weight: 400; }

/* ---------- tables ---------- */
.tbl-wrap { overflow-x: auto; margin-top: var(--s-6); }
table { width: 100%; border-collapse: collapse; font-size: var(--t-16); }
caption { text-align: left; font-size: var(--t-16); color: var(--muted); padding-bottom: var(--s-3); }
th, td { text-align: left; vertical-align: top; padding: var(--s-4) var(--s-5) var(--s-4) 0; border-bottom: 1px solid var(--line); }
thead th { font-weight: 600; font-size: var(--t-16); border-bottom: 2px solid var(--ink); }
tbody th { font-weight: 600; }
.spec tbody th { width: 22%; }
.spec td.hs { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- harvest calendar ---------- */
.cal { margin-top: var(--s-6); overflow-x: auto; }
.cal table { min-width: 640px; table-layout: fixed; }
.cal th, .cal td { padding: var(--s-2) var(--s-1); border-bottom: 0; text-align: center; font-size: var(--t-13); }
.cal thead th { border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.cal tbody th { text-align: left; font-size: var(--t-16); font-weight: 500; width: 28%; padding-right: var(--s-4); }
.cal td span { display: block; height: 24px; border-radius: var(--r-1); background: var(--line); }
.cal td.on span { background: var(--accent); }
.cal td.part span { position: relative; overflow: hidden; }
.cal td.part span::before, .key i.part::before { content: ""; position: absolute; inset: 0 50% 0 0; background: var(--accent); }
.key i.part { position: relative; overflow: hidden; background: var(--line); }
.key { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-4); font-size: var(--t-16); color: var(--muted); }
.key i { display: inline-block; width: 18px; height: 12px; border-radius: 3px; margin-right: var(--s-2); vertical-align: middle; background: var(--accent); }
.key i.base { background: var(--line); }

/* ---------- uses and lists ---------- */
.uses { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-4); }
.uses li { padding-left: var(--s-6); position: relative; }
.uses li::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 8px;
  border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.sec.dark .uses li::before { border-color: var(--accent); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); padding: 0; margin: var(--s-3) 0 0; }
.chips li { border: 1px solid var(--line); border-radius: var(--r-pill); padding: var(--s-1) var(--s-4); font-size: var(--t-16); background: var(--ground); }
.side { display: grid; gap: var(--s-5); margin: 0; }
.side dt { font-size: var(--t-13); color: var(--muted); font-weight: 500; }
.side dd { margin: var(--s-1) 0 0; }
.callout { border-left: 3px solid var(--accent); padding: var(--s-4) var(--s-5); background: var(--ground); font-size: var(--t-16); margin-top: var(--s-6); }

/* ---------- terms ---------- */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-8); margin: var(--s-7) 0 0; }
.terms div { padding: var(--s-5) 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.terms dt { font: 500 var(--t-20)/1.3 var(--display); color: var(--accent); }
.terms dd { margin: var(--s-2) 0 0; color: var(--on-forest); font-size: var(--t-16); }
.docs { columns: 2; column-gap: var(--s-8); }
.docs li { break-inside: avoid; margin-bottom: var(--s-3); }

/* ---------- process: a real sequence ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: var(--s-7) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-5); }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: var(--s-5); }
.steps li::before { content: counter(step); display: block; font: 500 var(--t-44)/1 var(--display); color: var(--accent); margin-bottom: var(--s-4); }
.steps b { display: block; font: 500 var(--t-20)/1.3 var(--display); }
.steps span { display: block; color: var(--muted); font-size: var(--t-16); margin-top: var(--s-2); }

/* ---------- quotation ---------- */
.quote-grid { display: grid; grid-template-columns: 4fr 7fr; gap: var(--s-8); align-items: start; }
.next { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; gap: var(--s-5); }
.next b { display: block; font-weight: 600; }
.next span { color: var(--muted); font-size: var(--t-16); }
.reach { display: grid; gap: var(--s-3); margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--t-16); }
.reach b { display: block; font-size: var(--t-13); color: var(--muted); font-weight: 500; }
.quote { position: relative; background: var(--ground); border: 1px solid var(--line); border-radius: var(--r-2); padding: var(--s-7); display: grid; gap: var(--s-5); }
.quote .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.quote label { display: block; font-size: var(--t-16); font-weight: 500; margin-bottom: var(--s-2); }
.quote input, .quote select, .quote textarea { width: 100%; min-height: 52px; padding: var(--s-3) var(--s-4); font: 400 var(--t-18)/1.4 var(--text);
  color: var(--ink); background: var(--ground); border: 1px solid var(--muted); border-radius: var(--r-1); transition: border-color var(--fast), box-shadow var(--fast); }
.quote input:focus, .quote select:focus, .quote textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 2px var(--accent); outline: none; }
.quote textarea { min-height: 120px; resize: vertical; }
.quote .opt { color: var(--muted); font-weight: 400; }
.quote .send { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.quote .send .btn-line { color: var(--forest); }
.quote .send .btn-line:hover { background: var(--ground-2); }
.quote .fine { font-size: var(--t-13); color: var(--muted); }
.quote .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote .fine.err { color: #9b2c1f; font-size: var(--t-16); }
.quote button[disabled] { opacity: .6; cursor: progress; }
.sent { display: grid; gap: var(--s-4); }
.sent h3 { font-size: var(--t-32); }
.sent p { color: var(--muted); }

/* ---------- download band ---------- */
.download { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-6); align-items: center; }
.download .doc { width: 88px; height: 112px; border-radius: var(--r-1); background: var(--ground); color: var(--forest); display: grid; place-items: center;
  font: 600 var(--t-16)/1 var(--display); }
.download h2 { font-size: var(--t-32); max-width: none; }
.download p { color: var(--on-forest); margin-top: var(--s-2); font-size: var(--t-16); }

/* ---------- related ---------- */
.related { list-style: none; padding: 0; margin: var(--s-6) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.others { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-6); padding: 0; list-style: none; font-size: var(--t-16); }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--s-6); border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--s-5) var(--s-7) var(--s-5) 0; font: 500 var(--t-20)/1.35 var(--display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: var(--s-4); font-size: var(--t-24); line-height: 1; color: var(--muted); transition: transform var(--fast); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--s-5); color: var(--muted); max-width: 70ch; }

/* ---------- sticky quote bar (phones only) ---------- */
.qbar { display: none; }

/* ---------- footer ---------- */
.xfoot { background: var(--forest); color: var(--on-forest); padding: var(--s-9) 0 var(--s-6); font-size: var(--t-16); }
.xfoot a { color: #fff; }
.xfoot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-7); }
.xfoot h2 { font-size: var(--t-20); margin-bottom: var(--s-4); color: #fff; letter-spacing: 0; }
.xfoot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.xfoot .legal { border-top: 1px solid rgba(255, 255, 255, .16); margin-top: var(--s-8); padding-top: var(--s-5); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .xhero .grid, .xhero.line .grid { grid-template-columns: 1fr; gap: var(--s-7); padding-top: var(--s-7); }
  .mosaic { height: 420px; }
  .xhero .single { height: 380px; }
  .two, .quote-grid, .split { grid-template-columns: 1fr; gap: var(--s-7); }
  .split .photo img { aspect-ratio: 3 / 2; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .menu-btn { display: grid; place-items: center; }
  .xnav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--forest); flex-direction: column;
    align-items: flex-start; padding: var(--s-4) var(--s-5) var(--s-5); gap: var(--s-4); }
  .xnav.open { display: flex; }
  .facts { grid-template-columns: 1fr 1fr; }
  .terms { grid-template-columns: 1fr; }
  .docs { columns: 1; }
  .related { grid-template-columns: 1fr 1fr; }
  .download { grid-template-columns: 1fr; }
  .xfoot .cols { grid-template-columns: 1fr; gap: var(--s-6); }
  .qbar { display: grid; grid-template-columns: 1fr auto; gap: var(--s-2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: var(--s-3) var(--s-4); background: var(--forest); border-top: 1px solid rgba(255, 255, 255, .16);
    transform: translateY(110%); transition: transform var(--base) ease; }
  .qbar.show { transform: none; }
  .qbar .btn { min-height: 48px; padding: 0 var(--s-4); font-size: var(--t-16); }
  .qbar .btn-line { color: #fff; }
  body { padding-bottom: var(--s-9); }
}
@media (max-width: 600px) {
  h1 { font-size: 44px; }
  .sec { padding: var(--s-8) 0; }
  .mosaic { height: 320px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr; gap: var(--s-6); }
  .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .quote { padding: var(--s-5); }
  .quote .row { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .cal tbody th { width: 34%; font-size: var(--t-13); }
  .spec thead { display: none; }
  .spec tr { display: block; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
  .spec th, .spec td { display: block; border: 0; padding: var(--s-1) 0; width: auto; }
  .spec tbody th { font-size: var(--t-18); width: auto; }
  .spec td::before { content: attr(data-label) ": "; color: var(--muted); font-size: var(--t-13); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
