:root {
  --ink: #15171a;
  --text: #3d4146;
  --muted: #6c7177;
  --line: #e4e5e2;
  --bg: #ffffff;
  --grey: #f5f6f4;
  --accent: #5bc800;
  --accent-h: #4caf00;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --font: "Inter Tight", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-h); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
h1, h2, h3 { color: var(--ink); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
h2 { font-size: clamp(28px, 3vw, 40px); }
.eyebrow { font-size: 14px; font-weight: 500; color: var(--accent-h); margin-bottom: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 6px; font-weight: 500; font-size: 15px; border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn--accent { background: var(--accent); color: #0d1a00; }
.btn--accent:hover { background: var(--accent-h); }
.btn--line { border-color: #cdd0cc; color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 72px; position: relative; }
.hdr__logo img { height: 36px; width: auto; }
.hdr__nav { display: flex; gap: 28px; margin-left: auto; }
.hdr__nav a { font-size: 15px; color: var(--text); transition: color .2s; }
.hdr__nav a:hover { color: var(--accent-h); }
.hdr__mcta { display: none !important; }
.hdr__tel { font-size: 15px; color: var(--muted); }
.hdr__cta { height: 42px; padding: 0 18px; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: #fff; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); }
.burger i:nth-child(1) { top: 14px; } .burger i:nth-child(2) { top: 20px; } .burger i:nth-child(3) { top: 26px; }

/* hero */
.hero { padding: 64px 0 56px; }
.hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 20px; }
.hero__p { font-size: 18px; color: var(--muted); margin-bottom: 30px; max-width: 52ch; }
.hero__img { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3.2; }
.hero__img img, .hero__img video { width: 100%; height: 100%; object-fit: cover; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border: 1px solid var(--line); border-radius: 12px; }
.facts li { padding: 22px 24px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.facts span { font-size: 14px; color: var(--muted); }

/* sections */
.sec { padding: 96px 0; }
.sec--grey { background: var(--grey); }
.sec--tight { padding: 64px 0; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 40px; }
.sec__head p { max-width: 46ch; color: var(--muted); }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, border-color .25s; }
.card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.07); border-color: #d6d8d4; }
.card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card__img--white { background: #fff; }
.card__img--white img { object-fit: contain; padding: 10px; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.more { margin-top: auto; font-weight: 500; color: var(--accent-h); font-size: 15px; }

/* product cutouts sit on their own studio grey */
.card__img--prod { background: #f0efee; }
.card__img--prod img { object-fit: contain; padding: 4px 18px; }

/* banner */
.banner { position: relative; min-height: 460px; display: flex; align-items: center; overflow: hidden; }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.banner__in { position: relative; width: 100%; }
.banner__box { max-width: 440px; background: rgba(255,255,255,.94); border-radius: 14px; padding: 30px; }
.banner__box h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 12px; }
.banner__box p { color: var(--muted); margin-bottom: 20px; }
@media (max-width: 640px) { .banner { min-height: 0; flex-direction: column; } .banner > img { position: static; height: 240px; object-position: 82% 50%; } .banner__in { padding-top: 0; } .banner__box { max-width: none; padding: 24px 0 8px; background: none; } }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about__img { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { margin-bottom: 18px; }
.about__text p { margin-bottom: 14px; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230d1a00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px; border: 1px solid var(--line); border-radius: 12px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grey); color: var(--ink); font-weight: 600; margin-bottom: 16px; }
.steps b { display: block; color: var(--ink); font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 15px; color: var(--muted); }

/* certificates */
.certs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: left; transition: box-shadow .25s; }
.cert:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.cert img { width: 100%; aspect-ratio: 1 / 1.41; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line); margin-bottom: 12px; }
.cert b { display: block; color: var(--ink); font-weight: 600; }
.cert span { font-size: 13.5px; color: var(--muted); }
.viewer { border: 0; padding: 0; background: transparent; max-width: min(92vw, 820px); max-height: 92vh; margin: auto; }
.viewer::backdrop { background: rgba(10,12,14,.75); }
.viewer img { max-height: 90vh; width: auto; border-radius: 6px; }
.viewer__x { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; line-height: 1; }

/* contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact__info h2 { margin-bottom: 14px; }
.contact__info > p { color: var(--muted); margin-bottom: 28px; }
.contact__info dl div { padding: 14px 0; border-top: 1px solid var(--line); }
.contact__info dt { font-size: 13px; color: var(--muted); }
.contact__info dd { color: var(--ink); font-weight: 500; }
.contact__info dd a:hover { color: var(--accent-h); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 15px/1.4 var(--font); color: var(--ink); padding: 12px 14px; border: 1px solid #d4d6d2; border-radius: 6px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent-h); box-shadow: 0 0 0 3px rgba(91,200,0,.15); }
.form .err { border-color: #d7202b; }
.form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__note { font-size: 14px; color: var(--muted); }

/* investors */
.inv { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.inv p { color: var(--muted); margin-top: 6px; }
.inv__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.inv__links a { padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-weight: 500; color: var(--ink); transition: border-color .2s, color .2s; }
.inv__links a::after { content: " ↗"; color: var(--muted); }
.inv__links a:hover { border-color: var(--accent-h); color: var(--accent-h); }

/* footer */
.ftr { background: var(--ink); color: #b9bdc2; padding: 64px 0 28px; font-size: 15px; }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr__brand img { height: 44px; width: auto; margin-bottom: 16px; }
.ftr__brand p { max-width: 34ch; }
.ftr b { display: block; color: #fff; font-weight: 500; margin-bottom: 12px; }
.ftr a, .ftr__in p { display: block; padding: 3px 0; }
.ftr a:hover { color: #fff; }
.ftr__bot { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: #868b91; }

/* light fade-in */
.fade { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1000px) {
  .hdr__tel, .hdr__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .hdr__nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--pad) 20px; background: #fff; border-bottom: 1px solid var(--line); }
  .hdr__nav.open { display: flex; }
  .hdr__nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hdr__mcta { display: inline-flex !important; margin-top: 14px; border-bottom: 0 !important; }
  .hero__in, .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: repeat(3, 1fr); }
  .inv { grid-template-columns: 1fr; }
  .ftr__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 36px; }
  .sec { padding: 64px 0; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .grid, .steps, .facts { grid-template-columns: 1fr; }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .certs { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .inv__links { grid-template-columns: 1fr; }
  .ftr__in { grid-template-columns: 1fr; }
  .ftr__bot { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- scroll intro ---------- */
.intro { position: relative; height: 300vh; background: #000; }
.intro__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.iv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; background: #000; }
.intro__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.it { position: absolute; left: 0; right: 0; margin: 0 auto; text-align: center; color: #fff; font-weight: 500; letter-spacing: -.035em; line-height: 1; opacity: 0; pointer-events: none; will-change: transform, opacity; padding: 0 20px; }
.it--mid { top: 50%; font-size: clamp(40px, 6.4vw, 104px); }
.it--big { font-size: clamp(56px, 11vw, 190px); }
.it--low { bottom: 12%; font-size: clamp(30px, 3.6vw, 56px); }
.it--logo { top: 50%; width: min(420px, 62vw); padding: 0; }
.intro__white { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.intro__skip { position: absolute; right: 24px; bottom: 22px; color: rgba(255,255,255,.75); font-size: 14px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; transition: color .2s, border-color .2s; }
.intro__skip:hover { color: #fff; border-color: #fff; }
.intro__bar { position: absolute; left: 24px; bottom: 34px; width: 120px; height: 2px; background: rgba(255,255,255,.2); }
.intro__bar span { display: block; height: 100%; width: 0; background: var(--accent); }
.hdr { transition: transform .4s ease; }
body.intro-on .hdr { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
/* header floats over the intro, then sits above the page */
.hdr { position: fixed; left: 0; right: 0; top: 0; }
.hero { padding-top: 136px; }
@media (max-width: 640px) { .hero { padding-top: 108px; } }

/* hero 3D pack */
.hero__img--3d { position: relative; background: #f0efee; }
#pack3d { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#pack3d:active { cursor: grabbing; }
.hero__hint { position: absolute; left: 18px; bottom: 14px; font-size: 13px; color: var(--muted); pointer-events: none; }

@media (max-aspect-ratio: 4/5) { .iv { object-fit: contain; } }

/* opening loader (same rhythm as the Parsley Kitchen one): the cell fills from the bottom, then lifts away */
.ld { position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 26px; background: #000; transition: opacity .7s ease, transform .9s cubic-bezier(.7, 0, .2, 1); }
.ld__cell { width: clamp(64px, 7vw, 92px); height: auto; clip-path: inset(100% 0 0 0); animation: ld-charge 1.1s cubic-bezier(.3, .8, .25, 1) .1s forwards; }
@keyframes ld-charge { to { clip-path: inset(0 0 0 0); } }
.ld__line { width: 120px; height: 2px; background: rgba(255,255,255,.18); border-radius: 2px; overflow: hidden; }
.ld__line i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.ld.done { opacity: 0; transform: translateY(-3vh); pointer-events: none; }
html.ld-on { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .ld__cell { animation: none; clip-path: none; } }
