/* Roy Agro Food Products Ltd. — site styles */

:root {
  --green-900: #0a3324;
  --green-800: #0d4922;
  --green-600: #146b36;
  --green-500: #118d44;
  --gold: #d9a12b;
  --lentil: #d4582a;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --white: #ffffff;
  --ink: #171b18;
  --ink-2: #4b534d;
  --ink-3: #8a918c;
  --line: rgba(23, 27, 24, 0.14);
  --line-strong: rgba(23, 27, 24, 0.3);
  --line-light: rgba(255, 255, 255, 0.18);

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.eyebrow--light { color: rgba(255,255,255,0.72); }
.eyebrow--num::before { display: none; }
.eyebrow--num span { font-variant-numeric: tabular-nums; color: var(--green-500); }

.display {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  line-height: 1.02; font-weight: 500; letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.06; font-weight: 500; letter-spacing: -0.02em;
  text-wrap: balance;
}
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ink-2); font-weight: 300; text-wrap: pretty; }
.small { font-size: 0.92rem; color: var(--ink-2); }
.light { font-weight: 300; }
.em { color: var(--green-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 0.95rem; font-weight: 500; letter-spacing: 0.01em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--green-800); color: var(--white); }
.btn--primary:hover { background: var(--green-600); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--on-dark { border: 1px solid rgba(255,255,255,0.4); color: var(--white); }
.btn--on-dark:hover { background: var(--white); color: var(--ink); }
.btn--solid-light { background: var(--white); color: var(--green-900); }
.btn--solid-light:hover { background: var(--paper); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link svg { width: 14px; height: 14px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s;
  color: var(--white);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img { height: 40px; width: auto; }
.nav__logo .wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.nav__logo .wordmark b { font-weight: 600; letter-spacing: 0.06em; font-size: 0.95rem; }
.nav__logo .wordmark span { font-size: 0.72rem; font-weight: 400; opacity: 0.8; letter-spacing: 0.02em; }
.nav__links { display: flex; gap: 30px; font-size: 0.92rem; font-weight: 500; }
.nav__links a { position: relative; opacity: 0.86; transition: opacity 0.2s; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: inline-flex; }
.nav .btn--nav { padding: 11px 18px; font-size: 0.88rem; border: 1px solid rgba(255,255,255,0.45); }
.nav .btn--nav:hover { background: var(--white); color: var(--green-900); }

.nav.is-solid { background: rgba(244, 241, 234, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .btn--nav { border-color: var(--line-strong); }
.nav.is-solid .btn--nav:hover { background: var(--ink); color: var(--paper); }
.nav.is-solid .nav__logo .logo-dark { display: block; }
.nav.is-solid .nav__logo .logo-light { display: none; }
.nav .logo-dark { display: none; }

.nav__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.3s var(--ease), background 0.3s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.nav__burger span::before { top: -7px; } .nav__burger span::after { top: 7px; }
body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav__burger span::after { transform: translateY(-7px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--green-900); color: var(--white);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) 48px;
  transform: translateY(-100%); transition: transform 0.6s var(--ease); visibility: hidden;
}
body.menu-open .menu { transform: translateY(0); visibility: visible; }
.menu a { font-size: clamp(2rem, 8vw, 3.2rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.menu .menu__meta { margin-top: 32px; font-size: 0.9rem; opacity: 0.7; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 640px; overflow: hidden;
  background: var(--green-900); color: var(--white);
}
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.14) translate(-1.2%, -1%); } }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,51,36,0.45) 0%, rgba(10,51,36,0.05) 35%, rgba(10,51,36,0.6) 100%),
    linear-gradient(90deg, rgba(10,51,36,0.55) 0%, rgba(10,51,36,0.0) 60%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(40px, 7vh, 84px);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.hero h1 { max-width: 13ch; margin-top: 22px; }
.hero__sub { max-width: 44ch; color: rgba(255,255,255,0.84); font-weight: 300; font-size: clamp(1.05rem, 1.5vw, 1.25rem); margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__side { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.hero__caption { text-align: right; font-size: 0.9rem; color: rgba(255,255,255,0.82); max-width: 30ch; min-height: 2.8em; }
.hero__caption b { display: block; font-weight: 500; color: var(--white); }
.hero__nav { display: flex; align-items: center; gap: 18px; }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 40px; height: 2px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; border-radius: 2px; }
.hero__dots button::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-active::after { animation: fill 7s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.4); display: grid; place-items: center; transition: background 0.3s, color 0.3s; }
.hero__arrows button:hover { background: var(--white); color: var(--green-900); }
.hero__arrows svg { width: 16px; height: 16px; }
.hero__count { font-variant-numeric: tabular-nums; font-size: 0.85rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.8); }
.hero__scroll { position: absolute; left: var(--gutter); bottom: 20px; z-index: 2; display: none; }

/* ---------- Section commons ---------- */
.section { padding-block: clamp(80px, 11vw, 160px); }
.section--tight { padding-block: clamp(56px, 8vw, 110px); }
.section--dark { background: var(--green-900); color: var(--white); }
.section--dark .eyebrow { color: rgba(255,255,255,0.7); }
.section--dark .lede { color: rgba(255,255,255,0.78); }
.section--white { background: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .h2 { margin-top: 18px; }
.section-head .lede { max-width: 48ch; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--dark .rule { background: var(--line-light); }

/* ---------- Intro / at a glance ---------- */
.intro { border-top: 1px solid var(--line); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px 80px; }
.intro__text .h2 { margin-top: 18px; max-width: 18ch; }
.intro__text p { margin-top: 26px; max-width: 54ch; }
.intro__lines { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.intro__lines li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.intro__lines li span:first-child { font-size: 0.8rem; color: var(--green-500); font-weight: 500; letter-spacing: 0.1em; }
.intro__lines li b { font-weight: 500; }
.intro__lines li p { display: inline; margin: 0; color: var(--ink-2); font-weight: 300; }
.facts { display: grid; gap: 0; align-content: start; border-top: 1px solid var(--line); }
.fact { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.fact__value { font-size: clamp(2.4rem, 4.5vw, 3.8rem); line-height: 1; font-weight: 500; letter-spacing: -0.03em; color: var(--green-800); }
.fact__value small { font-size: 0.45em; font-weight: 400; letter-spacing: 0; color: var(--ink-2); margin-left: 6px; }
.fact__label { color: var(--ink-2); font-weight: 300; max-width: 36ch; }
.intro__photo { grid-column: 1 / -1; margin-top: 24px; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 6px; }
.intro__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Products ---------- */
.products__layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.products__group + .products__group { margin-top: 64px; }
.products__group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.products__group-head .h3 { font-size: 1.1rem; font-weight: 500; }
.products__group-head .small { font-variant-numeric: tabular-nums; }
.plist li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); transition: background 0.3s; }
.plist li:hover { background: linear-gradient(90deg, rgba(17,141,68,0.05), transparent); }
.plist .idx { font-size: 0.78rem; letter-spacing: 0.1em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.plist .name { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.01em; }
.plist .name small { display: block; font-size: 0.9rem; font-weight: 300; color: var(--ink-2); margin-top: 2px; letter-spacing: 0; }
.plist .tag { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.products__aside { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 20px; }
.products__aside figure { margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; }
.products__aside figure img { width: 100%; height: 100%; object-fit: cover; }
.products__aside figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--ink-2); }
.products__note { padding: 22px 24px; border: 1px solid var(--line); border-radius: 6px; font-weight: 300; color: var(--ink-2); font-size: 0.95rem; }
.products__note b { font-weight: 500; color: var(--ink); display: block; margin-bottom: 6px; }

/* ---------- Clients ---------- */
.clients__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px 80px; }
.clients__list { border-top: 1px solid var(--line-light); }
.clients__list li { padding: 26px 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.clients__list .name { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.clients__list .units { margin-top: 8px; color: rgba(255,255,255,0.68); font-weight: 300; font-size: 0.98rem; }
.clients__list .kind { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); padding-top: 10px; white-space: nowrap; }
.clients__text .h2 { margin-top: 18px; max-width: 16ch; }
.clients__text p { margin-top: 24px; max-width: 46ch; color: rgba(255,255,255,0.8); font-weight: 300; }
.clients__how { margin-top: 44px; display: grid; gap: 18px; }
.clients__how li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; font-size: 0.98rem; color: rgba(255,255,255,0.85); }
.clients__how li span { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.1em; padding-top: 4px; }

/* ---------- Reach (scroll-driven map) ---------- */
.reach { position: relative; height: 420vh; background: var(--paper); }
.reach__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.reach__panel {
  width: 100%; height: 100%;
  background: var(--green-900); color: var(--white);
  border-radius: 28px; overflow: hidden;
  transform: scale(0.86);
  transform-origin: center;
  position: relative;
  will-change: transform, border-radius;
}
.reach__panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 70% 50%, rgba(17,141,68,0.28), transparent 70%);
  pointer-events: none;
}
.reach__inner { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; padding: clamp(28px, 5vw, 72px); align-items: center; }
.reach__copy { position: relative; z-index: 2; max-width: 44ch; }
.reach__copy .h2 { margin-top: 18px; max-width: 14ch; }
.reach__copy p { margin-top: 22px; color: rgba(255,255,255,0.8); font-weight: 300; }
.reach__stats { margin-top: 34px; display: grid; grid-template-columns: repeat(3, auto); gap: 28px; justify-content: start; }
.reach__stats div { display: grid; gap: 4px; }
.reach__stats b { font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1; }
.reach__stats span { font-size: 0.82rem; color: rgba(255,255,255,0.66); }
.reach__map { position: relative; height: 100%; display: grid; place-items: center; }
.reach__map svg { height: min(84vh, 100%); width: auto; max-width: 100%; overflow: visible; }
.bd-land { fill: #0f4a30; stroke: rgba(255,255,255,0.28); stroke-width: 0.8; vector-effect: non-scaling-stroke; }
.arc { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; opacity: 0.95; vector-effect: non-scaling-stroke; }
.arc--pulse { stroke: rgba(255,255,255,0.9); stroke-width: 2.2; stroke-dasharray: 2 28; }
.node { fill: var(--white); }
.node--origin { fill: var(--gold); }
.node-ring { fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0.8; }
.label { font-family: var(--font); font-size: 13px; fill: rgba(255,255,255,0.9); font-weight: 400; letter-spacing: 0.02em; }
.label--origin { fill: var(--gold); font-weight: 500; }
.reach__legend { position: absolute; left: clamp(28px, 5vw, 72px); bottom: clamp(24px, 4vw, 48px); display: flex; gap: 24px; font-size: 0.8rem; color: rgba(255,255,255,0.7); z-index: 2; }
.reach__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }

/* ---------- Mill ---------- */
.mill__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.mill__head .h2 { margin-top: 18px; max-width: 15ch; }
.mill__head .lede { max-width: 46ch; }
.mill__gallery { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(420px, 60vw, 720px); }
.mill__gallery figure { margin: 0; overflow: hidden; border-radius: 6px; position: relative; }
.mill__gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mill__gallery figure:hover img { transform: scale(1.04); }
.mill__gallery figure:nth-child(1) { grid-row: 1 / 3; }
.mill__gallery figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 0.82rem; color: var(--white); background: rgba(10,51,36,0.6); padding: 6px 10px; border-radius: 4px; backdrop-filter: blur(6px); }
.mill__specs { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.mill__specs > div { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); margin-right: 24px; }
.mill__specs > div:last-child { border-right: 0; }
.mill__specs b { display: block; font-size: 1.9rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: var(--green-800); }
.mill__specs b small { font-size: 0.5em; font-weight: 400; color: var(--ink-2); margin-left: 4px; }
.mill__specs span { display: block; margin-top: 10px; color: var(--ink-2); font-weight: 300; font-size: 0.95rem; }
.mill__process { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 64px; }
.steps { counter-reset: step; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr; gap: 12px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-size: 0.78rem; letter-spacing: 0.1em; color: var(--green-500); padding-top: 5px; }
.steps b { display: block; font-weight: 500; }
.steps span { color: var(--ink-2); font-weight: 300; font-size: 0.95rem; }

/* ---------- Standards ---------- */
.standards { background: var(--paper-2); }
.standards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: clamp(40px, 5vw, 64px); }
.standards__item { padding-top: 22px; border-top: 1px solid var(--ink); }
.standards__item .h3 { font-size: 1.25rem; }
.standards__item p { margin-top: 12px; color: var(--ink-2); font-weight: 300; }

/* ---------- Founder ---------- */
.founder__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px 96px; align-items: start; }
.founder__photo { position: sticky; top: calc(var(--nav-h) + 24px); }
.founder__photo figure { margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: #2a2f33; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__photo figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-size: 0.9rem; color: var(--ink-2); }
.founder__photo figcaption b { font-weight: 500; color: var(--ink); }
.founder__text .h2 { margin-top: 18px; max-width: 16ch; }
.founder__text .lede { margin-top: 24px; }
.founder__text p + p { margin-top: 18px; }
.founder__text .body { margin-top: 28px; max-width: 56ch; }
.founder__text .body p { color: var(--ink-2); font-weight: 300; }
.timeline { margin-top: 44px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline .year { font-weight: 500; color: var(--green-800); letter-spacing: 0.02em; }
.timeline .what { color: var(--ink-2); font-weight: 300; }
.timeline .what b { font-weight: 500; color: var(--ink); }

/* ---------- Next ---------- */
.next { background: var(--green-800); color: var(--white); position: relative; overflow: hidden; }
.next__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 80px; align-items: center; }
.next .h2 { margin-top: 18px; max-width: 18ch; }
.next p { margin-top: 22px; color: rgba(255,255,255,0.8); font-weight: 300; max-width: 50ch; }
.next__photo { border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 3; }
.next__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Careers ---------- */
.jobs { border-top: 1px solid var(--ink); }
.job { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background 0.3s; }
.job:hover { background: linear-gradient(90deg, rgba(17,141,68,0.05), transparent); }
.job .title { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -0.01em; }
.job .meta { color: var(--ink-2); font-weight: 300; font-size: 0.95rem; }
.job .meta b { display: block; font-weight: 500; color: var(--ink); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.careers__foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; color: var(--ink-2); font-weight: 300; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 96px; }
.contact__text .h2 { margin-top: 18px; max-width: 14ch; }
.contact__text p { margin-top: 22px; color: rgba(255,255,255,0.78); font-weight: 300; max-width: 44ch; }
.addr { margin-top: 40px; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.addr li { padding: 20px 0; border-bottom: 1px solid var(--line-light); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.addr .k { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); padding-top: 4px; }
.addr .v { font-weight: 300; color: rgba(255,255,255,0.9); }
.addr .v b { font-weight: 500; display: block; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.35);
  color: var(--white); font: inherit; padding: 10px 0; border-radius: 0; outline: none;
  transition: border-color 0.3s;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 110px; resize: vertical; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form__foot .small { color: rgba(255,255,255,0.6); max-width: 36ch; }

/* ---------- Footer ---------- */
.footer { background: #06241a; color: rgba(255,255,255,0.82); padding: 56px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { height: 46px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 32ch; font-weight: 300; font-size: 0.95rem; color: rgba(255,255,255,0.65); }
.footer h4 { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 14px; font-weight: 500; }
.footer ul li + li { margin-top: 10px; }
.footer ul a { font-size: 0.95rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--white); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .section-head, .intro__grid, .products__layout, .clients__grid, .mill__head, .mill__process, .founder__grid, .next__grid, .contact__grid { grid-template-columns: 1fr; }
  .products__aside, .founder__photo { position: static; }
  .products__aside figure { aspect-ratio: 16 / 10; }
  .founder__photo figure { aspect-ratio: 4 / 5; max-width: 480px; }
  .mill__specs { grid-template-columns: 1fr 1fr; }
  .mill__specs > div:nth-child(2) { border-right: 0; }
  .standards__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .reach__inner { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 12px; align-items: start; }
  .reach__copy .h2 { max-width: 18ch; }
  .reach__map svg { height: auto; width: min(100%, 52vh); }
  .reach__legend { display: none; }
  .reach { height: 360vh; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { min-height: 560px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__side { align-items: flex-start; }
  .hero__caption { text-align: left; }
  .hero__dots button { width: 28px; }
  .mill__gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .mill__gallery figure { aspect-ratio: 4 / 3; }
  .mill__gallery figure:nth-child(1) { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .steps { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; gap: 12px; }
  .job .btn { justify-self: start; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .addr li, .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .reach__panel { border-radius: 18px; transform: scale(0.92); }
  .reach__stats { gap: 18px; }
  .intro__lines li { grid-template-columns: 40px 1fr; }
  .plist li { grid-template-columns: 36px 1fr; }
  .plist .tag { grid-column: 2; }
  .clients__list li { grid-template-columns: 1fr; gap: 6px; }
  .clients__list .kind { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide.is-active img { animation: none; }
  .hero__dots button.is-active::after { animation: none; transform: scaleX(1); }
}

/* ---------- Nav over the dark reach panel ---------- */
body.over-dark .nav.is-solid { background: transparent; box-shadow: none; color: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.over-dark .nav.is-solid .logo-dark { display: none; }
body.over-dark .nav.is-solid .logo-light { display: block; }
body.over-dark .nav.is-solid .btn--nav { border-color: rgba(255,255,255,0.45); }
body.over-dark .nav.is-solid .btn--nav:hover { background: var(--white); color: var(--green-900); }

@media (max-width: 1100px) {
  .reach__inner { padding-top: calc(var(--nav-h) + 8px); }
}
@media (max-width: 720px) {
  .eyebrow { font-size: 0.7rem; letter-spacing: 0.14em; }
  .hero__caption { min-height: 0; }
}

/* ---------- Product grid ---------- */
.products__group + .products__group { margin-top: clamp(56px, 7vw, 96px); }
.products__group-head { margin-bottom: 28px; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.pcard figure { margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--paper-2); }
.pcard figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover figure img { transform: scale(1.04); }
.pcard__body { display: grid; grid-template-columns: 36px 1fr; gap: 6px 10px; padding-top: 14px; align-items: baseline; }
.pcard__body .idx { font-size: 0.76rem; letter-spacing: 0.1em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pcard__body h4 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.pcard__body p { grid-column: 2; margin: 0; font-size: 0.92rem; font-weight: 300; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; } .pcard__body { grid-template-columns: 1fr; } .pcard__body .idx { display: none; } .pcard__body h4 { font-size: 1.02rem; } }

/* ---------- Client logos ---------- */
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.logos li { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 22px 12px; border: 1px solid var(--line-light); border-radius: 6px; background: rgba(255,255,255,0.03); transition: background 0.3s; }
.logos li:hover { background: rgba(255,255,255,0.06); }
.logos__mark { width: 84px; height: 84px; display: grid; place-items: center; }
.logos__mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logos__mark--text { border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font-weight: 500; font-size: 1.3rem; letter-spacing: 0.06em; }
.logos__name { font-size: 0.86rem; font-weight: 500; line-height: 1.25; text-wrap: balance; }
.logos__name small { display: block; font-weight: 300; color: rgba(255,255,255,0.6); font-size: 0.78rem; margin-top: 3px; }
.clients__list--compact { margin-top: 28px; }
.clients__list--compact li { padding: 20px 0; }
.clients__list--compact .name { font-size: clamp(1.25rem, 2vw, 1.7rem); }
@media (max-width: 1100px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .logos { grid-template-columns: repeat(2, 1fr); } .logos__mark { width: 68px; height: 68px; } }

/* ---------- Mill compact ---------- */
.mill__gallery--three { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr; height: clamp(300px, 36vw, 480px); }
.mill__gallery--three figure:nth-child(1) { grid-row: auto; }
.mill__specs--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 720px) {
  .mill__gallery--three { grid-template-columns: 1fr 1fr; height: auto; }
  .mill__gallery--three figure:nth-child(1) { grid-column: 1 / -1; }
  .mill__specs--three { grid-template-columns: 1fr 1fr; }
}

/* ---------- Map network ---------- */
.arc--port { stroke: var(--gold); }
.arc--mill { stroke: rgba(255,255,255,0.85); }
.arc--hub { stroke: rgba(255,255,255,0.55); stroke-dasharray: 3 5; }
.node--port { fill: var(--gold); }
.node--hub { fill: var(--white); }
.node-ring--hub { stroke: rgba(255,255,255,0.7); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.lg--port { background: var(--gold); }
.lg--mill { background: var(--gold); box-shadow: 0 0 0 2px var(--green-900), 0 0 0 3px var(--gold); }
.lg--hub { background: #fff; }
.lg--point { background: rgba(255,255,255,0.55); }
.reach__legend { flex-wrap: wrap; gap: 14px 22px; }

/* ---------- Logo tiles: light background so dark emblems read on green ---------- */
.logos__mark { width: 92px; height: 92px; padding: 12px; border-radius: 14px; background: var(--paper); }
.logos__mark img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Hero: headline swap ---------- */
.hero__headline, .hero__sub { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.hero.is-switching .hero__headline, .hero.is-switching .hero__sub { opacity: 0; transform: translateY(10px); }
.hero h1 { min-height: 2.04em; }

/* ---------- FMCG section ---------- */
.next__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.next__points { margin: 28px 0 24px; display: grid; gap: 14px; }
.next__points li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; color: rgba(255,255,255,0.88); font-size: 0.98rem; }
.next__points li span { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.1em; padding-top: 4px; }
.next__photo { position: relative; aspect-ratio: 3 / 2; }
.next__tag { position: absolute; left: 18px; top: 18px; background: var(--gold); color: var(--green-900); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
@media (max-width: 1100px) { .next__grid { grid-template-columns: 1fr; } .hero h1 { min-height: 0; } }

/* ---------- Mobile refinements ---------- */
@media (max-width: 720px) {
  .pcard__body { grid-template-columns: 1fr; gap: 4px; }
  .pcard__body p { grid-column: 1; }
  .reach__inner { grid-template-rows: auto minmax(0, 1fr); gap: 8px; padding-top: calc(var(--nav-h) + 4px); padding-bottom: 20px; }
  .reach__copy p { font-size: 0.95rem; margin-top: 14px; line-height: 1.45; }
  .reach__copy .h2 { margin-top: 12px; font-size: 1.75rem; }
  .reach__stats { margin-top: 18px; gap: 16px; }
  .reach__stats b { font-size: 1.4rem; }
  .reach__map { height: 100%; min-height: 0; align-items: start; justify-items: center; }
  .reach__map svg { height: 100%; width: auto; max-width: 100%; max-height: 100%; }
  .label { font-size: 15px; }
}
@media (max-width: 520px) {
  .logos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .logos li { padding: 14px 6px; gap: 10px; }
  .logos__mark { width: 60px; height: 60px; padding: 8px; border-radius: 10px; }
  .logos__name { font-size: 0.76rem; }
  .logos__name small { font-size: 0.68rem; }
}

/* ---------- Larger brand logo; six client tiles ---------- */
.nav__logo img { height: 52px; }
.footer__brand img { height: 58px; }
.logos { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.logos li { padding: 26px 14px; }
.logos__mark { width: 104px; height: 104px; padding: 14px; }
.logos__name { font-size: 0.92rem; }
@media (max-width: 720px) { .nav__logo img { height: 44px; } }
@media (max-width: 520px) {
  .logos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .logos li { padding: 14px 6px; }
  .logos__mark { width: 60px; height: 60px; padding: 8px; }
  .logos__name { font-size: 0.76rem; }
}

/* ---------- Job notice modal ---------- */
.job { cursor: pointer; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10, 30, 20, 0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal__box { position: relative; width: min(100%, 440px); background: var(--paper); border-radius: 10px; padding: 32px 28px 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); animation: modalIn 0.35s var(--ease); }
.modal__box .h3 { margin-top: 14px; }
.modal__text { margin: 12px 0 24px; color: var(--ink-2); font-weight: 300; }
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.modal-open { overflow: hidden; }
