:root {
  --blue-950: #08165c;
  --blue-900: #0b1c72;
  --blue-800: #0f2590;
  --blue-700: #1834b0;
  --cream: #f3e8d8;
  --cream-70: rgba(243, 232, 216, .74);
  --cream-50: rgba(243, 232, 216, .56);
  --wheat: #f2b847;
  --coral: #ff7452;
  --aqua: #62e0e8;
  --serif: "Caudex", Georgia, serif;
  --sans: "Jost Variable", "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--blue-900); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; color: var(--cream); font-family: var(--sans); font-weight: 350;
  font-size: 17px; line-height: 1.6; overflow-x: clip;
  background: radial-gradient(120% 90% at 60% 40%, var(--blue-800), var(--blue-950));
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.04; letter-spacing: -.01em; }
p { margin: 0; }
img { display: block; }
:focus-visible { outline: 2px solid var(--wheat); outline-offset: 3px; }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: radial-gradient(90% 70% at 50% 50%, var(--blue-800), var(--blue-950));
  clip-path: inset(0 0 0 0);
}
.intro__inner { display: grid; justify-items: center; gap: 14px; }
.intro__mk { font-family: var(--serif); font-size: clamp(88px, 14vw, 180px); line-height: .9; display: flex; overflow: hidden; padding: 0 .04em .06em; }
.intro__mk span { display: inline-block; }
.intro__line { display: flex; gap: 6px; width: clamp(180px, 22vw, 300px); height: 2px; }
.intro__line i { flex: 1; border-radius: 2px; transform-origin: left; box-shadow: 0 0 12px currentColor; }
.intro__line .l1 { background: var(--wheat); color: var(--wheat); }
.intro__line .l2 { background: var(--coral); color: var(--coral); }
.intro__line .l3 { background: var(--aqua); color: var(--aqua); }
.intro__name { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--cream-70); }
.no-intro .intro { display: none; }

/* ---------- Scene layers ---------- */
#scene { position: fixed; inset: 0; width: 100vw; height: 100lvh; z-index: 0; display: block; }
.veil {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(130% 100% at 50% 45%, transparent 55%, rgba(6, 16, 72, .55) 100%),
    linear-gradient(180deg, rgba(8, 22, 92, .35), transparent 22%);
}
.veil::after { content: ""; position: absolute; inset: 0; background: var(--blue-950); opacity: var(--dim, 0); transition: opacity .2s linear; }
.hotspots { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.hs { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; opacity: 0; will-change: transform, opacity; font-size: 14px; color: var(--cream); white-space: nowrap; }
.hs i { width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; flex: none; background: rgba(8, 22, 92, .55); }
.hs i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.hs--hub { flex-direction: row-reverse; }
.hs--hub span { position: absolute; right: 22px; top: 0; }
.hs span { margin-top: -13px; text-shadow: 0 1px 12px rgba(8, 22, 92, .9); }
.hs--na { color: var(--wheat); } .hs--sa { color: var(--coral); } .hs--bs { color: var(--aqua); } .hs--hub { color: var(--cream); }
.hs span { color: var(--cream); }
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--wheat), var(--coral) 50%, var(--aqua)); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 18px; left: var(--pad); right: var(--pad);
  display: flex; align-items: center; gap: 28px;
}
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.mark__mk { font-family: var(--serif); font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.mark__name { font-family: var(--serif); font-style: italic; font-size: 13.5px; line-height: 1.15; color: var(--cream-70); padding-left: 12px; border-left: 1px solid rgba(243, 232, 216, .28); }
.nav__links { display: flex; gap: 26px; margin-left: auto; padding: 10px 22px; border-radius: 999px; background: rgba(11, 28, 114, .42); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(243, 232, 216, .1); }
.nav__links a { text-decoration: none; font-size: 15px; color: var(--cream-70); transition: color .25s var(--ease); }
.nav__links a:hover { color: var(--cream); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; font: 500 15px/1 var(--sans); text-decoration: none; border-radius: 2px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s; }
.btn--cream { background: var(--cream); color: var(--blue-900); }
.btn--cream:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(242, 184, 71, .55); }
.btn--lg { min-height: 56px; padding: 0 34px; font-size: 17px; }

.glass {
  background: linear-gradient(160deg, rgba(36, 66, 196, .38), rgba(12, 30, 120, .34));
  border: 1px solid rgba(243, 232, 216, .12);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-radius: 6px;
}
.eyebrow { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--cream-70); margin-bottom: 14px; }

/* ---------- Sections ---------- */
main { position: relative; z-index: 3; }
section { position: relative; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }

.hero { height: 100vh; height: 100svh; min-height: 560px; }
.hero__title {
  position: absolute; right: var(--pad); top: clamp(92px, 13vh, 130px);
  text-align: right; font-size: clamp(46px, 6.4vw, 100px); line-height: .98; letter-spacing: -.025em;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .w { display: inline-block; }
.gold { color: var(--wheat); }
.hero__panel {
  position: absolute; left: var(--pad); bottom: var(--pad); width: min(400px, calc(100% - 2 * var(--pad)));
  padding: 26px 28px 22px; display: grid; gap: 22px;
}
.hero__panel p { font-size: 18px; line-height: 1.5; }
.scrollcue { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; text-decoration: none; color: var(--cream-70); justify-self: start; min-height: 44px; }
.scrollcue svg { width: 34px; height: 34px; padding: 6px; border: 1px solid rgba(243, 232, 216, .3); border-radius: 50%; animation: bob 2.4s var(--ease) infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

.lane--na { height: 340vh; --c: var(--wheat); }
.lane--sa { height: 380vh; --c: var(--coral); }
.lane--bs { height: 260vh; --c: var(--aqua); }
.lane__from { position: absolute; left: var(--pad); top: clamp(96px, 15vh, 150px); font-family: var(--serif); line-height: 1; }
.lane__from span { display: block; font-style: italic; font-size: 20px; color: var(--cream-70); margin-bottom: 10px; }
.lane__from em { display: block; font-style: normal; font-size: clamp(44px, 6.4vw, 96px); color: var(--c); text-shadow: 0 0 40px color-mix(in srgb, var(--c) 45%, transparent); }
.service {
  position: absolute; right: var(--pad); bottom: var(--pad); width: min(500px, calc(100% - 2 * var(--pad)));
  padding: 30px 32px 32px; border-top: 2px solid var(--c);
}
.service__kicker { font-family: var(--serif); font-style: italic; color: var(--c); font-size: 18px; margin-bottom: 10px; }
.service h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 14px; }
.service p:last-child { font-size: 19px; line-height: 1.5; color: var(--cream-70); }

.hub { height: 220vh; }
.hub__copy { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(620px, calc(100% - 2 * var(--pad))); }
.hub__copy h2 { font-size: clamp(48px, 6.6vw, 104px); margin-bottom: 20px; }
.hub__lead { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; margin-bottom: 18px; }
.hub__body { color: var(--cream-70); font-size: 18px; max-width: 520px; }

.products { height: 320vh; }
.products .sticky { display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px); overflow: hidden; }
.products__head { padding: 0 var(--pad); max-width: 760px; }
.products__head h2 { font-size: clamp(48px, 6.6vw, 104px); margin-bottom: 14px; }
.products__head p:last-child { color: var(--cream-70); font-size: 18px; }
.track { display: flex; gap: clamp(18px, 2.4vw, 32px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.prod { width: clamp(300px, 34vw, 480px); padding: 0 0 30px; overflow: hidden; }
.prod__art { display: block; width: 100%; height: clamp(170px, 24vh, 250px); }
.prod h3 { font-size: clamp(34px, 3.4vw, 50px); padding: 22px 30px 10px; }
.prod p { padding: 0 30px; color: var(--cream-70); font-size: 17px; }
.prod--grain h3 { color: var(--wheat); } .prod--seed h3 { color: var(--aqua); } .prod--oil h3 { color: var(--coral); }

.story { height: 200vh; }
.story .sticky { display: grid; align-items: center; }
.story__inner { padding: 0 var(--pad); margin-left: auto; width: min(980px, 100%); }
.story__big { font-family: var(--serif); font-size: clamp(30px, 3.9vw, 58px); line-height: 1.18; letter-spacing: -.01em; }
.story__big .wd { opacity: .2; }
.story__note { margin-top: 30px; color: var(--cream-70); font-size: 18px; max-width: 560px; padding-left: 18px; border-left: 2px solid var(--wheat); }

.contact { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 130px var(--pad) clamp(80px, 12vh, 140px); }
.contact__inner { max-width: 1180px; display: grid; gap: 36px; justify-items: start; }
.contact h2 { font-size: clamp(38px, 5vw, 76px); max-width: 17ch; }
.contact__inner { width: 100%; }
.contact__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px 48px; margin: 28px 0 0; width: 100%; }
.contact__grid dt { font-family: var(--serif); font-style: italic; color: var(--cream-50); margin-bottom: 6px; font-size: 17px; }
.contact__grid dd { margin: 0; font-size: 18px; }
.contact__grid a { text-decoration: none; border-bottom: 1px solid rgba(243, 232, 216, .3); transition: border-color .25s; }
.contact__grid a:hover { border-color: var(--wheat); }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 3; padding: 40px var(--pad) 28px; background: rgba(8, 22, 92, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(243, 232, 216, .1); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; color: var(--cream-70); font-size: 15px; }
.footer__links a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(243, 232, 216, .1); font-size: 13.5px; color: var(--cream-50); }
.footer-credit { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-credit img { height: 27px; width: auto; }
.footer-credit a { display: inline-flex; }
.footer-credit .svc { color: var(--cream-50); }
.nowrap { white-space: nowrap; }

/* ---------- Fallbacks ---------- */
.no-gl #scene { display: none; }
.no-gl .veil { background: radial-gradient(80% 60% at 70% 30%, rgba(98, 224, 232, .12), transparent 60%), radial-gradient(70% 60% at 20% 80%, rgba(255, 116, 82, .12), transparent 60%); }

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { top: 12px; gap: 12px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; min-height: 44px; padding: 0 16px; font-size: 14px; }
  .mark__mk { font-size: 28px; }
  .mark__name { font-size: 12px; padding-left: 10px; }
  .hero__title { top: 96px; left: var(--pad); text-align: left; font-size: clamp(44px, 13vw, 64px); }
  .hero__panel { padding: 20px 20px 16px; gap: 14px; }
  .hero__panel p { font-size: 16.5px; }
  .lane__from { top: 92px; }
  .lane__from span { font-size: 17px; }
  .service { padding: 22px 22px 24px; }
  .service p:last-child { font-size: 16.5px; }
  .hub__copy { top: auto; bottom: var(--pad); transform: none; }
  .hub__body { font-size: 16px; }
  .products { height: auto; }
  .products .sticky { position: relative; height: auto; padding: 110px 0 40px; overflow: visible; }
  .track { flex-direction: column; width: auto; }
  .prod { width: 100%; }
  .prod p { font-size: 16px; padding: 0 22px; }
  .prod h3 { padding: 18px 22px 8px; }
  .story { height: 170vh; }
  .story__note { font-size: 16px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__grid dd { font-size: 16.5px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hs { font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .story__big .wd { opacity: 1; }
}

/* Soft fade behind the fixed nav so scrolling copy never collides with it */
body::before { content: ""; position: fixed; left: 0; right: 0; top: 0; height: 96px; z-index: 40; pointer-events: none; background: linear-gradient(180deg, rgba(8, 22, 92, .9), rgba(8, 22, 92, 0)); }
