/* KET trees department — generated by ket/build_trees.py from ket-trees.html. Edit the design, not this file. */
/* yellow most of the way, the light green as a touch */
.kc.kc--trees{ --lime:#C4F5A4; --pink:#F8FA75; --blush:#F8FA75; --rose:#F8FA75; --pink-l:#FCFDD9; --yellow:#F8FA75; --yellow-l:#FCFDD9; --yellow-d:#E6E85A; }
:where(.kc--trees) .hero__pink, :where(.kc--trees) .hero__stat svg, :where(.kc--trees) .srow__plus{ color:var(--forest); }
:where(.kc--trees) .hero > .hero__h{ display:none; }   /* the photo opens the page; the words are in the planting banner */
:where(.kc--trees) .hero__media{ margin-top:clamp(36px, 4vw, 56px); }
/* ===================== TREES: watering loader ===================== */:where(.kc--trees) .loader{ background:var(--white); }
:where(.kc--trees) .wcard{ position:fixed; inset:max(10px, env(safe-area-inset-top, 0px)) 10px max(10px, env(safe-area-inset-bottom, 0px)); overflow:hidden; border-radius:28px; background:#FDFCA6; opacity:0; }   /* the watering picture, full screen inside a thin white border */:where(.kc--trees) .wcard > img{ position:absolute; bottom:0; left:-2%; width:110%; height:auto; max-width:none; transform-origin:50% 100%; }   /* zoomed out a touch: the yellow above her holds the words */@media (min-aspect-ratio:3/4){ :where(.kc--trees) .wcard > img{ left:0; width:100%; height:100%; object-fit:contain; object-position:50% 100%; -webkit-mask-image:linear-gradient(90deg, transparent calc(50% - 32vh), #000 calc(50% - 26vh), #000 calc(50% + 26vh), transparent calc(50% + 32vh)); mask-image:linear-gradient(90deg, transparent calc(50% - 32vh), #000 calc(50% - 26vh), #000 calc(50% + 26vh), transparent calc(50% + 32vh)); } :where(.kc--trees) .wcard__drops, :where(.kc--trees) .wcard__spark{ display:none; } }
:where(.kc--trees) .wcard__copy{ position:absolute; z-index:2; inset-inline:max(24px, env(safe-area-inset-left, 0px)); top:calc(9% + env(safe-area-inset-top, 0px)); display:grid; gap:10px; text-align:start; }
:where(.kc--trees) .wcard__copy h2{ font-size:clamp(34px, 9vw, 64px); font-weight:700; line-height:1.2; letter-spacing:-.02em; }
:where(.kc--trees) .wcard__copy p{ font-size:clamp(15px, 4vw, 20px); font-weight:600; line-height:1.5; max-width:30ch; }
html[dir="rtl"] :where(.kc--trees) .wcard__copy{ text-align:right; }
:where(.kc--trees) .wcard__drops i{ position:absolute; left:var(--x); top:var(--y); width:6px; height:9px; border-radius:50% 50% 50% 50% / 60% 60% 40% 40%; background:#2F6BFF; opacity:0; }
:where(.kc--trees) .wcard.is-on .wcard__drops i{ animation:kt-drop 1.1s var(--d) ease-in infinite; }
@keyframes kt-drop{ 0%{ opacity:0; transform:translateY(-10px) scale(.6); } 25%{ opacity:.9; } 100%{ opacity:0; transform:translateY(60px) scale(1); } }
:where(.kc--trees) .wcard__spark{ position:absolute; width:10px; height:10px; border-radius:50%; background:var(--lime); box-shadow:0 0 0 6px rgba(196,245,164,.35); opacity:0; }
:where(.kc--trees) .wcard__spark:nth-of-type(1){ left:24%; bottom:22%; } :where(.kc--trees) .wcard__spark:nth-of-type(2){ left:42%; bottom:30%; } :where(.kc--trees) .wcard__spark:nth-of-type(3){ left:14%; bottom:34%; }
:where(.kc--trees) .wcard.is-on .wcard__spark{ animation:kt-spark 1.6s ease-in-out infinite; } :where(.kc--trees) .wcard.is-on .wcard__spark:nth-of-type(2){ animation-delay:.5s; } :where(.kc--trees) .wcard.is-on .wcard__spark:nth-of-type(3){ animation-delay:1s; }
@keyframes kt-spark{ 0%,100%{ opacity:0; transform:scale(.4); } 50%{ opacity:1; transform:scale(1); } }

/* ===================== TREES: the initiative banner ===================== */:where(.kc--trees) .plant{ padding-top:var(--section); }
:where(.kc--trees) .plant__card{ position:relative; display:grid; overflow:hidden; isolation:isolate; border-radius:clamp(30px, 4vw, 60px); background:var(--yellow); min-height:min(78svh, 720px); }
@media (min-width:900px){ :where(.kc--trees) .plant__card{ grid-template-columns:1.1fr .9fr; align-items:center; } }
:where(.kc--trees) .plant__copy{ position:relative; z-index:2; display:grid; justify-items:start; gap:clamp(14px, 1.8vw, 22px); padding:clamp(26px, 5vw, 72px); }
:where(.kc--trees) .plant__ey{ display:inline-flex; align-items:center; gap:8px; height:34px; padding-inline:8px 14px; border-radius:var(--r-pill); background:var(--white); font-size:13px; font-weight:700; }
:where(.kc--trees) .plant__ey::before{ content:"🇸🇦"; font-size:16px; }
:where(.kc--trees) .plant__h.hero__h{ max-width:14ch; margin:0; text-align:start; font-size:clamp(36px, 5.4vw, 80px); line-height:1.15; }
html[lang="ar"] :where(.kc--trees) .plant__h.hero__h{ line-height:1.5; max-width:13ch; }
:where(.kc--trees) .plant__h .hero__pill{ background:var(--white); }
:where(.kc--trees) .plant__h .hero__pill--p{ background:var(--lime); }
:where(.kc--trees) .plant__h .hero__mark{ --ms:1; }
:where(.kc--trees) .plant__h .hero__mark::before{ background:var(--lime); transform:scaleX(var(--ms)); }
:where(.kc--trees) .plant__sub{ font-size:clamp(16px, 1.5vw, 20px); font-weight:500; line-height:1.7; max-width:34ch; }
:where(.kc--trees) .plant__btns{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; }
:where(.kc--trees) .plant__shop{ font-weight:700; font-size:15px; text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:2px; }
:where(.kc--trees) .plant__art{ position:relative; height:100%; min-height:clamp(380px, 52vw, 640px); }
:where(.kc--trees) .plant__sun{ position:absolute; z-index:-1; width:72%; aspect-ratio:1; border-radius:50%; background:var(--lime); left:50%; top:46%; translate:-50% -50%; opacity:.9; }
:where(.kc--trees) .plant__woman{ position:absolute; bottom:4%; inset-inline-start:14%; height:92%; width:auto; max-width:none; animation:kt-sway 6s ease-in-out infinite; transform-origin:50% 100%; }
html[dir="rtl"] :where(.kc--trees) .plant__woman{ inset-inline-start:auto; inset-inline-end:34%; }
:where(.kc--trees) .plant__soil{ position:absolute; bottom:5%; inset-inline-end:8%; width:34%; transform-origin:50% 100%; }
html[dir="rtl"] :where(.kc--trees) .plant__soil{ inset-inline-end:auto; inset-inline-start:6%; }
:where(.kc--trees) .plant__sprout{ display:block; width:100%; height:auto; transform-origin:50% 92%; animation:kt-breeze 4.5s ease-in-out infinite; }
@keyframes kt-sway{ 0%,100%{ transform:rotate(0); } 50%{ transform:rotate(-1.2deg); } }
@keyframes kt-breeze{ 0%,100%{ rotate:0deg; } 50%{ rotate:3deg; } }
:where(.kc--trees) .plant__leaf{ position:absolute; width:16px; height:10px; border-radius:100% 0; background:#2E9F4D; opacity:0; animation:kt-leaf 7s linear infinite; }
:where(.kc--trees) .plant__leaf:nth-of-type(1){ left:60%; top:10%; } :where(.kc--trees) .plant__leaf:nth-of-type(2){ left:78%; top:4%; animation-delay:2.3s; } :where(.kc--trees) .plant__leaf:nth-of-type(3){ left:40%; top:0; animation-delay:4.6s; }
@keyframes kt-leaf{ 0%{ opacity:0; transform:translate(0, 0) rotate(0); } 10%{ opacity:.9; } 100%{ opacity:0; transform:translate(-60px, 360px) rotate(320deg); } }
@media (max-width:899px){
  :where(.kc--trees) .plant__card{ min-height:0; }
  :where(.kc--trees) .plant__copy{ padding-bottom:0; }
  :where(.kc--trees) .plant__art{ min-height:340px; }
  :where(.kc--trees) .plant__woman{ height:96%; }
}

/* the "we plant" strip */:where(.kc--trees) .weplant{ padding-top:clamp(28px, 4vw, 56px); }
:where(.kc--trees) .wp{ display:grid; grid-template-columns:1fr 1.25fr .9fr 1.25fr; gap:clamp(6px, 1vw, 14px); }
:where(.kc--trees) .wp__p{ position:relative; display:grid; place-items:center; height:clamp(74px, 12vw, 170px); border-radius:999px; overflow:hidden; font-size:clamp(20px, 3.6vw, 52px); font-weight:700; letter-spacing:-.02em; }
:where(.kc--trees) .wp__p--w{ background:var(--g100); }
:where(.kc--trees) .wp__p--y{ background:var(--yellow); }
:where(.kc--trees) .wp__p--y svg{ width:clamp(26px, 4vw, 52px); height:auto; }
:where(.kc--trees) .wp__p--ph img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
:where(.kc--trees) .wp__p--ph b{ position:relative; color:var(--white); text-shadow:0 2px 16px rgba(0,0,0,.35); }
@media (max-width:640px){ :where(.kc--trees) .wp{ grid-template-columns:1fr 1fr; } :where(.kc--trees) .wp__p{ height:86px; font-size:24px; } }

:where(.kc--trees) .help .help__img img{ object-fit:cover; mix-blend-mode:normal; padding:0; }   /* a room photo, not a cut-out: it fills the square */
/* the hero photo: the sofa (portrait): her face stays in view on wide screens */:where(.kc--trees) .hero__card > #heroImg{ object-position:68% 16%; }
@media (min-width:768px){ :where(.kc--trees) .hero .hero__card{ aspect-ratio:838 / 520; } }
@media (max-width:767px){ :where(.kc--trees) .hero__card > #heroImg{ object-position:62% 24%; } }

/* ===================== TREES: the initiative page ===================== */:where(.kc--trees) .green{ width:min(100%, 980px); max-width:none; max-height:none; height:auto; margin:auto; padding:0; border:0; background:none; overflow:visible; }
:where(.kc--trees) .green::backdrop{ background:rgba(20,22,0,.45); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); }
:where(.kc--trees) .green__in{ position:relative; display:grid; max-height:calc(100svh - 32px); overflow:auto; margin:16px; border-radius:32px; background:var(--yellow-l); color:var(--black); }
@media (min-width:860px){ :where(.kc--trees) .green__in{ grid-template-columns:.9fr 1.1fr; } }
:where(.kc--trees) .green__x{ position:absolute; z-index:3; top:12px; inset-inline-end:12px; background:var(--white); }
:where(.kc--trees) .green__ph{ position:relative; min-height:260px; }
:where(.kc--trees) .green__ph > img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
:where(.kc--trees) .green__sprout{ position:absolute; bottom:-6px; inset-inline-start:8%; width:34%; transform-origin:50% 100%; }
:where(.kc--trees) .green__sprout img{ width:100%; height:auto; display:block; }
:where(.kc--trees) .green__copy{ display:grid; gap:14px; align-content:start; padding:clamp(22px, 4vw, 48px); }
:where(.kc--trees) .green__copy .plant__ey{ justify-self:start; background:var(--yellow); }
:where(.kc--trees) .green__copy h2{ font-size:clamp(26px, 3.2vw, 40px); font-weight:700; line-height:1.35; }
:where(.kc--trees) .green__copy p{ font-size:15.5px; line-height:1.85; }
:where(.kc--trees) .green__lead{ font-weight:700; font-size:17px!important; }
:where(.kc--trees) .green__quote{ padding:12px 16px; border-radius:16px; background:var(--lime); font-weight:700; }
:where(.kc--trees) .btn-green{ justify-self:start; background:var(--forest); color:var(--white); margin-top:6px; }
:where(.kc--trees) .btn-green .arr{ background:var(--yellow); }

