/* SeedGene — classic corporate site. One stylesheet, no framework. */
:root {
  --green-950: #0d2a19;
  --green-900: #12361f;
  --green-800: #1a4a2b;
  --green-700: #126836;
  --green-500: #3c8f4f;
  --orange: #e2620a;
  --orange-brand: #f47216;
  --orange-700: #b84c08;
  --navy: #141b5c;
  --gold: #f47216;
  --cream: #faf7ef;
  --paper: #ffffff;
  --sand: #f1ebdc;
  --line: #e4dccb;
  --ink: #1b2420;
  --muted: #5a645e;
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --te-serif: "Noto Serif Telugu", "Nirmala UI", serif;
  --te-sans: "Noto Sans Telugu", "Nirmala UI", sans-serif;
  --shadow: 0 1px 2px rgba(13, 42, 25, .06), 0 8px 24px rgba(13, 42, 25, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.65 var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
html[lang="te"] body { font-family: var(--te-sans); line-height: 1.8; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; color: var(--green-950); }
html[lang="te"] h1, html[lang="te"] h2, html[lang="te"] h3 { font-family: var(--te-serif); letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 1rem;
}
html[lang="te"] .eyebrow { font-family: var(--te-sans); letter-spacing: .02em; text-transform: none; font-size: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em; justify-content: center;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-700); }
.btn-green { background: var(--green-800); color: #fff; }
.btn-green:hover { background: var(--green-950); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn svg { width: 18px; height: 18px; }

/* Top bar + header */
.topbar { background: var(--green-950); color: #d9e6dc; font-size: .86rem; }
.topbar .wrap { display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; min-height: 40px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .contact { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.lang { display: inline-flex; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; color: inherit; padding: .25em .85em; cursor: pointer; font-size: .82rem; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--green-950); font-weight: 600; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 239, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { text-decoration: none; padding: .55em .9em; border-radius: 999px; font-weight: 500; color: var(--green-900); }
.nav a:hover { background: var(--sand); }
.nav a[aria-current="page"] { color: var(--orange-700); }
.nav .btn { margin-left: .6rem; min-height: 42px; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--green-950); margin: 4px auto; transition: transform .25s, opacity .25s; }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 116px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem 16px 1.2rem;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: .9em .4em; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 1rem 0 0; }
  .topbar .contact .hide-sm { display: none; }
}

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--green-950); }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 18, .15) 0%, rgba(10, 30, 18, .25) 45%, rgba(10, 30, 18, .82) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-block: 7rem 4rem; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #e6efe8; }
.hero .eyebrow { color: #f3d58e; }
.hero .eyebrow::before { background: #f3d58e; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-toggle { position: absolute; left: 16px; bottom: 16px; z-index: 3; background: rgba(0, 0, 0, .35); color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .4em .9em; font-size: .8rem; cursor: pointer; }

/* Facts strip */
.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { padding: 1.6rem 1.2rem; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font: 600 2rem/1.1 var(--serif); color: var(--green-800); }
.fact span { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) {
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .fact { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:last-child { grid-column: 1 / -1; }
}

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section.alt { background: var(--paper); }
.section.green { background: var(--green-900); color: #dfeae2; }
.section.green h2, .section.green h3 { color: #fff; }
.section.green .eyebrow { color: #f3d58e; }
.section.green .lead { color: #c3d4c8; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.head .lead { margin: 0; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.photo { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.photo .tag { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); color: var(--green-950); border-radius: 999px; padding: .35em .9em; font-size: .82rem; font-weight: 600; }
.textlink { color: var(--orange-700); font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Crop grid */
.crops { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 960px) { .crops { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .crops { grid-template-columns: 1fr; } }
.crop { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--green-950); color: #fff; text-decoration: none; aspect-ratio: 4 / 3; isolation: isolate; }
.crop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); z-index: -1; }
.crop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 26, 15, .85)); z-index: -1; }
.crop:hover img { transform: scale(1.05); }
.crop .body { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; }
.crop h3 { color: #fff; margin: 0; font-size: 1.5rem; }
.crop .te { font-family: var(--te-sans); opacity: .85; font-size: .95rem; }
.crop .count { position: absolute; top: 1rem; right: 1rem; background: rgba(255, 255, 255, .92); color: var(--green-950); border-radius: 999px; padding: .3em .8em; font-size: .8rem; font-weight: 600; }

/* Facility cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card .body { padding: 1.4rem 1.4rem 1.6rem; }
.card p { color: var(--muted); margin: 0; }
.section.green .card { background: var(--green-800); border-color: rgba(255, 255, 255, .08); }
.section.green .card p { color: #c3d4c8; }

/* Film */
.film { border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); position: relative; }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.film-langs { display: flex; gap: .5rem; margin-top: 1rem; }
.chip { border: 1.5px solid var(--line); background: var(--paper); border-radius: 999px; padding: .45em 1.1em; cursor: pointer; font-weight: 600; color: var(--green-900); }
.chip[aria-pressed="true"] { background: var(--green-800); border-color: var(--green-800); color: #fff; }

/* Journey */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding: 1.6rem 1.2rem 0 0; border-top: 2px solid rgba(255, 255, 255, .18); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; top: -.95rem; left: 0; background: var(--green-900); padding-right: .6rem; font: 600 1rem/1.6 var(--serif); color: #f3d58e; }
.steps b { display: block; color: #fff; font-size: 1.1rem; margin-bottom: .2rem; }
.steps span { color: #c3d4c8; font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 1.6rem; } }

/* Downloads */
.doc { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.doc:hover { border-color: var(--green-500); }
.doc b { display: block; color: var(--green-950); }
.doc small { color: var(--muted); }

/* Leader */
.leader { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: start; }
.monogram { width: 84px; height: 84px; border-radius: 50%; background: var(--green-800); color: #fff; display: grid; place-items: center; font: 600 1.6rem var(--serif); }
.leader h3 { margin-bottom: .1rem; }
.leader .role { color: var(--orange-700); font-weight: 600; font-size: .92rem; margin-bottom: .8rem; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--green-950); }
.section.green .form label { color: #e7efe9; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: .8em 1em; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(60, 143, 79, .2); }
.form .note { font-size: .85rem; color: var(--muted); }
.section.green .form .note { color: #b8cbbd; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* Products page */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.variety-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; }
.variety { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.1rem; }
.variety b { display: block; font: 600 1.25rem/1.25 var(--serif); color: var(--green-950); }
.variety small { color: var(--muted); }
.variety .pill { display: inline-block; margin-top: .7rem; font-size: .76rem; font-weight: 600; padding: .25em .7em; border-radius: 999px; background: #e8f1ea; color: var(--green-700); }
.variety .pill.hy { background: #fdeee2; color: var(--orange-700); }
.crop-block { padding-block: 2.4rem; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.crop-block header { display: grid; grid-template-columns: 220px 1fr; gap: 1.6rem; align-items: center; margin-bottom: 1.4rem; }
.crop-block header img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 640px) { .crop-block header { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--green-950); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero .wrap { position: relative; padding-block: 6rem 3.4rem; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-hero .lead { color: #dbe7de; }
.crumbs { font-size: .85rem; color: #c9d8cd; margin-bottom: 1rem; }
.crumbs a { text-decoration: none; }

.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.list-check li { padding-left: 1.8rem; position: relative; }
.list-check li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px #e3efe6; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info { display: grid; gap: 1.2rem; }
.info div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.info small { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; color: var(--muted); font-weight: 600; margin-bottom: .2rem; }
.info a { text-decoration: none; color: var(--green-900); font-weight: 600; }

/* CTA band */
.cta-band { background: var(--orange); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 2.6rem; }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }

/* Footer */
.footer { background: var(--green-950); color: #b8cbbd; font-size: .93rem; }
.footer .wrap { padding-block: 4rem 2rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer .logo-w { background: #fff; display: inline-block; padding: .6rem .9rem; border-radius: 10px; margin-bottom: 1rem; }
.footer .logo-w img { height: 48px; }
.footer .base { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; }

/* Reveal (progressive: content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.wa-float svg { width: 28px; height: 28px; }

@media (max-width: 560px) { .topbar .hl-label { display: none; } }

/* variety specs (from the SeedGene catalogue) */
.variety .specs { list-style: none; margin: .75rem 0 0; padding: .7rem 0 0; border-top: 1px solid var(--line); font-size: .84rem; line-height: 1.45; color: var(--muted); display: grid; gap: .25rem; }
.variety .specs li:first-child { color: var(--ink); font-weight: 500; }

/* packet artwork */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2rem; }
.packs figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.packs img { width: 100%; aspect-ratio: 560 / 700; object-fit: contain; padding: 1rem 1rem 0; }
.packs figcaption { padding: .8rem 1.1rem 1.1rem; display: grid; gap: .1rem; }
.packs figcaption b { font: 600 1.2rem/1.25 var(--serif); color: var(--green-950); }
.packs figcaption span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .packs { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }
