/* ==========================================================================
   Sri Walis — design system
   Palette: forest / canopy / husk gold / laterite earth / mist
   Type: Archivo (variable width) + the system Chinese font (PingFang SC, Microsoft YaHei, Noto Sans CJK SC)
   ========================================================================== */
:root {
  --forest-950: #0A2119;
  --forest-900: #0F2B21;
  --forest-800: #173A2D;
  --forest-700: #22503D;
  --canopy-600: #2D6A4B;
  --canopy-500: #3E8160;
  --canopy-300: #9BBFA6;
  --sprout: #2BD15A;
  --husk-700: #7A5E21;
  --husk-600: #A27E33;
  --husk-500: #BE9B4E;
  --husk-300: #DCC58F;
  --husk-100: #F2E9D2;
  --laterite-600: #9B4F2D;
  --laterite-300: #D9A585;
  --mist-50: #F4F6F2;
  --mist-100: #E8EDE6;
  --mist-200: #D6DED3;
  --paper: #FCFDFB;
  --ink-900: #152019;
  --ink-700: #2C3A32;
  --ink-600: #4A5850;
  --ink-500: #5F6C64;
  --line: rgba(21, 32, 25, .14);
  --line-strong: rgba(21, 32, 25, .3);
  --line-inv: rgba(255, 255, 255, .16);
  --line-inv-strong: rgba(255, 255, 255, .34);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-zh: "Archivo", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --container: 1320px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --section: clamp(72px, 9vw, 148px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink-900);
  background: var(--paper);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[lang^="zh"] body { font-family: var(--font-zh); line-height: 1.82; letter-spacing: .01em; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--husk-300); color: var(--forest-950); }
:focus-visible { outline: 2px solid var(--husk-500); outline-offset: 3px; border-radius: 1px; }
.on-light :focus-visible, .form :focus-visible { outline-color: var(--canopy-600); }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--husk-300); color: var(--forest-950);
  padding: 10px 16px; font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }
.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; }
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }
.bg-mist { background: var(--mist-50); }
.bg-paper { background: var(--paper); }
.bg-forest { background: var(--forest-900); color: #fff; }
.bg-deep { background: var(--forest-950); color: #fff; }
.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.split { display: grid; gap: clamp(28px, 4vw, 72px); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  .split--even { grid-template-columns: 1fr 1fr; align-items: start; }
  .split--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--top { align-items: start; }
  .split--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .split--contact { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .split--center { align-items: center; }
}
.stack > * + * { margin-top: 1rem; }
.cols > *, .split > *, .grid > *, .fgrid > *, .ai > * { min-width: 0; }
.measure { max-width: 64ch; }
.measure-s { max-width: 46ch; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.7rem, 1.1rem + 6.6vw, 7rem);
  line-height: .96; font-weight: 640; font-stretch: 116%; letter-spacing: -.028em;
}
.h1 { font-size: clamp(2.35rem, 1.3rem + 4.4vw, 5rem); line-height: 1; font-weight: 620; font-stretch: 114%; letter-spacing: -.024em; }
.h2 { font-size: clamp(1.85rem, 1.25rem + 2.5vw, 3.35rem); line-height: 1.04; font-weight: 600; font-stretch: 110%; letter-spacing: -.02em; }
.h3 { font-size: clamp(1.22rem, 1.05rem + .7vw, 1.6rem); line-height: 1.18; font-weight: 600; font-stretch: 104%; }
.h4 { font-size: 1.06rem; line-height: 1.3; font-weight: 640; font-stretch: 102%; }
.lead { font-size: clamp(1.12rem, 1rem + .55vw, 1.42rem); line-height: 1.5; color: var(--ink-700); }
.bg-forest .lead, .bg-deep .lead, .hero .lead, .phero .lead, .band .lead { color: rgba(255, 255, 255, .86); }
.band .muted { color: rgba(255, 255, 255, .74); }
.muted { color: var(--ink-600); }
.bg-forest .muted, .bg-deep .muted { color: rgba(255, 255, 255, .7); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; line-height: 1.45; }
.num { font-variant-numeric: tabular-nums lining-nums; }
html[lang^="zh"] .display { font-size: clamp(2.5rem, 1rem + 6vw, 6.2rem); line-height: 1.08; letter-spacing: .01em; font-weight: 700; }
html[lang^="zh"] .h1 { line-height: 1.15; letter-spacing: .01em; font-weight: 700; }
html[lang^="zh"] .h2 { line-height: 1.2; letter-spacing: .01em; font-weight: 700; }
html[lang^="zh"] .h3, html[lang^="zh"] .h4 { line-height: 1.4; letter-spacing: .01em; font-weight: 700; }
html[lang^="zh"] .lead { line-height: 1.75; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin: 2.2em 0 .6em; font-stretch: 106%; }
.prose h3 { font-size: 1.18rem; margin: 1.8em 0 .5em; }
.prose p, .prose li { color: var(--ink-700); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--husk-600); }
.prose a { color: var(--canopy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.2em; border-left: 2px solid var(--husk-500); font-size: 1.15rem; color: var(--ink-900); }

/* Line reveal for headlines */
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
.is-in .ln > span, .ln.is-in > span { transform: none; }
.is-in .ln:nth-child(2) > span { transition-delay: .09s; }
.is-in .ln:nth-child(3) > span { transition-delay: .18s; }
.is-in .ln:nth-child(4) > span { transition-delay: .27s; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: .8em 1.35em;
  border: 1px solid transparent; border-radius: var(--radius); font-weight: 600; font-stretch: 106%; letter-spacing: .005em; line-height: 1.2;
  text-decoration: none; transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .25s var(--ease);
  position: relative; isolation: isolate; overflow: hidden; white-space: normal; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--husk-500); color: var(--forest-950); }
.btn--gold:hover { background: var(--husk-300); }
.btn--ghost { border-color: var(--line-inv-strong); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn--dark { background: var(--forest-900); color: #fff; }
.btn--dark:hover { background: var(--forest-700); }
.btn--line { border-color: var(--line-strong); color: var(--ink-900); background: transparent; }
.btn--line:hover { border-color: var(--ink-900); background: rgba(21, 32, 25, .04); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tlink {
  color: inherit; text-decoration: none; font-weight: 600; font-stretch: 104%;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px;
  transition: background-size .35s var(--ease);
}
.tlink:hover { background-size: 0 1px; background-position: 100% 100%; }
.tlink--gold { color: var(--husk-700); }
.bg-forest .tlink--gold, .bg-deep .tlink--gold { color: var(--husk-300); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); color: #fff;
  transition: background-color .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(180deg, rgba(10, 33, 25, .55), rgba(10, 33, 25, 0)); pointer-events: none; transition: opacity .4s; }
.site-header.is-solid { height: 64px; background: rgba(10, 33, 25, .96); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
@supports (backdrop-filter: blur(8px)) { .site-header.is-solid { background: rgba(10, 33, 25, .86); backdrop-filter: saturate(140%) blur(12px); } }
.site-header.is-solid::before { opacity: 0; }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 20px; position: relative; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: 118px; height: auto; transition: width .4s var(--ease); }
.is-solid .brand img { width: 102px; }
.mainnav { display: none; margin-left: auto; }
.mainnav > ul { display: flex; list-style: none; gap: 2px; align-items: center; }
.mainnav a, .mainnav button.navbtn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; color: rgba(255, 255, 255, .88); text-decoration: none;
  font-size: .95rem; font-weight: 500; font-stretch: 104%; background: none; border: 0; position: relative;
}
.mainnav a::after, .mainnav button.navbtn::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--husk-300);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.mainnav a:hover::after, .mainnav button.navbtn:hover::after, .mainnav a[aria-current="page"]::after, .mainnav button.navbtn[aria-expanded="true"]::after, .mainnav button.navbtn.is-current::after { transform: scaleX(1); }
.mainnav a:hover, .mainnav button.navbtn:hover, .mainnav a[aria-current="page"] { color: #fff; }
.navbtn svg { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.navbtn[aria-expanded="true"] svg { transform: rotate(180deg); }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.mainnav + .hdr-actions { margin-left: 8px; }
.langsw {
  display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line-inv-strong); border-radius: 2px; overflow: hidden; font-size: .82rem; font-weight: 600;
}
.langsw a { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 10px; text-decoration: none; color: rgba(255, 255, 255, .7); line-height: 1; min-width: 40px; text-align: center; }
.langsw a[aria-current="true"] { background: rgba(255, 255, 255, .14); color: #fff; }
.langsw a:hover { color: #fff; }
.hdr-cta { display: none; }
.hdr-shop { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-inv-strong); border-radius: 2px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background-color .25s var(--ease); }
.hdr-shop svg { width: 17px; height: 17px; flex: none; }
.hdr-shop:hover { background: rgba(255, 255, 255, .1); }
@media (min-width: 600px) { .hdr-shop { display: inline-flex; } }
.menu-btn {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid var(--line-inv-strong); color: #fff; height: 42px; padding: 0 14px; border-radius: 2px; font-weight: 600; font-size: .9rem;
}
.menu-btn .bars { width: 18px; height: 10px; position: relative; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { bottom: 0; }
@media (min-width: 1180px) {
  .mainnav { display: block; }
  .menu-btn { display: none; }
  .hdr-cta { display: inline-flex; min-height: 42px; padding: .55em 1em; font-size: .9rem; }
}
@media (min-width: 1180px) and (max-width: 1300px) { .mainnav a, .mainnav button.navbtn { padding-inline: 9px; font-size: .9rem; } .hdr-cta { display: none; } }

/* Mega menu */
@media (max-width: 1179px) { .mega { display: none; } }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--forest-950); color: #fff; border-top: 1px solid var(--line-inv);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .28); opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding-block: 36px 40px; }
.mega__intro p { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.mega__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; list-style: none; }
.mega__item a { display: block; text-decoration: none; color: #fff; }
.mega__thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--forest-800); margin-bottom: 12px; }
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .8s var(--ease-out), opacity .4s; opacity: .9; }
.mega__item a:hover .mega__thumb img, .mega__item a:focus-visible .mega__thumb img { transform: scale(1.09); opacity: 1; }
.mega__name { font-weight: 600; font-stretch: 104%; line-height: 1.25; display: block; }
.mega__desc { display: block; margin-top: 6px; font-size: .84rem; line-height: 1.45; color: rgba(255, 255, 255, .64); }

/* Mobile navigation */
.mnav {
  position: fixed; inset: 0; z-index: 80; background: var(--forest-950); color: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); visibility: hidden; transition: transform .5s var(--ease-out), visibility 0s linear .5s; overflow-y: auto;
}
.mnav.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: 76px; padding-inline: var(--gutter); border-bottom: 1px solid var(--line-inv); flex: none; }
.mnav__top img { width: 104px; }
.mnav__close { background: none; border: 1px solid var(--line-inv-strong); color: #fff; height: 42px; padding: 0 14px; border-radius: 2px; font-weight: 600; }
.mnav__list { list-style: none; padding: 18px var(--gutter) 8px; }
.mnav__list > li { border-bottom: 1px solid var(--line-inv); }
.mnav__list a.mnav__shop { justify-content: flex-start; gap: 12px; }
.mnav__list a.mnav__shop svg { width: 22px; height: 22px; flex: none; }
.mnav__list a, .mnav__list summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; font-size: 1.32rem; font-weight: 600; font-stretch: 108%; text-decoration: none; color: #fff; cursor: pointer; list-style: none; }
.mnav__list summary::-webkit-details-marker { display: none; }
.mnav__list summary svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.mnav__list details[open] summary svg { transform: rotate(45deg); }
.mnav__sub { list-style: none; padding: 0 0 14px 0; }
.mnav__sub a { font-size: 1.02rem; font-weight: 500; padding: 9px 0 9px 14px; border-left: 1px solid var(--line-inv-strong); color: rgba(255, 255, 255, .84); }
.mnav__foot { margin-top: auto; padding: 22px var(--gutter) 32px; display: grid; gap: 14px; border-top: 1px solid var(--line-inv); }
.mnav__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mnav__quick .btn { min-height: 46px; font-size: .92rem; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--forest-950); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); overflow: hidden; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); will-change: transform; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 14s var(--ease) forwards; }
.hero__slide:nth-child(2).is-active img { animation-name: kenburns2; }
.hero__slide:nth-child(3).is-active img { animation-name: kenburns3; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.15) translate3d(-2%, -1.5%, 0); } }
@keyframes kenburns2 { from { transform: scale(1.14) translate3d(1.5%, 0, 0); } to { transform: scale(1.04) translate3d(-1%, -1%, 0); } }
@keyframes kenburns3 { from { transform: scale(1.05) translate3d(0, 1.5%, 0); } to { transform: scale(1.14) translate3d(1.5%, -1%, 0); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10, 33, 25, .62) 0%, rgba(10, 33, 25, .12) 30%, rgba(10, 33, 25, .18) 52%, rgba(10, 33, 25, .82) 84%, rgba(10, 33, 25, .96) 100%),
  linear-gradient(90deg, rgba(10, 33, 25, .55) 0%, rgba(10, 33, 25, 0) 62%); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.contours path { fill: none; stroke: var(--husk-300); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero .contours { opacity: .34; mix-blend-mode: screen; }
.contours.draw path { stroke-dasharray: var(--l) var(--l); stroke-dashoffset: var(--l); }
.contours.draw.is-in path { animation: draw 3.6s var(--ease-out) forwards; }
.contours.draw.is-in path:nth-child(3n) { animation-delay: .25s; }
.contours.draw.is-in path:nth-child(3n+1) { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__content { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(36px, 6vh, 64px); }
.hero__title { max-width: 13ch; margin-bottom: clamp(18px, 2.4vw, 28px); }
html[lang^="zh"] .hero__title { max-width: 11em; }
.hero__lead { max-width: 52ch; margin-bottom: 30px; }
.hero__foot { position: relative; border-top: 1px solid var(--line-inv); }
.hero__foot .container { display: flex; align-items: center; gap: 18px; justify-content: space-between; min-height: 72px; }
.film-btn { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; color: #fff; padding: 8px 0; font-weight: 600; text-align: left; font-size: .95rem; }
.film-btn__icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-inv-strong); display: grid; place-items: center; flex: none; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.film-btn__icon svg { width: 14px; height: 14px; margin-left: 2px; }
.film-btn:hover .film-btn__icon { background: var(--husk-500); border-color: var(--husk-500); color: var(--forest-950); transform: scale(1.06); }
.film-btn small { display: block; font-weight: 400; color: rgba(255, 255, 255, .66); font-size: .8rem; }
.hero__film { display: flex; align-items: center; gap: 4px; min-width: 0; }
.film-btn > span:last-child { white-space: nowrap; }
@media (max-width: 559px) {
  .hero__foot .container { gap: 12px; }
  .hero__dots button:not(.hero__pause) { display: none; }
  .hero__dots .hero__pause { margin-left: 0; }
  .film-btn { font-size: .9rem; gap: 10px; }
  .film-btn__icon { width: 40px; height: 40px; }
}
.hero__caption { color: rgba(255, 255, 255, .6); font-size: .8rem; text-align: right; max-width: 34ch; display: none; }
@media (min-width: 760px) { .hero__caption { display: block; } }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 28px; height: 28px; background: none; border: 0; padding: 0; position: relative; }
.hero__dots button::before { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; background: rgba(255, 255, 255, .3); }
.hero__dots button::after { content: ""; position: absolute; left: 4px; top: 50%; height: 2px; width: 0; background: var(--husk-300); }
.hero__dots button[aria-current="true"]::after { animation: dotfill 7s linear forwards; }
.reduced .hero__dots button[aria-current="true"]::after { animation: none; width: calc(100% - 8px); }
.hero__dots .hero__pause { width: 28px; height: 28px; margin-left: 6px; display: grid; place-items: center; color: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; }
.hero__dots .hero__pause::before, .hero__dots .hero__pause::after { content: none; }
.hero__dots .hero__pause svg { width: 10px; height: 10px; }
.hero__pause .i-play { display: none; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: inline; }
.hero__pause:hover { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero.is-paused .hero__dots button[aria-current="true"]::after { animation: none; width: calc(100% - 8px); }
.hero.is-paused .hero__slide.is-active img { animation-play-state: paused; }
.reduced .hero__pause { display: none; }
@keyframes dotfill { to { width: calc(100% - 8px); } }

/* ---------- Page hero ---------- */
.phero { position: relative; color: #fff; background: var(--forest-950); overflow: hidden; min-height: clamp(480px, 74vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; }
.phero--short { min-height: clamp(400px, 56vh, 560px); }
.phero__media { position: absolute; inset: -8% 0 -8% 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 33, 25, .7) 0%, rgba(10, 33, 25, .25) 38%, rgba(10, 33, 25, .86) 100%), linear-gradient(90deg, rgba(10, 33, 25, .6), rgba(10, 33, 25, 0) 70%); }
.phero .contours { opacity: .22; }
.phero--topo { background: var(--forest-900); }
.phero--topo .contours { opacity: .3; }
.phero__content { position: relative; padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(44px, 7vh, 84px); }
.phero__title { max-width: 18ch; margin: 14px 0 20px; }
html[lang^="zh"] .phero__title { max-width: 14em; }
.phero__lead { max-width: 56ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; font-size: .84rem; color: rgba(255, 255, 255, .66); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255, 255, 255, .38); }
.crumbs a { color: rgba(255, 255, 255, .84); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.phero__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-size: .9rem; color: rgba(255, 255, 255, .72); }

/* ---------- Stats strip ---------- */
.stats { background: var(--forest-950); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { padding: 26px 18px 28px 0; border-top: 1px solid var(--line-inv); }
.stat:nth-child(2n) { padding-left: 18px; border-left: 1px solid var(--line-inv); }
@media (min-width: 960px) {
  .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stat { padding: 34px 26px 36px; border-top: 0; border-left: 1px solid var(--line-inv); }
  .stat:first-child { border-left: 0; padding-left: 0; }
}
.stat__num { font-size: clamp(2rem, 1.3rem + 2.7vw, 3.65rem); line-height: 1; font-weight: 600; font-stretch: 118%; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.stat__unit { font-size: .44em; font-weight: 500; letter-spacing: 0; color: var(--husk-300); margin-left: .18em; font-stretch: 100%; }
.stat__label { margin-top: 12px; color: rgba(255, 255, 255, .72); font-size: .92rem; line-height: 1.45; max-width: 26ch; }

/* ---------- Section heads ---------- */
.shead { margin-bottom: clamp(36px, 5vw, 64px); }
.shead .h2 { max-width: 20ch; }
html[lang^="zh"] .shead .h2 { max-width: 16em; }
.shead__aside { color: var(--ink-600); }
.bg-forest .shead__aside, .bg-deep .shead__aside { color: rgba(255, 255, 255, .74); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--husk-700); margin-bottom: 16px; }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.bg-forest .kicker, .bg-deep .kicker, .phero .kicker, .hero .kicker { color: var(--husk-300); }

/* ---------- Value chain ---------- */
.chain { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(148px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 10px; scrollbar-width: none; counter-reset: chain; }
.chain::-webkit-scrollbar { display: none; }
.chain li { scroll-snap-align: start; position: relative; padding: 26px 18px 6px 0; counter-increment: chain; }
.chain li::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-strong); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease-out); transition-delay: calc(var(--i) * 90ms); }
.chain li::after { content: ""; position: absolute; left: 0; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--canopy-600); transform: scale(0); transition: transform .45s var(--ease-out); transition-delay: calc(var(--i) * 90ms + 150ms); }
.chain.is-in li::before { transform: scaleX(1); }
.chain.is-in li::after { transform: scale(1); }
.chain li:last-child::after { background: var(--husk-500); border-color: var(--husk-600); }
.chain b { display: block; font-weight: 600; font-stretch: 104%; line-height: 1.25; }
.chain span { display: block; font-size: .8rem; color: var(--ink-500); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
@media (min-width: 1100px) { .chain { grid-auto-flow: initial; grid-template-columns: repeat(8, 1fr); overflow: visible; margin: 0; padding: 6px 0 10px; } }
@media (max-width: 1099px) { .chain { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; margin-inline: 0; padding: 6px 0 10px; row-gap: 18px; } }
@media (max-width: 559px) { .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); } .chain li { padding-right: 12px; } }

/* ---------- Capability panels ---------- */
.caps { display: grid; gap: 12px; margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 680px) { .caps { grid-template-columns: 1fr 1fr; } .caps .cap:first-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .caps { display: flex; height: 600px; gap: 10px; }
  .caps .cap { flex: 1 1 0; min-width: 0; transition: flex-grow .7s var(--ease-out); }
  .caps:hover .cap { flex-grow: .85; }
  .caps .cap:hover, .caps .cap:focus-within { flex-grow: 2.2; }
}
.cap { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; color: #fff; text-decoration: none; overflow: hidden; background: var(--forest-900); isolation: isolate; }
.cap__img { position: absolute; inset: 0; z-index: -2; }
.cap__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.1s var(--ease-out), filter .6s; filter: saturate(.92); }
.cap:hover .cap__img img, .cap:focus-visible .cap__img img { transform: scale(1.12); filter: saturate(1.05); }
.cap::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 33, 25, .05) 20%, rgba(10, 33, 25, .5) 55%, rgba(10, 33, 25, .92) 100%); transition: opacity .5s; }
.cap__body { padding: clamp(20px, 2vw, 28px); }
@media (max-width: 1099px), (hover: none) {
  .cap::before { background: linear-gradient(180deg, rgba(10, 33, 25, .08) 0%, rgba(10, 33, 25, .55) 38%, rgba(10, 33, 25, .94) 72%); }
  .cap__fit { text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
}
.cap__fit { display: block; font-size: .78rem; color: var(--husk-300); margin-bottom: 10px; font-weight: 500; }
.cap__name { display: block; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); font-weight: 600; font-stretch: 106%; line-height: 1.15; max-width: 16ch; }
.cap__desc { display: block; margin-top: 12px; color: rgba(255, 255, 255, .82); font-size: .95rem; line-height: 1.5; max-width: 40ch; }
.cap__go { display: flex; width: fit-content; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: .9rem; color: #fff; }
.cap__go svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.cap:hover .cap__go svg { transform: translateX(4px); }
@media (min-width: 1100px) and (hover: hover) {
  .cap__desc, .cap__go { opacity: 0; max-height: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease-out), max-height .6s var(--ease-out); overflow: hidden; }
  .cap:hover .cap__desc, .cap:focus-within .cap__desc, .cap:hover .cap__go, .cap:focus-within .cap__go { opacity: 1; max-height: 180px; transform: none; transition-delay: .12s; }
  .cap__name { font-size: 1.24rem; }
}

/* ---------- Process (Groundwork to Global Market) ---------- */
.process { position: relative; }
.process__grid { display: grid; gap: 40px; }
.process__stage { display: none; }
.process__track { position: relative; }
.process__steps { list-style: none; position: relative; padding-left: 28px; }
.process__steps::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: var(--line-inv); }
.process__rail { position: absolute; left: 4px; top: 8px; width: 1px; height: calc(100% - 16px); background: var(--husk-500); transform-origin: top; transform: scaleY(var(--p, 0)); z-index: 1; }
.pstep { position: relative; padding-bottom: 56px; }
.pstep:last-child { padding-bottom: 0; }
.pstep::before { content: ""; position: absolute; left: -28px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--forest-900); border: 1.5px solid var(--line-inv-strong); transition: background-color .4s, border-color .4s; }
.pstep.is-active::before, .pstep.is-past::before { background: var(--husk-500); border-color: var(--husk-500); }
.pstep__num { display: block; font-size: .85rem; color: var(--husk-300); font-variant-numeric: tabular-nums; margin-bottom: 8px; font-weight: 600; }
.pstep__title { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 600; font-stretch: 112%; letter-spacing: -.015em; margin-bottom: 14px; }
.pstep p { color: rgba(255, 255, 255, .78); max-width: 44ch; }
.pstep__img { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 18px; background: var(--forest-800); }
.pstep__img img { width: 100%; height: 100%; object-fit: cover; }
.pstep__link { display: inline-flex; margin-top: 16px; font-size: .92rem; }
@media (min-width: 640px) and (max-width: 1023px) {
  .pstep { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 28px; align-items: start; }
  .pstep__img { grid-column: 1; grid-row: 1 / span 4; margin-bottom: 0; }
  .pstep > :not(.pstep__img) { grid-column: 2; }
  .pstep__link { justify-self: start; }
}
@media (min-width: 1024px) {
  .process__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .process__stage { display: block; position: sticky; top: calc(64px + 32px); height: calc(100vh - 64px - 64px); max-height: 760px; min-height: 480px; }
  .process__media { position: absolute; inset: 0; overflow: hidden; background: var(--forest-800); }
  .process__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease), transform 1.6s var(--ease-out); }
  .process__media img.is-active { opacity: 1; transform: scale(1); }
  .process__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 33, 25, 0) 50%, rgba(10, 33, 25, .85)); }
  .process__counter { position: absolute; left: 28px; bottom: 26px; right: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
  .process__num { font-size: clamp(4rem, 2rem + 4vw, 7rem); line-height: .8; font-weight: 600; font-stretch: 120%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
  .process__label { font-size: 1.1rem; font-weight: 600; text-align: right; }
  .process__label small { display: block; font-weight: 400; color: rgba(255, 255, 255, .66); font-size: .82rem; }
  .process__steps { padding-left: 34px; padding-block: 12vh; }
  .process__steps::before, .process__rail { left: 4px; }
  .pstep { min-height: 54vh; display: flex; flex-direction: column; justify-content: center; padding-bottom: 0; opacity: .62; transition: opacity .6s var(--ease); } /* .62 keeps dimmed steps above 4.5:1 contrast */
  .pstep::before { left: -34px; top: calc(50% - 60px); }
  .pstep.is-active { opacity: 1; }
  .pstep__img { display: none; }
}

/* ---------- Project cards ---------- */
.pgrid { display: grid; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 640px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1099px) { .pgrid:not(.pgrid--feature) > .pcard:first-child:nth-last-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 640px) and (max-width: 899px) { .pgrid--feature > .pcard:first-child:nth-last-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 900px) { .pgrid--feature { grid-template-columns: repeat(12, minmax(0, 1fr)); } .pgrid--feature > :nth-child(1) { grid-column: span 7; grid-row: span 2; } .pgrid--feature > :nth-child(n+2) { grid-column: span 5; } .pgrid--feature > :nth-child(n+4) { grid-column: span 6; } }
.pcard { position: relative; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .3s, transform .45s var(--ease-out); }
.bg-mist .pcard { background: #fff; }
.pcard:hover { border-color: var(--line-strong); }
.pcard__btn { all: unset; box-sizing: border-box; width: 100%; display: flex; flex-direction: column; height: 100%; cursor: pointer; }
.pcard__btn:focus-visible { outline: 2px solid var(--canopy-600); outline-offset: 3px; }
.pcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-100); }
@media (min-width: 900px) { .pgrid--feature > :nth-child(1) .pcard__media { aspect-ratio: auto; flex: 1; min-height: 300px; } }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.reveal-img .pcard__media img, .reveal-img.pcard__media img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-img.is-in .pcard__media img, .is-in .reveal-img .pcard__media img { clip-path: inset(0 0 0 0); }
.pcard__body { padding: 20px 22px 22px; display: grid; gap: 12px; }
.pcard__title { font-size: 1.18rem; font-weight: 600; font-stretch: 104%; line-height: 1.25; }
.pcard__specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 26px; margin: 0; }
.pcard__specs div { min-width: 0; }
.pcard__specs dt { font-size: .76rem; color: var(--ink-500); }
.pcard__specs dd { margin: 2px 0 0; font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .01em; padding: 5px 10px 5px 9px; border-radius: 2px; background: rgba(255, 255, 255, .92); color: var(--ink-900); line-height: 1; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--canopy-600); flex: none; }
.status--ongoing::before { background: var(--sprout); box-shadow: 0 0 0 0 rgba(43, 209, 90, .55); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43, 209, 90, .55); } 70% { box-shadow: 0 0 0 8px rgba(43, 209, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 209, 90, 0); } }
.pcard__media .status { position: absolute; left: 14px; top: 14px; }
.croptag { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ink-600); font-weight: 500; }
.croptag::before { content: ""; width: 10px; height: 2px; background: var(--husk-600); }
.croptag--oilpalm::before { background: var(--canopy-600); }
@media (max-width: 639px) {
  .pgrid, .pgrid--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pgrid > .pcard:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .pcard__media { aspect-ratio: 4 / 3; }
  .pcard__media .status { left: 8px; top: 8px; font-size: .68rem; padding: 4px 7px 4px 6px; gap: 6px; }
  .pcard__body { padding: 12px 12px 14px; gap: 6px; }
  .pcard__title { font-size: .95rem; line-height: 1.3; }
  .croptag { font-size: .72rem; }
  .pcard__specs { grid-template-columns: 1fr; gap: 0; }
  .pcard__specs > div:not(:first-child), .pcard__specs dt { display: none; }
  .pcard__specs dd { margin: 0; font-size: .85rem; font-weight: 500; color: var(--ink-600); }
  .pgrid > .pcard:first-child:nth-last-child(odd) .pcard__media { aspect-ratio: 16 / 10; }
  .pgrid > .pcard:first-child:nth-last-child(odd) .pcard__body { padding: 16px 16px 18px; gap: 10px; }
  .pgrid > .pcard:first-child:nth-last-child(odd) .pcard__title { font-size: 1.1rem; }
  .pgrid > .pcard:first-child:nth-last-child(odd) .pcard__specs { grid-template-columns: repeat(3, auto); gap: 6px 22px; }
  .pgrid > .pcard:first-child:nth-last-child(odd) .pcard__specs > div, .pgrid > .pcard:first-child:nth-last-child(odd) .pcard__specs dt { display: block; }
  .pgrid > .pcard:first-child:nth-last-child(odd) .pcard__specs dd { font-weight: 600; color: var(--ink-900); font-size: .92rem; margin-top: 2px; }
}
.is-hl .pcard, .pcard.is-hl { border-color: var(--husk-500); box-shadow: 0 0 0 1px var(--husk-500); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; margin-bottom: 28px; }
.fgroup { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fgroup__label { font-size: .85rem; color: var(--ink-600); margin-right: 4px; }
.chip { border: 1px solid var(--line-strong); background: transparent; color: var(--ink-900); padding: 8px 14px; border-radius: 2px; font-size: .9rem; font-weight: 500; min-height: 40px; transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--ink-900); }
.chip[aria-pressed="true"] { background: var(--forest-900); border-color: var(--forest-900); color: #fff; }
.filters__count { margin-left: auto; font-size: .9rem; color: var(--ink-600); }

/* Project map */
.pmap { position: relative; background: var(--mist-50); border: 1px solid var(--line); }
.pmap svg { width: 100%; height: auto; }
.pmap .st { fill: #E1E8DD; stroke: #fff; stroke-width: 1; }
.pmap .st--pahang { fill: #D7CCAA; }
.pmap .ctx { fill: #EDF0EA; stroke: #D8DFD4; stroke-width: .6; }
.pmap .lbl { font-size: 11px; fill: var(--ink-600); font-family: var(--font); letter-spacing: .02em; pointer-events: none; }
.pmap .lbl--state { font-size: 12.5px; fill: var(--ink-700); font-weight: 600; }
.pmap .mk { cursor: pointer; outline: none; }
.pmap .mk circle.dot { stroke: #fff; stroke-width: 1.6; transition: r .3s var(--ease); }
.pmap .mk--durian circle.dot { fill: var(--husk-600); }
.pmap .mk--oilpalm circle.dot { fill: var(--canopy-600); }
.pmap .mk circle.halo { fill: none; stroke: var(--sprout); stroke-width: 1.5; opacity: 0; }
.pmap .mk--ongoing circle.halo { animation: halo 2.4s var(--ease) infinite; }
@keyframes halo { 0% { r: 6; opacity: .9; } 100% { r: 18; opacity: 0; } }
.pmap .mk:hover circle.dot, .pmap .mk:focus circle.dot, .pmap .mk.is-hl circle.dot { r: 9; }
.pmap .mk:focus-visible circle.dot { stroke: var(--forest-950); stroke-width: 2.5; }
.pmap .office rect { fill: var(--forest-900); }
.pmap .office text { font-size: 11px; fill: var(--forest-900); font-weight: 600; font-family: var(--font); }
.pmap .mk { opacity: 0; transform: translateY(-6px); transform-box: fill-box; transition: opacity .5s var(--ease), transform .6s var(--ease-out); transition-delay: calc(var(--i) * 70ms); }
.pmap.is-in .mk { opacity: 1; transform: none; }
@media (max-width: 599px) {
  .pmap .lbl { font-size: 15px; }
  .pmap .lbl--state { font-size: 16px; }
  .pmap .office text { font-size: 15px; }
  .pmap .mk circle.dot { r: 8.5px; }
}
.pmap__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 16px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-600); background: #fff; }
.pmap__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.pmap__tip { position: absolute; pointer-events: none; background: var(--forest-950); color: #fff; padding: 8px 12px; font-size: .82rem; line-height: 1.35; transform: translate(-50%, calc(-100% - 14px)); white-space: nowrap; opacity: 0; transition: opacity .2s; z-index: 2; }
.pmap__tip.is-on { opacity: 1; }
.pmap__tip b { display: block; font-weight: 600; }

/* ---------- Smart farming: agriculture intelligence concept ---------- */
.ai { position: relative; display: grid; gap: 28px; }
.ai__links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 0; }
.ai__links path { fill: none; stroke: rgba(220, 197, 143, .35); stroke-width: 1.2; }
.ai__links path.flow { stroke: var(--husk-300); stroke-width: 1.6; stroke-dasharray: 2 12; stroke-linecap: round; animation: flow 1.4s linear infinite; animation-play-state: paused; }
.ai.is-live .ai__links path.flow { animation-play-state: running; }
@keyframes flow { to { stroke-dashoffset: -14; } }
.ai__col { position: relative; z-index: 1; }
.ai__inputs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ai__node { display: flex; gap: 12px; align-items: center; padding: 12px 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-inv); font-size: .9rem; line-height: 1.3; min-height: 58px; transition: border-color .3s, background-color .3s; }
.ai__node svg { width: 20px; height: 20px; flex: none; color: var(--husk-300); }
.ai__node small { display: block; color: rgba(255, 255, 255, .55); font-size: .74rem; }
.ai__node.is-ping { border-color: var(--husk-500); background: rgba(190, 155, 78, .12); }
.ai__panel { background: var(--forest-950); border: 1px solid var(--line-inv-strong); padding: 18px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.ai__panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--line-inv); padding-bottom: 12px; margin-bottom: 14px; }
.ai__panel-head b { font-weight: 600; font-stretch: 106%; }
.ai__panel-head span { font-size: .74rem; color: var(--husk-300); }
.ai__blocks { width: 100%; height: auto; margin-bottom: 14px; }
.ai__blocks path { stroke: var(--forest-950); stroke-width: 2; transition: fill .6s; }
.ai__blocks .b-ok { fill: #2E6B4B; } .ai__blocks .b-watch { fill: #BE9B4E; } .ai__blocks .b-check { fill: #9B4F2D; }
.ai__blocks text { font-size: 11px; fill: rgba(255, 255, 255, .85); font-family: var(--font); font-weight: 600; }
.ai__signals { list-style: none; display: grid; gap: 8px; font-size: .84rem; }
.ai__signals li { display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: start; color: rgba(255, 255, 255, .82); line-height: 1.4; }
.ai__signals li::before { content: ""; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--c, var(--canopy-500)); }
.ai__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .74rem; color: rgba(255, 255, 255, .6); margin-top: 12px; }
.ai__legend i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; vertical-align: 0; }
.ai__outputs { list-style: none; display: grid; gap: 10px; counter-reset: out; }
.ai__out { padding: 16px 16px 16px 18px; border: 1px solid var(--line-inv-strong); background: rgba(255, 255, 255, .04); }
.ai__out b { display: block; font-weight: 600; font-stretch: 104%; margin-bottom: 4px; }
.ai__out span { font-size: .86rem; color: rgba(255, 255, 255, .72); line-height: 1.45; display: block; }
.ai__caption { margin-top: 18px; font-size: .82rem; color: rgba(255, 255, 255, .6); max-width: 70ch; }
@media (min-width: 1024px) {
  .ai { grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr) minmax(0, .8fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
  .ai__inputs { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- World map ---------- */
.wmap { position: relative; }
.wmap svg { width: 100%; height: auto; overflow: visible; }
.wmap .land { fill: #DCE3D8; }
.bg-forest .wmap .land, .bg-deep .wmap .land { fill: #1E4635; }
.wmap .grat { stroke: rgba(21, 32, 25, .07); stroke-width: .6; fill: none; }
.bg-forest .wmap .grat { stroke: rgba(255, 255, 255, .06); }
.wmap .route { fill: none; stroke: var(--husk-600); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: var(--l) var(--l); stroke-dashoffset: var(--l); transition: stroke-dashoffset 2.2s var(--ease-out), stroke .3s, stroke-width .3s; transition-delay: calc(var(--i) * 260ms); }
.wmap.is-in .route { stroke-dashoffset: 0; }
.wmap .route.is-hl { stroke: var(--laterite-600); stroke-width: 2.4; }
.wmap .mkt circle { fill: var(--forest-900); stroke: #fff; stroke-width: 1.5; }
.wmap .mkt text { font-size: 12.5px; font-family: var(--font); font-weight: 600; fill: var(--ink-900); paint-order: stroke; stroke: var(--mist-50); stroke-width: 4px; stroke-linejoin: round; }
.wmap .mkt { opacity: 0; transition: opacity .6s var(--ease); transition-delay: calc(var(--i) * 260ms + 1.4s); }
.wmap.is-in .mkt { opacity: 1; }
.wmap .origin circle.core { fill: var(--husk-500); stroke: #fff; stroke-width: 2; }
.wmap .origin circle.ring { fill: none; stroke: var(--husk-600); stroke-width: 1.5; animation: ring 2.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.wmap .origin text { font-size: 13px; font-weight: 700; font-family: var(--font); fill: var(--forest-950); paint-order: stroke; stroke: var(--mist-50); stroke-width: 4px; stroke-linejoin: round; }
@keyframes ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.wmap .runner { fill: var(--laterite-600); }
@media (max-width: 599px) { .wmap .mkt text { display: none; } .wmap .origin text { font-size: 26px; } .wmap .mkt circle { r: 7px; } .wmap .route { stroke-width: 2.6; } }
.mlist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.mlist li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); cursor: default; transition: background-color .25s; }
.mlist li:hover, .mlist li:focus-within { background: rgba(190, 155, 78, .08); }
.mlist b { font-weight: 600; }
.mlist span { color: var(--ink-600); font-size: .9rem; text-align: right; }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-inv); border-left: 1px solid var(--line-inv); }
@media (min-width: 700px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .clients { grid-template-columns: repeat(6, 1fr); } }
.client { border-right: 1px solid var(--line-inv); border-bottom: 1px solid var(--line-inv); padding: 26px 18px 18px; display: grid; justify-items: center; gap: 14px; }
.client img { height: 74px; width: auto; max-width: 120px; object-fit: contain; opacity: .82; filter: saturate(.75); transition: opacity .3s, filter .3s, transform .4s var(--ease-out); }
.client:hover img { opacity: 1; filter: none; transform: translateY(-2px); }
.client span { font-size: .8rem; color: rgba(255, 255, 255, .64); text-align: center; }

/* ---------- Heritage compare ---------- */
.compare { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--forest-900); user-select: none; --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__top { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.compare__knob { position: absolute; top: 50%; left: var(--pos); width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--forest-900); display: grid; place-items: center; pointer-events: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.compare__knob svg { width: 22px; height: 22px; }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare__range:focus-visible ~ .compare__knob { outline: 3px solid var(--husk-500); outline-offset: 3px; }
.compare__tag { position: absolute; bottom: 14px; padding: 6px 10px; background: rgba(10, 33, 25, .78); color: #fff; font-size: .8rem; font-weight: 600; pointer-events: none; }
.compare__tag--a { left: 14px; } .compare__tag--b { right: 14px; }
.figcap { margin-top: 10px; font-size: .84rem; color: var(--ink-600); }
.bg-forest .figcap, .bg-deep .figcap { color: rgba(255, 255, 255, .6); }

/* ---------- Timeline ---------- */
[data-component="timeline"] { position: relative; }
.tl { list-style: none; position: relative; padding-left: 34px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.tl__fill { position: absolute; left: 6px; top: 6px; width: 1px; height: calc(100% - 12px); background: var(--husk-500); transform-origin: top; transform: scaleY(var(--p, 0)); }
.tl__item { position: relative; display: grid; gap: 6px 40px; padding-bottom: clamp(36px, 5vw, 64px); opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .8s var(--ease-out); }
.tl__item:last-child { padding-bottom: 0; }
.tl__item.is-in { opacity: 1; transform: none; }
.tl__item::before { content: ""; position: absolute; left: -34px; top: 9px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--line-strong); transition: background-color .4s, border-color .4s; }
.bg-mist .tl__item::before { background: var(--mist-50); }
.tl__item.is-past::before { background: var(--husk-500); border-color: var(--husk-600); }
.tl__year { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1; font-weight: 600; font-stretch: 118%; letter-spacing: -.02em; color: var(--forest-700); font-variant-numeric: tabular-nums; }
.tl__title { font-size: 1.2rem; font-weight: 600; font-stretch: 104%; margin-bottom: 6px; }
.tl__text { color: var(--ink-600); max-width: 56ch; }
@media (min-width: 860px) { .tl__item { grid-template-columns: 190px 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.tcard { position: relative; background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.tcard__photo { position: relative; aspect-ratio: 1 / 1; background: var(--mist-100); display: grid; place-items: center; overflow: hidden; }
.tcard__photo img { width: 78%; height: auto; transition: transform .8s var(--ease-out); }
.tcard__veil { position: absolute; inset: 0; background: var(--forest-900); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; transform: translateY(101%); transition: transform .6s var(--ease-out); }
.tcard__veil q { font-size: 1.12rem; line-height: 1.35; font-weight: 500; font-stretch: 104%; quotes: "“" "”"; }
.tcard__veil p { font-size: .88rem; color: rgba(255, 255, 255, .78); margin: 0; }
.tcard:hover .tcard__veil, .tcard:focus-within .tcard__veil { transform: none; }
.tcard:hover .tcard__photo img { transform: scale(1.04); }
.tcard__body { padding: 16px 18px 18px; display: grid; gap: 4px; flex: 1; align-content: start; }
.tcard__disc { font-size: .78rem; color: var(--husk-700); font-weight: 600; }
.tcard__name { font-weight: 600; font-size: 1.05rem; font-stretch: 104%; line-height: 1.25; }
.tcard__role { color: var(--ink-600); font-size: .9rem; }
.tcard__more { margin-top: 10px; justify-self: start; background: none; border: 0; padding: 0; color: var(--canopy-600); font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.tcard__more:hover { color: var(--forest-900); }
@media (max-width: 559px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tcard__body { padding: 12px 12px 14px; }
  .tcard__name { font-size: .95rem; }
  .tcard__role { font-size: .82rem; }
  .tcard__disc { font-size: .72rem; }
  .tcard__veil { display: none; }
}
@media (hover: none) { .tcard__veil { display: none; } }

/* ---------- Dialog ---------- */
.dlg { border: 0; padding: 0; width: min(760px, calc(100vw - 32px)); max-height: min(86vh, 900px); background: var(--paper); color: var(--ink-900); box-shadow: 0 40px 90px rgba(0, 0, 0, .35); }
.dlg::backdrop { background: rgba(10, 33, 25, .72); backdrop-filter: blur(3px); }
.dlg[open] { animation: dlgin .45s var(--ease-out); }
@keyframes dlgin { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.dlg__bar { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 12px; background: linear-gradient(var(--paper) 70%, rgba(252, 253, 251, 0)); z-index: 2; }
.dlg__close { background: var(--forest-900); color: #fff; border: 0; height: 40px; padding: 0 14px; font-weight: 600; font-size: .88rem; border-radius: 2px; }
.dlg__body { padding: 0 clamp(20px, 4vw, 44px) clamp(28px, 4vw, 44px); }
.dlg--video { width: min(1100px, calc(100vw - 24px)); background: #000; }
.dlg--video .dlg__bar { background: #000; }
.dlg--video .dlg__body { padding: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.profile { display: grid; gap: 24px; }
@media (min-width: 640px) { .profile { grid-template-columns: 200px 1fr; } }
.profile img { width: 100%; max-width: 200px; background: var(--mist-100); border-radius: 50%; }
.profile__q { font-size: 1.15rem; font-weight: 500; border-left: 2px solid var(--husk-500); padding-left: 14px; margin: 18px 0; }

/* ---------- Video tiles ---------- */
.vtile { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--forest-900); color: #fff; text-align: left; overflow: hidden; aspect-ratio: 16 / 9; }
.vtile img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1s var(--ease-out), opacity .4s; }
.vtile:hover img { transform: scale(1.04); opacity: .95; }
.vtile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 33, 25, 0) 40%, rgba(10, 33, 25, .9)); }
.vtile__meta { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; align-items: center; gap: 14px; }
.vtile__play { width: 52px; height: 52px; border-radius: 50%; background: var(--husk-500); color: var(--forest-950); display: grid; place-items: center; flex: none; transition: transform .35s var(--ease); }
.vtile:hover .vtile__play { transform: scale(1.08); }
.vtile__play svg { width: 16px; height: 16px; margin-left: 3px; }
.vtile__title { font-weight: 600; line-height: 1.3; }
.vtile__title small { display: block; font-weight: 400; color: rgba(255, 255, 255, .7); font-size: .8rem; }

/* ---------- Feature list / info cards ---------- */
.ilist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ilist > li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px 32px; }
@media (min-width: 860px) { .ilist > li { grid-template-columns: minmax(180px, 280px) 1fr; } }
.ilist__t { font-weight: 600; font-stretch: 104%; font-size: 1.06rem; }
.ilist__d { color: var(--ink-600); }
.bg-forest .ilist, .bg-deep .ilist { border-color: var(--line-inv); }
.bg-forest .ilist > li, .bg-deep .ilist > li { border-color: var(--line-inv); }
.bg-forest .ilist__d, .bg-deep .ilist__d { color: rgba(255, 255, 255, .74); }
.cols { display: grid; gap: clamp(18px, 2.4vw, 32px); }
@media (min-width: 760px) { .cols--2 { grid-template-columns: 1fr 1fr; } .cols--3 { grid-template-columns: repeat(3, 1fr); } .cols--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cols--4 { grid-template-columns: repeat(4, 1fr); } }
.panel { border-top: 2px solid var(--forest-900); padding-top: 18px; }
.panel--gold { border-top-color: var(--husk-500); }
.panel--earth { border-top-color: var(--laterite-600); }
.bg-forest .panel, .bg-deep .panel { border-top-color: var(--husk-500); }
.panel h3 { margin-bottom: 10px; }
.panel p { color: var(--ink-600); }
.bg-forest .panel p, .bg-deep .panel p { color: rgba(255, 255, 255, .76); }
.panel ul { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.panel li { padding-left: 18px; position: relative; color: var(--ink-700); }
.panel li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--husk-600); }
.bg-forest .panel li, .bg-deep .panel li { color: rgba(255, 255, 255, .82); }
.icon { width: 30px; height: 30px; color: var(--canopy-600); margin-bottom: 14px; }
.bg-forest .icon, .bg-deep .icon { color: var(--husk-300); }

/* Stepper (lifecycle / workflow) */
.steps { list-style: none; display: grid; gap: 0; counter-reset: st; }
.steps > li { position: relative; padding: 0 0 30px 56px; counter-increment: st; }
.steps > li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 40px; font-size: .95rem; font-weight: 700; font-stretch: 112%; color: var(--husk-700); font-variant-numeric: tabular-nums; }
.steps > li::after { content: ""; position: absolute; left: 12px; top: 28px; bottom: 6px; width: 1px; background: var(--line-strong); }
.steps > li:last-child::after { display: none; }
.steps h3 { font-size: 1.12rem; font-weight: 600; font-stretch: 104%; margin-bottom: 6px; }
.steps p { color: var(--ink-600); margin: 0; }
.bg-forest .steps > li::before, .bg-deep .steps > li::before { color: var(--husk-300); }
.bg-forest .steps > li::after, .bg-deep .steps > li::after { background: var(--line-inv-strong); }
.bg-forest .steps p, .bg-deep .steps p { color: rgba(255, 255, 255, .74); }
@media (min-width: 1000px) {
  .steps--h { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 20px; }
  .steps--h > li { padding: 46px 0 0 0; }
  .steps--h > li::before { top: 0; }
  .steps--h > li::after { left: 46px; right: -12px; top: 10px; bottom: auto; width: auto; height: 1px; transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 110ms); }
  .steps--h.is-in > li::after { transform: scaleX(1); }
}

/* System flow (smart farming page) */
.sysflow > li h3 { color: #fff; }
@media (min-width: 1000px) {
  .sysflow > li::after { background: repeating-linear-gradient(90deg, var(--husk-300) 0 6px, transparent 6px 12px) !important; height: 1.5px; background-size: 12px 1.5px !important; }
  .sysflow.is-in > li::after { animation: dashmove .9s linear infinite; }
}
@keyframes dashmove { to { background-position: 12px 0; } }
.sysloop { display: none; }
@media (min-width: 1000px) {
  .sysloop { display: block; position: relative; margin-top: 26px; height: 46px; }
  .sysloop svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .sysloop path { fill: none; stroke: var(--husk-300); stroke-width: 1.5; stroke-dasharray: 5 7; vector-effect: non-scaling-stroke; animation: loopmove 1.2s linear infinite; }
  .sysloop span { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px); font-size: .85rem; color: rgba(255, 255, 255, .7); white-space: nowrap; }
}
@keyframes loopmove { to { stroke-dashoffset: -24; } }

/* Lifecycle matrix (capabilities page) */
.matrix { width: 100%; border-collapse: collapse; min-width: 760px; }
.matrix-wrap { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.matrix th, .matrix td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; font-size: .9rem; }
.matrix thead th { font-weight: 600; color: var(--ink-600); font-size: .82rem; border-bottom: 1px solid var(--line-strong); }
.matrix tbody th { font-weight: 600; font-stretch: 104%; width: 230px; }
.matrix tbody th a { text-decoration: none; }
.matrix tbody th a:hover { text-decoration: underline; text-underline-offset: 3px; }
.matrix td { position: relative; height: 52px; }
.matrix .bar { position: absolute; left: 0; right: 0; top: 50%; height: 10px; margin-top: -5px; background: var(--forest-700); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.matrix .bar--lite { background: var(--canopy-300); }
.matrix .bar--gold { background: var(--husk-500); }
.matrix.is-in .bar { transform: scaleX(1); }
.matrix .bar.s { left: 6px; } .matrix .bar.e { right: 6px; }
.matrix-key { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .82rem; color: var(--ink-600); margin-top: 14px; }
.matrix-key i { display: inline-block; width: 18px; height: 8px; margin-right: 6px; vertical-align: 1px; }
@media (max-width: 699px) {
  .matrix-wrap { overflow: visible; margin-inline: 0; padding-inline: 0; }
  .matrix, .matrix thead, .matrix tbody { display: block; min-width: 0; }
  .matrix tr { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
  .matrix thead tr { border-bottom: 1px solid var(--line-strong); }
  .matrix th, .matrix td { border-bottom: 0; padding: 0; }
  .matrix thead th { font-size: .68rem; padding: 8px 0; text-align: center; letter-spacing: -.01em; }
  .matrix thead th:first-child { display: none; }
  .matrix tbody th { grid-column: 1 / -1; width: auto; padding: 14px 0 8px; font-size: .95rem; }
  .matrix td { height: 18px; margin-bottom: 14px; }
  .matrix .bar { height: 8px; margin-top: -4px; }
  .matrix .bar.s { left: 3px; } .matrix .bar.e { right: 3px; }
}

/* Capability detail blocks (capabilities page) */
.capblock { display: grid; gap: 28px; padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.capblock:first-of-type { border-top: 0; }
@media (min-width: 1000px) { .capblock { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); } }
.capblock__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-100); }
.capblock__img img { width: 100%; height: 100%; object-fit: cover; }
.capblock dl { display: grid; gap: 0; margin: 22px 0 26px; border-top: 1px solid var(--line); }
.capblock dl > div { display: grid; gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .capblock dl > div { grid-template-columns: 190px 1fr; } }
.capblock dt { font-weight: 600; font-size: .92rem; }
.capblock dd { margin: 0; color: var(--ink-600); }
.specs { display: grid; gap: 0; margin: 22px 0 26px; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: minmax(110px, 34%) 1fr; gap: 4px 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-weight: 600; font-size: .92rem; }
.specs dd { margin: 0; color: var(--ink-600); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 1.06rem; font-stretch: 104%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--canopy-600); }
.faq__a { padding: 0 0 22px; color: var(--ink-600); max-width: 70ch; }
.faq details[open] .faq__a { animation: fadeup .45s var(--ease-out); }
@keyframes fadeup { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery > :first-child { grid-column: span 2; grid-row: span 2; } }
.gallery button { all: unset; box-sizing: border-box; width: 100%; cursor: zoom-in; display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist-100); }
.gallery > :first-child button { aspect-ratio: auto; height: 100%; min-height: 220px; }
.gallery > :first-child img { position: absolute; inset: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:focus-visible { outline: 2px solid var(--canopy-600); outline-offset: 2px; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .78rem; color: #fff; background: linear-gradient(180deg, rgba(10, 33, 25, 0), rgba(10, 33, 25, .82)); }
.lightbox-img { width: 100%; height: auto; max-height: 76vh; object-fit: contain; background: #000; }

/* Photo placeholder (missing original imagery) */
.ph { position: relative; display: grid; place-items: center; background:
  repeating-linear-gradient(135deg, rgba(21, 32, 25, .05) 0 1px, transparent 1px 12px), var(--mist-100);
  border: 1px dashed var(--line-strong); color: var(--ink-600); text-align: center; padding: 22px; min-height: 220px; height: 100%; }
.ph__in { max-width: 34ch; font-size: .86rem; line-height: 1.45; }
.ph__in b { display: block; color: var(--ink-900); margin-bottom: 6px; font-size: .78rem; letter-spacing: .06em; }
.bg-forest .ph, .bg-deep .ph { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 12px), var(--forest-800); color: rgba(255, 255, 255, .72); border-color: var(--line-inv-strong); }
.bg-forest .ph__in b { color: #fff; }

/* Media frame with parallax */
.frame { position: relative; overflow: hidden; background: var(--mist-100); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--pan { aspect-ratio: 21 / 9; }
[data-parallax] { will-change: transform; }

/* Full-bleed band */
.band { position: relative; color: #fff; background: var(--forest-950); overflow: hidden; }
.band__img { position: absolute; inset: -10% 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 33, 25, .92) 0%, rgba(10, 33, 25, .7) 48%, rgba(10, 33, 25, .35) 100%); }
.band .contours { opacity: .18; }
.band__content { position: relative; padding-block: clamp(80px, 10vw, 150px); }
.cta-options { list-style: none; display: grid; gap: 10px; margin-top: 34px; }
@media (min-width: 860px) { .cta-options { grid-template-columns: repeat(3, 1fr); } }
.cta-opt a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px 22px; border: 1px solid var(--line-inv-strong); text-decoration: none; color: #fff; background: rgba(10, 33, 25, .35); transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease-out); }
.cta-opt a:hover, .cta-opt a:focus-visible { background: var(--husk-500); border-color: var(--husk-500); color: var(--forest-950); transform: translateY(-3px); }
.cta-opt b { font-size: 1.08rem; font-weight: 600; font-stretch: 106%; }
.cta-opt span { font-size: .88rem; opacity: .8; line-height: 1.45; }
.cta-direct { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 26px; font-size: .95rem; color: rgba(255, 255, 255, .8); }
.cta-direct a { color: #fff; font-weight: 600; text-decoration: none; }
.cta-direct a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Insights ---------- */
.agrid { display: grid; gap: clamp(22px, 2.6vw, 36px); }
@media (min-width: 680px) { .agrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .agrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.acard { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.acard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-100); position: relative; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.acard:hover .acard__img img { transform: scale(1.05); }
.acard__topic { font-size: .82rem; font-weight: 600; color: var(--husk-700); }
.acard__title { font-size: 1.2rem; line-height: 1.25; font-weight: 600; font-stretch: 104%; transition: color .25s; }
.acard:hover .acard__title { color: var(--canopy-600); }
.acard__ex { color: var(--ink-600); font-size: .95rem; }
.acard__meta { display: flex; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--ink-500); border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; }
@media (max-width: 679px) {
  .agrid { gap: 20px; }
  .agrid > .acard:not(:first-child) { display: grid; grid-template-columns: 108px minmax(0, 1fr); grid-template-areas: "img topic" "img title" "img meta"; grid-template-rows: auto auto 1fr; column-gap: 14px; row-gap: 4px; padding-top: 20px; border-top: 1px solid var(--line); }
  .agrid > .acard:not(:first-child) .acard__img { grid-area: img; aspect-ratio: 1 / 1; align-self: start; }
  .agrid > .acard:not(:first-child) .acard__topic { grid-area: topic; font-size: .74rem; }
  .agrid > .acard:not(:first-child) .acard__title { grid-area: title; font-size: 1rem; line-height: 1.3; }
  .agrid > .acard:not(:first-child) .acard__ex { display: none; }
  .agrid > .acard:not(:first-child) .acard__meta { grid-area: meta; align-self: end; border-top: 0; padding-top: 2px; margin-top: 0; font-size: .74rem; justify-content: flex-start; gap: 10px; }
}
.afeature { display: grid; gap: 24px; text-decoration: none; color: inherit; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 960px) { .afeature { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 56px; } }
.afeature .acard__img { aspect-ratio: 16 / 9; }
.afeature .acard__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.12; }
.empty { padding: 32px; border: 1px dashed var(--line-strong); color: var(--ink-600); }
.topicbar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-bottom: 36px; padding-bottom: 4px; }
.topicbar::-webkit-scrollbar { display: none; }
.topicbar .chip { white-space: nowrap; }
@media (max-width: 679px) { .topicbar { flex-wrap: wrap; overflow: visible; margin-bottom: 28px; } }
.planned { margin-top: 48px; }

/* Article page */
.article { display: grid; gap: 48px; }
@media (min-width: 1100px) { .article { grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; } }
.aside-card { border: 1px solid var(--line); padding: 22px; position: sticky; top: 96px; background: #fff; }
.aside-card h2, .aside-card h3 { font-size: 1rem; margin-bottom: 10px; font-weight: 600; }
.aside-card p { font-size: .92rem; color: var(--ink-600); }
.aside-card .btn { width: 100%; margin-top: 8px; }
.shareline { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); align-items: center; font-size: .9rem; color: var(--ink-600); }
.shareline a, .shareline button { border: 1px solid var(--line-strong); background: none; padding: 7px 12px; font-size: .85rem; text-decoration: none; border-radius: 2px; color: var(--ink-900); }
.shareline a:hover, .shareline button:hover { border-color: var(--ink-900); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.etypes { display: grid; gap: 8px; grid-template-columns: 1fr; border: 0; padding: 0; margin: 0; }
@media (min-width: 560px) { .etypes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .etypes { grid-template-columns: repeat(5, 1fr); } }
.etypes legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.etype { position: relative; }
.etype input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.etype span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); background: #fff; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.etype b { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.etype small { color: var(--ink-600); font-size: .8rem; line-height: 1.35; }
.etype input:checked + span { border-color: var(--forest-900); box-shadow: inset 0 0 0 1px var(--forest-900); background: var(--mist-50); }
.etype input:focus-visible + span { outline: 2px solid var(--canopy-600); outline-offset: 2px; }
.fgrid { display: grid; gap: 18px 20px; }
@media (min-width: 700px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label, .field .flabel { font-weight: 600; font-size: .92rem; }
.req { color: var(--laterite-600); margin-left: 2px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 2px; background: #fff; transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23152019' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--canopy-600); box-shadow: 0 0 0 3px rgba(45, 106, 75, .18); }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--laterite-600); box-shadow: 0 0 0 3px rgba(155, 79, 45, .12); }
.field__err { display: none; color: var(--laterite-600); font-size: .85rem; align-items: center; gap: 6px; }
.field.is-error .field__err { display: flex; }
.field__hint { font-size: .82rem; color: var(--ink-500); }
.inline2 { display: grid; grid-template-columns: 1fr 130px; gap: 8px; }
.checks { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; line-height: 1.4; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--forest-900); flex: none; }
.dyn { display: contents; }
.dyn > .field { animation: fadeup .4s var(--ease-out); }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__note { font-size: .84rem; color: var(--ink-600); max-width: 52ch; }
.form__send { display: flex; flex-wrap: wrap; gap: 10px; }
.form__send .btn { gap: 10px; }
@media (max-width: 559px) { .form__send { width: 100%; } .form__send .btn { width: 100%; justify-content: center; } }
.form__sent { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--forest-700, #1E4D36); background: var(--mist-100, #EEF1EC); color: var(--ink-900); font-size: .92rem; line-height: 1.5; }
.form__sent p + p { margin-top: 6px; }
.form__sent .btn { margin-top: 12px; }
.btn--sm { min-height: 38px; padding: .45em .9em; font-size: .86rem; }
.form__status { padding: 16px 18px; border-left: 3px solid var(--laterite-600); background: rgba(155, 79, 45, .07); font-size: .95rem; }
.success { padding: clamp(28px, 4vw, 44px); background: var(--forest-900); color: #fff; }
.success h3 { margin-bottom: 10px; }
.success p { color: rgba(255, 255, 255, .8); }
.success svg { width: 44px; height: 44px; color: var(--husk-300); margin-bottom: 18px; }
.success svg path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .9s var(--ease-out) .2s forwards; }

/* Contact details */
.cinfo { display: grid; gap: 28px; }
.cinfo h3 { font-size: 1rem; margin-bottom: 8px; }
.cinfo address { font-style: normal; color: var(--ink-700); }
.cinfo a { color: var(--ink-900); }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 24px; margin: 0; }
.hours dt { color: var(--ink-600); } .hours dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.mapbox { position: relative; aspect-ratio: 4 / 3; background: var(--mist-100); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.mapbox .contours path { stroke: var(--canopy-300); }
.mapbox .contours { opacity: .6; }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapbox__btn { position: relative; display: grid; gap: 8px; justify-items: center; text-align: center; padding: 18px; }
.qr { width: 120px; height: 120px; background: #000; padding: 6px; border: 0; filter: invert(1); } /* source QR is white-on-transparent (made for a dark footer); inverted here so it scans as dark-on-white */

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--forest-950); color: rgba(255, 255, 255, .78); overflow: hidden; font-size: .95rem; }
.site-footer .contours { opacity: .09; }
.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.fgrid-main { position: relative; display: grid; gap: 40px; padding-block: clamp(56px, 7vw, 96px) 40px; }
@media (min-width: 760px) { .fgrid-main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .fgrid-main { grid-template-columns: 1.35fr 1fr 1fr 1.1fr; gap: 56px; } }
.fbrand img { width: 132px; margin-bottom: 18px; }
.fbrand p { max-width: 38ch; }
.fcol h2 { font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: 14px; font-stretch: 104%; }
.fcol ul { list-style: none; display: grid; gap: 9px; }
.fcol address { font-style: normal; display: grid; gap: 14px; }
.fcol address b { color: #fff; font-weight: 600; display: block; }
.fbottom { position: relative; border-top: 1px solid var(--line-inv); padding-block: 22px 28px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.fbottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Motion utilities ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal="fade"] { transform: none; }
.page-enter main { animation: pagein .5s var(--ease-out); }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }

/* Reduced motion: keep layout, remove movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .ln > span { transform: none; }
  .hero__slide img { transform: none !important; animation: none !important; }
}
.reduced .hero__slide img { animation: none !important; transform: none !important; }
.reduced [data-reveal] { opacity: 1; transform: none; }
.reduced .ln > span { transform: none; }

@media print {
  .site-header, .mnav, .hero__media, .band__img { display: none !important; }
  .hero, .phero, .band { color: #000; background: #fff; min-height: 0; }
}

/* ==========================================================================
   Static-site additions: product range, product details, policies, utilities
   ========================================================================== */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.phero--compact { min-height: clamp(300px, 44vh, 460px); }
.phero--compact .phero__title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.3rem); max-width: 26ch; }

/* Product tiles */
.ptiles { display: grid; gap: clamp(12px, 1.6vw, 22px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .ptiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ptiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ptile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .3s, transform .45s var(--ease-out); }
.ptile[hidden] { display: none; }
.ptile:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.ptile:focus-visible { outline: 2px solid var(--canopy-600); outline-offset: 3px; }
.ptile__img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--mist-100); }
.ptile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.ptile:hover .ptile__img img { transform: scale(1.05); }
.ptile__body { display: grid; gap: 6px; padding: 14px 16px 16px; }
.ptile__cat { font-size: .74rem; font-weight: 600; color: var(--husk-700); }
.ptile__name { font-weight: 600; font-stretch: 104%; line-height: 1.3; font-size: .98rem; }
.ptile__meta { font-size: .82rem; color: var(--ink-600); }
@media (max-width: 559px) { .ptile__body { padding: 10px 12px 12px; } .ptile__name { font-size: .9rem; } .ptile__meta { display: none; } }

/* Product details */
.pdetail { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .pdetail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .pgal { position: sticky; top: 96px; } }
.pgal__main { all: unset; box-sizing: border-box; display: block; width: 100%; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); cursor: zoom-in; overflow: hidden; }
.pgal__main img { width: 100%; height: 100%; object-fit: contain; }
.pgal__main:focus-visible { outline: 2px solid var(--canopy-600); outline-offset: 2px; }
.pgal__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pgal__thumbs button { all: unset; box-sizing: border-box; width: 64px; height: 64px; border: 1px solid var(--line); background: #fff; cursor: pointer; overflow: hidden; }
.pgal__thumbs button[aria-current="true"] { border-color: var(--forest-900); box-shadow: 0 0 0 1px var(--forest-900); }
.pgal__thumbs button:focus-visible { outline: 2px solid var(--canopy-600); outline-offset: 2px; }
.pgal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo .kicker { margin-bottom: 10px; }
.pinfo__en { color: var(--ink-500); font-size: .92rem; margin-top: 6px; }
.pinfo .specs { margin: 22px 0 26px; }
.pnote { margin-top: 22px; padding: 4px 0 4px 12px; border-left: 2px solid var(--husk-500); font-size: .88rem; color: var(--ink-600); }

/* Policies */
.legal h2 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }

/* First screen: the entrance animation starts with the first paint instead of waiting for the script,
   so the headline and introduction appear quickly on slow phones. Same motion as the scroll reveals. */
.hero [data-reveal], .phero [data-reveal] { animation: hero-in .9s var(--ease-out) .12s both; }
.hero [data-lines] .ln > span, .phero [data-lines] .ln > span { animation: line-up 1.1s var(--ease-out) both; }
.hero [data-lines] .ln:nth-child(2) > span, .phero [data-lines] .ln:nth-child(2) > span { animation-delay: .09s; }
.hero [data-lines] .ln:nth-child(3) > span, .phero [data-lines] .ln:nth-child(3) > span { animation-delay: .18s; }
.hero [data-lines] .ln:nth-child(4) > span, .phero [data-lines] .ln:nth-child(4) > span { animation-delay: .27s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
.reduced .hero [data-reveal], .reduced .phero [data-reveal], .reduced .hero .ln > span, .reduced .phero .ln > span { animation: none !important; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero [data-reveal], .phero [data-reveal], .hero .ln > span, .phero .ln > span { animation: none !important; opacity: 1; transform: none; }
}
