:root{
  --green-950:#162B18;
  --green-900:#1D3A20;
  --green-800:#264C2A;
  --olive:#5F7048;
  --olive-deep:#6E7F53;
  --cream:#F6F1C9;
  --yellow:#F1EC9F;
  --yellow-soft:#F5F1B8;
  --ink:#1B1E17;
  --gray:#6F7368;
  --line:#E4E3DA;
  --paper:#FFFFFF;
  --radius-xl:28px;
  --radius-lg:20px;
  --radius-md:14px;
  --container:1240px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:"Hanken Grotesk",system-ui,sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
  overflow-x:clip; /* tilted decorative elements may bleed past the edge by design */
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
ul{list-style:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}
.container{max-width:var(--container);margin:0 auto;padding:0 32px}

/* ---------- IMAGE PLACEHOLDERS ---------- */
.ph{
  position:relative;
  width:100%;height:100%;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.045) 0 14px, transparent 14px 28px),
    linear-gradient(135deg,#D8DCC9,#B9C1A4);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.ph::after{
  content:attr(data-label);
  font-family:"JetBrains Mono",monospace;
  font-size:11px;letter-spacing:.04em;
  color:#41493A;background:rgba(255,255,255,.72);
  padding:6px 12px;border-radius:8px;
  border:1px dashed #7d876c;
  white-space:pre;text-align:center;line-height:1.7;
  max-width:88%;
}
.ph--dark{background:
  repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px),
  linear-gradient(135deg,#22391f,#31502c)}
.ph--dark::after{color:#DCE4CE;background:rgba(0,0,0,.45);border-color:#6f7f5e}

/* ---------- BUTTONS / LABELS ---------- */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  font-weight:600;font-size:14px;
  padding:14px 26px;border-radius:999px;
  transition:transform .18s ease, box-shadow .18s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn--yellow{background:var(--yellow);color:var(--ink)}
.btn--yellow .dot{width:6px;height:6px;border-radius:50%;background:var(--ink)}
.eyebrow{
  display:inline-flex;align-items:center;
  font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  padding:8px 16px;border:1px solid currentColor;border-radius:999px;
  opacity:.75;margin-bottom:22px;
}

/* ---------- HEADER ---------- */
.hero{
  position:relative;
  background:var(--green-900);
  border-radius:0;
  overflow:hidden;
  min-height:920px;
}
.hero .hero-bg{position:absolute;inset:0;z-index:0}
/* hero slider: slides stack inside .hero-bg; transition style is themed */
.hero-slide{position:absolute;inset:0;z-index:0;opacity:0;transition:opacity 1.2s ease}
.hero-slide.is-active{opacity:1;z-index:1}
.hero-slide .ph{position:absolute;inset:0}
/* default theme: slow ken-burns settle */
html[data-theme="1"] .hero-slide .ph{transform:scale(1.07);transition:transform 6.5s ease-out}
html[data-theme="1"] .hero-slide.is-active .ph{transform:scale(1)}
@media (prefers-reduced-motion:reduce){.hero-slide,.hero-slide .ph{transition:none!important}}
/* per-slide copy swap: opacity-only so themed transforms stay intact */
.hero-swap .hero-title,.hero-swap .hero-claim,
.hero-swap .hero-stat,.hero-swap .hero-left>p,.hero-swap .hx>*{animation:hero-swap .7s ease both}
@keyframes hero-swap{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .hero-swap .hero-title,.hero-swap .hero-claim,
  .hero-swap .hero-stat,.hero-swap .hero-left>p,.hero-swap .hx>*{animation:none}
}

/* the static tag pills step aside when a slide brings its own elements */
.hero[data-slide]:not([data-slide="1"]) .hero-tags{display:none}

/* generic per-slide hero elements — inherit each theme's tokens */
.hx-quote{max-width:460px;font-size:19px;line-height:1.55;font-weight:600;color:#fff}
.hx-quote em{display:block;margin-top:14px;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;opacity:.75;font-style:normal}
.hx-strip{display:flex;gap:36px;flex-wrap:wrap;color:#fff}
.hx-strip b{display:block;font-size:30px;font-weight:700;line-height:1}
.hx-strip i{display:block;font-style:normal;font-size:12px;opacity:.8;margin-top:8px;max-width:140px;line-height:1.5}
.hx-stamp{
  width:116px;height:116px;border-radius:50%;padding:12px;
  border:1.5px dashed rgba(255,255,255,.7);color:#fff;
  display:flex;align-items:center;justify-content:center;text-align:center;
  font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  line-height:1.8;transform:rotate(-8deg);
}
.hx-cta2{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.hx-ghost2{color:#fff;font-weight:700;font-size:14px;border-bottom:2px solid var(--yellow);padding-bottom:3px}
.hx-ghost2:hover{color:var(--yellow)}
.hx-chip{
  display:inline-flex;align-items:center;gap:10px;
  background:#fff;color:var(--ink);font-weight:700;font-size:14px;
  padding:12px 24px;border-radius:999px;box-shadow:0 12px 28px rgba(0,0,0,.18);
}

/* slider controls — base look = default theme (glass round arrows + dots, bottom right) */
.hs-nav{position:absolute;right:0;bottom:36px;z-index:5;display:flex;align-items:center;gap:14px}
.hs-prev,.hs-next{
  width:46px;height:46px;border-radius:50%;flex:none;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);
  backdrop-filter:blur(8px);color:#fff;
  display:flex;align-items:center;justify-content:center;transition:.2s;
}
.hs-prev:hover,.hs-next:hover{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}
.hs-prev .icon{transform:rotate(180deg)}
.hs-dots{display:flex;gap:8px;align-items:center}
.hs-dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.4);transition:.2s;flex:none}
.hs-dot.active{background:var(--yellow);transform:scale(1.3)}
.hs-count{display:none;font-size:12px;font-weight:700;letter-spacing:.16em;color:rgba(255,255,255,.85)}
@media (max-width:720px){.hs-nav{display:none}}
.hero .hero-bg::before{
  content:"";position:absolute;inset:0;z-index:2;
  background:linear-gradient(180deg,rgba(20,40,20,.55) 0%,rgba(20,40,20,.15) 45%,rgba(16,34,17,.75) 100%);
  pointer-events:none;
}
.header{
  position:absolute;top:24px;left:0;right:0;z-index:10;
}
.nav{
  background:#fff;
  border-radius:999px;
  padding:10px 12px 10px 24px;
  display:flex;align-items:center;justify-content:space-between;
  box-shadow:0 10px 30px rgba(10,25,10,.18);
}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:19px}
.logo-mark{
  width:34px;height:34px;border-radius:10px;
  background:var(--green-800);
  display:flex;align-items:center;justify-content:center;color:var(--yellow);
}
.menu{display:flex;align-items:center;gap:34px}
.menu a{font-size:14px;font-weight:600;color:var(--ink);display:flex;align-items:center;gap:5px}
.menu a svg{opacity:.5}
.menu a:hover{color:var(--green-800)}
/* Pages dropdown */
.has-sub{position:relative}
.has-sub>a::after{
  content:"";width:6px;height:6px;flex:none;margin:-3px 0 0 2px;
  border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
  transform:rotate(45deg);opacity:.55;
}
.submenu{
  position:absolute;top:100%;left:-18px;z-index:30;padding-top:14px;
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
}
.has-sub:hover .submenu{opacity:1;visibility:visible;transform:none}
.submenu-in{
  min-width:200px;padding:10px;display:flex;flex-direction:column;gap:2px;
  background:var(--paper);border:1px solid var(--line);
  border-radius:var(--radius-md);box-shadow:0 22px 48px rgba(10,20,10,.16);
}
.menu .submenu-in a{display:block;padding:10px 14px;border-radius:8px;font-size:13.5px}
.menu .submenu-in a:hover{background:var(--line)}
.nav-right{display:flex;align-items:center;gap:14px}
/* mobile navigation */
.nav-burger{display:none;width:40px;height:40px;border-radius:50%;flex:none;
  flex-direction:column;gap:5px;align-items:center;justify-content:center}
.nav-burger i{display:block;width:18px;height:2px;background:var(--ink);border-radius:2px}
.nav-burger:hover{background:rgba(0,0,0,.06)}
.mnav{
  position:fixed;inset:0;z-index:10001;background:var(--paper);color:var(--ink);
  padding:96px 30px 40px;display:flex;flex-direction:column;gap:2px;overflow:auto;
  opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s;
}
.mnav.open{opacity:1!important;visibility:visible}
.mnav>a{font-size:23px;font-weight:700;padding:14px 0;border-bottom:1px solid var(--line);color:var(--ink)}
.mnav>a.active{color:var(--olive-deep)}
.mnav .mnav-sub{display:flex;flex-direction:column;padding:6px 0 10px;border-bottom:1px solid var(--line)}
.mnav .mnav-sub a{font-size:15px;font-weight:600;padding:8px 0 8px 18px;color:var(--gray)}
.mnav .mnav-cta{margin-top:26px;align-self:flex-start;font-size:14px;padding:12px 24px;border-bottom:none}
.mnav-close{
  position:absolute;top:26px;right:26px;width:44px;height:44px;border-radius:50%;
  border:1px solid var(--line);color:var(--ink);font-size:17px;
  display:flex;align-items:center;justify-content:center;
}
@media (max-width:640px){
  .nav .btn--yellow{display:none}
  .container{padding:0 20px}
  .nav{padding:10px 16px 10px 18px}
}
.search-btn{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.search-btn:hover{background:#F1F1E9}

/* ---------- HERO CONTENT ---------- */
.hero-inner{position:relative;z-index:3;padding-top:150px;display:flex;flex-direction:column;min-height:920px}
.hero-top{display:flex;justify-content:space-between;align-items:flex-start}
.hero-title{
  font-size:clamp(64px,8.5vw,118px);
  line-height:.98;font-weight:700;
  color:var(--cream);letter-spacing:-.02em;
  max-width:640px;
}
.hero-stat{text-align:left;color:#fff;max-width:200px}
.hero-stat .num{font-size:74px;font-weight:700;line-height:1;color:#fff}
.hero-stat .num span{font-size:34px;color:var(--cream)}
.hero-stat p{font-size:13px;margin-top:10px;color:rgba(255,255,255,.85)}
.hero-bottom{margin-top:auto;padding-bottom:56px;display:flex;justify-content:space-between;align-items:flex-end;gap:40px}
.hero-left{max-width:420px}
.hero-left p{color:rgba(255,255,255,.88);font-size:15px;margin-bottom:28px}
.hero-tags{display:flex;gap:14px;flex-wrap:wrap}
.hero-tag{
  display:flex;align-items:center;gap:12px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(8px);
  color:#fff;font-size:13px;font-weight:600;
  padding:12px 22px 12px 14px;border-radius:999px;
}
.hero-tag .ic{
  width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.14);
  display:flex;align-items:center;justify-content:center;color:var(--yellow);
}
.hero-claim{
  font-size:clamp(48px,5.6vw,78px);
  font-weight:700;color:#fff;line-height:1.02;letter-spacing:-.02em;
  text-align:left;max-width:520px;
}

/* ---------- ABOUT ---------- */
.about{padding:110px 0 90px}
.about-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:44px}
h2.sec-title{font-size:clamp(34px,4vw,52px);font-weight:700;letter-spacing:-.015em;line-height:1.08}
.about-media{height:500px;border-radius:var(--radius-xl);overflow:hidden}
.about-cols{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;margin-top:52px}
.about-cols .lead{font-size:19px;font-weight:600;line-height:1.5}
.about-cols .small{font-size:14px;color:var(--gray);line-height:1.75}

/* ---------- MARQUEE ---------- */
.marquee{padding:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);overflow:hidden;background:#fff}
.marquee-track{display:flex;gap:18px;align-items:center;width:max-content;animation:scroll 32s linear infinite}
@keyframes scroll{to{transform:translateX(-50%)}}
.mq-pill{
  background:var(--yellow);color:var(--ink);
  font-size:14px;font-weight:700;
  padding:14px 28px;border-radius:999px;white-space:nowrap;
}
.mq-img{width:118px;height:54px;border-radius:999px;overflow:hidden;flex:none}

/* ---------- OFFERS ---------- */
.offers{background:var(--olive);padding:110px 0;color:#fff}
.offers .eyebrow{color:#fff}
.offers-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:52px}
.offers-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.offer-card{
  position:relative;height:430px;border-radius:var(--radius-lg);overflow:hidden;
  display:flex;flex-direction:column;justify-content:flex-end;
}
.offer-card .ph{position:absolute;inset:0}
.offer-card::before{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(15,25,12,.72) 100%);
}
.offer-body{position:relative;z-index:2;padding:24px}
.offer-num{font-size:12px;font-weight:700;opacity:.8;letter-spacing:.08em}
.offer-title{font-size:21px;font-weight:700;margin:6px 0 16px}
.offer-desc{font-size:13px;line-height:1.6;color:rgba(255,255,255,.85);margin-bottom:16px;display:none}
.offer-card.is-open .offer-desc{display:block}
.offer-arrow{
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3);
  display:flex;align-items:center;justify-content:center;color:#fff;
  transition:background .2s;
}
.offer-card:hover .offer-arrow{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}

/* ---------- LOGOS ---------- */
.logos{background:var(--olive);padding:0 0 90px}
.logos-row{display:flex;justify-content:space-between;align-items:center;gap:30px;flex-wrap:wrap}
.logo-item{
  display:flex;align-items:center;gap:10px;
  color:rgba(255,255,255,.75);font-weight:700;font-size:15px;letter-spacing:.02em;
}
.logo-item svg{opacity:.85}
.logo-item.hl{color:var(--yellow)}

/* ---------- FIELD TO FUTURE ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;min-height:640px}
.split-media{position:relative;min-height:480px}
.split-media .ph{position:absolute;inset:0}
.split-panel{background:var(--green-900);color:#fff;padding:90px 8vw 90px 70px;display:flex;flex-direction:column;justify-content:center}
.split-panel .eyebrow{color:#fff}
.split-panel h2{font-size:clamp(32px,3.6vw,46px);font-weight:700;margin-bottom:34px;letter-spacing:-.015em}
.acc-item{border-bottom:1px solid rgba(255,255,255,.16)}
.acc-item:first-of-type{border-top:1px solid rgba(255,255,255,.16)}
.acc-head{
  width:100%;display:flex;justify-content:space-between;align-items:center;
  padding:22px 4px;color:#fff;font-size:19px;font-weight:600;text-align:left;
}
.acc-item.open .acc-head{color:var(--yellow)}
.acc-body{max-height:0;overflow:hidden;transition:max-height .3s ease}
.acc-body p{font-size:14px;color:rgba(255,255,255,.8);line-height:1.7;padding:0 4px 24px;max-width:440px}
.acc-item.open .acc-body{max-height:200px}
.acc-head .chev{transition:transform .25s}
.acc-item.open .chev{transform:rotate(180deg)}

/* ---------- PARTNER ---------- */
.partner{padding:120px 0;position:relative}
.partner-grid{display:grid;grid-template-columns:340px 1fr;gap:70px}
.partner-sticky h2{font-size:clamp(36px,4vw,54px);font-weight:700;line-height:1.06;letter-spacing:-.015em}
.features{display:grid;grid-template-columns:1fr 1fr;gap:56px 64px;position:relative}
.feature .f-icon{
  width:58px;height:58px;border-radius:16px;background:var(--yellow);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;color:var(--ink);
}
.feature h3{font-size:19px;font-weight:700;margin-bottom:10px;line-height:1.3}
.feature p{font-size:13.5px;color:var(--gray);line-height:1.7}

/* ---------- CASES ---------- */
.cases{background:var(--olive);padding:110px 0 100px;color:#fff;overflow:hidden}
.cases-head{display:grid;grid-template-columns:1fr 300px;gap:40px;align-items:start;margin-bottom:44px;position:relative;z-index:2}
.cases-title{
  font-size:clamp(58px,7.5vw,104px);font-weight:700;line-height:.98;letter-spacing:-.02em;color:#fff;
}
.cases-title .alt{color:var(--yellow-soft)}
.cases-head p{font-size:14px;color:rgba(255,255,255,.85);padding-top:14px;line-height:1.7}
.cases-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;position:relative;z-index:1}
.case-card .case-media{height:300px;border-radius:var(--radius-lg);overflow:hidden;position:relative}
.case-tags{position:absolute;left:14px;bottom:14px;display:flex;gap:8px;z-index:2}
.case-tag{background:var(--yellow);color:var(--ink);font-size:10px;font-weight:800;letter-spacing:.1em;padding:6px 12px;border-radius:999px}
.case-card h3{font-size:17px;font-weight:700;margin-top:16px}
.cases-cta{display:flex;justify-content:center;margin-top:54px}

/* ---------- BLOG ---------- */
.blog{padding:110px 0 120px}
.blog-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:48px}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.post-media{height:220px;border-radius:var(--radius-lg);overflow:hidden;position:relative}
.post-tag{position:absolute;top:14px;left:14px;z-index:2;background:var(--yellow);color:var(--ink);font-size:11px;font-weight:700;padding:6px 14px;border-radius:999px}
.post-date{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--gray);margin:18px 0 8px}
.post h3{font-size:19px;font-weight:700;line-height:1.35;margin-bottom:14px}
.post-link{font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:8px;color:var(--ink)}
.post-link:hover{color:var(--olive-deep)}

/* ---------- FOOTER ---------- */
.footer{position:relative;color:#fff;overflow:hidden;padding:80px 0 40px}
.footer-bg{position:absolute;inset:0;z-index:0}
.footer-bg::before{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(180deg,rgba(18,22,12,.55),rgba(14,17,9,.82))}
.footer .container{position:relative;z-index:3}
.footer-word{
  font-size:clamp(72px,12vw,168px);font-weight:800;letter-spacing:-.02em;
  color:var(--yellow-soft);text-align:center;line-height:1;margin-bottom:56px;
}
.footer-card{
  background:rgba(28,30,20,.88);backdrop-filter:blur(6px);
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius-xl);padding:52px 56px;
  display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:56px;
}
.footer-card .tagline{font-size:15px;color:rgba(255,255,255,.8);margin-bottom:26px;max-width:280px}
.footer-contact a{display:block;font-size:22px;font-weight:700;color:#fff;margin-bottom:6px}
.footer-contact a:hover{color:var(--yellow)}
.socials{display:flex;gap:10px;margin-top:28px;flex-wrap:wrap}
.social{font-size:12px;font-weight:600;padding:8px 16px;border:1px solid rgba(255,255,255,.22);border-radius:999px;color:rgba(255,255,255,.85)}
.social:hover{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}
.footer h4{font-size:14px;font-weight:700;margin-bottom:20px;color:var(--yellow-soft)}
.footer-links li{margin-bottom:12px}
.footer-links a{font-size:14px;color:rgba(255,255,255,.78)}
.footer-links a:hover{color:#fff}
.sub-form{display:flex;gap:8px;margin-top:6px}
.sub-form input{
  flex:1;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);
  border-radius:999px;padding:13px 20px;color:#fff;font-family:inherit;font-size:13px;outline:none;
}
.sub-form input::placeholder{color:rgba(255,255,255,.5)}
.sub-form button{
  width:46px;height:46px;border-radius:50%;background:var(--yellow);color:var(--ink);
  display:flex;align-items:center;justify-content:center;flex:none;
}
.sub-note{font-size:12px;color:rgba(255,255,255,.55);margin-top:16px;line-height:1.6}
.footer-bottom{margin-top:34px;text-align:center;font-size:12px;color:rgba(255,255,255,.6)}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1080px){
  .menu{display:none}
  .nav-burger{display:flex}
  .offers-grid{grid-template-columns:repeat(2,1fr)}
  .partner-grid{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .footer-card{grid-template-columns:1fr;gap:40px}
  .cases-grid,.blog-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
  .hero-top,.hero-bottom,.about-head,.offers-head,.blog-head{flex-direction:column;align-items:flex-start;gap:24px}
  .about-cols,.features,.cases-grid,.blog-grid{grid-template-columns:1fr}
  .cases-head{grid-template-columns:1fr}
  .offers-grid{grid-template-columns:1fr}
}
/* mobile: center the layout */
@media (max-width:720px){
  html[data-theme] .hero{min-height:100vh;min-height:100svh}
  html[data-theme] .hero-inner{min-height:100vh;min-height:100svh}
  /* boxed-hero themes keep their frame: spacing all around, nothing clipped */
  html[data-theme="3"] .hero{margin:14px;min-height:calc(100svh - 28px)}
  html[data-theme="3"] .hero-inner{min-height:calc(100svh - 28px)}
  html[data-theme="9"] .hero{margin:16px;min-height:calc(100svh - 32px)}
  html[data-theme="9"] .hero-inner{min-height:calc(100svh - 32px)}
  html[data-theme] .hero-top,html[data-theme] .hero-bottom{align-items:center;text-align:center}
  html[data-theme] .hero-title{text-align:center;max-width:100%}
  html[data-theme] .hero-left{margin:0 auto;text-align:center}
  html[data-theme] .hero-stat{text-align:center;margin:0 auto;max-width:none}
  html[data-theme] .hero-tags,html[data-theme] .hx-strip,html[data-theme] .hx-cta,
  html[data-theme] .hx-cta2,html[data-theme] .hx-pills{justify-content:center}
  html[data-theme] .hx-quote{margin-left:auto;margin-right:auto}
  html[data-theme] .hx-stamp,html[data-theme] .hx-chip{margin-left:auto;margin-right:auto}
  html[data-theme] .about-head,html[data-theme] .offers-head,html[data-theme] .blog-head{align-items:center;text-align:center}
  html[data-theme] .cases-head{text-align:center;justify-items:center}
  html[data-theme] .partner-sticky{text-align:center}
  html[data-theme] .about-cols{text-align:center}
  html[data-theme] .feature{text-align:center}
  html[data-theme] .feature .f-icon{margin-left:auto;margin-right:auto}
  html[data-theme] .stat{text-align:center}
  html[data-theme] .split-panel{align-items:center;text-align:center}
  html[data-theme] .cta-band{text-align:center}
  html[data-theme] .footer{text-align:center}
  html[data-theme] .footer-contact{align-items:center}
  html[data-theme] .socials{justify-content:center}
  html[data-theme] .sub-form{margin-left:auto;margin-right:auto;justify-content:center}
  html[data-theme] .footer-bottom{text-align:center}
  html[data-theme] .logos-row{display:flex;flex-direction:column;align-items:center;gap:22px}
  html[data-theme] .logo-item{justify-content:center;white-space:nowrap}
}

/* mobile typography: outranks every theme's clamp so long words never clip */
@media (max-width:720px){
  html[data-theme] .hero-title{font-size:clamp(38px,10.5vw,54px)}
  html[data-theme] .hero-claim{font-size:clamp(20px,6vw,28px)}
  html[data-theme] .hero-stat .num{font-size:46px}
  html[data-theme] .sec-title{font-size:clamp(28px,8.5vw,38px)}
  html[data-theme] .cases-title{font-size:clamp(32px,9.5vw,44px)}
  html[data-theme] .page-title{font-size:clamp(36px,10vw,50px)}
  html[data-theme] .footer-word{font-size:clamp(42px,13vw,62px)}
  html[data-theme] .offer-title{font-size:clamp(24px,7vw,30px)}
}
@media (prefers-reduced-motion:reduce){
  .marquee-track{animation:none}
  *{transition:none!important}
}

/* ================= INNER PAGES ================= */

/* Page hero */
.page-hero{
  position:relative;background:var(--green-900);overflow:hidden;
  min-height:420px;display:flex;flex-direction:column;
}
.page-hero .hero-bg{position:absolute;inset:0;z-index:0}
.page-hero .hero-bg::before{
  content:"";position:absolute;inset:0;z-index:2;
  background:linear-gradient(180deg,rgba(20,40,20,.6),rgba(16,34,17,.78));
}
.page-hero .header{position:absolute}
/* centered both ways: auto vertical margins center the block in the
   hero, width:100% + text-align center puts breadcrumb and title on
   the same horizontal axis */
.page-hero-inner{
  position:relative;z-index:3;width:100%;
  margin:auto;padding:120px 0 0;text-align:center;
}
/* breadcrumb — base look = default theme (glass chip); themes restyle it */
.breadcrumb{
  display:inline-flex;align-items:center;gap:12px;
  font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:#fff;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(8px);
  padding:10px 20px;border-radius:999px;margin-bottom:22px;
}
.breadcrumb a{color:rgba(255,255,255,.6);transition:color .2s}
.breadcrumb a:hover{color:var(--yellow)}
.breadcrumb span{margin:0;font-size:0}
.breadcrumb span::before{content:"›";font-size:14px;line-height:1;color:var(--yellow)}
.page-title{font-size:clamp(48px,6vw,84px);font-weight:700;color:var(--cream);letter-spacing:-.02em;line-height:1}

/* Stats */
.stats{padding:90px 0 30px}
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.stat{border:1px solid var(--line);border-radius:var(--radius-lg);padding:34px 30px}
.stat .n{font-size:52px;font-weight:700;line-height:1;letter-spacing:-.02em}
.stat .n span{color:var(--olive-deep)}
.stat p{font-size:13px;color:var(--gray);margin-top:10px}

/* Team */
.team{padding:90px 0 110px}
.team-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:48px}
.member .m-photo{height:340px;border-radius:var(--radius-lg);overflow:hidden}
.member h3{font-size:17px;font-weight:700;margin-top:16px}
.member p{font-size:13px;color:var(--gray);margin-top:2px}

/* CTA band */
.cta-band{background:var(--green-900);border-radius:var(--radius-xl);padding:70px 60px;color:#fff;
  display:flex;justify-content:space-between;align-items:center;gap:40px;flex-wrap:wrap}
.cta-band h2{font-size:clamp(28px,3.4vw,44px);font-weight:700;letter-spacing:-.015em;line-height:1.1}
.cta-wrap{padding:0 0 110px}

/* Portfolio */
.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin:44px 0 40px}
.filter-pill{font-size:13px;font-weight:700;padding:11px 22px;border-radius:999px;border:1px solid var(--line);color:var(--ink);transition:.2s}
.filter-pill:hover,.filter-pill.active{background:var(--yellow);border-color:var(--yellow)}
.works-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px 24px}
.works-grid .case-card h3{color:var(--ink)}
.works-grid .case-media{height:340px}
.works-grid .case-card .cat{font-size:12px;color:var(--gray);margin-top:4px}
.section-pad{padding:0 0 110px}

/* Blog page */
.blog-page{padding:70px 0 110px}
.pagination{display:flex;gap:10px;justify-content:center;margin-top:60px}
.page-num{width:46px;height:46px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px}
.page-num.active,.page-num:hover{background:var(--yellow);border-color:var(--yellow)}

/* Shop */
.shop-page{padding:70px 0 110px}
.shop-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:36px;gap:20px;flex-wrap:wrap}
.shop-top p{font-size:14px;color:var(--gray)}
.sort{font-size:13px;font-weight:600;border:1px solid var(--line);border-radius:999px;padding:11px 20px;background:#fff;font-family:inherit}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:24px 24px}
.product .p-media{height:280px;border-radius:var(--radius-lg);overflow:hidden;position:relative;background:#F4F4EC}
.p-badge{position:absolute;top:12px;left:12px;z-index:2;background:var(--green-800);color:#fff;font-size:10px;font-weight:800;letter-spacing:.1em;padding:6px 12px;border-radius:999px}
.product h3{font-size:16px;font-weight:700;margin-top:14px}
.product .price{font-size:15px;font-weight:700;color:var(--olive-deep);margin:4px 0 12px}
.product .price s{color:var(--gray);font-weight:500;margin-right:8px}
.add-cart{font-size:13px;font-weight:700;padding:10px 20px;border-radius:999px;background:var(--yellow);display:inline-flex;align-items:center;gap:8px;transition:transform .15s}
.add-cart:hover{transform:translateY(-2px)}

/* Contacts */
.contact-page{padding:90px 0 110px}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px}
.c-cards{display:grid;gap:18px;margin-top:36px}
.c-card{border:1px solid var(--line);border-radius:var(--radius-lg);padding:26px 28px;display:flex;gap:18px;align-items:flex-start}
.c-card .f-icon{width:50px;height:50px;flex:none;margin:0}
.c-card h3{font-size:16px;font-weight:700;margin-bottom:4px}
.c-card p,.c-card a{font-size:14px;color:var(--gray);display:block}
.c-card a:hover{color:var(--ink)}
.contact-form{background:#F7F7F0;border-radius:var(--radius-xl);padding:44px}
.contact-form h3{font-size:24px;font-weight:700;margin-bottom:26px;letter-spacing:-.01em}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.field input,.field textarea{
  width:100%;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:15px 18px;font-family:inherit;font-size:14px;background:#fff;outline:none;
  transition:border-color .2s;resize:vertical;
}
.field input:focus,.field textarea:focus{border-color:var(--olive)}
.field{margin-bottom:16px}
.map-wrap{height:420px;border-radius:var(--radius-xl);overflow:hidden;margin-top:80px}
.map-wrap #contactMap{width:100%;height:100%}
.map-wrap .mapboxgl-popup-content{font-family:inherit;font-size:13px;line-height:1.6;padding:14px 18px;border-radius:10px;color:#22261E}
.map-wrap .mapboxgl-popup-content strong{color:#11140D}
.map-wrap .mapboxgl-popup-close-button{color:#22261E}
html[data-theme="1"] .map-wrap .mapboxgl-canvas{filter:sepia(.22) hue-rotate(40deg) saturate(.85)}

@media (max-width:1080px){
  .stats-row,.products{grid-template-columns:repeat(2,1fr)}
  .team-grid,.works-grid{grid-template-columns:repeat(2,1fr)}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  .stats-row,.products,.team-grid,.works-grid,.form-row{grid-template-columns:1fr}
  .cta-band{padding:48px 32px}
}

/* ================= FUNCTIONAL ADDITIONS ================= */

/* Cart button + badge */
.cart-btn{position:relative;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--ink)}
.cart-btn:hover{background:#F1F1E9}
.cart-count{
  position:absolute;top:-2px;right:-4px;min-width:18px;height:18px;padding:0 5px;
  background:var(--green-800);color:#fff;font-size:10px;font-weight:800;
  border-radius:999px;display:flex;align-items:center;justify-content:center;
}
.cart-count.empty{display:none}

/* Toast */
.toast{
  position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);
  background:var(--green-900);color:#fff;font-size:14px;font-weight:600;
  padding:14px 26px;border-radius:999px;opacity:0;pointer-events:none;
  transition:.25s;z-index:200;box-shadow:0 12px 30px rgba(0,0,0,.25);
}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* Search overlay */
.search-overlay{
  position:fixed;inset:0;background:rgba(16,26,14,.88);backdrop-filter:blur(6px);
  z-index:150;display:none;align-items:flex-start;justify-content:center;padding:16vh 24px 0;
}
.search-overlay.open{display:flex}
.search-box{width:min(640px,100%)}
.search-box input{
  width:100%;background:#fff;border:none;border-radius:999px;
  padding:20px 30px;font-size:17px;font-family:inherit;outline:none;
}
.search-results{margin-top:18px;background:#fff;border-radius:var(--radius-lg);overflow:hidden;max-height:46vh;overflow-y:auto}
.search-results a{display:flex;justify-content:space-between;gap:16px;padding:15px 24px;font-size:14px;font-weight:600;border-bottom:1px solid var(--line)}
.search-results a:hover{background:#F7F7F0}
.search-results a span{color:var(--gray);font-weight:500;font-size:12px;flex:none}
.search-results .none{padding:16px 24px;font-size:14px;color:var(--gray)}
.search-close{position:absolute;top:26px;right:30px;color:#fff;font-size:14px;font-weight:700;display:flex;align-items:center;gap:8px}

/* Clickable cards */
.case-card,.post,.product{cursor:pointer}
.case-card:hover h3,.post:hover h3,.product:hover h3{color:var(--olive-deep)}

/* Product detail */
.pd{padding:80px 0 100px}
.pd-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start}
.pd-media{height:520px;border-radius:var(--radius-xl);overflow:hidden;background:#F4F4EC;position:relative}
.pd h1{font-size:clamp(30px,3.4vw,44px);font-weight:700;letter-spacing:-.015em;line-height:1.1;margin:10px 0 14px}
.pd .price{font-size:26px;font-weight:700;color:var(--olive-deep);margin-bottom:20px}
.pd .price s{color:var(--gray);font-weight:500;font-size:19px;margin-right:10px}
.pd .desc{font-size:15px;color:var(--gray);line-height:1.75;margin-bottom:30px}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:999px;overflow:hidden;margin-right:14px}
.qty button{width:44px;height:48px;font-size:18px;font-weight:700}
.qty button:hover{background:#F1F1E9}
.qty input{width:52px;text-align:center;border:none;font-family:inherit;font-size:15px;font-weight:700;outline:none}
.pd-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.pd-meta{margin-top:30px;border-top:1px solid var(--line);padding-top:22px;font-size:13px;color:var(--gray)}
.pd-meta b{color:var(--ink)}
.related{padding:0 0 110px}
.related h2{margin-bottom:36px}

/* Article (blog detail) */
.article{padding:80px 0 100px}
.article-wrap{max-width:820px;margin:0 auto}
.article .meta{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--gray);margin-bottom:14px;text-transform:uppercase}
.article h1{font-size:clamp(32px,4.4vw,54px);font-weight:700;letter-spacing:-.02em;line-height:1.08;margin-bottom:30px}
.article-hero{height:440px;border-radius:var(--radius-xl);overflow:hidden;margin-bottom:44px}
.article-body p{font-size:16px;line-height:1.85;color:#3A3E34;margin-bottom:22px}
.article-body h2{font-size:26px;font-weight:700;margin:36px 0 16px;letter-spacing:-.01em}
.article-tags{display:flex;gap:10px;margin-top:34px}

/* Work detail */
.work-detail{padding:80px 0 100px}
.work-hero{height:520px;border-radius:var(--radius-xl);overflow:hidden;margin-bottom:56px}
.work-grid{display:grid;grid-template-columns:300px 1fr;gap:70px}
.work-info{border:1px solid var(--line);border-radius:var(--radius-lg);padding:30px;height:max-content}
.work-info dt{font-size:11px;font-weight:800;letter-spacing:.12em;color:var(--gray);text-transform:uppercase;margin-top:18px}
.work-info dt:first-child{margin-top:0}
.work-info dd{font-size:15px;font-weight:700;margin-top:4px}
.work-body h1{font-size:clamp(30px,3.6vw,46px);font-weight:700;letter-spacing:-.015em;margin-bottom:20px;line-height:1.1}
.work-body p{font-size:15px;color:var(--gray);line-height:1.8;margin-bottom:18px}
.work-gallery{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:36px}
.work-gallery .g{height:300px;border-radius:var(--radius-lg);overflow:hidden}
.work-next{margin-top:70px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:34px}

/* Cart page */
.cart-page{padding:80px 0 110px}
.cart-grid{display:grid;grid-template-columns:1.5fr .8fr;gap:50px;align-items:start}
.cart-item{display:grid;grid-template-columns:110px 1fr auto auto auto;gap:22px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}
.cart-item .ci-img{width:110px;height:110px;border-radius:var(--radius-md);overflow:hidden;background:#F4F4EC}
.cart-item h3{font-size:16px;font-weight:700}
.cart-item .ci-price{font-size:14px;color:var(--gray);margin-top:4px}
.cart-item .line-total{font-size:16px;font-weight:700;min-width:80px;text-align:right}
.ci-remove{color:var(--gray);font-size:13px;font-weight:700}
.ci-remove:hover{color:#B0442F}
.cart-summary{background:#F7F7F0;border-radius:var(--radius-xl);padding:36px}
.cart-summary h3{font-size:20px;font-weight:700;margin-bottom:22px}
.sum-row{display:flex;justify-content:space-between;font-size:14px;color:var(--gray);padding:10px 0}
.sum-row.total{border-top:1px solid var(--line);margin-top:12px;padding-top:18px;font-size:18px;font-weight:700;color:var(--ink)}
.cart-empty{text-align:center;padding:70px 0}
.cart-empty p{color:var(--gray);margin:14px 0 26px}

@media (max-width:1080px){
  .pd-grid,.work-grid,.cart-grid{grid-template-columns:1fr}
}
@media (max-width:720px){
  .cart-item{grid-template-columns:80px 1fr;grid-auto-rows:auto}
  .work-gallery{grid-template-columns:1fr}
}

/* ================= SVG ICON SYSTEM =================
   Source icons live in /svg (edit them there).
   They are embedded here as data URIs so icons also work when the site
   is opened via file:// (browsers block external CSS mask URLs under
   file:// due to CORS). If you change an icon, update the svg/ file
   and regenerate its data URI here. */
.icon{
  display:inline-block;flex:none;width:16px;height:16px;
  background-color:currentColor;
  -webkit-mask:var(--i) center/contain no-repeat;
          mask:var(--i) center/contain no-repeat;
}
.i-wheat{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%3E%3Cpath%20d=%22M12%202v20M12%208c-3%200-5-2-5-5%203%200%205%202%205%205zm0%200c3%200%205-2%205-5-3%200-5%202-5%205zm0%206c-3%200-5-2-5-5%203%200%205%202%205%205zm0%200c3%200%205-2%205-5-3%200-5%202-5%205z%22/%3E%3C/svg%3E")}
.i-search{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%3E%3Ccircle%20cx=%2211%22%20cy=%2211%22%20r=%227%22/%3E%3Cpath%20d=%22M21%2021l-4.3-4.3%22/%3E%3C/svg%3E")}
.i-cart{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%3E%3Ccircle%20cx=%229%22%20cy=%2220%22%20r=%221.6%22/%3E%3Ccircle%20cx=%2217%22%20cy=%2220%22%20r=%221.6%22/%3E%3Cpath%20d=%22M3%204h2l2.5%2012h10L20%208H6%22/%3E%3C/svg%3E")}
.i-arrow{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%3E%3Cpath%20d=%22M5%2012h14M13%206l6%206-6%206%22/%3E%3C/svg%3E")}
.i-chev-up{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222.4%22%3E%3Cpath%20d=%22M6%2015l6-6%206%206%22/%3E%3C/svg%3E")}
.i-bars{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%3E%3Cpath%20d=%22M7%2020V10M12%2020V4M17%2020v-8%22/%3E%3C/svg%3E")}
.i-tractor{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%3E%3Ccircle%20cx=%227%22%20cy=%2217%22%20r=%223%22/%3E%3Ccircle%20cx=%2217%22%20cy=%2217%22%20r=%222%22/%3E%3Cpath%20d=%22M10%2017h5M4%2017V8h8l2%205h4%22/%3E%3C/svg%3E")}
.i-sprout{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%3E%3Cpath%20d=%22M12%203v6M12%209c0%204-3%207-7%207%200-4%203-7%207-7zm0%200c0%204%203%207%207%207%200-4-3-7-7-7zM12%2016v5%22/%3E%3C/svg%3E")}
.i-drop{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%3E%3Cpath%20d=%22M12%203c3%204%206%207%206%2011a6%206%200%2001-12%200c0-4%203-7%206-11z%22/%3E%3C/svg%3E")}
.i-barn{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%3E%3Cpath%20d=%22M4%2020h16M6%2020V9l6-4%206%204v11M10%2020v-5h4v5%22/%3E%3C/svg%3E")}
.i-sensor{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%3E%3Crect%20x=%223%22%20y=%228%22%20width=%2218%22%20height=%2210%22%20rx=%222%22/%3E%3Cpath%20d=%22M8%208V6a4%204%200%20018%200v2M12%2012v3%22/%3E%3C/svg%3E")}
.i-pin{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%3E%3Cpath%20d=%22M12%2021c4-4%207-7.6%207-11a7%207%200%2010-14%200c0%203.4%203%207%207%2011z%22/%3E%3Ccircle%20cx=%2212%22%20cy=%2210%22%20r=%222.5%22/%3E%3C/svg%3E")}
.i-phone{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%3E%3Cpath%20d=%22M4%205c0%208%207%2015%2015%2015l2-4-4-2-2%202c-3-1-6-4-7-7l2-2-2-4-4%202z%22/%3E%3C/svg%3E")}
.i-mail{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.8%22%3E%3Crect%20x=%223%22%20y=%225%22%20width=%2218%22%20height=%2214%22%20rx=%222%22/%3E%3Cpath%20d=%22M3%207l9%206%209-6%22/%3E%3C/svg%3E")}
.i-p-seed{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.6%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%229%22/%3E%3Cpath%20d=%22M12%207c-2%202-2%206%200%2010%202-4%202-8%200-10z%22/%3E%3C/svg%3E")}
.i-p-bars{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.6%22%3E%3Cpath%20d=%22M6%2020V9M12%2020V4M18%2020v-7%22/%3E%3C/svg%3E")}
.i-p-leaf{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.6%22%3E%3Cpath%20d=%22M4%2014c4-8%2012-8%2016%200-4%204-12%204-16%200z%22/%3E%3C/svg%3E")}
.i-p-plant{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.6%22%3E%3Cpath%20d=%22M12%203v18M5%2010c4%200%207-3%207-7M19%2010c-4%200-7-3-7-7%22/%3E%3C/svg%3E")}
.i-p-frame{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.6%22%3E%3Crect%20x=%224%22%20y=%224%22%20width=%2216%22%20height=%2216%22%20rx=%223%22/%3E%3Cpath%20d=%22M8%2016l4-8%204%208%22/%3E%3C/svg%3E")}
.i-p-sun{--i:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.6%22%3E%3Ccircle%20cx=%2212%22%20cy=%2212%22%20r=%224%22/%3E%3Cpath%20d=%22M12%202v4M12%2018v4M2%2012h4M18%2012h4%22/%3E%3C/svg%3E")}
/* size utilities matching original icon sizes */
.s14{width:14px;height:14px}.s18{width:18px;height:18px}
.s19{width:19px;height:19px}.s22{width:22px;height:22px}.s24{width:24px;height:24px}

/* ================= UTILITY / STATE CLASSES (former inline styles) ================= */
.menu a.active{color:var(--green-800)}
.stats-row{margin-top:48px}
.about--tight{padding-top:70px}
.team--tight{padding-top:0}
.section-pad--top{padding-top:70px}
.sub-lead{font-size:13px;color:rgba(255,255,255,.7);margin-bottom:14px}
.blog-grid--loose{row-gap:56px}
.related .sec-title{font-size:32px}
.related .blog-grid,.related .products{margin-top:36px}
.checkout-btn{width:100%;justify-content:center;margin-top:20px}
.sub-note--muted{color:var(--gray);margin-top:14px}

/* ================= IMAGE HYDRATION ================= */
/* If an image exists under images/ with the correct name, JS swaps the placeholder for the real image */
.ph--loaded{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
.ph--loaded::after{display:none}

/* ================= AI PROMPT MODAL ================= */
.ph[data-src]{cursor:pointer}
.ph[data-src]::before{
  content:"◈ AI PROMPT";
  position:absolute;top:10px;right:10px;z-index:3;
  font-family:"JetBrains Mono",monospace;font-size:9px;letter-spacing:.08em;
  color:#41493A;background:rgba(255,255,255,.85);
  padding:4px 9px;border-radius:6px;border:1px solid #9aa587;
}
.ph--dark[data-src]::before{color:#DCE4CE;background:rgba(0,0,0,.5);border-color:#6f7f5e}
.ph[data-src]:hover::before{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}
.ph--loaded::before{display:none}

.pm-overlay{
  position:fixed;inset:0;z-index:300;display:none;
  align-items:center;justify-content:center;padding:24px;
  background:rgba(16,26,14,.82);backdrop-filter:blur(6px);
}
.pm-overlay.open{display:flex}
.pm-card{
  width:min(680px,100%);background:#fff;border-radius:var(--radius-xl);
  padding:32px 34px;box-shadow:0 30px 80px rgba(0,0,0,.4);
}
.pm-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:6px}
.pm-file{font-family:"JetBrains Mono",monospace;font-size:13px;font-weight:600;color:var(--green-800);word-break:break-all}
.pm-close{width:36px;height:36px;border-radius:50%;font-size:15px;flex:none}
.pm-close:hover{background:#F1F1E9}
.pm-size{font-size:12px;color:var(--gray);margin-bottom:16px}
.pm-prompt{
  font-family:"JetBrains Mono",monospace;font-size:12.5px;line-height:1.75;
  background:#F5F5EC;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:18px 20px;white-space:pre-wrap;word-break:break-word;
  max-height:280px;overflow-y:auto;color:#2E332A;
}
.pm-actions{margin-top:18px}
.pm-hint{font-size:12px;color:var(--gray);margin-top:14px;line-height:1.6}

/* ================= PER-THEME HERO EXTRAS ================= */
/* .hx is injected by app.js; each theme styles its own elements. */
.hx{display:contents}
@media (max-width:720px){
  html[data-theme] .hx-meta,html[data-theme] .hx-scroll,html[data-theme] .hx-ticker,
  html[data-theme] .hx-badge,html[data-theme] .hx-down,html[data-theme] .hx-index,
  html[data-theme] .hx-crest,html[data-theme] .hx-sticker,html[data-theme] .hx-term,
  html[data-theme] .hx-panel{display:none}
}

/* Theme 01 hero: kicker line, bottom-weighted title, glass stat panel */
html[data-theme="1"] .hero-stat,
html[data-theme="1"] .hero-claim{display:none}
html[data-theme="1"] .hero-inner{padding-top:110px;justify-content:center}
html[data-theme="1"] .hero-bottom{margin-top:0;padding-top:34px;padding-bottom:0}
html[data-theme="1"] .hero-title{font-size:clamp(56px,7.5vw,104px)}
html[data-theme="1"] .hero-title::before{
  content:"— Sustainable farming since 2003";
  display:block;font-size:13px;font-weight:700;
  letter-spacing:.22em;text-transform:uppercase;
  color:var(--yellow);margin-bottom:26px;
}
.hx-panel{
  position:absolute;right:0;top:50%;transform:translateY(calc(-50% + 40px));width:320px;
  background:rgba(18,32,18,.55);backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.16);border-radius:var(--radius-lg);
  padding:26px 28px;color:#fff;
}
.hx-row{
  display:flex;align-items:baseline;gap:14px;
  padding:13px 0;border-bottom:1px solid rgba(255,255,255,.12);
}
.hx-row:first-child{padding-top:0}
.hx-row b{font-size:30px;font-weight:700;color:var(--yellow);flex:none;min-width:74px}
.hx-row span{font-size:12.5px;line-height:1.5;color:rgba(255,255,255,.8)}
.hx-panel-btn{width:100%;justify-content:center;margin-top:20px}
/* theme 01: stat strip as glass chips matching the panel */
html[data-theme="1"] .hero-left{max-width:580px}
html[data-theme="1"] .hero-left>p{max-width:420px}
html[data-theme="1"] .hx-strip{gap:14px}
html[data-theme="1"] .hx-strip>div{
  background:rgba(18,32,18,.55);backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.16);border-radius:var(--radius-md);
  padding:18px 22px;min-width:150px;
}
html[data-theme="1"] .hx-strip b{color:var(--yellow)}
html[data-theme="1"] .hx-strip i{opacity:.85}

/* ================= DEMO THEME SWITCHER ================= */
/* Fixed styling on purpose: must stay legible in every theme. */
.ts{position:fixed;left:22px;bottom:22px;z-index:400;font-family:"Hanken Grotesk",system-ui,sans-serif}
.ts-toggle{
  width:52px;height:52px;border-radius:50%;
  background:#15170F;display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 26px rgba(0,0,0,.35);transition:transform .18s;
}
.ts-toggle:hover{transform:scale(1.07)}
.ts-swatch{
  width:22px;height:22px;border-radius:50%;
  background:conic-gradient(#1D3A20,#F1EC9F,#C1521A,#7FE3D2,#D6F930,#1D3A20);
  border:2px solid rgba(255,255,255,.85);
}
.ts-panel{
  position:absolute;left:0;bottom:64px;width:238px;
  background:#15170F;color:#fff;border-radius:14px;padding:10px;
  display:none;box-shadow:0 20px 50px rgba(0,0,0,.45);
  max-height:70vh;overflow-y:auto;
}
.ts.open .ts-panel{display:block}
.ts-title{font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.6;padding:6px 10px 8px;color:#fff}
.ts-item{
  display:flex;align-items:center;gap:10px;width:100%;
  padding:9px 10px;border-radius:8px;
  color:#fff;font-size:13px;font-weight:600;text-align:left;font-family:inherit;
}
.ts-item:hover{background:rgba(255,255,255,.08)}
.ts-item.active{background:rgba(255,255,255,.16)}
.ts-dots{display:flex;gap:4px;flex:none}
.ts-dots i{width:13px;height:13px;border-radius:50%;display:block;border:1px solid rgba(255,255,255,.4)}

/* ---------- PAGE-TRANSITION LOADER (bottom toast badge + wheat logo) ---------- */
/* paint each theme's paper before its CSS arrives, so navigations never flash white */
html[data-theme="2"] body{background:#FAF6F0}
html[data-theme="3"] body{background:#0F1410}
html[data-theme="4"] body{background:#FFFDF7}
html[data-theme="6"] body{background:#F7FAFA}
html[data-theme="7"] body{background:#FDFBF5}
html[data-theme="8"] body{background:#F4F2E9}
html[data-theme="9"] body{background:#FBFBF8}
html[data-theme="10"] body{background:#0C0F13}

/* soft page entrance: content eases in on arrival; leaving keeps the page visible */
body>*{opacity:0;transition:opacity .4s ease}
html.pl-done body>*{opacity:1}

body::before,body::after{content:"";position:fixed;pointer-events:none}
body::before{
  left:50%;bottom:26px;transform:translateX(-50%);z-index:9998;
  width:58px;height:58px;border-radius:18px;
  background:rgba(22,43,24,.92);box-shadow:0 14px 34px rgba(0,0,0,.3);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  opacity:1;visibility:visible;transition:opacity .35s ease .1s,visibility 0s .45s;
}
/* the Farmora wheat mark, tinted per theme */
body::after{
  left:50%;bottom:41px;transform:translateX(-50%);z-index:9999;
  width:28px;height:28px;background:#F1EC9F;
  -webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%3E%3Cpath%20d=%22M12%202v20M12%208c-3%200-5-2-5-5%203%200%205%202%205%205zm0%200c3%200%205-2%205-5-3%200-5%202-5%205zm0%206c-3%200-5-2-5-5%203%200%205%202%205%205zm0%200c3%200%205-2%205-5-3%200-5%202-5%205z%22/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%222%22%3E%3Cpath%20d=%22M12%202v20M12%208c-3%200-5-2-5-5%203%200%205%202%205%205zm0%200c3%200%205-2%205-5-3%200-5%202-5%205zm0%206c-3%200-5-2-5-5%203%200%205%202%205%205zm0%200c3%200%205-2%205-5-3%200-5%202-5%205z%22/%3E%3C/svg%3E") center/contain no-repeat;
  animation:pl-fade 1.1s ease infinite;
  opacity:1;visibility:visible;transition:opacity .25s ease,visibility 0s .25s;
}
html.pl-done body::before,html.pl-done body::after{opacity:0;visibility:hidden}
html.pl-done body::after{animation:none}
html.pl-out body::before{opacity:1;visibility:visible;transition:opacity .15s ease}
html.pl-out body::after{opacity:1;visibility:visible;transition:opacity .15s ease}
@keyframes pl-fade{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes pl-blink{0%,49%{opacity:1}50%,100%{opacity:.25}}
@keyframes pl-breathe{from{transform:translateX(-50%) scale(.72)}to{transform:translateX(-50%) scale(1.12)}}

/* per-theme badge + logo */
html[data-theme="2"] body::before{background:rgba(94,47,24,.94);border-radius:10px}
html[data-theme="2"] body::after{background:#F3C892;animation:pl-fade 1.3s ease infinite}
html[data-theme="3"] body::before{background:rgba(19,27,19,.95);border-radius:14px;box-shadow:0 0 30px rgba(198,242,78,.25)}
html[data-theme="3"] body::after{background:#C6F24E;filter:drop-shadow(0 0 10px rgba(198,242,78,.8))}
html[data-theme="4"] body::before{background:rgba(193,82,26,.95);border-radius:50%}
html[data-theme="4"] body::after{background:#FFE9C9;animation:pl-breathe .6s ease-in-out infinite alternate}
html[data-theme="5"] body::before{background:#111;border-radius:0}
html[data-theme="5"] body::after{background:#fff}
html[data-theme="6"] body::before{background:rgba(14,58,67,.95);border-radius:16px}
html[data-theme="6"] body::after{background:#7FE3D2;animation:pl-breathe 1.1s ease-in-out infinite alternate}
html[data-theme="7"] body::before{background:rgba(36,30,16,.95);border-radius:2px;box-shadow:0 14px 34px rgba(0,0,0,.3),inset 0 0 0 1px rgba(217,180,91,.5)}
html[data-theme="7"] body::after{background:#D9B45B;animation:pl-fade 1.8s ease infinite}
html[data-theme="8"] body::before{background:#D6F930;border-radius:0;box-shadow:6px 6px 0 #111}
html[data-theme="8"] body::after{background:#111;animation:pl-blink .6s steps(1) infinite}
html[data-theme="9"] body::before{background:rgba(89,116,92,.95);border-radius:22px}
html[data-theme="9"] body::after{background:#F1F5E3;animation:pl-breathe 1.3s ease-in-out infinite alternate}
html[data-theme="10"] body::before{background:rgba(16,23,32,.96);border-radius:10px;box-shadow:0 0 26px rgba(33,230,161,.22),inset 0 0 0 1px rgba(33,230,161,.4)}
html[data-theme="10"] body::after{background:#21E6A1;animation:pl-blink .8s steps(1) infinite}
@media (prefers-reduced-motion:reduce){body::after{animation:none!important}}
