/* =============================================================
   GREEN ERA FERTILIZERS — Design system
   White canvas · cinematic frames · giant grotesk type · glass & 3D
   ============================================================= */

/* ---------- Tokens ---------- */
@property --a { syntax: '<percentage>'; inherits: true; initial-value: 33.333%; }
@property --b { syntax: '<percentage>'; inherits: true; initial-value: 66.666%; }

:root {
  --bg: #ffffff;
  --surface: #f4f6f3;
  --surface-2: #ebefea;
  --surface-3: #e1e7e0;
  --fg: #0c1214;
  --fg-2: rgba(12, 18, 20, 0.66);
  --fg-3: rgba(12, 18, 20, 0.46);
  --line: rgba(12, 18, 20, 0.1);
  --line-2: rgba(12, 18, 20, 0.18);
  --ink: #0c1214;
  --white: #ffffff;
  --paper: #f1f4ef;
  --paper-2: rgba(241, 244, 239, 0.74);
  --mist: #eef2ee;
  --lime: #a6d85f;
  --lime-2: #8dc63f;
  --green: #3d7a17;
  --orange: #ef9a35;
  --wa: #25d366;

  --f-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --frame: 10px;
  --pad: clamp(16px, 2.6vw, 40px);
  --edge: calc(var(--frame) + var(--pad));
  --maxw: 1680px;
  --sec: clamp(96px, 11vw, 176px);
  --hdr-h: 76px;

  --r-xl: clamp(18px, 2vw, 30px);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px;
  background: var(--lime); color: var(--ink); font-weight: 600; transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--edge); }
.sec { padding-block: var(--sec); position: relative; }
.sec--mist { background: var(--mist); color: var(--fg); }
.sec--tight { padding-block: calc(var(--sec) * .6); }
.framed { margin: 0 var(--frame); border-radius: var(--r-xl); overflow: hidden; }
main, .ftr { overflow-x: clip; }

/* ---------- Type ---------- */
.label, .idx {
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 400;
}
.idx { color: var(--green); margin-right: 14px; }
.label { color: var(--fg-2); }

.h-mega {
  font-size: clamp(64px, 14.6vw, 256px);
  line-height: .84;
  letter-spacing: -.06em;
  font-weight: 500;
  text-transform: uppercase;
}
.h1 {
  font-size: clamp(54px, 10.4vw, 184px);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 500;
  text-transform: uppercase;
}
.h2 {
  font-size: clamp(40px, 5.6vw, 92px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 500;
}
.h3 {
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 500;
}
.lead {
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.4;
  letter-spacing: -.012em;
  color: var(--fg-2);
}
sup.reg { font-size: .24em; vertical-align: top; position: relative; top: .32em; margin-left: .04em; font-weight: 400; letter-spacing: 0; }
.muted { color: var(--fg-3); }

/* ---------- Section head ---------- */
.shead {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px 24px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 96px);
}
.shead__k { grid-column: 1 / span 3; align-self: start; display: flex; align-items: baseline; padding-top: .7em; }
.shead__t { grid-column: 4 / span 9; }
.shead__p { grid-column: 4 / span 5; margin-top: 8px; }
.shead__end { grid-column: 10 / span 3; justify-self: end; }
.shead--row .shead__t { grid-column: 4 / span 6; }
.shead--row .shead__end { grid-column: 10 / span 3; align-self: end; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 7px 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.005em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease), background-color .4s, color .4s, border-color .4s;
}
.btn__ic {
  width: calc(var(--h) - 14px);
  height: calc(var(--h) - 14px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  flex: none;
  transition: transform .6s var(--ease), background-color .4s;
}
.btn__ic .fa-arrow-right { transform: rotate(-45deg); transition: transform .6s var(--ease); }
.btn:hover .btn__ic .fa-arrow-right { transform: rotate(0); }
.btn:active { transform: scale(.97); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime .btn__ic { background: var(--ink); color: var(--lime); }
.btn--lime:hover { background: #b9e57a; }
.btn--glass { background: rgba(255, 255, 255, .09); color: var(--paper); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn--glass .btn__ic { background: var(--paper); color: var(--ink); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink .btn__ic { background: var(--lime); color: var(--ink); }
.btn--ink:hover { background: #1b2629; }
.btn--line { border: 1px solid var(--line-2); color: var(--fg); }
.btn--line .btn__ic { background: var(--surface-2); }
.btn--line:hover { border-color: var(--fg-3); }
.btn--wa { background: var(--wa); color: #06210f; }
.btn--wa .btn__ic { background: #06210f; color: var(--wa); }
.btn--plain { padding-right: 24px; }
.btn--sm { --h: 44px; font-size: 14px; padding-left: 18px; gap: 10px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}
.link-arrow i { transform: rotate(-45deg); transition: transform .5s var(--ease); font-size: 12px; }
.link-arrow:hover i { transform: rotate(0); }

/* rolling text on hover */
.roll { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; height: 1.25em; }
.roll > span { display: block; transition: transform .55s var(--ease); text-shadow: 0 1.25em 0 currentColor; }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-1.25em); }

.chip {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13px; color: var(--fg-2);
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover { border-color: var(--fg-3); color: var(--fg); }
.chip.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* =============================================================
   Header
   ============================================================= */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: var(--frame) var(--frame) 0;
  transition: transform .6s var(--ease);
}
.hdr__in {
  height: var(--hdr-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-inline: var(--pad);
  border-radius: var(--r-lg);
  transition: background-color .5s, backdrop-filter .5s, border-color .5s, height .5s var(--ease);
  border: 1px solid transparent;
}
.hdr.is-scrolled .hdr__in {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-color: var(--line);
  box-shadow: 0 12px 40px -24px rgba(12, 18, 20, .35);
  height: 64px;
}
.hdr.is-hidden { transform: translateY(calc(-100% - 12px)); }
html:not(.js) .hdr__in { background: rgba(255, 255, 255, .86); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-color: var(--line); }
.hdr__logo { justify-self: start; display: block; }
.hdr__logo img { height: 44px; width: auto; transition: height .5s var(--ease); }
.hdr.is-scrolled .hdr__logo img { height: 38px; }
.hdr__nav { display: flex; gap: 34px; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; font-weight: 500; }
.hdr__nav a { display: inline-flex; align-items: flex-start; gap: 3px; color: var(--fg-2); transition: color .3s; }
.hdr__nav a:hover, .hdr__nav a[aria-current="page"] { color: var(--fg); }
.hdr__nav a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-2); margin: 6px 6px 0 0; }
.hdr__nav sup { font-family: var(--f-mono); font-size: 10px; color: var(--green); line-height: 1; margin-top: 1px; }
.hdr__end { justify-self: end; display: flex; align-items: center; gap: 18px; }
.hdr__phone { font-size: 14px; color: var(--fg-2); transition: color .3s; }
.hdr__phone:hover { color: var(--fg); }
.hdr__menu {
  display: none; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 18px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; text-transform: uppercase; letter-spacing: .05em; font-weight: 500;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hdr__menu i { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); }
.hdr__menu i::before, .hdr__menu i::after {
  content: ""; position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--white);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.hdr__menu i::before { top: 12px; }
.hdr__menu i::after { top: 17px; }
.menu-open .hdr__menu i::before { top: 14.5px; transform: rotate(45deg); }
.menu-open .hdr__menu i::after { top: 14.5px; transform: rotate(-45deg); }

/* header sitting over the home hero photo */
.hdr__logo .logo-light { display: none; }
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .logo-light { display: block; }
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .logo-dark { display: none; }
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .hdr__nav a,
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .hdr__phone { color: var(--paper-2); }
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .hdr__nav a:hover,
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .hdr__nav a[aria-current="page"],
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .hdr__phone:hover { color: var(--white); }
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .hdr__nav sup { color: var(--lime); }
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .hdr__menu { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); color: var(--white); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .hdr__menu i { background: var(--white); }
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .hdr__menu i::before,
.js:not(.menu-open) .page-home .hdr:not(.is-scrolled) .hdr__menu i::after { background: var(--ink); }

/* Fullscreen menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  visibility: hidden;
  clip-path: inset(0 0 100% 0 round 0 0 30px 30px);
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0 round 0); transition: clip-path .8s var(--ease-io); }
.menu__in { height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--hdr-h) + 48px) var(--edge) 36px; overflow-y: auto; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: clamp(48px, 13vw, 110px); line-height: 1.02; letter-spacing: -.05em; font-weight: 500; text-transform: uppercase;
  border-bottom: 1px solid var(--line); padding: 6px 0 10px;
  opacity: 0; transform: translateY(40px);
  transition: opacity .6s var(--ease), transform .8s var(--ease), color .3s;
}
.menu__nav a small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--green); margin-top: 1.2em; }
.menu__nav a[aria-current="page"] { color: var(--green); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .25s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .31s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .37s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .43s; }
.menu__foot { display: grid; gap: 6px; margin-top: 40px; color: var(--fg-2); font-size: 15px; }
.menu__foot a { color: var(--fg); font-size: 18px; }

/* =============================================================
   Home hero
   ============================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1180px; padding: var(--frame); }
.hero__frame {
  position: relative; height: 100%;
  border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: #0d1416; color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--hdr-h) + 18px) var(--pad) var(--pad);
}
.hero__media { position: absolute; inset: 0; z-index: -1; transform-origin: 50% 62%; will-change: transform; }
.js .hero__media { animation: heroZoom 2.4s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.14); filter: brightness(.4); } to { transform: none; filter: none; } }
.hero__poster, .hero__glass { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__glass { opacity: 0; transition: opacity 1.2s ease; touch-action: pan-y; }
.hero__glass.is-ready { opacity: 1; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 12, 14, .58) 0%, rgba(8, 12, 14, 0) 34%),
    linear-gradient(0deg, rgba(8, 12, 14, .72) 0%, rgba(8, 12, 14, 0) 42%);
}
.hero__top, .hero__bottom { position: relative; z-index: 1; }
.hero .label { color: var(--paper-2); }
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; pointer-events: none; }
.hero__title { margin-left: -.05em; }
.hero__title .w-line { display: inline; }
.hero__meta { font-size: clamp(15px, 1.3vw, 21px); line-height: 1.25; letter-spacing: -.01em; padding-top: .9em; min-width: 13ch; }
.hero__meta li:last-child { margin-top: 1.6em; font-size: .8em; color: var(--paper-2); }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.hero__sub { font-size: clamp(28px, 3vw, 50px); line-height: 1; letter-spacing: -.04em; max-width: 14ch; margin-bottom: 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__hint {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 999px; background: rgba(10, 15, 17, .38); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  pointer-events: none; opacity: 0; transition: opacity .8s;
}
.hero__hint.is-on { opacity: 1; }
.hero__hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(166, 216, 95, .6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(166, 216, 95, .55); } 70% { box-shadow: 0 0 0 12px rgba(166, 216, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(166, 216, 95, 0); } }

.hero__card {
  position: relative;
  width: 360px; flex: none;
  display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center;
  padding: 12px 14px 12px 12px; border-radius: 22px;
  background: rgba(12, 18, 20, .42);
  border: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  transition: background-color .4s;
}
.hero__card:hover { background: rgba(12, 18, 20, .58); }
.hero__card-media { position: relative; height: 124px; border-radius: 14px; background: radial-gradient(circle at 50% 70%, rgba(166, 216, 95, .35), rgba(255, 255, 255, .04) 70%); overflow: hidden; }
.hero__card-media img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; opacity: 0; transform: translateY(14px) scale(.94); transition: opacity .7s, transform .9s var(--ease); filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .45)); }
.hero__card-media img.is-on, html:not(.js) .hero__card-media img:first-child { opacity: 1; transform: none; }
.hero__card-body { display: grid; gap: 4px; min-width: 0; padding-right: 34px; }
.hero__card-body strong { font-size: 19px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.hero__card-body span:last-child { font-size: 13px; color: var(--paper-2); }
.hero__card-link { position: absolute; inset: 0; border-radius: inherit; }
.hero__card-go { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink); font-size: 11px; }
.hero__card-go i { transform: rotate(-45deg); }
.hero__card-bar { position: absolute; left: 132px; right: 16px; bottom: 12px; height: 2px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.hero__card-bar i { position: absolute; inset: 0; background: var(--lime); transform-origin: left; transform: scaleX(0); }
.hero__card-bar i.is-run { animation: bar 4.2s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }

/* =============================================================
   Ticker
   ============================================================= */
.ticker { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ticker__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__group span { font-size: clamp(22px, 2.4vw, 38px); letter-spacing: -.035em; font-weight: 400; padding: 0 28px; white-space: nowrap; }
.ticker__group i { width: 12px; height: 12px; background: var(--lime); border-radius: 3px; transform: rotate(45deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============================================================
   Intro statement
   ============================================================= */
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.intro__k { grid-column: 1 / span 3; padding-top: .9em; display: flex; align-items: baseline; }
.intro__text {
  grid-column: 4 / span 9;
  font-size: clamp(30px, 3.9vw, 66px);
  line-height: 1.04; letter-spacing: -.04em; font-weight: 400;
  text-indent: 2.4em;
}
.sw { transition: opacity .5s ease, color .5s ease; }
.js .sw { opacity: .16; }
.js .sw.on { opacity: 1; }
.intro__foot { grid-column: 4 / span 9; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(56px, 7vw, 110px); padding-top: 28px; border-top: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 24px clamp(28px, 4vw, 72px); }
.stat b { display: block; font-size: clamp(36px, 3.6vw, 60px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 13px; color: var(--fg-2); }

/* =============================================================
   Making-of split
   ============================================================= */
.making__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: clamp(28px, 3vw, 44px); }
.making__title { font-size: clamp(46px, 8vw, 140px); line-height: .88; letter-spacing: -.055em; font-weight: 500; text-transform: uppercase; }
.making__title .l2 { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .2em; padding-left: 1.75em; }
.making__mark { width: .74em; height: auto; flex: none; }
.making__meta { font-size: clamp(15px, 1.3vw, 21px); line-height: 1.25; padding-top: .5em; min-width: 12ch; }
.making__meta li:last-child { margin-top: 1.6em; font-size: .8em; color: var(--fg-2); }

.making__frame {
  --a: 100%; --b: 100%;
  position: relative; aspect-ratio: 16 / 8.6; border-radius: var(--r-lg); overflow: hidden; background: #c9cdcf;
  transition: --a 1.4s var(--ease-io), --b 1.4s var(--ease-io);
  cursor: ew-resize;
}
.making__frame[data-stage="1"] { --a: 52%; --b: 100%; }
.making__frame.is-in { --a: 33.333%; --b: 66.666%; }
.making__frame.is-in[data-focus="1"] { --a: 58%; --b: 79%; }
.making__frame.is-in[data-focus="2"] { --a: 21%; --b: 79%; }
.making__frame.is-in[data-focus="3"] { --a: 21%; --b: 42%; }
.making__layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.making__layer--wire { clip-path: inset(0 calc(100% - var(--a)) 0 0); }
.making__layer--glass { clip-path: inset(0 calc(100% - var(--b)) 0 var(--a)); }
.making__layer--final { clip-path: inset(0 0 0 var(--b)); }
.making__div { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15); pointer-events: none; }
.making__div--a { left: var(--a); }
.making__div--b { left: var(--b); }
.making__tag {
  position: absolute; top: 16px; margin-left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  padding: 6px 12px 6px 6px; border-radius: 999px; white-space: nowrap; pointer-events: none;
  background: rgba(10, 15, 17, .55); color: var(--paper); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .5s, color .5s;
}
.making__tag b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-weight: 500; background: rgba(255, 255, 255, .16); transition: background-color .5s, color .5s; }
.making__tag--1 { left: 0; background: rgba(255, 255, 255, .72); color: var(--ink); }
.making__tag--1 b { background: rgba(12, 18, 20, .08); }
.making__tag--2 { left: var(--a); }
.making__tag--3 { left: var(--b); }
.making__frame[data-focus="1"] .making__tag--1,
.making__frame[data-focus="2"] .making__tag--2,
.making__frame[data-focus="3"] .making__tag--3 { background: var(--lime); color: var(--ink); }
.making__frame[data-focus="1"] .making__tag--1 b,
.making__frame[data-focus="2"] .making__tag--2 b,
.making__frame[data-focus="3"] .making__tag--3 b { background: var(--ink); color: var(--lime); }

.making__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.making__step {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: clamp(20px, 2.2vw, 32px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); color: var(--fg);
  cursor: pointer; outline: none;
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s, transform .6s var(--ease), box-shadow .6s var(--ease);
}
.making__step::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 85% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(circle at 85% 0%, #000, transparent 70%);
  transition: opacity .6s;
}
.making__step:hover { border-color: var(--line-2); }
.making__step:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.making__step.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-6px); box-shadow: 0 30px 60px -34px rgba(12, 18, 20, .55); }
.making__step.is-on::before { opacity: 1; }
/* keep reveal-in motion and the active-state transitions working together */
.js .making__step[data-reveal] { transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease), background-color .6s var(--ease), color .6s var(--ease), border-color .6s, box-shadow .6s var(--ease); }
.js .making__step[data-reveal].is-in.is-on { transform: translateY(-6px); }
.making__step-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: clamp(28px, 3vw, 44px); }
.making__num {
  font-size: clamp(56px, 5.6vw, 92px); line-height: .8; letter-spacing: -.06em; font-weight: 500;
  color: transparent; -webkit-text-stroke: 1px var(--fg-3);
  transition: color .6s, -webkit-text-stroke-color .6s;
}
.making__step.is-on .making__num { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.making__ic {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  font-size: 18px; color: var(--green); background: var(--bg); border: 1px solid var(--line);
  transition: background-color .6s, color .6s, border-color .6s, transform .8s var(--ease);
}
.making__step.is-on .making__ic { background: var(--lime); color: var(--ink); border-color: var(--lime); transform: rotate(-12deg); }
.making__kicker { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--green); transition: color .6s; }
.making__step.is-on .making__kicker { color: var(--lime); }
.making__step h3 { margin: 10px 0 12px; }
.making__step p { color: var(--fg-2); font-size: 15px; line-height: 1.55; transition: color .6s; }
.making__step.is-on p { color: rgba(255, 255, 255, .68); }
.making__points { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; padding-bottom: 20px; }
.making__points li {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 999px;
  font-size: 12.5px; color: var(--fg-2); background: var(--bg); border: 1px solid var(--line);
  transition: background-color .6s, color .6s, border-color .6s;
}
.making__points i { font-size: 11px; color: var(--green); transition: color .6s; }
.making__step.is-on .making__points li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .86); }
.making__step.is-on .making__points i { color: var(--lime); }
.making__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.making__bar i { position: absolute; inset: 0; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.making__step.is-on .making__bar i { transform: scaleX(1); transition: transform 3.8s linear; }

/* =============================================================
   3D Stack
   ============================================================= */
.stack { position: relative; }
.stack__pin { position: relative; }
.stack__canvas, .stack__labels { display: none; }
.stack__ui { padding-block: var(--sec); }
.stack__head .h2 { margin-top: 18px; }
.stack__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 48px; }
.stack__step { padding: 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }
.stack__step .n { font-family: var(--f-mono); font-size: 12px; color: var(--green); }
.stack__step h3 { margin: 14px 0 10px; }
.stack__step h3 small { display: block; font-size: 14px; letter-spacing: 0; color: var(--fg-3); font-weight: 400; margin-top: 6px; }
.stack__step p { color: var(--fg-2); font-size: 15px; }
.stack__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.stack__chips li { font-size: 12px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--fg-2); }
.stack__progress { display: none; }

/* live (WebGL) mode */
.stack.is-live { height: 460vh; }
.stack.is-live .stack__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stack.is-live .stack__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.stack.is-live .stack__labels { display: block; position: absolute; inset: 0; pointer-events: none; }
.stack.is-live .stack__ui { position: relative; height: 100%; padding-block: calc(var(--hdr-h) + 40px) 48px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.stack.is-live .stack__ui > * { pointer-events: auto; }
.stack.is-live .stack__steps { position: relative; display: block; margin: 0; width: min(440px, 100%); min-height: 280px; }
.stack.is-live .stack__step {
  position: absolute; inset: auto 0 0 0;
  background: rgba(255, 255, 255, .8); box-shadow: 0 24px 60px -36px rgba(12, 18, 20, .35); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; transform: translateY(24px); visibility: hidden;
  transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .8s;
}
.stack.is-live .stack__step.is-active { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease) .1s, transform .8s var(--ease) .1s; }
.stack.is-live .stack__progress { display: flex; gap: 6px; width: min(440px, 100%); margin-top: 16px; }
.stack__progress i { flex: 1; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; position: relative; }
.stack__progress i b { position: absolute; inset: 0; background: var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); }
.stack__foot { display: flex; flex-direction: column; }
.stack-label {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-2);
  white-space: nowrap; opacity: 0; transition: opacity .5s, color .4s;
  will-change: transform;
}
.stack-label::before { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .6; }
.stack-label b { font-weight: 400; color: var(--green); }
.stack-label.is-active { color: var(--fg); }
.stack__scan { position: absolute; right: calc(var(--edge) + 72px); bottom: 48px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-3); text-align: right; line-height: 1.7; }

/* =============================================================
   Families moodboard
   ============================================================= */
.mood {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 15vw, 250px);
  gap: clamp(10px, 1vw, 16px);
}
.tile {
  --bg: #e9e3d2; --fg: #0c1214;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-md);
  background: var(--bg); color: var(--fg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px 18px 18px;
  transform: translateZ(0);
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--fg) 10%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--fg) 10%, transparent) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 60% 55%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 60% 55%, #000 10%, transparent 75%);
}
.tile__meta { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; opacity: .72; position: relative; z-index: 2; }
.tile__img {
  position: absolute; z-index: 1; right: 6%; bottom: 8%; height: 78%; width: auto; max-width: 62%; object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .32));
  transition: transform .9s var(--ease);
  transform: rotate(var(--rot, 4deg));
}
.tile:hover .tile__img { transform: rotate(0) translateY(-10px) scale(1.04); }
.tile__foot { position: relative; z-index: 2; max-width: 56%; }
.tile__foot h3 { font-size: clamp(20px, 1.7vw, 28px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; }
.tile__foot p { font-size: 13px; line-height: 1.4; margin-top: 8px; opacity: .72; }
.tile__go {
  position: absolute; z-index: 3; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
  background: var(--fg); color: var(--bg);
  transform: scale(.4); opacity: 0; transition: transform .5s var(--ease), opacity .4s;
}
.tile__go i { transform: rotate(-45deg); }
.tile:hover .tile__go { transform: none; opacity: 1; }
.tile:hover .tile__meta span:last-child { opacity: 0; }
.tile--photo { padding: 0; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--photo:hover img { transform: scale(1.05); }
.tile--photo figcaption {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px; background: rgba(10, 15, 17, .5); color: var(--paper);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tile--photo::before { display: none; }
.tile--npk { grid-column: 1 / span 3; grid-row: span 2; --bg: #ece5d1; --rot: -3deg; }
.tile--npk .tile__img { height: 64%; right: 50%; bottom: 22%; transform: translateX(50%) rotate(var(--rot)); max-width: 80%; }
.tile--npk:hover .tile__img { transform: translateX(50%) translateY(-10px) scale(1.04); }
.tile--npk .tile__foot { max-width: none; }
.tile--chel { grid-column: 4 / span 3; --bg: #133037; --fg: #eaf2f1; }
.tile--field { grid-column: 7 / span 3; grid-row: span 2; }
.tile--sul { grid-column: 10 / span 3; grid-row: span 2; --bg: #e8cfa6; --rot: 5deg; }
.tile--sul .tile__img { height: 62%; right: 50%; bottom: 24%; transform: translateX(50%) rotate(var(--rot)); max-width: 80%; }
.tile--sul:hover .tile__img { transform: translateX(50%) translateY(-10px) scale(1.04); }
.tile--sul .tile__foot { max-width: none; }
.tile--farmer { grid-column: 4 / span 3; grid-row: span 2; }
.tile--farmer img { object-position: 50% 30%; }
.tile--bio { grid-column: 1 / span 3; --bg: #1c3a26; --fg: #eaf2e6; }
.tile--myc { grid-column: 7 / span 3; --bg: #2c231c; --fg: #f1ebe3; }
.tile--mm { grid-column: 10 / span 3; --bg: #c8d6c3; }

/* =============================================================
   Product track
   ============================================================= */
.track-ctrl { display: flex; gap: 8px; }
.track-ctrl button {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: background-color .3s, color .3s, border-color .3s;
}
.track-ctrl button:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.track-ctrl button:disabled { opacity: .3; pointer-events: none; }
.track {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-inline: max(var(--edge), calc((100vw - var(--maxw)) / 2 + var(--edge)));
  scroll-padding-inline: max(var(--edge), calc((100vw - var(--maxw)) / 2 + var(--edge)));
  cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.track.is-drag a { pointer-events: none; }
.track__list { display: flex; gap: 14px; width: max-content; padding-bottom: 4px; }
.track__bar { margin-top: 36px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.track__bar i { display: block; height: 100%; width: 20%; background: var(--ink); border-radius: 2px; transform-origin: left; transition: transform .2s; }

.pcard { --tone: #2e5b3a; width: clamp(270px, 24vw, 360px); flex: none; scroll-snap-align: start; }
.pcard__link { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s; }
.pcard__link:hover { border-color: var(--line-2); }
.pcard__stage {
  position: relative; aspect-ratio: 1 / 1.06; overflow: hidden; perspective: 800px;
  background:
    radial-gradient(60% 55% at 50% 62%, color-mix(in srgb, var(--tone) 38%, transparent), transparent 72%),
    var(--surface-2);
}
.pcard__stage::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(12, 18, 20, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(12, 18, 20, .05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.pcard__stage::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 9%; height: 18px; border-radius: 50%; background: rgba(0, 0, 0, .26); filter: blur(10px); transition: transform .8s var(--ease), opacity .8s; }
.pcard__stage img {
  position: absolute; z-index: 1; left: 50%; bottom: 12%; height: 72%; width: auto; max-width: 74%; object-fit: contain;
  transform: translateX(-50%); transition: transform .9s var(--ease);
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .35));
}
.pcard__link:hover .pcard__stage img { transform: translateX(-50%) translateY(-14px) rotate(-3deg) scale(1.05); }
.pcard__link:hover .pcard__stage::after { transform: scaleX(.8); opacity: .6; }
.pcard__body { padding: 20px 22px 24px; display: grid; gap: 8px; position: relative; flex: 1; }
.pcard__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--green); }
.pcard__body h3 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; padding-right: 44px; }
.pcard__body p { font-size: 14px; color: var(--fg-2); line-height: 1.5; }
.pcard__go { position: absolute; top: 18px; right: 20px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 12px; transition: background-color .3s, color .3s; }
.pcard__go i { transform: rotate(-45deg); }
.pcard__link:hover .pcard__go { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* =============================================================
   Advantage bento
   ============================================================= */
.adv { overflow: hidden; }
.adv::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 70%);
}
.adv__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.adv__card {
  grid-column: span 5; position: relative; overflow: hidden;
  display: flex; flex-direction: column; min-height: 460px;
  padding: clamp(22px, 2.4vw, 36px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.adv__card--wide { grid-column: span 7; }
.adv__viz { position: relative; align-self: flex-end; width: min(64%, 380px); height: clamp(160px, 15vw, 220px); margin: -6px -6px 28px auto; pointer-events: none; color: var(--fg); }
.adv__viz svg { width: 100%; height: 100%; overflow: visible; }
.adv__card .label { margin-top: auto; }
.adv__card h3 { margin: 14px 0 12px; max-width: 18ch; }
.adv__card p { color: var(--fg-2); max-width: 52ch; font-size: 15px; }
.adv__metric { display: flex; align-items: baseline; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.adv__metric b { font-size: clamp(40px, 4.2vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: .9; color: var(--green); }
.adv__metric span { font-size: 13px; color: var(--fg-2); }

/* svg viz animations */
.viz-spin { transform-origin: 50% 50%; animation: spin 40s linear infinite; }
.viz-spin--rev { animation-direction: reverse; animation-duration: 60s; }
@keyframes spin { to { transform: rotate(360deg); } }
.viz-ripple circle { transform-origin: center; transform-box: fill-box; animation: ripple 4s var(--ease) infinite; opacity: 0; }
.viz-ripple circle:nth-child(2) { animation-delay: 1.3s; }
.viz-ripple circle:nth-child(3) { animation-delay: 2.6s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
.viz-draw path { stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset 2.6s var(--ease); }
.is-in .viz-draw path, .viz-draw.is-in path { stroke-dashoffset: 0; }
.viz-float { animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* =============================================================
   Reviews
   ============================================================= */
.reviews__box { border-radius: var(--r-lg); background: #fff; padding: clamp(10px, 2vw, 28px); min-height: 220px; box-shadow: 0 30px 80px -40px rgba(12, 18, 20, .35); }

/* =============================================================
   Enquiry + form
   ============================================================= */
.enquiry__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; align-items: start; }
.enquiry__intro { grid-column: 1 / span 5; position: sticky; top: calc(var(--hdr-h) + 40px); }
.enquiry__intro .h2 { margin: 18px 0 22px; }
.enquiry__intro .lead { max-width: 34ch; }
.enquiry__contacts { margin-top: 40px; display: grid; border-top: 1px solid var(--line); }
.enquiry__contacts a, .enquiry__contacts li > span {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; letter-spacing: -.01em;
}
.enquiry__contacts small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-3); }
.enquiry__contacts a:hover { color: var(--green); }
.form-card { grid-column: 7 / span 6; padding: clamp(22px, 3vw, 44px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.form-card__t { font-size: 15px; color: var(--fg-2); margin-bottom: 16px; }
.form { display: grid; gap: 8px; }
.form__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.field { position: relative; display: block; padding-top: 22px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 10px 0 12px; font-size: 18px; letter-spacing: -.01em; color: var(--fg); outline: none; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field span {
  position: absolute; left: 0; top: 33px; font-size: 18px; color: var(--fg-3); pointer-events: none;
  transform-origin: left top; transition: transform .45s var(--ease), color .3s;
}
.field input:focus, .field textarea:focus { border-color: var(--green); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-28px) scale(.7); color: var(--fg-2); }
.field input::placeholder, .field textarea::placeholder { color: transparent; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: var(--fg-3); max-width: 30ch; }
.form-status { display: none; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); font-size: 15px; line-height: 1.45; }
.form-status.is-on { display: flex; }
.form-status.success { background: rgba(141, 198, 63, .14); border: 1px solid rgba(61, 122, 23, .3); color: #2c5a10; }
.form-status.error { background: #fdeeea; border: 1px solid #f1b8aa; color: #8f2a15; }
.form-status a { text-decoration: underline; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }

/* =============================================================
   Footer
   ============================================================= */
.ftr { position: relative; padding: 0 var(--frame) var(--frame); }
.ftr__box { border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.ftr__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; padding: clamp(40px, 6vw, 96px) var(--pad); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ftr__cta h2 { font-size: clamp(44px, 7vw, 120px); line-height: .9; letter-spacing: -.055em; font-weight: 500; }
.ftr__cta h2 em { font-style: normal; color: var(--green); }
.ftr__cta p { color: var(--fg-2); max-width: 40ch; margin-top: 20px; }
.ftr__cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px 24px; padding: clamp(40px, 5vw, 72px) var(--pad); }
.ftr__about img { height: 52px; width: auto; margin-bottom: 22px; }
.ftr__about p { color: var(--fg-2); font-size: 14px; max-width: 40ch; }
.ftr__social { display: flex; gap: 8px; margin-top: 22px; }
.ftr__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 15px; transition: background-color .3s, color .3s, border-color .3s; }
.ftr__social a:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.ftr__col h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-3); font-weight: 400; margin-bottom: 18px; }
.ftr__col ul { display: grid; gap: 8px; }
.ftr__col a { color: var(--fg-2); font-size: 15px; transition: color .3s; }
.ftr__col a:hover { color: var(--fg); }
.ftr__col address { font-style: normal; color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.ftr__col address a { display: block; margin-top: 10px; color: var(--fg); }
.ftr__mark {
  padding: 0 var(--pad); margin-top: -.06em;
  font-size: clamp(64px, 18.6vw, 340px); line-height: .78; letter-spacing: -.065em; font-weight: 500; text-transform: uppercase;
  color: rgba(12, 18, 20, .035); -webkit-text-stroke: 1px rgba(12, 18, 20, .16);
  white-space: nowrap; user-select: none; overflow: hidden;
}
.ftr__mark sup { font-size: .2em; vertical-align: top; position: relative; top: .3em; -webkit-text-stroke: 0; color: var(--fg-3); }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px var(--pad) 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
.ftr__bottom div { display: flex; gap: 22px; }
.ftr__bottom a:hover { color: var(--fg); }

/* =============================================================
   Floating actions
   ============================================================= */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; font-size: 28px;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .6);
  transition: transform .5s var(--ease);
}
.wa:hover { transform: scale(1.08) rotate(-6deg); }
.wa__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(8px);
  padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 500;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
}
.wa:hover .wa__tip { opacity: 1; transform: translateY(-50%); }
.totop {
  position: fixed; right: 26px; bottom: 92px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--fg); box-shadow: 0 10px 30px -16px rgba(12, 18, 20, .4);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: grid; place-items: center; font-size: 13px;
  opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease);
}
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop circle { fill: none; stroke-width: 2; }
.totop .t-bg { stroke: var(--line-2); }
.totop .t-fg { stroke: var(--green); stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 - 138.2 * var(--sp, 0)); }

/* =============================================================
   Inner page hero
   ============================================================= */
.phero { position: relative; padding: calc(var(--hdr-h) + var(--frame) + clamp(40px, 6vw, 96px)) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.phero__top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 56px); }
.crumbs { display: flex; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.crumbs a { color: var(--fg-2); }
.crumbs a:hover { color: var(--green); }
.phero__title { position: relative; z-index: 2; }
.phero__title > span { display: block; }
.phero__title .l2 { padding-left: 1.2em; }
.phero__title .l2--more { padding-left: 2.4em; }
.phero__title .cnt { font-family: var(--f-mono); font-size: .14em; letter-spacing: 0; vertical-align: top; position: relative; top: .4em; color: var(--green); margin-left: .2em; font-weight: 400; }
.phero__foot { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 80px); align-items: end; }
.phero__lead { grid-column: 1 / span 6; }
.phero__meta { grid-column: 9 / span 4; justify-self: end; text-align: right; font-size: clamp(15px, 1.3vw, 20px); line-height: 1.3; }
.phero__meta li:last-child { margin-top: 1.2em; font-size: .8em; color: var(--fg-2); }
.phero__media { margin: clamp(48px, 6vw, 96px) var(--frame) 0; border-radius: var(--r-xl); overflow: hidden; position: relative; height: clamp(360px, 62vw, 860px); }
.phero__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.phero__media figcaption { position: absolute; left: var(--pad); bottom: var(--pad); display: flex; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; padding: 9px 13px; border-radius: 999px; background: rgba(10, 15, 17, .5); color: var(--paper); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.phero__media figcaption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.phero__grid-overlay { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(255, 255, 255, .09) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000 0, transparent 28%, transparent 72%, #000 100%); -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 28%, transparent 72%, #000 100%); }

.duo { display: grid; grid-template-columns: 5fr 7fr; gap: 14px; margin-top: clamp(48px, 6vw, 96px); height: clamp(420px, 46vw, 760px); }
.duo figure { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); }
.duo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.duo figure:hover img { transform: scale(1.03); }
.duo__a img { object-position: 50% 26%; }
.duo figcaption { position: absolute; left: var(--pad); bottom: var(--pad); display: flex; gap: 10px; align-items: center; font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; padding: 9px 13px; border-radius: 999px; background: rgba(10, 15, 17, .5); color: var(--paper); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.duo figcaption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

/* Floating packs (products hero) */
.packs { position: absolute; z-index: 1; right: 0; top: calc(var(--hdr-h) + 70px); bottom: 0; width: 48%; pointer-events: none; perspective: 1200px; }
.pack { position: absolute; width: var(--w, 150px); left: var(--x); top: var(--y); transform: translate3d(calc(var(--mx, 0) * var(--z) * 1px), calc(var(--my, 0) * var(--z) * 1px), 0) rotate(var(--r, 0deg)); transition: transform 1.2s var(--ease); }
.pack img { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .28)); animation: floaty 7s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.pack--blur img { filter: blur(3px) opacity(.55) drop-shadow(0 30px 30px rgba(0, 0, 0, .2)); }

/* =============================================================
   About
   ============================================================= */
.story__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.story__k { grid-column: 1 / span 3; }
.story__k > div { position: sticky; top: calc(var(--hdr-h) + 40px); display: flex; align-items: baseline; }
.story__body { grid-column: 4 / span 9; }
.story__lead { font-size: clamp(28px, 3.3vw, 54px); line-height: 1.06; letter-spacing: -.04em; text-indent: 2.4em; }
.story__lead strong { font-weight: 500; color: var(--green); }
.story__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: clamp(40px, 5vw, 72px); color: var(--fg-2); font-size: 17px; }
.story__cols strong { color: var(--fg); font-weight: 500; }
.portfolio { margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.portfolio li { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2vw, 30px); letter-spacing: -.03em; transition: padding .5s var(--ease), color .3s; }
.portfolio li:hover { padding-left: 14px; color: var(--green); }
.portfolio li small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--fg-3); }
.portfolio li em { font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--fg-3); }

.people__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.people__img { grid-column: 1 / span 5; border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 560px; }
.people__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.people__panel { grid-column: 6 / span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.people__stat { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 2.4vw, 34px); display: flex; flex-direction: column; justify-content: space-between; min-height: 270px; }
.people__stat b { font-size: clamp(56px, 6.4vw, 112px); line-height: .85; letter-spacing: -.06em; font-weight: 500; }
.people__stat b sup { font-size: .32em; color: var(--green); vertical-align: top; position: relative; top: .2em; }
.people__stat p { color: var(--fg-2); font-size: 15px; max-width: 26ch; }
.people__stat--lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.people__stat--lime p { color: rgba(10, 15, 17, .7); }
.people__stat--lime b sup { color: var(--ink); }

.brands__list { border-top: 1px solid var(--line); }
.brand-row {
  position: relative; display: grid; grid-template-columns: 70px 1fr auto 44px; align-items: center; gap: 20px;
  padding: clamp(18px, 2vw, 28px) 0; border-bottom: 1px solid var(--line); overflow: hidden;
}
.brand-row::before { content: ""; position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.brand-row { isolation: isolate; transition: color .4s, padding .6s var(--ease); }
.brand-row:hover { color: var(--ink); padding-inline: 18px; }
.brand-row:hover::before { transform: scaleY(1); }
.brand-row small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--fg-3); transition: color .4s; }
.brand-row:hover small, .brand-row:hover span { color: rgba(10, 15, 17, .7); }
.brand-row h3 { font-size: clamp(30px, 4.4vw, 72px); line-height: 1; letter-spacing: -.05em; font-weight: 500; }
.brand-row span { color: var(--fg-2); font-size: 16px; transition: color .4s; text-align: right; }
.brand-row i { justify-self: end; width: 40px; height: 40px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 12px; opacity: .6; }
.brand-row i::before { transform: rotate(-45deg); display: block; }
.brand-row img.brand-row__thumb { display: none; }
.brand-float { position: fixed; left: 0; top: 0; z-index: 70; width: 210px; height: 260px; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.8); transition: opacity .35s; }
.brand-float.is-on { opacity: 1; }
.brand-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .3)); }

.ap__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ap-card { position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 2.4vw, 34px); min-height: 480px; display: flex; flex-direction: column; overflow: hidden; transition: border-color .4s, transform .6s var(--ease); }
.ap-card:hover { border-color: var(--line-2); transform: translateY(-6px); }
.ap-card__viz { height: 210px; margin: 10px -10px 26px; color: var(--fg); }
.ap-card__viz svg { width: 100%; height: 100%; overflow: visible; }
.ap-card .idx { margin-bottom: 0; }
.ap-card h3 { margin-top: auto; margin-bottom: 12px; }
.ap-card p { color: var(--fg-2); font-size: 15px; }

.vision__pillars { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 5vw, 72px); }
.vision__pillars span { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(12, 18, 20, .2); font-size: 18px; letter-spacing: -.02em; }
.vision__pillars span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); transform: rotate(45deg); }
.vision__quote { font-size: clamp(30px, 4.4vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 400; max-width: 22ch; }
.vision__quote::before { content: "“"; color: var(--green); }
.vision__quote::after { content: "”"; color: var(--green); }
.vision__tag { margin-top: 32px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-2); }

.reach__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.reach__item { border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); padding: 26px; min-height: 230px; display: flex; flex-direction: column; }
.reach__item i { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--green); font-size: 17px; margin-bottom: auto; }
.reach__item h3 { margin: 24px 0 8px; }
.reach__item p { color: var(--fg-2); font-size: 15px; }

/* =============================================================
   Products page
   ============================================================= */
.toolbar { position: sticky; top: calc(var(--frame) + 64px + 8px); z-index: 20; margin-bottom: 28px; }
.toolbar__in { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .88); border: 1px solid var(--line); box-shadow: 0 16px 40px -28px rgba(12, 18, 20, .35); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.filters { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--fg-2); transition: background-color .3s, color .3s; }
.filter:hover { color: var(--fg); background: rgba(12, 18, 20, .05); }
.filter sup { font-family: var(--f-mono); font-size: 10px; color: var(--fg-3); }
.filter.is-on { background: var(--ink); color: var(--white); }
.filter.is-on sup { color: var(--lime); }
.search { position: relative; flex: none; width: 260px; }
.search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0 16px 0 42px; font-size: 14px; outline: none; transition: border-color .3s; }
.search input:focus { border-color: var(--green); }
.search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--fg-3); }
.result-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }

.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pitem { --tone: #2e5b3a; position: relative; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .4s, transform .6s var(--ease), opacity .4s; transform-style: preserve-3d; }
.pitem:hover { border-color: var(--line-2); }
.pitem[hidden] { display: none; }
.pitem.is-enter { animation: enter .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes enter { from { opacity: 0; transform: translateY(20px); } }
.pitem__stage {
  position: relative; aspect-ratio: 1 / 1.02; overflow: hidden;
  background: radial-gradient(58% 52% at 50% 60%, color-mix(in srgb, var(--tone) 38%, transparent), transparent 74%), var(--surface-2);
}
.pitem__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(12, 18, 20, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(12, 18, 20, .05) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, #000, transparent 90%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%); }
.pitem__stage::after { content: ""; position: absolute; left: 24%; right: 24%; bottom: 10%; height: 16px; border-radius: 50%; background: rgba(0, 0, 0, .26); filter: blur(10px); }
.pitem__stage img { position: absolute; z-index: 1; left: 50%; bottom: 13%; height: 70%; width: auto; max-width: 76%; object-fit: contain; transform: translateX(-50%); transition: transform .9s var(--ease); filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .35)); }
.pitem:hover .pitem__stage img { transform: translateX(-50%) translateY(-12px) rotate(-3deg) scale(1.05); }
.pitem__top { position: absolute; z-index: 2; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--fg-2); }
.pitem__body { padding: 18px 20px 22px; }
.pitem__cat { font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--green); }
.pitem__name { font-size: 21px; font-weight: 500; letter-spacing: -.03em; line-height: 1.12; margin: 8px 0 8px; padding-right: 40px; }
.pitem__open { text-align: left; font: inherit; letter-spacing: inherit; }
.pitem__open::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.pitem__desc { font-size: 14px; color: var(--fg-2); line-height: 1.5; padding-right: 34px; }
.pitem__go { position: absolute; z-index: 2; right: 16px; bottom: 22px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 11px; transition: background-color .3s, color .3s, border-color .3s; }
.pitem__go i { transform: rotate(-45deg); }
.pitem:hover .pitem__go { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.pempty { display: none; text-align: center; padding: 80px 20px; color: var(--fg-2); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.pempty.is-on { display: block; }

/* Product dialog */
.pmodal { margin: auto; padding: 0; border: 0; background: transparent; color: var(--fg); width: min(1120px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: visible; }
.pmodal::backdrop { background: rgba(12, 18, 20, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pmodal[open] .pmodal__in { animation: pop .6s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.pmodal__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; border-radius: var(--r-xl); overflow: hidden; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(12, 18, 20, .5); max-height: calc(100vh - 24px); }
.pmodal__stage { --tone: #2e5b3a; position: relative; min-height: 560px; background: radial-gradient(60% 55% at 50% 58%, color-mix(in srgb, var(--tone) 40%, transparent), transparent 75%), var(--surface-2); perspective: 900px; }
.pmodal__stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(12, 18, 20, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(12, 18, 20, .05) 1px, transparent 1px); background-size: 40px 40px; }
.pmodal__stage::after { content: ""; position: absolute; left: 26%; right: 26%; bottom: 11%; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .28); filter: blur(12px); }
.pmodal__stage img { position: absolute; z-index: 1; left: 50%; top: 46%; height: 70%; width: auto; max-width: 78%; object-fit: contain; transform: translate(-50%, -50%) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .5s var(--ease); filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .4)); }
.pmodal__body { padding: clamp(24px, 3.4vw, 52px); display: flex; flex-direction: column; overflow-y: auto; }
.pmodal__body h2 { font-size: clamp(34px, 3.6vw, 56px); line-height: .98; letter-spacing: -.045em; font-weight: 500; margin: 16px 0 18px; }
.pmodal__body p { color: var(--fg-2); font-size: 17px; }
.pmodal__facts { margin-top: 28px; border-top: 1px solid var(--line); }
.pmodal__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pmodal__facts dt { color: var(--fg-3); font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; padding-top: 3px; }
.pmodal__facts dd { text-align: right; }
.pmodal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pmodal__nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 30px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--fg-3); }
.pmodal__nav button { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--f-sans); font-size: 13px; color: var(--fg-2); transition: color .3s, border-color .3s; }
.pmodal__nav button:hover { color: var(--fg); border-color: var(--fg-3); }
.pmodal__close { position: absolute; z-index: 5; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 16px; transition: transform .5s var(--ease); }
.pmodal__close:hover { transform: rotate(90deg); }

/* =============================================================
   Contact page
   ============================================================= */
.cinfo__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cinfo__card { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: clamp(22px, 2.4vw, 34px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate; transition: color .4s, border-color .4s; }
.cinfo__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--lime); transform: translateY(101%); transition: transform .7s var(--ease); }
a.cinfo__card:hover { color: var(--ink); border-color: var(--lime); }
a.cinfo__card:hover::before { transform: none; }
a.cinfo__card:hover .label, a.cinfo__card:hover p { color: rgba(10, 15, 17, .7); }
.cinfo__card i.ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; font-size: 18px; opacity: .8; }
.cinfo__card .label { margin-top: auto; }
.cinfo__card strong { display: block; font-size: clamp(22px, 2vw, 32px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin: 10px 0 8px; word-break: break-word; }
.cinfo__card p { color: var(--fg-2); font-size: 14px; transition: color .4s; }
.cinfo__go { position: absolute; top: 22px; right: 22px; font-size: 14px; }
.cinfo__go::before { display: block; transform: rotate(-45deg); }
.map-card { grid-column: 1 / span 5; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map-frame { position: relative; flex: 1; min-height: 440px; background: var(--surface-2); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.02); }
.map-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 14px 18px; flex-wrap: wrap; padding: 18px clamp(18px, 2vw, 26px); border-top: 1px solid var(--line); }
.map-card__addr { display: grid; gap: 4px; min-width: 0; }
.map-card__addr strong { font-size: 17px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.map-card__addr span:last-child { font-size: 14px; color: var(--fg-2); }
.cform__grid .form-card { grid-column: 6 / span 7; }
.cform__grid { align-items: stretch; }
.csocial { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.csocial a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.035em; transition: background-color .4s, color .4s, border-color .4s; }
.csocial a i { font-size: .9em; }
.csocial a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.csocial a.is-wa:hover { background: var(--wa); border-color: var(--wa); color: #06210f; }

/* =============================================================
   Reveal animations (JS-enhanced)
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="scale"].is-in { transform: none; }
.ws { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; padding-right: .02em; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translateY(108%); transition: transform 1.25s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0s)); }
.js [data-split].is-in .wi { transform: none; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1280px) {
  .hdr__phone { display: none; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, auto)); }
}

@media (max-width: 1024px) {
  :root { --hdr-h: 66px; }
  .hdr__in { grid-template-columns: 1fr auto; }
  .hdr__nav { display: none; }
  .hdr__menu { display: inline-flex; }
  .hdr__end .btn { display: none; }
  .hdr__logo img { height: 38px; }

  .shead { grid-template-columns: 1fr; }
  .shead__k, .shead__t, .shead__p, .shead__end, .shead--row .shead__t, .shead--row .shead__end { grid-column: 1 / -1; justify-self: start; }
  .shead__k { padding-top: 0; }

  .intro__k, .intro__text, .intro__foot { grid-column: 1 / -1; }
  .intro__text { text-indent: 0; }
  .intro__foot { flex-direction: column; align-items: flex-start; }

  .mood { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile--npk { grid-column: 1 / 4; grid-row: 1 / 3; }
  .tile--npk .tile__img { height: 50%; bottom: 34%; }
  .tile--chel { grid-column: 4 / 7; grid-row: 1; }
  .tile--sul { grid-column: 4 / 7; grid-row: 2; }
  .tile--sul .tile__img { height: 70%; right: 6%; bottom: 8%; transform: rotate(var(--rot)); max-width: 50%; }
  .tile--sul:hover .tile__img { transform: translateY(-10px) scale(1.04); }
  .tile--sul .tile__foot { max-width: 56%; }
  .tile--field { grid-column: 1 / 4; grid-row: 3 / 5; }
  .tile--farmer { grid-column: 4 / 7; grid-row: 3 / 5; }
  .tile--bio { grid-column: 1 / 3; grid-row: 5; }
  .tile--myc { grid-column: 3 / 5; grid-row: 5; }
  .tile--mm { grid-column: 5 / 7; grid-row: 5; }
  .tile--bio .tile__img, .tile--myc .tile__img, .tile--mm .tile__img { display: none; }
  .tile--bio .tile__foot, .tile--myc .tile__foot, .tile--mm .tile__foot { max-width: none; }

  .adv__card, .adv__card--wide { grid-column: span 12; min-height: 420px; }

  .enquiry__intro, .form-card, .cform__grid .form-card, .map-card { grid-column: 1 / -1; position: static; }
  .map-card { order: 2; }
  .map-frame { flex: none; min-height: 0; aspect-ratio: 16 / 10; }

  .story__k, .story__body { grid-column: 1 / -1; }
  .story__lead { text-indent: 0; }
  .people__img, .people__panel { grid-column: 1 / -1; }
  .people__img { min-height: 520px; }
  .ap__grid { grid-template-columns: 1fr; }
  .ap-card { min-height: 0; }
  .reach__list { grid-template-columns: 1fr 1fr; }

  .phero__lead { grid-column: 1 / span 12; }
  .phero__meta { grid-column: 1 / span 12; justify-self: start; text-align: left; }
  .packs { width: 70%; opacity: .55; }

  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { width: 200px; }
  .pmodal__in { grid-template-columns: 1fr; overflow-y: auto; }
  .pmodal__stage { min-height: 380px; }
  .pmodal__body { overflow: visible; }

  .cinfo__grid { grid-template-columns: 1fr; }
  .cinfo__card { min-height: 220px; }
  .csocial { grid-template-columns: 1fr; }

  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .stack__scan { display: none; }
  .hero__meta { display: none; }
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero__frame { height: auto; min-height: calc(100vh - var(--frame) * 2); min-height: calc(100svh - var(--frame) * 2); gap: 36px; }
  .hero__bottom { flex-direction: column; align-items: stretch; }
  .hero__card { width: 100%; }
  .hero__title .w-line { display: block; }
  .h-mega { font-size: clamp(64px, 26vw, 200px); }
  .making__head { flex-direction: column; }
  .making__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; padding-top: 0; }
  .making__meta li:last-child { margin-top: 0; }
  .making__title .l2 { padding-left: .9em; }
  .making__steps { grid-template-columns: 1fr; gap: 10px; }
  .making__step.is-on, .js .making__step[data-reveal].is-in.is-on { transform: none; }
  .making__step-top { margin-bottom: 22px; }
  .making__step p { max-width: 60ch; }
  .making__frame { aspect-ratio: 4 / 5; cursor: ns-resize; }
  .making__layer--wire { clip-path: inset(0 0 calc(100% - var(--a)) 0); }
  .making__layer--glass { clip-path: inset(var(--a) 0 calc(100% - var(--b)) 0); }
  .making__layer--final { clip-path: inset(var(--b) 0 0 0); }
  .making__div { left: 0 !important; right: 0; width: auto; height: 1px; top: auto; bottom: auto; }
  .making__div--a { top: var(--a); }
  .making__div--b { top: var(--b); }
  .making__tag { left: 0 !important; margin-left: 12px; margin-top: 12px; top: 0; }
  .making__tag--2 { top: var(--a); }
  .making__tag--3 { top: var(--b); }
  .making__frame.is-in[data-focus="1"] { --a: 58%; --b: 79%; }
  .duo { grid-template-columns: 1fr; height: auto; }
  .duo__a { height: 460px; }
  .duo__b { height: 280px; }
}

@media (max-width: 640px) {
  :root { --frame: 6px; }
  .hero__frame { min-height: max(588px, calc(100svh - var(--frame) * 2)); padding-top: calc(var(--hdr-h) + 14px); gap: 28px; }
  .hero__sub { font-size: 30px; margin-bottom: 18px; }
  .hero__ctas .btn { --h: 50px; flex: 1 1 auto; justify-content: space-between; }
  .hero__card { grid-template-columns: 76px 1fr; gap: 12px; }
  .hero__card-media { height: 90px; }
  .hero__card-bar { left: 104px; }
  .hero__hint { display: none; }
  .ticker { padding: 18px 0; }

  .stats { grid-template-columns: 1fr 1fr; width: 100%; }
  .making__title { font-size: 11.4vw; }
  .making__tag { font-size: 10px; margin-left: 10px; margin-top: 10px; padding: 4px 10px 4px 4px; }
  .making__tag b { width: 20px; height: 20px; }
  .making__step { padding: 20px 18px; }
  .making__num { font-size: 56px; }
  .making__ic { width: 46px; height: 46px; font-size: 16px; }
  .making__points li { font-size: 12px; height: 28px; padding: 0 10px; }
  .making__title .l2 { padding-left: 0; }
  .stack.is-live .stack__ui { padding-top: calc(var(--hdr-h) + 18px); padding-bottom: 28px; }
  .stack.is-live .stack__head .h2 { font-size: 34px; margin-top: 10px; }
  .stack.is-live .stack__steps { min-height: 0; }
  .stack.is-live .stack__step { padding: 18px; }
  .stack.is-live .stack__step p { font-size: 14px; }
  .stack.is-live .stack__chips { display: none; }
  .mood { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 168px; }
  .tile--npk { grid-column: 1; grid-row: 1 / 3; }
  .tile--npk .tile__img { height: 46%; bottom: auto; top: 16%; }
  .tile--npk .tile__foot p { display: none !important; }
  .tile--chel { grid-column: 2; grid-row: 1; }
  .tile--sul { grid-column: 2; grid-row: 2; }
  .tile--sul .tile__img { display: none; }
  .tile--sul .tile__foot { max-width: none; }
  .tile--chel .tile__img { display: none; }
  .tile--chel .tile__foot { max-width: none; }
  .tile--field { grid-column: 1 / 3; grid-row: 3; }
  .tile--farmer { grid-column: 1; grid-row: 4 / 6; }
  .tile--bio { grid-column: 2; grid-row: 4; }
  .tile--myc { grid-column: 2; grid-row: 5; }
  .tile--mm { grid-column: 1 / 3; grid-row: 6; }
  .tile--mm .tile__img { display: block; height: 82%; max-width: 40%; }
  .tile--mm .tile__foot { max-width: 58%; }
  .tile__foot p { display: none; }
  .tile__foot h3 { font-size: 20px; }
  .tile--npk .tile__foot p, .tile--mm .tile__foot p { display: block; }

  .form__row { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; justify-content: space-between; }
  .map-frame { aspect-ratio: 1 / 1; }
  .map-card__foot .btn { width: 100%; justify-content: space-between; }
  .csocial a { padding: 20px 22px; }
  .enquiry__contacts a, .enquiry__contacts li > span { font-size: 15px; }
  .phero__title .l2 { padding-left: .6em; }
  .phero__title .l2--more { padding-left: 1.2em; }
  .story__cols { grid-template-columns: 1fr; }
  .portfolio li { grid-template-columns: 44px 1fr; }
  .portfolio li em { display: none; }
  .people__panel { grid-template-columns: 1fr 1fr; gap: 10px; }
  .people__stat { min-height: 190px; padding: 18px; }
  .people__stat b { font-size: 46px; }
  .brand-row { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .brand-row small { display: none; }
  .brand-row span { grid-column: 1; grid-row: 2; text-align: left; font-size: 14px; }
  .brand-row i { display: none; }
  .brand-row img.brand-row__thumb { display: block; grid-column: 2; grid-row: 1 / span 2; width: 56px; height: 64px; object-fit: contain; }
  .reach__list { grid-template-columns: 1fr; }
  .reach__item { min-height: 0; }

  .toolbar { top: calc(var(--frame) + 64px + 6px); }
  .toolbar__in { flex-direction: column; align-items: stretch; border-radius: 22px; }
  .search { width: 100%; }
  .search input { font-size: 16px; }
  .pgrid { gap: 10px; }
  .pitem__body { padding: 14px 14px 18px; }
  .pitem__name { font-size: 17px; padding-right: 0; }
  .pitem__desc { display: none; }
  .pitem__go { display: none; }
  .pitem__top span:first-child { display: none; }
  .packs { width: 100%; opacity: .28; }

  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__cta-actions .btn { flex: 1 1 auto; justify-content: space-between; }
  .wa { width: 52px; height: 52px; font-size: 25px; right: 14px; bottom: 14px; }
  .totop { right: 17px; bottom: 76px; }
}

@media (hover: none) {
  .brand-float { display: none; }
  .making__frame { cursor: default; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .wi { opacity: 1; transform: none; }
  .js .sw { opacity: 1; }
}
