/* =========================================================
   Dev Crow Egg · Direction F "Bloom"
   Organic, biomorphic, sustainability-led.
   ========================================================= */

:root {
  --forest: #13301F;
  --forest-2: #1A3A27;
  --moss: #2E5234;
  --fern: #4C7A47;
  --leaf: #6E9F4F;
  --sage: #9DB893;
  --sage-2: #C8D8BE;
  --sage-3: #DCE7D2;
  --lichen: #EDF2E4;
  --paper: #F7F9F1;
  --lime: #D3F45E;
  --lime-2: #E6F4B5;
  --clay: #C27A5B;
  --clay-2: #EDD5C6;
  --ink: #13301F;
  --ink-2: #34503E;
  --ink-3: #4A6452;

  --f-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Manrope", ui-sans-serif, system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --r-xl: clamp(32px, 4vw, 56px);
  --r-lg: 34px;
  --r-md: 22px;
  --pill: 999px;

  --breathe: cubic-bezier(.45, .05, .25, 1);
  --soft-out: cubic-bezier(.2, .75, .25, 1);
  --sec-pad: clamp(84px, 11vw, 168px);
}

html[lang="ar"] {
  --f-display: "Alexandria", "Outfit", ui-sans-serif, system-ui, sans-serif;
  --f-body: "Alexandria", "Manrope", ui-sans-serif, system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--lichen);
  color: var(--ink);
  font: 450 17px/1.62 var(--f-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-weight: 350; line-height: 1.8; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--forest); }

:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--lime); }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--forest); color: var(--lime); padding: 10px 18px; border-radius: var(--pill); font-weight: 600; transition: top .3s; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* soft paper grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .32;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .07  0 0 0 0 .19  0 0 0 0 .12  0 0 0 .9 -.42'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Type ---------- */
.display {
  font-family: var(--f-display); font-weight: 280; letter-spacing: -.035em; line-height: .98;
}
html[lang="ar"] .display, html[lang="ar"] .hero__title, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 15px/1.2 var(--f-display); letter-spacing: .01em; color: var(--fern);
}
.eyebrow::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M5 27C5 13 12 6 27 5c0 14-7 21-22 22z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><path d='M5 27C5 13 12 6 27 5c0 14-7 21-22 22z'/></svg>") center/contain no-repeat;
}
[dir="rtl"] .eyebrow::before { transform: scaleX(-1); }
.on-dark .eyebrow { color: var(--lime); }

.sec-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head h2 { font: 280 clamp(40px, 5.4vw, 84px)/.98 var(--f-display); letter-spacing: -.04em; max-width: 16ch; text-wrap: balance; }
.sec-head h2 b { font-weight: 520; }
.sec-head p { color: var(--ink-2); max-width: 46ch; font-size: 18px; }
.sec-head--split { grid-template-columns: 1fr auto; align-items: end; }
.sec-head--split > div { display: grid; gap: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest); --fg: var(--paper); --fill: var(--moss);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 26px; border-radius: var(--pill);
  background: var(--bg); color: var(--fg);
  font: 550 16.5px/1 var(--f-display); letter-spacing: -.005em; white-space: nowrap;
  transition: color .5s var(--soft-out), transform .6s var(--soft-out), box-shadow .6s var(--soft-out);
}
.btn::before {
  content: ""; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 120%);
  width: 10px; height: 10px; margin: -5px; border-radius: 50%;
  background: var(--fill); transform: scale(0); transition: transform .9s var(--soft-out);
}
.btn:hover::before { transform: scale(60); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ico { width: 20px; height: 20px; transition: transform .6s var(--soft-out); }
.btn:hover .ico { transform: translateX(3px) rotate(-8deg); }
[dir="rtl"] .btn .ico--flip { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ico--flip { transform: scaleX(-1) translateX(3px); }
.btn--lime { --bg: var(--lime); --fg: var(--forest); --fill: #C3EA3F; box-shadow: 0 10px 30px -14px rgba(90, 120, 20, .55); }
.btn--line { --bg: transparent; --fg: var(--forest); --fill: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn--line:hover { --fg: var(--lime); color: var(--lime); }
.btn--forest { --bg: var(--forest); --fg: var(--lime); --fill: var(--moss); }
.on-dark .btn--line { --fg: var(--lichen); --fill: var(--lime); box-shadow: inset 0 0 0 1.5px rgba(237, 242, 228, .6); }
.on-dark .btn--line:hover { color: var(--forest); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border-radius: var(--pill); background: rgba(247, 249, 241, .7);
  box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .1);
  font: 500 14px/1 var(--f-display); color: var(--forest);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
[dir="rtl"] .chip { padding: 8px 10px 8px 14px; }
.chip .ico { width: 18px; height: 18px; color: var(--fern); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(211, 244, 94, .35); }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; padding-top: 14px; transition: transform .6s var(--soft-out); }
.hdr__bar {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
  min-height: 64px; padding-block: 8px; padding-inline: 14px 10px; border-radius: var(--pill);
  transition: background .5s, box-shadow .5s;
}
[dir="rtl"] .hdr__bar { padding-inline: 14px 10px; }
.hdr.is-scrolled .hdr__bar {
  background: rgba(240, 245, 232, .78);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 12px 40px -24px rgba(19, 48, 31, .45), inset 0 0 0 1px rgba(19, 48, 31, .07);
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); flex: none; }
.logo__mark { width: 38px; height: 38px; }
.logo__mark path { transition: transform .9s var(--soft-out); transform-box: fill-box; transform-origin: 0% 100%; }
.logo__mark .logo__leaf2 { transform-origin: 100% 100%; }
.logo:hover .logo__leaf1 { transform: rotate(-12deg) scale(1.08); }
.logo:hover .logo__leaf2 { transform: rotate(12deg) scale(1.08); }
.logo__word { font: 600 19px/1 var(--f-display); letter-spacing: -.025em; white-space: nowrap; font-family: "Outfit", sans-serif; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: var(--pill);
  font: 500 15.5px/1 var(--f-display); color: var(--ink-2); white-space: nowrap;
  transition: color .3s, background .4s;
}
.nav a:hover { color: var(--forest); background: rgba(200, 216, 190, .55); }
.nav a[aria-current="page"] { color: var(--forest); background: var(--lime-2); }
.hdr__tools { display: flex; align-items: center; gap: 8px; }
.search { position: relative; display: flex; align-items: center; }
.search .ico { position: absolute; inset-inline-start: 14px; width: 18px; height: 18px; color: var(--fern); pointer-events: none; }
.search input {
  width: 210px; height: 44px; padding-inline: 42px 16px; border: 0; border-radius: var(--pill);
  background: rgba(247, 249, 241, .85); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .1);
  font-size: 15px; transition: width .6s var(--soft-out), box-shadow .3s;
}
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; width: 250px; box-shadow: inset 0 0 0 2px var(--forest); }
.lang { display: flex; padding: 4px; border-radius: var(--pill); background: rgba(247, 249, 241, .85); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .1); }
.lang button { height: 36px; min-width: 44px; padding: 0 12px; border-radius: var(--pill); font: 600 14px/1 var(--f-display); color: var(--ink-2); transition: background .4s, color .4s; }
.lang button[lang="ar"] { font-family: "Alexandria", sans-serif; font-weight: 500; }
.lang button[aria-pressed="true"] { background: var(--forest); color: var(--lime); }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(247, 249, 241, .85); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .1); color: var(--forest);
  transition: background .4s, transform .5s var(--soft-out);
}
.icon-btn:hover { background: var(--sage-2); }
.icon-btn .ico { width: 22px; height: 22px; }
.cart__count {
  position: absolute; top: -3px; inset-inline-end: -3px; min-width: 21px; height: 21px; padding: 0 5px;
  display: grid; place-items: center; border-radius: var(--pill);
  background: var(--lime); color: var(--forest); font: 700 12px/1 var(--f-display);
  box-shadow: 0 0 0 2px var(--lichen);
}
.cart.is-bump { animation: bump .8s var(--soft-out); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.18) rotate(-6deg); } 60% { transform: scale(.96) rotate(3deg); } 100% { transform: scale(1); } }
.menu-btn { display: none; }

/* mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 120; background: var(--forest); color: var(--lichen);
  padding: 96px var(--gutter) 32px; display: flex; flex-direction: column; gap: 28px; overflow: auto;
}
.sheet[hidden] { display: none; }
.sheet nav { display: grid; gap: 6px; }
.sheet nav a { font: 300 40px/1.15 var(--f-display); letter-spacing: -.03em; padding: 4px 0; }
.sheet nav a:hover { color: var(--lime); }
.sheet .search input { width: 100%; background: rgba(237, 242, 228, .1); color: var(--lichen); box-shadow: inset 0 0 0 1px rgba(237, 242, 228, .25); }
.sheet .search input::placeholder { color: rgba(237, 242, 228, .7); }
.sheet .search .ico { color: var(--lime); }
.sheet .search { width: 100%; }
.sheet__close { position: absolute; top: 22px; inset-inline-end: var(--gutter); }
.sheet .lang { align-self: flex-start; background: rgba(237, 242, 228, .1); }
.sheet .lang button { color: var(--lichen); }
.sheet .lang button[aria-pressed="true"] { background: var(--lime); color: var(--forest); }

/* ---------- Hero ---------- */
.hero {
  --pod-w: clamp(300px, 30vw, 480px);
  --hero-size: clamp(56px, 6.9vw, 116px);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(740px, 100svh);
  display: flex; padding-block: 104px 36px;
  background:
    radial-gradient(120% 70% at 50% 110%, rgba(157, 184, 147, .35), transparent 60%),
    var(--lichen);
}
.hero__stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute; left: var(--pod-x, 50%); top: var(--pod-y, 52%);
  width: min(78vw, 980px); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(211, 244, 94, .42), rgba(200, 216, 190, .5) 42%, rgba(200, 216, 190, 0) 74%);
}
.hero__blob {
  position: absolute; left: var(--pod-x, 50%); top: var(--pod-y, 52%);
  width: var(--blob, 470px); aspect-ratio: 1 / 1.1; transform: translate(-50%, -44%);
  background: radial-gradient(80% 80% at 35% 30%, #E7F0DE, var(--sage-3) 60%, #CFDEC4);
  border-radius: 47% 53% 44% 56% / 56% 46% 54% 44%;
  animation: blob-breathe 18s var(--breathe) infinite alternate;
}
@keyframes blob-breathe {
  0% { border-radius: 47% 53% 44% 56% / 56% 46% 54% 44%; transform: translate(-50%, -44%) rotate(0deg) scale(1); }
  50% { border-radius: 56% 44% 52% 48% / 46% 58% 42% 54%; transform: translate(-50%, -45%) rotate(4deg) scale(1.03); }
  100% { border-radius: 42% 58% 58% 42% / 52% 44% 56% 48%; transform: translate(-50%, -44%) rotate(-3deg) scale(.99); }
}
.hero__veins { position: absolute; color: var(--fern); opacity: .22; width: clamp(180px, 22vw, 340px); }
.hero__veins--a { inset-inline-start: -40px; top: 56%; transform: rotate(-28deg); }
.hero__veins--b { inset-inline-end: -30px; top: 6%; transform: rotate(152deg); width: clamp(140px, 16vw, 250px); }
.hero__canvas { position: absolute; inset: 0; }
.hero__canvas canvas { width: 100%; height: 100%; }

.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hero__where { font: 400 15px/1.3 var(--f-display); color: var(--ink-2); }
.hero__title {
  display: grid; grid-template-columns: 1fr var(--pod-w) 1fr;
  font: 250 var(--hero-size)/.9 var(--f-display); letter-spacing: -.05em; color: var(--forest);
}
.hero__half { display: flex; flex-direction: column; white-space: nowrap; }
.hero__half--a { align-self: start; align-items: flex-start; padding-top: .32em; }
.hero__half--b { align-self: end; align-items: flex-end; text-align: end; padding-bottom: .1em; }
.hw { display: block; }
.hw--k { font-weight: 560; letter-spacing: -.055em; }
.hero__half--b .hw--k { position: relative; }
.hero__half--b .hw--k::after {
  content: ""; position: absolute; z-index: -1; inset-inline: -.08em -.04em; bottom: .02em; height: .42em;
  background: var(--lime); border-radius: 60% 40% 55% 45% / 70% 60% 40% 30%;
  transform-origin: left center; transform: scaleX(var(--hl, 1)) rotate(-1.5deg);
}
[dir="rtl"] .hero__half--b .hw--k::after { transform-origin: right center; }
.hero__pod { display: block; position: relative; height: clamp(420px, 61vh, 610px); }
.hero__fallback { position: absolute; inset: 4% 8%; display: none; }
.hero__fallback .art { width: 100%; height: 100%; }
.hero.no-3d .hero__fallback { display: block; }

.hero__foot { display: grid; grid-template-columns: 1fr var(--pod-w) 1fr; align-items: end; gap: 28px; }
.hero__copy { display: grid; gap: 22px; }
.hero__lede { max-width: 36ch; color: var(--ink-2); font-size: 17px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__tag {
  justify-self: center; display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: var(--pill);
  background: rgba(247, 249, 241, .82); box-shadow: 0 14px 40px -24px rgba(19, 48, 31, .5), inset 0 0 0 1px rgba(19, 48, 31, .08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font: 500 14.5px/1.2 var(--f-display); white-space: nowrap;
}
[dir="rtl"] .hero__tag { padding: 8px 16px 8px 8px; }
.hero__tag strong { font-weight: 600; }
.hero__tag .price { font: inherit; color: var(--fern); }
.hero__tag a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: var(--lime); transition: transform .6s var(--soft-out); }
.hero__tag a:hover { transform: rotate(-20deg) scale(1.06); }
.hero__tag .ico { width: 18px; height: 18px; }
[dir="rtl"] .hero__tag .ico { transform: scaleX(-1); }

.phases { justify-self: end; display: grid; gap: 10px; min-width: 220px; }
.phases__label { font: 500 13px/1.2 var(--f-display); color: var(--ink-3); }
.phases ol { position: relative; display: grid; gap: 12px; padding-inline-start: 4px; }
.phases ol::before { content: ""; position: absolute; inset-inline-start: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--sage-2); border-radius: 2px; }
.phases ol::after { content: ""; position: absolute; inset-inline-start: 9px; top: 10px; width: 2px; height: calc((100% - 20px) * var(--phase-p, 0)); background: var(--fern); border-radius: 2px; transition: height 1.2s var(--breathe); }
.phases li { position: relative; display: flex; align-items: center; gap: 12px; font: 500 15px/1.2 var(--f-display); color: var(--ink-3); transition: color .6s; }
.phases li::before { content: ""; position: relative; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--lichen); box-shadow: inset 0 0 0 2px var(--sage); transition: background .6s, box-shadow .6s, transform .8s var(--soft-out); }
.phases li.is-on { color: var(--forest); }
.phases li.is-on::before { background: var(--lime); box-shadow: inset 0 0 0 2px var(--fern), 0 0 0 5px rgba(211, 244, 94, .35); transform: scale(1.15); }
.phases__replay { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 4px; padding: 7px 12px 7px 9px; border-radius: var(--pill); font: 500 13.5px/1 var(--f-display); color: var(--fern); box-shadow: inset 0 0 0 1px rgba(76, 122, 71, .35); transition: background .4s; }
.phases__replay:hover { background: var(--sage-3); }
.phases__replay .ico { width: 16px; height: 16px; }

/* ---------- Manifesto ---------- */
.manifesto { position: relative; padding-block: var(--sec-pad) calc(var(--sec-pad) * .8); }
.manifesto__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.manifesto__text {
  font: 300 clamp(32px, 4.3vw, 66px)/1.12 var(--f-display); letter-spacing: -.035em; color: var(--forest);
  max-width: 24ch; text-wrap: pretty;
}
html[lang="ar"] .manifesto__text { line-height: 1.45; font-weight: 300; }
.manifesto__text .mw { transition: color .2s; }
.impact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(28px, 4vw, 56px); }
.impact li {
  position: relative; display: grid; align-content: space-between; gap: 34px; min-height: 230px;
  padding: 28px 30px 30px; border-radius: 120px 120px 40px 40px / 110px 110px 40px 40px;
  background: var(--paper); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .06);
  overflow: hidden;
}
.impact li:nth-child(2) { border-radius: 40px 120px 40px 120px / 40px 110px 40px 110px; background: var(--sage-3); }
.impact li:nth-child(3) { border-radius: 40px 40px 120px 120px / 40px 40px 110px 110px; background: var(--lime-2); }
.impact__n { font: 200 clamp(72px, 8vw, 128px)/.85 var(--f-display); letter-spacing: -.06em; color: var(--forest); }
.impact__l { font: 500 17px/1.35 var(--f-display); color: var(--ink-2); max-width: 18ch; }
.impact__note { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.impact__note::before { content: "*"; color: var(--fern); font-weight: 700; }

/* ---------- How it works ---------- */
.how {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--forest); color: var(--lichen);
  padding-block: var(--sec-pad);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.how__cells { position: absolute; inset: 0; z-index: -1; opacity: .5; }
.how__cells svg { width: 100%; height: 100%; }
.how__cells path { fill: none; stroke: #2B5136; stroke-width: 1.4; }
.how .sec-head h2 { color: var(--lichen); }
.how__track { position: relative; }
.how__vine { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.how__vine .vine-base { fill: none; stroke: rgba(157, 184, 147, .18); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.how__vine .vine { fill: none; stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; }
.how__vine .vleaf { fill: #8DBF4A; transform-box: fill-box; transform-origin: 0% 50%; transform: scale(0); transition: transform 1.2s var(--soft-out); }
.how__vine .vleaf.is-on { transform: scale(1); }
.how__steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 48px); }
.step { display: grid; align-content: start; gap: 14px; }
.step:nth-child(2) { padding-top: 70px; }
.step:nth-child(3) { padding-top: 22px; }
.step:nth-child(4) { padding-top: 96px; }
.step__bud {
  position: relative; width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 10px;
  border-radius: 54% 46% 50% 50% / 50% 54% 46% 50%;
  background: var(--forest-2); color: var(--sage); box-shadow: inset 0 0 0 1.5px rgba(157, 184, 147, .35);
  transition: background .9s var(--soft-out), color .9s, box-shadow .9s, transform 1.1s var(--soft-out), border-radius 1.4s var(--breathe);
}
.step__bud .ico { width: 32px; height: 32px; }
.step.is-on .step__bud { background: var(--lime); color: var(--forest); box-shadow: 0 0 0 8px rgba(211, 244, 94, .12), 0 0 46px rgba(211, 244, 94, .35); transform: scale(1.06); border-radius: 46% 54% 44% 56% / 56% 46% 54% 44%; }
.step__n { font: 500 14px/1 var(--f-display); color: var(--sage); }
.step h3 { font: 400 clamp(22px, 2vw, 28px)/1.12 var(--f-display); letter-spacing: -.02em; color: var(--paper); }
.step p { color: rgba(237, 242, 228, .78); font-size: 16px; max-width: 28ch; }

/* ---------- Product cards ---------- */
.collection { padding-block: var(--sec-pad) calc(var(--sec-pad) * .6); }
.bento { display: grid; grid-template-columns: 1.12fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(14px, 1.6vw, 24px); }
.pcard {
  position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; gap: 18px;
  padding: 18px 18px 24px; border-radius: var(--r-lg);
  background: var(--paper); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .06);
  transition: transform .9s var(--soft-out), box-shadow .9s var(--soft-out);
}
.pcard:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .06), 0 30px 60px -36px rgba(19, 48, 31, .45); }
.pcard__pod { position: relative; display: grid; place-items: center; min-height: 260px; border-radius: 26px; overflow: hidden; }
.pcard__blob {
  position: absolute; inset: 7% 9% 5%; background: var(--pod, var(--sage-3));
  border-radius: 58% 42% 54% 46% / 48% 56% 44% 52%;
  transition: border-radius 1.6s var(--breathe), transform 1.6s var(--breathe);
}
.pcard:nth-child(2n) .pcard__blob { border-radius: 44% 56% 40% 60% / 58% 42% 58% 42%; }
.pcard:nth-child(3n) .pcard__blob { border-radius: 52% 48% 62% 38% / 42% 52% 48% 58%; }
.pcard:hover .pcard__blob { border-radius: 40% 60% 46% 54% / 60% 40% 60% 40%; transform: scale(1.05) rotate(-4deg); }
.pcard__pod .art { position: relative; width: min(78%, 300px); height: auto; aspect-ratio: 1; transition: transform 1.2s var(--soft-out); }
.pcard:hover .pcard__pod .art { transform: translateY(-8px) rotate(-2deg) scale(1.03); }
.art__sway { transition: transform 1.6s var(--breathe); }
.pcard:hover .art__sway { transform: rotate(4deg); }
.pcard__body { display: grid; gap: 8px; padding-inline: 8px; }
.pcard__name { font: 450 20px/1.2 var(--f-display); letter-spacing: -.015em; }
html[lang="ar"] .pcard__name, html[lang="ar"] .buy h1, html[lang="ar"] .hero__tag strong { font-family: "Outfit", "Alexandria", sans-serif; letter-spacing: -.03em; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.pcard__name a:focus-visible { outline: none; }
.pcard:has(.pcard__name a:focus-visible) { outline: 3px solid var(--forest); outline-offset: 4px; }
.pcard__desc { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; max-width: 40ch; }
.pcard__seller { color: var(--ink-3); font-size: 14.5px; }
.pcard__row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.mat { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--pill); background: var(--sage-3); font: 600 12.5px/1 var(--f-display); letter-spacing: .04em; color: var(--moss); }
.mat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--fern); }
.mat--petg { background: var(--lime-2); }
.price { font: 500 19px/1 var(--f-display); letter-spacing: -.01em; color: var(--forest); }
.add {
  position: relative; z-index: 2; margin-inline-start: auto; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: var(--forest); color: var(--lime);
  transition: transform .7s var(--soft-out), background .4s, border-radius 1s var(--breathe);
}
.add .ico { width: 22px; height: 22px; transition: transform .7s var(--soft-out); }
.add:hover { background: var(--moss); border-radius: 44% 56% 50% 50% / 56% 44% 56% 44%; transform: scale(1.08); }
.add:hover .ico { transform: rotate(90deg); }
.add.is-done { background: var(--lime); color: var(--forest); }

.bento .pcard:nth-child(1) { grid-row: span 2; }
.bento .pcard:nth-child(1) .pcard__pod { min-height: 480px; }
.bento .pcard:nth-child(1) .pcard__pod .art { width: min(94%, 460px); }
.bento .pcard:nth-child(4) { grid-column: span 2; grid-template-columns: 1fr 1fr; grid-template-rows: auto; align-items: center; }
.bento .pcard:nth-child(4) .pcard__pod { min-height: 240px; }

.trending { padding-block: calc(var(--sec-pad) * .6) var(--sec-pad); }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.grid4 .pcard__pod { min-height: 0; aspect-ratio: 1 / .92; }
.grid4 .pcard__name { font-size: 18px; }

/* ---------- Categories ---------- */
.cats { padding-block: 0 var(--sec-pad); }
.cats__list { display: flex; flex-wrap: wrap; gap: 14px; }
.cat {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; gap: 16px;
  padding: 14px 30px 14px 14px; border-radius: var(--pill);
  background: var(--paper); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .08);
  font: 350 clamp(22px, 2.3vw, 34px)/1 var(--f-display); letter-spacing: -.03em; color: var(--forest);
  transition: color .6s, transform .8s var(--soft-out);
}
[dir="rtl"] .cat { padding: 14px 14px 14px 30px; }
.cat__ico {
  width: 64px; height: 64px; flex: none; display: grid; place-items: center;
  border-radius: 52% 48% 45% 55% / 55% 45% 55% 45%; background: var(--sage-3); color: var(--fern);
  transition: background .6s, color .6s, border-radius 1.4s var(--breathe), transform 1s var(--soft-out);
}
.cat__ico .ico { width: 30px; height: 30px; }
.cat::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--forest); border-radius: inherit; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--soft-out); }
[dir="rtl"] .cat::before { transform-origin: right; }
.cat:hover { color: var(--lichen); transform: translateY(-3px); }
.cat:hover::before { transform: scaleX(1); }
.cat:hover .cat__ico { background: var(--lime); color: var(--forest); border-radius: 44% 56% 58% 42% / 46% 58% 42% 54%; transform: rotate(-10deg); }
.cat:nth-child(3n+2) .cat__ico { background: var(--lime-2); }
.cat:nth-child(3n) .cat__ico { background: var(--clay-2); color: #8E523B; }

/* ---------- Seller band ---------- */
.band { padding-block: 0 var(--sec-pad); }
.band__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 72px); border-radius: var(--r-xl);
  background: var(--lime); color: var(--forest);
}
.band__card::before {
  content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; inset-inline-end: -12%; top: -30%;
  background: radial-gradient(closest-side, rgba(247, 249, 241, .55), transparent); border-radius: 50%;
}
.band__copy { display: grid; gap: 22px; }
.band .eyebrow { color: var(--moss); }
.band h2 { font: 300 clamp(48px, 6.4vw, 104px)/.92 var(--f-display); letter-spacing: -.05em; }
.band__text { font: 400 clamp(19px, 1.6vw, 23px)/1.45 var(--f-display); letter-spacing: -.01em; max-width: 30ch; }
.band__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.band .btn--line { --fill: var(--forest); }
.band__map { position: relative; display: grid; gap: 10px; }
.band__map canvas { width: 100%; height: auto; aspect-ratio: 16 / 10.5; }
.band__map figcaption { font-size: 14px; color: var(--moss); max-width: 46ch; }

/* ---------- Trust ---------- */
.trust { padding-block: 0 var(--sec-pad); }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid rgba(19, 48, 31, .12); }
.trust__item { display: grid; gap: 12px; align-content: start; padding: 34px clamp(16px, 2vw, 32px); }
.trust__item + .trust__item { border-inline-start: 1px solid rgba(19, 48, 31, .12); }
.trust__ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--sage-3); color: var(--fern); margin-bottom: 6px; }
.trust__ico .ico { width: 28px; height: 28px; }
.trust h3 { font: 450 20px/1.2 var(--f-display); letter-spacing: -.015em; }
.trust p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }

/* ---------- Footer ---------- */
.foot {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--forest); color: var(--lichen);
  border-radius: var(--r-xl) var(--r-xl) 0 0; padding-block: clamp(64px, 8vw, 120px) 32px;
}
.foot__veins { position: absolute; z-index: -1; inset-inline-end: -60px; bottom: -40px; width: clamp(260px, 34vw, 520px); color: var(--moss); opacity: .9; transform: rotate(-24deg); }
.foot__top { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot__tag { font: 250 clamp(40px, 4.6vw, 72px)/.98 var(--f-display); letter-spacing: -.045em; max-width: 14ch; color: var(--lichen); }
.foot__tag b { font-weight: 500; color: var(--lime); }
.foot h3 { font: 500 14px/1 var(--f-display); color: var(--sage); margin-bottom: 18px; }
.foot ul { display: grid; gap: 10px; }
.foot ul a { color: rgba(237, 242, 228, .86); transition: color .3s; }
.foot ul a:hover { color: var(--lime); }
.foot__word { margin-top: clamp(56px, 8vw, 120px); font: 200 clamp(56px, 12.4vw, 200px)/.8 "Outfit", sans-serif; letter-spacing: -.065em; color: var(--lime); white-space: nowrap; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(237, 242, 228, .14); font-size: 14px; color: rgba(237, 242, 228, .7); }
.foot .lang { background: rgba(237, 242, 228, .08); box-shadow: inset 0 0 0 1px rgba(237, 242, 228, .16); }
.foot .lang button { color: var(--lichen); }
.foot .lang button[aria-pressed="true"] { background: var(--lime); color: var(--forest); }
.foot__lang { display: flex; align-items: center; gap: 12px; }

/* ---------- Product page ---------- */
.crumbs { padding-top: 112px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font: 450 14px/1.3 var(--f-display); color: var(--ink-3); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline-start: 8px; color: var(--sage); }
.crumbs a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--forest); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-block: 24px var(--sec-pad); }
.viewer {
  position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1 / 1.02; border-radius: var(--r-xl);
  background:
    radial-gradient(70% 55% at 50% 42%, #F4F8EC, rgba(244, 248, 236, 0) 70%),
    linear-gradient(180deg, var(--sage-3), #C6D7BB);
  position: sticky; top: 96px;
}
.viewer__cells { position: absolute; inset: 0; z-index: -1; opacity: .55; }
.viewer__cells svg { width: 100%; height: 100%; }
.viewer__cells path { fill: none; stroke: rgba(76, 122, 71, .22); stroke-width: 1.3; }
.viewer__canvas { position: absolute; inset: 0; cursor: grab; touch-action: none; }
.viewer__canvas:active { cursor: grabbing; }
.viewer__canvas canvas { width: 100%; height: 100%; }
.viewer__fallback { position: absolute; inset: 10%; display: none; }
.viewer.no-3d .viewer__fallback { display: block; }
.viewer__hint {
  position: absolute; inset-inline-start: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 10px; border-radius: var(--pill); background: rgba(247, 249, 241, .82);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font: 500 13.5px/1 var(--f-display); color: var(--forest); pointer-events: none;
}
.viewer__hint .ico { width: 18px; height: 18px; color: var(--fern); }
.viewer__zoom { position: absolute; inset-inline-end: 18px; bottom: 18px; display: grid; gap: 8px; }
.viewer__badge { position: absolute; inset-inline-start: 20px; top: 20px; }

.buy { display: grid; gap: 26px; padding-top: 8px; }
.buy h1 { font: 280 clamp(44px, 5vw, 80px)/.95 var(--f-display); letter-spacing: -.045em; }
.buy__maker { color: var(--ink-2); font-size: 16px; margin-top: 14px; }
.buy__maker strong { font-weight: 650; color: var(--forest); }
.buy__price { font: 300 clamp(36px, 3.4vw, 50px)/1 var(--f-display); letter-spacing: -.03em; }
.buy__block { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(19, 48, 31, .12); }
.buy__label { display: flex; justify-content: space-between; gap: 12px; font: 500 15px/1.2 var(--f-display); }
.buy__label span:last-child { color: var(--ink-3); font-weight: 400; }
.matinfo { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: var(--pill); background: var(--paper); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .08); justify-self: start; }
[dir="rtl"] .matinfo { padding: 10px 10px 10px 16px; }
.matinfo .mat { font-size: 13.5px; padding: 7px 12px; }
.matinfo small { color: var(--ink-3); font-size: 14px; }
.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatch { display: grid; justify-items: center; gap: 8px; font: 450 13.5px/1.1 var(--f-display); color: var(--ink-2); }
.swatch__chip {
  width: 58px; height: 58px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .15), 0 0 0 0 var(--lichen), 0 0 0 0 var(--forest);
  transition: box-shadow .5s var(--soft-out), border-radius 1.2s var(--breathe), transform .7s var(--soft-out);
}
.swatch:hover .swatch__chip { transform: scale(1.06); border-radius: 46% 54% 50% 50% / 54% 46% 54% 46%; }
.swatch[aria-checked="true"] .swatch__chip { box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .15), 0 0 0 4px var(--lichen), 0 0 0 6px var(--forest); }
.swatch[aria-checked="true"] { color: var(--forest); font-weight: 600; }
.pod-note { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 20px; background: var(--lime-2); font: 500 15.5px/1.35 var(--f-display); }
.pod-note .ico { width: 24px; height: 24px; color: var(--fern); flex: none; }
.buy__act { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; height: 58px; padding: 6px; border-radius: var(--pill); background: var(--paper); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .12); }
.qty button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--forest); transition: background .3s; }
.qty button:hover { background: var(--sage-3); }
.qty .ico { width: 20px; height: 20px; }
.qty output { min-width: 34px; text-align: center; font: 600 18px/1 var(--f-display); }
.buy__act .btn { flex: 1; justify-content: center; min-height: 58px; font-size: 17px; }
.pdp-info { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 64px); padding-bottom: var(--sec-pad); }
.pdp-info h2 { font: 300 clamp(32px, 3.2vw, 48px)/1 var(--f-display); letter-spacing: -.035em; margin-bottom: 20px; }
.pdp-info p { color: var(--ink-2); font-size: 18px; max-width: 52ch; }
.pdp-info p + p { margin-top: 14px; }
.specs { display: grid; gap: 10px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; border-radius: var(--pill); background: var(--paper); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .06); }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; font: 500 16px/1.4 var(--f-display); text-align: end; }
.more { padding-bottom: var(--sec-pad); }

/* ---------- Sell page ---------- */
.shero { position: relative; padding-block: 128px clamp(56px, 8vw, 110px); }
.shero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.shero__copy { display: grid; gap: 26px; }
.shero h1 { font: 260 clamp(52px, 6.2vw, 104px)/.92 var(--f-display); letter-spacing: -.05em; }
.shero h1 span { display: block; }
.shero h1 span + span { font-weight: 540; }
.shero__lede { color: var(--ink-2); font-size: 19px; max-width: 40ch; }
.nolist { display: grid; gap: 12px; }
.nolist__label { font: 500 14px/1 var(--f-display); color: var(--ink-3); }
.nolist ul { display: flex; flex-wrap: wrap; gap: 10px; }
.nolist li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: var(--pill); background: var(--paper); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .08); font: 500 16px/1 var(--f-display); }
[dir="rtl"] .nolist li { padding: 10px 12px 10px 18px; }
.nolist .ico { width: 24px; height: 24px; color: var(--clay); }
.shero__map {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 160px 40px 160px 40px; padding: 4%;
  background: radial-gradient(90% 80% at 60% 45%, #1F4430, var(--forest)); aspect-ratio: 1 / .86;
  display: grid;
}
.shero__map canvas { position: absolute; inset: 4%; width: 92%; height: 92%; }
.shero__map figcaption { position: absolute; inset-inline-start: 50%; bottom: 9%; transform: translateX(-50%); font: 500 13px/1 var(--f-display); color: var(--sage); white-space: nowrap; }
[dir="rtl"] .shero__map figcaption { transform: translateX(50%); }

.ssteps { padding-block: calc(var(--sec-pad) * .7) var(--sec-pad); }
.ssteps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); counter-reset: s; }
.sstep {
  position: relative; display: grid; gap: 14px; align-content: start; min-height: 230px;
  padding: 28px; border-radius: var(--r-lg); background: var(--paper); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .06);
  overflow: hidden;
}
.sstep__top { display: flex; align-items: center; justify-content: space-between; }
.sstep__n { font: 200 64px/.8 var(--f-display); letter-spacing: -.05em; color: var(--sage); }
.sstep__ico { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 52% 48% 45% 55% / 55% 45% 55% 45%; background: var(--sage-3); color: var(--fern); }
.sstep__ico .ico { width: 28px; height: 28px; }
.sstep h3 { font: 450 22px/1.2 var(--f-display); letter-spacing: -.02em; margin-top: 18px; }
.sstep p { color: var(--ink-2); font-size: 15.5px; }
.sstep:nth-child(4) { background: var(--lime); }
.sstep:nth-child(4) .sstep__n { color: var(--moss); }
.sstep:nth-child(4) .sstep__ico { background: rgba(247, 249, 241, .6); color: var(--forest); }

.calc-sec { position: relative; isolation: isolate; background: var(--forest); color: var(--lichen); padding-block: var(--sec-pad); border-radius: var(--r-xl); overflow: hidden; }
.calc-sec__cells { position: absolute; inset: 0; z-index: -1; opacity: .5; }
.calc-sec__cells svg { width: 100%; height: 100%; }
.calc-sec__cells path { fill: none; stroke: #2B5136; stroke-width: 1.4; }
.calc-sec .sec-head h2 { color: var(--lichen); }
.sec-head .rates-tag, .rates-tag { font-size: 13.5px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--pill); background: rgba(211, 244, 94, .14); color: var(--lime); font: 600 13.5px/1 var(--f-display); box-shadow: inset 0 0 0 1px rgba(211, 244, 94, .35); }
.calc { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(16px, 2vw, 28px); }
.calc__in, .calc__out { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 40px); }
.calc__in { background: rgba(237, 242, 228, .06); box-shadow: inset 0 0 0 1px rgba(237, 242, 228, .12); display: grid; gap: 30px; align-content: start; }
.calc__out { background: var(--lichen); color: var(--forest); display: grid; gap: 22px; align-content: start; }
.field { display: grid; gap: 14px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__head label, .field legend, .field__head .lbl { font: 500 16px/1.2 var(--f-display); color: var(--lichen); padding: 0; }
.field__val { font: 300 30px/1 var(--f-display); letter-spacing: -.03em; color: var(--lime); }
.field__val small { font-size: 16px; color: var(--sage); margin-inline-start: 4px; letter-spacing: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: var(--pill); background: rgba(237, 242, 228, .08); }
.seg label { position: relative; display: grid; place-items: center; gap: 2px; padding: 10px 12px; border-radius: var(--pill); cursor: pointer; text-align: center; transition: background .5s var(--soft-out), color .4s; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg strong { font: 600 17px/1 var(--f-display); }
.seg small { font-size: 12.5px; color: var(--sage); }
.seg label:has(input:checked) { background: var(--lime); color: var(--forest); }
.seg label:has(input:checked) small { color: var(--moss); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 2px; }
.range { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; cursor: pointer; margin: 0; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--lime) var(--p), rgba(237, 242, 228, .16) var(--p)); }
.range::-moz-range-track { height: 8px; border-radius: 8px; background: rgba(237, 242, 228, .16); }
.range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--lime); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border: 0; border-radius: 50% 50% 50% 8%; background: var(--lime); box-shadow: 0 0 0 5px var(--forest), 0 0 0 6px rgba(211, 244, 94, .5); transform: rotate(-45deg); }
.range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50% 50% 50% 8%; background: var(--lime); box-shadow: 0 0 0 5px var(--forest), 0 0 0 6px rgba(211, 244, 94, .5); transform: rotate(-45deg); }
[dir="rtl"] .range::-webkit-slider-runnable-track { background: linear-gradient(-90deg, var(--lime) var(--p), rgba(237, 242, 228, .16) var(--p)); }
.range:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; border-radius: 10px; }
.range__ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--sage); margin-top: -6px; }
.priceinput { display: flex; align-items: center; gap: 10px; height: 64px; padding-inline: 20px 8px; border-radius: var(--pill); background: rgba(237, 242, 228, .08); box-shadow: inset 0 0 0 1.5px rgba(237, 242, 228, .25); transition: box-shadow .3s; }
[dir="rtl"] .priceinput { padding-inline: 20px 8px; }
.priceinput:focus-within { box-shadow: inset 0 0 0 2px var(--lime); }
.priceinput.is-bad { box-shadow: inset 0 0 0 2px #F0A684; }
.priceinput span { font: 500 16px/1 var(--f-display); color: var(--sage); }
.priceinput input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font: 300 30px/1 var(--f-display); color: var(--lichen); letter-spacing: -.02em; }
.priceinput input:focus { outline: none; }
.suggest { padding: 10px 14px; border-radius: var(--pill); background: rgba(211, 244, 94, .14); color: var(--lime); font: 500 13.5px/1.1 var(--f-display); white-space: nowrap; transition: background .3s; }
.suggest:hover { background: rgba(211, 244, 94, .26); }
.calc__msg { min-height: 1.4em; font: 500 15px/1.4 var(--f-display); color: var(--lime); }
.calc__msg.is-bad { color: #F6B496; }
.minbox { display: grid; gap: 6px; padding-bottom: 20px; border-bottom: 1px solid rgba(19, 48, 31, .12); }
.minbox__l { font: 500 15px/1.2 var(--f-display); color: var(--ink-2); display: flex; justify-content: space-between; gap: 10px; }
.minbox__v { font: 250 clamp(56px, 6vw, 92px)/.9 var(--f-display); letter-spacing: -.05em; }
.minbox__note { font-size: 13.5px; color: var(--ink-3); }
.breakdown { display: grid; gap: 2px; }
.breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 15.5px; border-bottom: 1px dashed rgba(19, 48, 31, .14); }
.breakdown dt { color: var(--ink-2); }
.breakdown dt small { color: var(--ink-3); font-size: 13px; margin-inline-start: 6px; }
.breakdown dd { margin: 0; font: 500 15.5px/1.4 var(--f-display); font-variant-numeric: tabular-nums; }
.split { display: grid; gap: 14px; padding: 22px; border-radius: 26px; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .07); }
.split__bar { display: flex; height: 18px; border-radius: var(--pill); overflow: hidden; background: var(--sage-3); }
.split__bar span { height: 100%; transition: flex-basis .9s var(--soft-out); }
.split__bar .s-min { background: var(--sage); }
.split__bar .s-you { background: var(--lime); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .12); }
.split__bar .s-us { background: var(--clay); }
.split__legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--ink-3); }
.split__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-inline-end: 6px; vertical-align: -1px; }
.split__rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.split__rows div { display: grid; gap: 6px; }
.split__rows dt { font-size: 13.5px; color: var(--ink-3); }
.split__rows dd { margin: 0; font: 400 24px/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.split__rows .you dd { font-weight: 600; color: var(--forest); }
.split__rows .you { padding: 10px 12px; margin: -10px -12px; border-radius: 16px; background: var(--lime-2); }

.rules { padding-block: calc(var(--sec-pad) * .35) var(--sec-pad); }
.rules__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.rules__lead { display: grid; gap: 20px; }
.rules__lead h2 { font: 280 clamp(38px, 4.4vw, 68px)/1 var(--f-display); letter-spacing: -.04em; }
.rules__lead p { color: var(--ink-2); font-size: 18px; max-width: 44ch; }
.reviewer { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: var(--pill); background: var(--sage-3); justify-self: start; font: 500 15.5px/1.3 var(--f-display); }
[dir="rtl"] .reviewer { padding: 14px 14px 14px 20px; }
.reviewer span:first-child { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--lime); flex: none; }
.reviewer .ico { width: 24px; height: 24px; }
.banned { display: grid; gap: 12px; }
.banned h3 { font: 500 15px/1 var(--f-display); color: var(--ink-3); margin-bottom: 6px; }
.banned li { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--pill); background: var(--paper); box-shadow: inset 0 0 0 1px rgba(19, 48, 31, .07); font: 400 clamp(19px, 1.7vw, 24px)/1.2 var(--f-display); letter-spacing: -.015em; }
.banned .ico { width: 30px; height: 30px; color: var(--clay); flex: none; }

.scta { padding-bottom: var(--sec-pad); }
.scta__card { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; text-align: center; gap: 22px; padding: clamp(48px, 7vw, 110px) var(--gutter); border-radius: var(--r-xl); background: var(--lime); }
.scta__card h2 { font: 280 clamp(40px, 5.2vw, 86px)/.98 var(--f-display); letter-spacing: -.045em; max-width: 16ch; text-wrap: balance; }
.scta__card p { font-size: 18px; color: var(--moss); }
.scta__veins { position: absolute; z-index: -1; width: 300px; color: rgba(76, 122, 71, .4); }
.scta__veins--a { inset-inline-start: -40px; bottom: -80px; transform: rotate(30deg); }
.scta__veins--b { inset-inline-end: -40px; top: -90px; transform: rotate(210deg); }

/* ---------- Sell: calculator (file based) ---------- */
.calc-wrap { padding-bottom: var(--sec-pad); }
.calc-sec { padding-block: clamp(48px, 7vw, 104px); }
.calc-sec__inner { padding-inline: clamp(18px, 4.4vw, 72px); }
.calc-head { align-items: start; }
.calc-head > div { gap: 16px; justify-items: start; }
.estnote {
  max-width: 440px; display: grid; gap: 10px; padding: 22px 24px; border-radius: 28px 28px 28px 8px;
  background: rgba(237, 242, 228, .07); box-shadow: inset 0 0 0 1px rgba(237, 242, 228, .14);
}
[dir="rtl"] .estnote { border-radius: 28px 28px 8px 28px; }
.estnote h3 { display: flex; align-items: center; gap: 10px; font: 500 17px/1.2 var(--f-display); color: var(--lime); }
.estnote h3 .ico { width: 22px; height: 22px; flex: none; }
.estnote p { font-size: 15px; line-height: 1.6; color: rgba(237, 242, 228, .82); }
.field legend { margin-bottom: 14px; }
.drop {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 26px;
  border: 1.5px dashed rgba(211, 244, 94, .45); background: rgba(211, 244, 94, .04);
  transition: background .4s, border-color .4s;
}
.drop.is-over { background: rgba(211, 244, 94, .12); border-color: var(--lime); }
.drop__ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50% 50% 50% 14%; background: rgba(211, 244, 94, .14); color: var(--lime); }
.drop__ico .ico { width: 26px; height: 26px; }
.drop__txt { display: grid; gap: 4px; }
.drop__t { font: 500 17px/1.2 var(--f-display); color: var(--lichen); }
.drop__s { font-size: 13.5px; color: var(--sage); }
.samples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sample {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 22px; cursor: pointer;
  background: rgba(237, 242, 228, .06); box-shadow: inset 0 0 0 1px rgba(237, 242, 228, .12);
  transition: background .5s var(--soft-out), box-shadow .5s, transform .6s var(--soft-out);
}
[dir="rtl"] .sample { padding: 8px 8px 8px 14px; }
.sample:hover { background: rgba(237, 242, 228, .1); transform: translateY(-2px); }
.sample input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.sample__art { width: 54px; height: 54px; flex: none; border-radius: 16px; background: var(--sage-3); display: grid; place-items: center; overflow: hidden; }
.sample__art .art { width: 118%; height: 118%; max-width: none; }
.sample__txt { display: grid; gap: 3px; min-width: 0; }
.sample__name { font: 500 15px/1.2 var(--f-display); color: var(--lichen); }
.sample__file { font-size: 12px; color: var(--sage); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sample:has(input:checked) { background: var(--lime); box-shadow: none; }
.sample:has(input:checked) .sample__name { color: var(--forest); font-weight: 600; }
.sample:has(input:checked) .sample__file { color: var(--moss); }
.sample:has(input:checked) .sample__art { background: var(--paper); }
.sample:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 3px; }
.est { position: relative; overflow: hidden; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(211, 244, 94, .1); color: var(--lime-2); font: 450 14.5px/1.5 var(--f-display); min-height: 3.4em; }
.est::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .5em; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(211, 244, 94, .2); }
.est.is-reading { color: var(--sage); }
.est.is-reading::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(211, 244, 94, .25), transparent); animation: scan .7s linear infinite; }
@keyframes scan { from { inset-inline-start: -40%; } to { inset-inline-start: 100%; } }
.field__link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font: 500 14px/1 var(--f-display); color: var(--lime); text-decoration: underline; text-decoration-color: rgba(211, 244, 94, .4); text-underline-offset: 4px; }
.field__link:hover { text-decoration-color: var(--lime); }
.field__link .ico { width: 16px; height: 16px; }
.breakdown .sub { border-bottom-style: solid; }
.breakdown .sub dt, .breakdown .sub dd { font-weight: 600; color: var(--forest); }
.breakdown .total { border-bottom: 0; }
.breakdown .total dd { font-weight: 700; }
.minbox__file { color: var(--fern); font-weight: 500; }

/* ---------- Sell: material guide ---------- */
.mguide { padding-block: 0 var(--sec-pad); }
.mtable-wrap { margin-inline: -12px; }
.mtable { width: 100%; border-collapse: separate; border-spacing: 12px 0; table-layout: fixed; }
.mtable thead td { width: 19%; background: none; border: 0; }
.mtable thead th { padding: 30px 28px 20px; text-align: start; background: var(--paper); border-radius: 44px 44px 0 0; vertical-align: bottom; }
.mtable thead th + th { background: var(--lime-2); }
.mhead { display: inline-flex; align-items: center; gap: 14px; font: 250 clamp(44px, 5vw, 76px)/.9 "Outfit", sans-serif; letter-spacing: -.05em; color: var(--forest); }
.mhead__dot { width: .42em; height: .42em; border-radius: 50% 50% 50% 18%; background: var(--sage); }
thead th + th .mhead__dot { background: var(--lime); box-shadow: inset 0 0 0 2px var(--fern); }
.mtable tbody th { padding: 18px 10px 18px 0; text-align: start; vertical-align: top; font: 500 15px/1.35 var(--f-display); color: var(--ink-3); border-top: 1px solid rgba(19, 48, 31, .1); }
[dir="rtl"] .mtable tbody th { padding: 18px 0 18px 10px; }
.mtable td { padding: 18px 28px; vertical-align: top; font-size: 16px; line-height: 1.5; color: var(--ink-2); background: var(--paper); border-top: 1px dashed rgba(19, 48, 31, .13); }
.mtable td + td { background: var(--lime-2); }
.mtable tbody tr:first-child td { border-top: 0; font: 400 clamp(19px, 1.7vw, 23px)/1.3 var(--f-display); letter-spacing: -.01em; color: var(--forest); padding-bottom: 26px; }
.mtable tbody tr:last-child td { border-radius: 0 0 44px 44px; padding-bottom: 34px; }
.mnotes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.mnote { padding: 20px 24px; border-radius: 26px; background: var(--sage-3); font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.mnote strong { font: 600 16px/1 var(--f-display); color: var(--forest); }
.mnote--warn { background: var(--clay-2); }

/* ---------- Toast / cart seed ---------- */
.seed-fly { position: fixed; z-index: 160; width: 16px; height: 20px; border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%; background: var(--lime); box-shadow: 0 0 0 2px var(--forest), 0 6px 18px rgba(19, 48, 31, .35); pointer-events: none; }
.toast {
  position: fixed; z-index: 140; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: var(--pill);
  background: var(--forest); color: var(--lichen); font: 500 15px/1.2 var(--f-display);
  box-shadow: 0 20px 50px -20px rgba(19, 48, 31, .6); transition: transform .8s var(--soft-out);
  max-width: calc(100vw - 32px);
}
.toast.is-on { transform: translate(-50%, 0); }
.toast .ico { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--lime); color: var(--forest); flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: 15px; }
  .search input { width: 160px; }
  .search input:focus { width: 190px; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(3) { border-inline-start: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid rgba(19, 48, 31, .12); }
  .foot__top { grid-template-columns: 1fr 1fr 1fr; }
  .foot__top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .nav, .hdr__tools .search { display: none; }
  .menu-btn { display: inline-grid; }
  .hdr__tools { margin-inline-start: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .pcard:nth-child(1) { grid-row: auto; grid-column: span 2; }
  .bento .pcard:nth-child(1) .pcard__pod { min-height: 360px; }
  .band__card, .shero__grid, .calc, .rules__grid, .pdp, .pdp-info { grid-template-columns: 1fr; }
  .viewer { position: relative; top: 0; }
  .ssteps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-head { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hdr { padding-top: 10px; }
  .hdr__bar { min-height: 56px; padding-inline: 8px 6px; }
  .logo__word { font-size: 17px; }
  .logo__mark { width: 34px; height: 34px; }
  .hdr__tools .lang { display: none; }
  .icon-btn { width: 44px; height: 44px; }

  .hero { --hero-size: 16.4vw; padding-block: 90px 32px; min-height: 0; }
  .hero__top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero__where { font-size: 14px; }
  .hero__title { grid-template-columns: 1fr; margin-top: 18px; }
  .hero__half--a { padding-top: 0; }
  .hero__pod { height: min(104vw, 440px); margin-block: -6px; }
  .hero__foot { grid-template-columns: 1fr; gap: 24px; margin-top: 18px; }
  .hero__tag { justify-self: start; order: -1; }
  .phases { justify-self: stretch; }
  .hero__ctas .btn { flex: 1; justify-content: center; }
  .hero__veins--a { top: 70%; }

  .impact { grid-template-columns: 1fr; }
  .impact li { min-height: 0; gap: 16px; padding: 26px 26px 28px; }
  .impact__n { font-size: 84px; }

  .how__steps { grid-template-columns: 1fr; gap: 44px; padding-inline-start: 18px; }
  .step, .step:nth-child(n) { padding-top: 0; grid-template-columns: 76px 1fr; column-gap: 18px; row-gap: 6px; }
  .step__bud { grid-row: span 3; margin: 0; }
  .step h3 { font-size: 23px; }

  .bento { grid-template-columns: 1fr; }
  .bento .pcard:nth-child(1), .bento .pcard:nth-child(4) { grid-column: auto; }
  .bento .pcard:nth-child(4) { grid-template-columns: 1fr; }
  .bento .pcard:nth-child(1) .pcard__pod { min-height: 300px; }
  .pcard__pod { min-height: 240px; }
  .grid4 { gap: 10px; }
  .grid4 .pcard { padding: 10px 10px 16px; border-radius: 24px; gap: 12px; }
  .grid4 .pcard__pod { border-radius: 18px; }
  .grid4 .pcard__body { padding-inline: 4px; gap: 4px; }
  .grid4 .pcard__name { font-size: 15.5px; }
  .grid4 .pcard__seller { font-size: 13px; }
  .grid4 .price { font-size: 16px; }
  .grid4 .mat { display: none; }
  .grid4 .add { width: 40px; height: 40px; }
  .sec-head--split { grid-template-columns: 1fr; }

  .cats__list { gap: 10px; }
  .cat { font-size: 21px; padding: 10px 22px 10px 10px; gap: 12px; }
  [dir="rtl"] .cat { padding: 10px 10px 10px 22px; }
  .cat__ico { width: 50px; height: 50px; }
  .cat__ico .ico { width: 26px; height: 26px; }

  .band__card { padding: 28px 22px 26px; }
  .band__map canvas { aspect-ratio: 1 / .95; }
  .shero__map { aspect-ratio: 1 / 1.05; }
  .trust__list { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-inline-start: 0; border-top: 1px solid rgba(19, 48, 31, .12); }
  .trust__item { grid-template-columns: 54px 1fr; column-gap: 16px; padding: 24px 0; }
  .trust__ico { grid-row: span 2; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__top > :first-child { grid-column: 1 / -1; }
  .foot__word { font-size: 15.6vw; }

  .crumbs { padding-top: 92px; }
  .viewer { aspect-ratio: 1 / 1.08; border-radius: 32px; }
  .viewer__zoom { top: 16px; bottom: auto; inset-inline-end: 14px; }
  .viewer__zoom .icon-btn { width: 40px; height: 40px; }
  .viewer__hint { inset-inline-start: 14px; bottom: 14px; font-size: 12.5px; }
  .buy__act .btn { flex-basis: 100%; }
  .qty { order: 0; }
  .shero { padding-top: 104px; }
  .shero .hero__ctas { flex-direction: column; align-items: stretch; }
  .shero__map { border-radius: 40px; }
  .ssteps__list { grid-template-columns: 1fr; }
  .sstep { min-height: 0; }
  .calc-sec { border-radius: 32px; }
  .split__rows { grid-template-columns: 1fr 1fr; }
  .split__rows dd { font-size: 20px; white-space: nowrap; }
  .calc-sec__inner { padding-inline: 14px; }
  .calc__in, .calc__out { padding: 22px 18px; }
  .split__rows .you { grid-column: 1 / -1; margin: 0; }
  .banned li { border-radius: 24px; }
  .samples { grid-template-columns: 1fr; }
  .calc-head { gap: 22px; }
  .mtable-wrap { margin-inline: 0; }
  .mtable, .mtable thead, .mtable tbody { display: block; }
  .mtable tr { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
  .mtable thead td { display: none; }
  .mtable thead th { padding: 20px 16px 12px; border-radius: 28px 28px 0 0; }
  .mhead { font-size: 36px; gap: 8px; }
  .mtable tbody th { grid-column: 1 / -1; padding: 16px 4px 8px; border-top: 0; }
  .mtable td { padding: 12px 14px 16px; font-size: 14.5px; border-top: 0; }
  .mtable tbody tr:first-child td { font-size: 16.5px; padding-bottom: 16px; }
  .mtable tbody tr:last-child td { border-radius: 0 0 28px 28px; padding-bottom: 22px; }
  .mnotes { grid-template-columns: 1fr; }
  .shero__map { border-radius: 110px 28px 110px 28px; }
}

/* Reduced motion: no ambient loops, instant state changes */
@media (prefers-reduced-motion: reduce) {
  .phases__replay { display: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- See it in your room (shared module: ../shared/room-view) ---------- */
:root {
  --rv-bg: #F7F9F1;
  --rv-surface: #EDF2E4;
  --rv-text: #13301F;
  --rv-muted: #4A6452;
  --rv-line: rgba(19, 48, 31, .16);
  --rv-accent: #D3F45E;
  --rv-accent-text: #13301F;
  --rv-radius: 22px;
  --rv-font: var(--f-body);
  --rv-font-display: var(--f-display);
}
.room-cta { display: grid; gap: 10px; margin-top: -10px; }
.btn--room { width: 100%; justify-content: center; min-height: 54px; }
.btn--room:hover .ico { transform: rotate(-8deg); }
.room-cta__note { text-align: center; font-size: 13.5px; color: var(--ink-3); }
