/* Aldawlia theme — component styles. Tokens live in theme.json. */
:root{
  --ald-green:var(--wp--preset--color--primary,#3F9A0E);
  --ald-green-d:var(--wp--preset--color--primary-dark,#2F7A0B);
  --ald-yellow:var(--wp--preset--color--accent,#F6C60A);
  --ald-ink:var(--wp--preset--color--ink,#141414);
  --ald-ink2:var(--wp--preset--color--ink-2,#1C1C1C);
  --ald-muted:var(--wp--preset--color--muted,#4A4F47);
  --ald-line:var(--wp--preset--color--line,#E3E7DE);
  --ald-tint:var(--wp--preset--color--tint,#EAF5E1);
  --ald-radius:16px;
  --ald-wide:1240px;
}
:lang(en) body, body:lang(en), :lang(fr) body, body:lang(fr){font-family:var(--wp--preset--font-family--manrope)}
html:lang(en), html:lang(fr){font-family:var(--wp--preset--font-family--manrope)}
html:lang(en) body, html:lang(fr) body{font-family:var(--wp--preset--font-family--manrope)}
/* 0.8.13 Chinese: Manrope for Latin and digits, the visitor's system CJK font for Chinese characters. */
html:lang(zh), html:lang(zh) body{font-family:Manrope,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Source Han Sans SC","Noto Sans CJK SC",sans-serif;letter-spacing:0}
html:lang(zh) h1,html:lang(zh) h2,html:lang(zh) h3{letter-spacing:0;line-height:1.35}
html:lang(zh) p,html:lang(zh) li{line-height:1.85}
body{margin:0;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
.wp-site-blocks{padding:0}
.wp-site-blocks > *{margin-block-start:0}
:where(.wp-site-blocks) > main{margin:0}
.ald-wrap{max-width:var(--ald-wide);margin-inline:auto;padding-inline:24px;box-sizing:border-box;width:100%}
.ald-section{padding-block:clamp(48px,7vw,88px)}
.ald-eyebrow{margin:0;font-size:14px;font-weight:800;color:var(--ald-green-d)}
.ald-dark .ald-eyebrow{color:var(--ald-yellow)}
.ald-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:32px}
.ald-head > div{display:flex;flex-direction:column;gap:10px}
.ald-head h2,.ald-section h2{margin:0}
.ald-more{font-weight:800;text-decoration:none}
.ald-more a{text-decoration:none;font-weight:800}
.ald-card-link{text-decoration:none;color:inherit}
:focus-visible{outline:3px solid var(--ald-yellow);outline-offset:3px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}

/* Buttons */
.wp-block-button.is-style-light .wp-block-button__link{background:#fff;color:var(--ald-ink)}
.wp-block-button.is-style-light .wp-block-button__link:hover{background:var(--ald-tint);color:var(--ald-ink)}
.wp-block-button.is-style-dark .wp-block-button__link{background:var(--ald-ink);color:#fff}
.wp-block-button.is-style-dark .wp-block-button__link:hover{background:#000;color:#fff}
.wp-block-buttons{gap:12px}

/* Header */
.ald-header{background:#fff;border-bottom:1px solid var(--ald-line);position:sticky;top:0;z-index:50}
.admin-bar .ald-header{top:32px}
.ald-header__inner{max-width:var(--ald-wide);margin-inline:auto;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:nowrap}
.ald-logo{margin:0}
.ald-logo img{height:58px;width:auto;display:block}
.ald-nav{font-size:15px;font-weight:700}
.ald-nav .wp-block-navigation__container{gap:26px}
.ald-nav a{text-decoration:none;color:var(--ald-ink)}
.ald-nav a:hover,.ald-nav .current-menu-item > a{color:var(--ald-green-d)}
.ald-header__actions{display:flex;align-items:center;gap:14px;margin:0}
.ald-lang{margin:0;font-size:14px;font-weight:700}
.ald-lang a{text-decoration:none;color:var(--ald-ink);display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center}
.ald-header .wp-block-button__link{padding:12px 22px;font-size:15px}
.ald-nav{flex-wrap:nowrap}
@media (max-width:599px){.ald-nav .wp-block-navigation__responsive-container-open:not(.always-shown){width:44px;height:44px;border-radius:10px;background:var(--ald-tint);color:var(--ald-green-d);display:flex;align-items:center;justify-content:center}}

/* Hero */
.ald-hero{position:relative;min-height:640px;display:flex;align-items:flex-end;overflow:hidden;background:#1E3312;color:#fff}
.ald-hero > .ald-hero-img{position:absolute;inset:0;margin:0}
.ald-hero > .ald-hero-img img{width:100%;height:100%;object-fit:cover;object-position:center 60%}
.ald-hero-img picture{display:contents}
.ald-hero::after{content:"";position:absolute;inset:0;background:rgba(14,24,8,.58);pointer-events:none}
.ald-hero__content{position:relative;z-index:1;max-width:var(--ald-wide);width:100%;margin-inline:auto;padding:0 24px 72px;box-sizing:border-box;display:flex;flex-direction:column;gap:20px}
.ald-hero h1{color:#fff;margin:0;max-width:820px}
.ald-hero p{margin:0;font-size:clamp(16px,1.6vw,20px);color:#E4ECDC;max-width:680px}
.ald-badge{align-self:flex-start;margin:0;background:var(--ald-yellow);color:var(--ald-ink);font-size:14px;font-weight:800;padding:6px 14px;border-radius:999px;line-height:1.5}
.ald-breadcrumb{margin:0;font-size:14px;color:#E4ECDC}
.ald-breadcrumb a{color:#fff;text-decoration:none}

/* Stats strip */
.ald-stats{max-width:var(--ald-wide);margin:-48px auto 0;padding-inline:24px;position:relative;z-index:2;box-sizing:border-box}
.ald-stats__box{background:#fff;border-radius:var(--ald-radius);box-shadow:0 10px 30px rgba(20,20,20,.08);padding:28px 32px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px}
.ald-stat{display:flex;flex-direction:column;gap:6px}
.ald-stat > *{margin:0}
.ald-stat__v{font-size:34px;font-weight:800;color:var(--ald-green-d);line-height:1.2}
.ald-stat__k{font-size:15px;color:var(--ald-muted)}

/* Card grids */
.ald-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:22px}
.ald-card{background:#fff;border:1px solid var(--ald-line);border-radius:var(--ald-radius);overflow:hidden;display:flex;flex-direction:column}
.ald-card > .wp-block-image{margin:0}
.ald-card > .wp-block-image img{height:200px;width:100%;object-fit:cover;display:block}
.ald-card__body{padding:22px;display:flex;flex-direction:column;gap:10px}
.ald-card__body > *{margin:0}
.ald-card__body h3{font-size:21px}
.ald-card__body h3 a{color:var(--ald-ink);text-decoration:none}
.ald-card__body h3 a:hover{color:var(--ald-green-d)}
.ald-card__body p{font-size:15px;color:var(--ald-muted)}
.ald-card__more a{font-weight:800;text-decoration:none;font-size:15px}

/* Dark cycle */
.ald-dark{background:var(--ald-ink);color:#fff}
.ald-dark h2,.ald-dark h3{color:#fff}
.ald-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:2px;background:#2C2C2C;border-radius:var(--ald-radius);overflow:hidden}
.ald-step{background:var(--ald-ink2);padding:28px;display:flex;flex-direction:column;gap:14px}
.ald-step > *{margin:0}
.ald-step__n{font-size:44px;font-weight:800;color:var(--ald-yellow);line-height:1}
.ald-step h3{font-size:22px}
.ald-step p{font-size:15px;color:#C9CEC4}
.ald-steps--light{background:var(--ald-line)}
.ald-steps--light .ald-step{background:#fff}
.ald-steps--light .ald-step__n{color:var(--ald-green-d)}
.ald-steps--light .ald-step p{color:var(--ald-muted)}
.ald-steps--light h3{color:var(--ald-ink)}

/* Split media */
.ald-split{display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.ald-split > .wp-block-image{flex:1 1 500px;min-width:0;margin:0}
.ald-split > .wp-block-image img{width:100%;height:420px;object-fit:cover;border-radius:20px;display:block}
.ald-split__text{flex:1 1 420px;display:flex;flex-direction:column;gap:18px}
.ald-split__text > *{margin:0}
.ald-checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.ald-checks li{display:flex;gap:12px;align-items:center;font-size:17px}
.ald-checks li::before{content:"";flex:none;width:28px;height:28px;border-radius:14px;background:var(--ald-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7A0B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat}

/* Projects */
.ald-tint{background:var(--ald-tint)}
.ald-card--project{border:0}
.ald-card--project > .wp-block-image img{height:220px}
.ald-tag{font-size:13px!important;font-weight:800;color:var(--ald-green-d)!important}
.ald-metrics{display:flex;gap:18px;flex-wrap:wrap;font-size:15px;color:var(--ald-muted)}
.ald-metrics strong{color:var(--ald-ink)}

/* Why us */
.ald-why{display:flex;flex-wrap:wrap;gap:40px}
.ald-why__intro{flex:1 1 380px;display:flex;flex-direction:column;gap:14px}
.ald-why__intro > *{margin:0}
.ald-why__grid{flex:2 1 560px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ald-feature{background:#fff;border:1px solid var(--ald-line);border-radius:var(--ald-radius);padding:24px;display:flex;flex-direction:column;gap:10px}
.ald-feature > *{margin:0}
.ald-feature::before{content:"";width:44px;height:44px;border-radius:12px;background:var(--ald-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/22px no-repeat}
.ald-feature h3{font-size:18px}
.ald-feature p{font-size:15px;color:var(--ald-muted);line-height:1.7}

/* CTA */
.ald-cta{background:var(--ald-green);color:#fff;border-radius:24px;padding:clamp(24px,4vw,48px);display:flex;flex-wrap:wrap;gap:36px;align-items:center}
.ald-cta__text{flex:1 1 340px;display:flex;flex-direction:column;gap:12px}
.ald-cta__text > *{margin:0}
.ald-cta h2{color:#fff;font-size:clamp(24px,3vw,36px)}
.ald-cta p{color:#EFF7E8;font-size:18px}
.ald-cta .ald-cta__actions p{color:var(--ald-muted);font-size:15px}
.ald-cta .ald-cta__actions p strong{color:var(--ald-ink)}
.ald-cta__actions{flex:1 1 360px;background:#fff;border-radius:var(--ald-radius);padding:24px;color:var(--ald-ink);display:flex;flex-direction:column;gap:14px}
.ald-cta__actions > *{margin:0}
.ald-cta__actions .wp-block-buttons{flex-direction:column;align-items:stretch}
.ald-cta__actions .wp-block-button{width:100%}
.ald-cta__actions .wp-block-button__link{width:100%;box-sizing:border-box;text-align:center}
.ald-note{font-size:14px;color:var(--ald-muted)}

/* Service page */
.ald-hero--service{min-height:560px}
.ald-facts{max-width:var(--ald-wide);margin:-40px auto 0;padding-inline:24px;position:relative;z-index:2;box-sizing:border-box}
.ald-facts__box{background:#fff;border-radius:var(--ald-radius);box-shadow:0 10px 30px rgba(20,20,20,.08);padding:24px 28px;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
.ald-fact{display:flex;flex-direction:column;gap:4px}
.ald-fact > *{margin:0}
.ald-fact__k{font-size:14px;color:var(--ald-muted)}
.ald-fact__v{font-size:18px;font-weight:800}
.ald-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:40px}
.ald-two > div{display:flex;flex-direction:column;gap:14px}
.ald-two > div > *{margin:0}
.ald-table table{width:100%;border-collapse:collapse;background:#fff;border-radius:12px;overflow:hidden;font-size:15px}
.ald-table th{background:var(--ald-tint);color:var(--ald-ink);text-align:start;padding:14px 16px;font-weight:800}
.ald-table td{padding:14px 16px;border-top:1px solid var(--ald-line)}
.ald-table{margin:0;overflow-x:auto}
.ald-infobox{background:#fff;border:1px solid var(--ald-line);border-radius:var(--ald-radius);padding:20px;display:flex;flex-direction:column;gap:6px}
.ald-infobox > *{margin:0}
.ald-faq{display:flex;flex-direction:column;gap:12px;max-width:900px}
.ald-faq .wp-block-details{background:#fff;border:1px solid var(--ald-line);border-radius:14px;padding:0}
.ald-faq summary{cursor:pointer;padding:18px 22px;font-weight:800;font-size:17px;list-style:none;display:flex;justify-content:space-between;gap:16px}
.ald-faq summary::-webkit-details-marker{display:none}
.ald-faq summary::after{content:"+";color:var(--ald-green-d);font-size:22px;line-height:1}
.ald-faq details[open] summary::after{content:"−"}
.ald-faq details > :not(summary){padding:0 22px 18px;margin:0;color:var(--ald-muted)}
.ald-related .ald-card > .wp-block-image img{height:160px}

/* Footer */
.ald-footer{background:var(--ald-ink);color:#C9CEC4;font-size:15px;line-height:1.9}
.ald-footer__grid{max-width:var(--ald-wide);margin-inline:auto;padding:56px 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:28px;box-sizing:border-box}
.ald-footer__grid > div{display:flex;flex-direction:column;gap:6px}
.ald-footer__grid > div > *{margin:0}
.ald-footer h2{color:#fff;font-size:16px}
.ald-footer a{color:#C9CEC4;text-decoration:none}
.ald-footer a:hover{color:#fff}
.ald-footer .ald-logo img{width:92px;height:92px;object-fit:contain;background:#fff;border-radius:14px;padding:6px}
.ald-footer__bottom{border-top:1px solid #2C2C2C;text-align:center;padding:16px 24px;font-size:13px;margin:0}

/* Sticky mobile bar (WhatsApp + call) */
body .wp-block-buttons.ald-mobilebar{display:none}
@media (max-width:781px){
  body .wp-block-buttons.ald-mobilebar{flex-wrap:nowrap}
  body .ald-mobilebar .wp-block-button__link{color:#fff;font-weight:800}
  .ald-header__inner{justify-content:flex-start;gap:12px}
  .ald-header__actions{margin-inline-start:auto}
  .ald-nav{order:3}
  body .wp-block-buttons.ald-mobilebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;box-shadow:0 -6px 18px rgba(20,20,20,.08);padding:10px 16px calc(10px + env(safe-area-inset-bottom));margin:0}
  .ald-mobilebar .wp-block-button{width:100%}
  .ald-mobilebar .wp-block-button__link{width:100%;box-sizing:border-box;height:50px;display:flex;align-items:center;justify-content:center;padding:0}
  .ald-footer{padding-bottom:80px}
  .ald-header__inner{padding:10px 16px}
  .ald-logo img{height:48px}
  .ald-header .ald-cta-btn{display:none}
  .ald-hero{min-height:560px}
  .ald-hero__content{padding:0 16px 36px;gap:14px}
  .ald-hero .wp-block-buttons{flex-direction:column;align-items:stretch}
  .ald-hero .wp-block-button__link{width:100%;box-sizing:border-box;text-align:center}
  .ald-wrap,.ald-stats,.ald-facts{padding-inline:16px}
  .ald-stats{margin-top:-24px}
  .ald-stats__box{grid-template-columns:repeat(2,minmax(0,1fr));padding:18px;gap:16px}
  .ald-stat__v{font-size:22px}
  .ald-stat__k{font-size:13px}
  .ald-why__grid{grid-template-columns:1fr}
  .ald-split > .wp-block-image img{height:220px}
  .ald-card > .wp-block-image img{height:180px}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* 0.1.5 fixes */
.ald-steps > *{margin:0 !important}
.ald-table thead{border:0}
.ald-table th,.ald-table td{border:0;border-top:1px solid var(--ald-line)}
.ald-table thead th{border-top:0}
.ald-table table{border:1px solid var(--ald-line)}
.ald-facts__box > *{margin:0}
@media (max-width:781px){
  .ald-facts__box{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px;padding:20px}
  .ald-fact strong,.ald-fact p:last-child{font-size:15px}
  .ald-table table{font-size:14px}
  .ald-table th,.ald-table td{padding:12px 10px}
}

/* 0.2.1: breathing room when the CTA follows a full-width tinted/dark band */
.ald-tint + #quote, .ald-dark + #quote{margin-top:clamp(48px,7vw,88px)}

/* 0.3.0: EN/FR (LTR) — longer copy */
.ald-hero__content{padding-top:56px}
@media (max-width:781px){
  .ald-hero__content{padding-top:40px}
  .ald-cta{padding:20px}
  .ald-cta__actions{padding:18px}
  .ald-cta__actions .wp-block-button__link{padding-inline:12px}
}
html:lang(en) .ald-hero h1, html:lang(fr) .ald-hero h1,html:lang(zh) .ald-hero h1{font-size:clamp(30px,3.5vw,52px)}
@media (max-width:781px){
  html:lang(en) .ald-hero .ald-badge, html:lang(fr) .ald-hero .ald-badge,html:lang(zh) .ald-hero .ald-badge{font-size:14px;border-radius:12px}
}
.ald-lang a[lang="ar"]{font-family:var(--wp--preset--font-family--almarai)}
/* 0.3.0: menu button (hamburger) up to 1199px, so tablets don't squeeze the 7 links; all languages */
@media (min-width:600px) and (max-width:1199px){
  .ald-nav .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex;width:44px;height:44px;border-radius:10px;background:var(--ald-tint);color:var(--ald-green-d);align-items:center;justify-content:center}
  .ald-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open){display:none}
  .ald-header__inner{justify-content:flex-start;gap:12px}
  .ald-header__actions{margin-inline-start:auto}
  .ald-nav{order:3}
}

/* ==========================================================================
   0.4.0 — sticky header, hero slider, counters, entrance animations
   ========================================================================== */
:root{--ald-ease:cubic-bezier(.22,.61,.36,1);--ald-ease-out:cubic-bezier(.16,1,.3,1);--ald-pop:cubic-bezier(.34,1.56,.64,1);--ald-from:-1;--ald-start-x:left}
html[dir="rtl"]{--ald-from:1;--ald-start-x:right}

/* Sticky header: the header is alone inside the template-part wrapper, so the wrapper is what sticks. */
.wp-site-blocks > .wp-block-template-part:has(> .ald-header){position:sticky;top:0;z-index:70}
.admin-bar .wp-site-blocks > .wp-block-template-part:has(> .ald-header){top:32px}
@media (max-width:782px){.admin-bar .wp-site-blocks > .wp-block-template-part:has(> .ald-header){top:46px}}
@media (max-width:600px){.admin-bar .wp-site-blocks > .wp-block-template-part:has(> .ald-header){top:0}}
.wp-block-template-part > .ald-header{position:relative;top:auto}
.ald-header{transition:box-shadow .3s ease,border-color .3s ease}
.is-stuck > .ald-header{box-shadow:0 8px 28px rgba(20,20,20,.09);border-bottom-color:transparent}
html{scroll-padding-top:100px}
@media (max-width:781px){html{scroll-padding-top:84px;scroll-padding-bottom:calc(84px + env(safe-area-inset-bottom))}}
/* Short screens (landscape phones, 400% zoom): the header scrolls away again, so it does not
   cover a third or more of the screen together with the bottom bar. */
@media (max-height:500px){.wp-site-blocks > .wp-block-template-part:has(> .ald-header),.admin-bar .wp-site-blocks > .wp-block-template-part:has(> .ald-header){position:relative;top:auto}html{scroll-padding-top:0}}
/* Print: the header once, at the top (a sticky box would be printed where the page was scrolled to). */
@media print{.wp-site-blocks > .wp-block-template-part:has(> .ald-header){position:static}}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* Stats: four in one row (tablet and up), 2 × 2 on phones; centred with dividers. */
.ald-stats__box{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:28px 12px}
.ald-stat{align-items:center;text-align:center;padding:4px 16px}
.ald-stat + .ald-stat{border-inline-start:1px solid var(--ald-line)}
.ald-stat__v{white-space:nowrap;font-variant-numeric:tabular-nums}
@media (max-width:781px){.ald-stats__box{padding:16px 6px}.ald-stat{padding:4px 8px}}
@media (max-width:599px){
 .ald-stats__box{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px}
 .ald-stat{padding:14px 8px}
 .ald-stat:nth-child(3){border-inline-start:0}
 .ald-stat:nth-child(n+3){border-top:1px solid var(--ald-line)}
}
.ald-count{display:inline-block;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Project metrics: one readable line, numbers stand out. */
.ald-metrics{display:block;line-height:1.9}
.ald-metrics strong{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}

/* Cards: image clipped to its frame; gentle zoom on hover. */
.ald-card > .wp-block-image{overflow:hidden}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
 .ald-card > .wp-block-image img{transition:transform .7s var(--ald-ease-out)}
 .ald-card:hover > .wp-block-image img{transform:scale(1.05)}
}

/* Hero slider */
.ald-hero--slider{min-height:680px}
/* Horizontal drags go to the slider (swipe) only once it is ready, and never while the page is pinch-zoomed. */
.ald-hero--slider.is-ready:not(.is-zoomed){touch-action:pan-y pinch-zoom}
.ald-hero--slider .ald-hero__content{padding-bottom:96px}
/* With JS on (.ald-js is set in <head>), the controls' room is kept from the first paint
   and they sit in it, so adding them later moves nothing on the page (no layout shift). */
.ald-js .ald-hero--slider .ald-hero__content{padding-bottom:178px}
/* direction:ltr — in RTL an overflow box scrolls from the right edge, and a slide moving in from the left
   was reported as a large layout shift (CLS) after every change. Slide motion is unaffected. */
.ald-slides{position:absolute;inset:0;z-index:0;margin:0;overflow:hidden;direction:ltr}
.ald-slides > .ald-slide{position:absolute;inset:0;margin:0;overflow:hidden;visibility:hidden}
.ald-slides > .ald-slide.is-active,.ald-slides > .ald-slide.is-leaving{visibility:visible}
.ald-slides > .ald-slide.is-active{z-index:2}
.ald-slides > .ald-slide.is-leaving{z-index:1}
.ald-slides .ald-slide img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 60%}
.ald-slides .ald-slide figcaption{display:none}
.ald-hero--slider::after{background:linear-gradient(to top,rgba(14,24,8,.7) 0%,rgba(14,24,8,0) 50%),linear-gradient(to right,rgba(14,24,8,.8) 0%,rgba(14,24,8,.62) 75%,rgba(14,24,8,.3) 100%)}
html[dir="rtl"] .ald-hero--slider::after{background:linear-gradient(to top,rgba(14,24,8,.7) 0%,rgba(14,24,8,0) 50%),linear-gradient(to left,rgba(14,24,8,.8) 0%,rgba(14,24,8,.62) 75%,rgba(14,24,8,.3) 100%)}
/* Tablets: the text runs almost the full width, so the overlay is even (text contrast on every photo). */
@media (min-width:782px) and (max-width:1199px){.ald-hero--slider::after,html[dir="rtl"] .ald-hero--slider::after{background:linear-gradient(to top,rgba(14,24,8,.7) 0%,rgba(14,24,8,0) 50%),rgba(14,24,8,.6)}}
.ald-slider-ui{position:absolute;bottom:96px;inset-inline:24px;display:flex;align-items:flex-end;gap:18px;margin:0}
.ald-tabs{flex:1 1 auto;min-width:0;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:16px}
.ald-tab{-webkit-appearance:none;appearance:none;background:none;border:0;border-radius:0;margin:0;padding:12px 0 0;min-height:44px;cursor:pointer;font:inherit;font-size:14px;font-weight:700;line-height:1.4;color:rgba(255,255,255,.72);text-align:start;display:flex;flex-direction:column;gap:10px;transition:color .3s ease}
.ald-tab:hover,.ald-tab.is-current{color:#fff}
.ald-tab__bar{display:block;height:3px;border-radius:3px;background:rgba(255,255,255,.3);overflow:hidden}
.ald-tab__fill{display:block;width:100%;height:100%;background:var(--ald-yellow);transform:scaleX(0);transform-origin:var(--ald-start-x) center}
.ald-tab.is-current .ald-tab__fill{animation:ald-fill 6.5s linear forwards}
.ald-slider-ui.is-paused .ald-tab.is-current .ald-tab__fill{animation-play-state:paused}
.ald-slider-ui.is-stopped .ald-tab.is-current .ald-tab__fill{animation:none;transform:none}
.ald-tab__label{display:flex;gap:8px;align-items:baseline;min-width:0;white-space:nowrap}
.ald-tab__n{flex:none;font-size:12px;font-weight:800;color:rgba(255,255,255,.72);font-variant-numeric:tabular-nums}
.ald-tab.is-current .ald-tab__n{color:var(--ald-yellow)}
.ald-tab__t{overflow:hidden;text-overflow:ellipsis}
@media (min-width:782px){.ald-tab__label{white-space:normal}.ald-tab__t{overflow:visible;text-overflow:clip}}
/* A picked slide whose photo is still on its way */
.ald-tab.is-loading .ald-tab__bar{background:rgba(255,255,255,.6)}
.ald-pause{-webkit-appearance:none;appearance:none;flex:none;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.08);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease}
.ald-pause:hover{background:rgba(255,255,255,.2)}
.ald-pause svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ald-pause .ald-play__i{display:none;fill:currentColor}
.ald-slider-ui.is-stopped .ald-pause__i{display:none}
.ald-slider-ui.is-stopped .ald-play__i{display:inline}
@keyframes ald-fill{to{transform:scaleX(1)}}
@media (max-width:781px){
 .ald-hero--slider{min-height:600px}
 .ald-hero--slider .ald-hero__content{padding-bottom:48px}
 .ald-js .ald-hero--slider .ald-hero__content{padding-bottom:110px}
 .ald-hero--slider::after,html[dir="rtl"] .ald-hero--slider::after{background:linear-gradient(to top,rgba(14,24,8,.86) 0%,rgba(14,24,8,.68) 55%,rgba(14,24,8,.62) 100%)}
 .ald-slider-ui{bottom:48px;inset-inline:16px;gap:12px}
 .ald-tabs{gap:8px}
 .ald-tab{padding:0;justify-content:center}
 .ald-tab__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}
 .ald-tab__bar{box-shadow:0 0 0 1px rgba(255,255,255,.75)}
 .ald-tab.is-current .ald-tab__bar{height:5px;box-shadow:0 0 0 2px #fff}
}
/* Windows contrast themes: background colours are dropped, so draw the bars with system colours. */
@media (forced-colors:active){
 .ald-tab__bar{forced-color-adjust:none;height:6px;background:Canvas;border:1px solid CanvasText;box-shadow:none}
 .ald-tab__fill{forced-color-adjust:none;background:Highlight}
 .ald-tab.is-current .ald-tab__bar{border:2px solid Highlight}
 .ald-tab.is-current .ald-tab__t{text-decoration:underline 2px;text-underline-offset:3px}
}

/* Self-drawing check marks (inserted by theme.js on the front page). */
.ald-tick{display:block;flex:none;box-sizing:border-box;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.ald-tick path{stroke-dasharray:1;stroke-dashoffset:0}
.ald-feature.has-tick::before,.ald-checks > li.has-tick::before{content:none;display:none}
.ald-feature > .ald-tick{width:44px;height:44px;padding:11px;border-radius:12px;background:var(--ald-green);color:#fff;stroke-width:2.4}
.ald-checks > li > .ald-tick{width:28px;height:28px;padding:7px;border-radius:14px;background:var(--ald-tint);color:var(--ald-green-d);stroke-width:3}

/* Entrance animations. Hidden states apply only while html has .ald-motion
   (set in <head>); theme.js adds .is-in as each element comes into view. */
@media screen and (prefers-reduced-motion:no-preference){
 /* Hero text on page load and the slow photo zoom (CSS only, so keyed on .ald-js, which is never removed) */
 .ald-js .ald-hero__content > *{animation:ald-rise .9s var(--ald-ease-out) both}
 .ald-js .ald-hero__content > :nth-child(2){animation-delay:.1s}
 .ald-js .ald-hero__content > :nth-child(3){animation-delay:.2s}
 .ald-js .ald-hero__content > :nth-child(4){animation-delay:.3s}
 .ald-js .ald-hero__content > :nth-child(5){animation-delay:.5s}
 .ald-js .ald-slides > .ald-slide:is(.is-active,.is-leaving) img{animation:ald-kb 9s linear both}

 /* Stats (all pages): rise one after another while the numbers count up */
 .ald-motion .ald-stats .ald-stat{transition:opacity .7s ease,translate .8s var(--ald-ease-out)}
 .ald-motion .ald-stats .ald-stat:not(.is-in){opacity:0;translate:0 16px}

 /* Section headings and text blocks */
 .ald-motion :is(.ald-head__t > *,.ald-head > .ald-more,.ald-why__intro > *,.ald-split__text > :not(.ald-checks)){transition:opacity .8s ease,translate .9s var(--ald-ease-out);transition-delay:calc(var(--i,0) * 110ms)}
 .ald-motion .ald-head > .ald-more{transition-delay:.3s}
 .ald-motion .ald-split__text > :not(.ald-checks){transition-delay:calc(var(--i,0) * 110ms + .2s)}
 .ald-motion :is(.ald-head__t > *,.ald-head > .ald-more,.ald-why__intro > *,.ald-split__text > :not(.ald-checks)):not(.is-in){opacity:0;translate:0 22px}

 /* Service and project cards: rise in turn, photo settles from a zoom */
 .ald-motion .ald-grid > .ald-card{transition:opacity .8s ease,translate 1s var(--ald-ease-out)}
 .ald-motion .ald-grid > .ald-card:not(.is-in){opacity:0;translate:0 40px}
 .ald-motion .ald-grid > .ald-card > .wp-block-image img{transition:scale 1.5s var(--ald-ease-out) calc(var(--i,0) * 110ms),transform .7s var(--ald-ease-out)}
 .ald-motion .ald-grid > .ald-card:not(.is-in) > .wp-block-image img{scale:1.18}

 /* Crop cycle: 1 → 2 → 3 → 4 from the reading start, a yellow line fills each step */
 .ald-motion .ald-steps{background:transparent}
 .ald-motion .ald-steps > .ald-step{position:relative;box-shadow:0 0 0 1px #2C2C2C;transition:opacity .7s ease,translate .9s var(--ald-ease-out);transition-delay:calc(var(--i,0) * 240ms)}
 .ald-motion .ald-steps > .ald-step:not(.is-in){opacity:0;translate:calc(var(--ald-from) * 56px) 0}
 .ald-motion .ald-steps > .ald-step::before{content:"";position:absolute;top:0;inset-inline:0;height:3px;background:var(--ald-yellow);transform:scaleX(0);transform-origin:var(--ald-start-x) center;transition:transform .9s var(--ald-ease-out);transition-delay:calc(var(--i,0) * 240ms + .35s)}
 .ald-motion .ald-steps > .ald-step.is-in::before{transform:scaleX(1)}
 .ald-motion .ald-step__n{transform-origin:var(--ald-start-x) bottom;transition:opacity .6s ease,scale .7s var(--ald-pop);transition-delay:calc(var(--i,0) * 240ms + .2s)}
 .ald-motion .ald-step:not(.is-in) .ald-step__n{opacity:0;scale:.5}

 /* Made locally: the photo opens from the reading start, the list follows with drawn ticks */
 /* (the clip sits on the photo, not its frame: a frame clipped to nothing never counts as "in view") */
 .ald-motion .ald-split > .wp-block-image{overflow:hidden;border-radius:20px}
 .ald-motion .ald-split > .wp-block-image img{clip-path:inset(0 0 0 0);transition:clip-path 1.3s var(--ald-ease-out),scale 1.7s var(--ald-ease-out)}
 .ald-motion .ald-split > .wp-block-image:not(.is-in) img{clip-path:inset(0 100% 0 0);scale:1.2}
 html[dir="rtl"].ald-motion .ald-split > .wp-block-image:not(.is-in) img{clip-path:inset(0 0 0 100%)}
 .ald-motion .ald-checks > li{--tick-d:calc(var(--i,0) * 170ms + .45s);transition:opacity .6s ease,translate .7s var(--ald-ease-out);transition-delay:calc(var(--i,0) * 170ms + .25s)}
 .ald-motion .ald-checks > li:not(.is-in){opacity:0;translate:calc(var(--ald-from) * 24px) 0}

 /* Why us: cards in turn, each tick pops then draws itself */
 .ald-motion .ald-why__grid > .ald-feature{--tick-d:calc(var(--i,0) * 160ms + .35s);transition:opacity .7s ease,translate .9s var(--ald-ease-out),scale .9s var(--ald-ease-out)}
 .ald-motion .ald-why__grid > .ald-feature:not(.is-in){opacity:0;translate:0 30px;scale:.97}
 .ald-motion .ald-tick{transition:scale .55s var(--ald-pop) var(--tick-d,0s),opacity .3s ease var(--tick-d,0s)}
 .ald-motion .ald-tick path{transition:stroke-dashoffset .6s cubic-bezier(.65,0,.35,1) calc(var(--tick-d,0s) + .3s)}
 .ald-motion :not(.is-in) > .ald-tick{opacity:0;scale:.3}
 .ald-motion :not(.is-in) > .ald-tick path{stroke-dashoffset:1}

 /* Closing call to action */
 .ald-motion .ald-cta{overflow:hidden;transition:opacity .8s ease,translate 1s var(--ald-ease-out),scale 1s var(--ald-ease-out)}
 .ald-motion .ald-cta:not(.is-in){opacity:0;translate:0 48px;scale:.97}
 .ald-motion .ald-cta__text > *{transition:opacity .7s ease .25s,translate .8s var(--ald-ease-out) .25s}
 .ald-motion .ald-cta__text > :nth-child(2){transition-delay:.38s}
 .ald-motion .ald-cta:not(.is-in) .ald-cta__text > *{opacity:0;translate:0 18px}
 .ald-motion .ald-cta__actions{transition:opacity .8s ease .3s,translate 1s var(--ald-ease-out) .3s}
 .ald-motion .ald-cta:not(.is-in) .ald-cta__actions{opacity:0;translate:calc(var(--ald-from) * -48px) 0}
 .ald-motion .ald-cta__actions .wp-block-button,.ald-motion .ald-cta__actions .ald-note{transition:opacity .6s ease,translate .7s var(--ald-ease-out)}
 .ald-motion .ald-cta__actions .wp-block-button:nth-child(1){transition-delay:.55s}
 .ald-motion .ald-cta__actions .wp-block-button:nth-child(2){transition-delay:.67s}
 .ald-motion .ald-cta__actions .wp-block-button:nth-child(3){transition-delay:.79s}
 .ald-motion .ald-cta__actions .ald-note{transition-delay:.9s}
 .ald-motion .ald-cta:not(.is-in) .ald-cta__actions :is(.wp-block-button,.ald-note){opacity:0;translate:0 14px}

 /* Pause / stop also stops the slow photo zoom */
 .ald-js .ald-hero--slider.is-stopped .ald-slides > .ald-slide img{animation-play-state:paused}

 /* Keyboard focus never waits for an entrance animation */
 .ald-motion :is(.ald-head > .ald-more,.ald-grid > .ald-card,.ald-split__text > *,.ald-cta):focus-within,
 .ald-motion .ald-cta:focus-within :is(.ald-cta__text > *,.ald-cta__actions,.ald-cta__actions .wp-block-button,.ald-cta__actions .ald-note){opacity:1;translate:none;scale:none;transition:none}
}
@keyframes ald-rise{from{opacity:0;translate:0 24px}}
@keyframes ald-kb{from{scale:1}to{scale:1.1}}

/* Background videos (front page: hero and closing band). The markup carries a poster image and an empty
   .ald-video box; theme.js adds the <video> and its pause button when motion and the network allow it.
   Order, bottom to top: poster, video, overlay (::after), text, pause button. Poster and video share the
   same object-position, so the video fades in exactly over its first frame. */
.ald-video{position:absolute;inset:0;margin:0;overflow:hidden;pointer-events:none}
.ald-video video{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 60%;opacity:0;transition:opacity .8s ease}
.ald-video.is-playing video{opacity:1}
.ald-video-toggle{-webkit-appearance:none;appearance:none;position:absolute;z-index:2;bottom:20px;inset-inline-end:max(24px,calc((100% - var(--ald-wide)) / 2 + 24px));width:44px;height:44px;margin:0;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.55);background:rgba(14,24,8,.5);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease}
.ald-video-toggle:hover{background:rgba(14,24,8,.8)}
.ald-video-toggle:focus-visible{outline:3px solid var(--ald-yellow);outline-offset:3px}
.ald-video-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ald-video-toggle .ald-play__i{display:none;fill:currentColor}
.ald-video-toggle.is-paused .ald-pause__i{display:none}
.ald-video-toggle.is-paused .ald-play__i{display:inline}
/* Hero video: same height, text room and overlay as the slider. The pause button sits above the
   statistics box, which is pulled 48px (24px on phones) over the bottom of the hero. */
.ald-hero--video{min-height:680px}
.ald-hero--video .ald-hero__content{padding-bottom:96px}
.ald-hero--video > .ald-hero-poster img{display:block;max-width:none;object-position:center 60%}
.ald-hero--video::after{background:linear-gradient(to top,rgba(14,24,8,.7) 0%,rgba(14,24,8,0) 50%),linear-gradient(to right,rgba(14,24,8,.8) 0%,rgba(14,24,8,.62) 75%,rgba(14,24,8,.3) 100%)}
html[dir="rtl"] .ald-hero--video::after{background:linear-gradient(to top,rgba(14,24,8,.7) 0%,rgba(14,24,8,0) 50%),linear-gradient(to left,rgba(14,24,8,.8) 0%,rgba(14,24,8,.62) 75%,rgba(14,24,8,.3) 100%)}
@media (min-width:782px) and (max-width:1199px){.ald-hero--video::after,html[dir="rtl"] .ald-hero--video::after{background:linear-gradient(to top,rgba(14,24,8,.7) 0%,rgba(14,24,8,0) 50%),rgba(14,24,8,.6)}}
.ald-hero--video > .ald-video-toggle{bottom:64px}
/* LTR (EN/FR): the text sits on the left, where the harvester is in the footage. Mirror poster and video
   so the machine lands on the free side, as it does in Arabic. Phones keep the frame as shot. */
@media (min-width:782px){html:not([dir="rtl"]) .ald-hero--video > .ald-hero-poster img,html:not([dir="rtl"]) .ald-hero--video > .ald-video video{transform:scaleX(-1)}}
/* Closing band: the front page's last call to action, full width over a video, meeting the footer. */
.ald-cta--video{position:relative;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:center;gap:0;min-height:520px;box-sizing:border-box;padding:88px 24px;border-radius:0;overflow:hidden;background:#1A2410;text-align:center}
.ald-cta--video > .ald-cta-poster{position:absolute;inset:0;margin:0}
.ald-cta--video > .ald-cta-poster picture{display:contents}
.ald-cta--video > .ald-cta-poster img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 40%}
.ald-cta--video > .ald-video video{object-position:center 40%}
.ald-cta--video::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(14,24,8,.78) 0%,rgba(14,24,8,.54) 55%,rgba(14,24,8,.56) 100%);pointer-events:none}
.ald-cta__inner{position:relative;z-index:1;width:100%;max-width:860px;display:flex;flex-direction:column;align-items:center;gap:32px}
.ald-cta--video .ald-cta__text{flex:none;align-items:center;gap:14px}
.ald-cta--video h2{font-size:clamp(28px,3.6vw,44px);text-shadow:0 1px 14px rgba(14,24,8,.55)}
.ald-cta--video .ald-cta__text p{max-width:640px}
.ald-cta--video .ald-cta__actions{flex:none;align-items:center;gap:16px;padding:0;border-radius:0;background:none;color:#fff}
.ald-cta--video .ald-cta__actions p,.ald-cta--video .ald-cta__actions p strong{color:#fff}
.ald-cta--video .ald-cta__actions .ald-note{color:#E4ECDC}
.ald-cta--video .ald-cta__actions .wp-block-buttons{flex-direction:row;align-items:center;justify-content:center}
.ald-cta--video .ald-cta__actions .wp-block-button{width:auto}
.ald-cta--video .ald-cta__actions .wp-block-button__link{width:auto}
.ald-cta--video .wp-block-button.is-style-dark .wp-block-button__link{background:var(--ald-yellow);color:var(--ald-ink)}
.ald-cta--video .wp-block-button.is-style-dark .wp-block-button__link:hover{background:#FFD83A;color:var(--ald-ink)}
@media (max-width:781px){
 .ald-hero--video{min-height:600px}
 .ald-hero--video .ald-hero__content{padding-bottom:48px}
 /* With JS on, the pause button's room is kept from the first paint (no layout shift when it appears). */
 .ald-js .ald-hero--video .ald-hero__content{padding-bottom:100px}
 .ald-hero--video::after,html[dir="rtl"] .ald-hero--video::after{background:linear-gradient(to top,rgba(14,24,8,.86) 0%,rgba(14,24,8,.68) 55%,rgba(14,24,8,.62) 100%)}
 .ald-video-toggle{inset-inline-end:16px}
 .ald-hero--video > .ald-video-toggle{bottom:40px}
 .ald-cta--video{min-height:440px;padding:56px 16px}
 .ald-js .ald-cta--video{padding-bottom:84px}
 /* The band is taller here and the text starts over the bright sky: darker top (AA for the 18px paragraph). */
 .ald-cta--video::after{background:linear-gradient(to top,rgba(14,24,8,.82) 0%,rgba(14,24,8,.7) 55%,rgba(14,24,8,.72) 100%)}
 .ald-cta__inner{gap:24px}
 .ald-cta--video .ald-cta__actions{align-self:stretch}
 .ald-cta--video .ald-cta__actions .wp-block-buttons{flex-direction:column;align-items:stretch;align-self:stretch}
 .ald-cta--video .ald-cta__actions .wp-block-button,.ald-cta--video .ald-cta__actions .wp-block-button__link{width:100%}
}
/* Phones get the "-p" poster (the middle 700px of the frame): centred, like the video's own crop. */
@media (max-width:479px){.ald-video video,.ald-cta--video > .ald-video video,.ald-hero--video > .ald-hero-poster img,.ald-cta--video > .ald-cta-poster img{object-position:center}}
/* Entrance: the band itself stays put (it is full width); only its text and buttons rise. */
@media screen and (prefers-reduced-motion:no-preference){
 .ald-motion .ald-cta--video,.ald-motion .ald-cta--video:not(.is-in){opacity:1;translate:none;scale:none;transition:none}
 .ald-motion .ald-cta--video:not(.is-in) .ald-cta__actions{translate:0 24px}
}
/* 0.8.10: videos also play with reduce motion (client main content) */
@media (forced-colors:active){.ald-video-toggle{border-color:ButtonText}}
@media print{.ald-video,.ald-video-toggle{display:none!important}}

/* 0.5.1: hero montage. The hero video is six scenes, one per service, with hard cuts; the text block
   holds one caption per scene (.ald-scene), stacked in one grid cell so the tallest one sets the height and
   nothing below moves when theme.js switches them. Scene 1 (the page's h1) is the one shown without JS or
   video; it only goes transparent, never out of the accessibility tree, so the page keeps its heading. */
.ald-scenes{display:grid;margin:0}
.ald-scenes > .ald-scene{grid-area:1/1;align-self:end;min-width:0;margin:0;display:flex;flex-direction:column;gap:20px;opacity:0;visibility:hidden;pointer-events:none}
.ald-scenes > .ald-scene:first-child{visibility:visible}
.ald-scenes > .ald-scene.is-active{opacity:1;visibility:visible;pointer-events:auto}
.ald-hero .ald-scene__title{font-size:var(--wp--preset--font-size--xx-large,clamp(31px,4vw,58px));font-weight:800;line-height:1.25;color:#fff;max-width:820px}
html:lang(en) .ald-hero .ald-scene__title,html:lang(fr) .ald-hero .ald-scene__title,html:lang(zh) .ald-hero .ald-scene__title{font-size:clamp(30px,3.5vw,52px)}
/* Scene indicator: one thin segment per service, in the free band under the buttons (level with the pause
   button). Absolutely placed, so showing it moves nothing. theme.js sets --ald-p (0 to 1) on the current one. */
.ald-scene-nav{position:absolute;inset-inline-start:24px;bottom:58px;display:flex;gap:6px;margin:0}
.ald-scene-nav[hidden]{display:none}
.ald-scene-nav__b{-webkit-appearance:none;appearance:none;display:flex;align-items:center;width:44px;height:28px;margin:0;padding:0;border:0;border-radius:4px;background:none;cursor:pointer}
.ald-scene-nav__b span{position:relative;display:block;width:100%;height:3px;border-radius:2px;background:rgba(255,255,255,.42);overflow:hidden;transition:background .2s ease}
.ald-scene-nav__b:hover span{background:rgba(255,255,255,.7)}
.ald-scene-nav__b span::after{content:"";position:absolute;inset:0;background:var(--ald-yellow);transform:scaleX(0);transform-origin:left center}
html[dir="rtl"] .ald-scene-nav__b span::after{transform-origin:right center}
.ald-scene-nav__b.is-done span::after{transform:none}
.ald-scene-nav__b[aria-current] span{height:5px;border-radius:3px}
.ald-scene-nav__b[aria-current] span::after{transform:scaleX(var(--ald-p,0))}
.ald-scene-nav__b:focus-visible{outline:3px solid var(--ald-yellow);outline-offset:2px}
@media (max-width:781px){
 .ald-scenes > .ald-scene{gap:14px}
 .ald-scene-nav{inset-inline-start:16px;bottom:48px}
 .ald-scene-nav__b{width:34px}
}
/* Up to 781px the text covers most of the hero, so scenes 2 to 6 show their title only and the badge steps
   aside: the top half of the picture stays clear, which is where the phone edit (video-hero-m.mp4) puts each machine. */
@media (max-width:781px){
 .ald-scenes > .ald-scene:not(:first-child) > :not(.ald-scene__title){display:none}
 .ald-hero__content:has(.ald-scene:not(:first-child).is-active) > .ald-badge{visibility:hidden}
}
@media screen and (prefers-reduced-motion:no-preference){.ald-scenes > .ald-scene.is-cut{animation:ald-scene-in .2s ease-out both}}
@keyframes ald-scene-in{from{opacity:0;translate:0 8px}}
@media (forced-colors:active){.ald-scene-nav__b span{background:ButtonText}.ald-scene-nav__b span::after{background:Highlight}}
@media print{.ald-scene-nav{display:none!important}}

/* 0.5.6 (client request): the hero shows the video alone, clear, with no text, buttons or dark overlay.
   The headline and the two buttons sit in their own band right under it (.ald-intro). */
.ald-hero.ald-hero--video.ald-hero--clean{display:block;min-height:0;aspect-ratio:16/9;max-height:calc(100vh - 72px);max-height:calc(100svh - 72px);width:100%}
.ald-hero.ald-hero--video.ald-hero--clean::after,html[dir="rtl"] .ald-hero.ald-hero--video.ald-hero--clean::after{content:none}
.ald-hero--clean > .ald-hero-poster img,.ald-hero--clean > .ald-video video{object-position:center}
.ald-hero.ald-hero--clean > .ald-video-toggle{bottom:20px}
@media (min-width:782px){html:not([dir="rtl"]) .ald-hero.ald-hero--clean > .ald-hero-poster img,html:not([dir="rtl"]) .ald-hero.ald-hero--clean > .ald-video video{transform:none}}
@media (max-width:781px){
 .ald-hero.ald-hero--video.ald-hero--clean{aspect-ratio:4/3;min-height:0}
 .ald-hero.ald-hero--clean > .ald-video-toggle{bottom:12px}
}
.ald-intro{background:#1E3312;color:#fff;padding:56px 24px 104px}
.ald-intro__inner{max-width:var(--ald-wide);margin-inline:auto;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.ald-intro__inner > *{margin:0}
.ald-intro h1{color:#fff;margin:0;max-width:820px}
html:lang(en) .ald-intro h1,html:lang(fr) .ald-intro h1,html:lang(zh) .ald-intro h1{font-size:clamp(30px,3.5vw,52px)}
.ald-intro p:not(.ald-badge){margin:0;font-size:clamp(16px,1.6vw,20px);color:#E4ECDC;max-width:680px}
@media (max-width:781px){
 .ald-intro{padding:36px 16px 64px}
 .ald-intro__inner{gap:14px;align-items:stretch}
 .ald-intro .ald-badge{align-self:flex-start}
 .ald-intro .wp-block-buttons{flex-direction:column;align-items:stretch}
 .ald-intro .wp-block-button__link{width:100%;box-sizing:border-box;text-align:center}
 html:lang(en) .ald-intro .ald-badge,html:lang(fr) .ald-intro .ald-badge,html:lang(zh) .ald-intro .ald-badge{font-size:14px;border-radius:12px}
}

/* 0.6.0 (client request): service pages show a short looping video where the equipment table, the
   regions box and the sample project used to be. Clean video, no text over it; theme.js builds the
   <video> when the box comes near (same loader as the home videos). */
.ald-media-sec{padding-top:0}
.ald-media{position:relative;aspect-ratio:16/9;border-radius:var(--ald-radius,16px);overflow:hidden;background:#1E3312;margin:0}
.ald-media > .ald-media-poster{position:absolute;inset:0;margin:0}
.ald-media > .ald-media-poster img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.ald-media > .ald-video-toggle{bottom:16px;inset-inline-end:16px}
@media (max-width:781px){.ald-media{aspect-ratio:4/3}.ald-media > .ald-video-toggle{bottom:12px;inset-inline-end:12px}}
/* FAQ without answers (client request): the questions only, as plain cards. */
.ald-faq-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px;max-width:900px}
.ald-faq-list > li{background:#fff;border:1px solid var(--ald-line);border-radius:14px;padding:18px 22px;font-weight:800;font-size:17px;line-height:1.6}
.ald-faq-list > li::before{content:none}

/* 0.6.1: contact page map (Google Maps embed, no API key) */
.ald-map{position:relative;aspect-ratio:16/9;border-radius:var(--ald-radius);overflow:hidden;background:#E6ECDF;border:1px solid var(--ald-line);margin-top:20px}
.ald-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ald-map__link{margin-top:12px;font-weight:800}
@media (max-width:781px){.ald-map{aspect-ratio:4/3}}
/* 0.6.6: short equipment text above the beet page video */
.ald-equip{padding-bottom:28px}
.ald-equip > p:not(.ald-eyebrow){max-width:820px;color:var(--ald-muted);font-size:clamp(16px,1.4vw,18px)}

/* 0.6.7: hero video flush with the intro band (no block-gap strip between them) */
.ald-hero--clean + .ald-intro{margin-block-start:0 !important}

/* 0.7.0: "Turn sound on" pill for videos with data-sound (TV videos on the home page) */
.ald-video-sound{-webkit-appearance:none;appearance:none;position:absolute;z-index:2;bottom:20px;inset-inline-end:calc(max(24px,calc((100% - var(--ald-wide)) / 2 + 24px)) + 56px);height:44px;margin:0;padding:0 18px 0 14px;border-radius:22px;border:0;background:var(--ald-yellow,#F2C230);color:#1E3312;font:inherit;font-weight:700;font-size:15px;display:inline-flex;align-items:center;gap:8px;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.ald-video-sound:hover{filter:brightness(1.05)}
.ald-video-sound:focus-visible{outline:3px solid #fff;outline-offset:3px}
.ald-video-sound svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ald-video-sound .ald-snd__s{fill:currentColor}
.ald-video-sound .ald-snd__on,.ald-video-sound.is-on .ald-snd__off{display:none}
.ald-video-sound.is-on .ald-snd__on{display:inline}
.ald-video-sound.is-on{background:rgba(14,24,8,.6);color:#fff}
.ald-hero--video > .ald-video-sound{bottom:64px}
.ald-hero.ald-hero--clean > .ald-video-sound{bottom:20px}
@media (max-width:781px){.ald-video-sound{inset-inline-end:72px;height:40px;font-size:14px;padding:0 14px 0 12px}.ald-hero.ald-hero--clean > .ald-video-sound{bottom:12px}}

/* 0.7.0: home services grid holds 7 cards: 4 per row on wide screens, last row centred */
.ald-grid.ald-grid--svc{display:flex;flex-wrap:wrap;justify-content:center}
.ald-grid--svc > .ald-card{flex:0 1 100%;box-sizing:border-box;min-width:0}
@media (min-width:700px){.ald-grid--svc > .ald-card{flex-basis:calc((100% - 22px) / 2)}}
@media (min-width:1000px){.ald-grid--svc > .ald-card{flex-basis:calc((100% - 44px) / 3)}}
@media (min-width:1200px){.ald-grid--svc > .ald-card{flex-basis:calc((100% - 66px) / 4)}}

.ald-intro{padding-bottom:64px}

/* 0.7.0: red + white accents (client request, inspired by HOLMER), logo colours kept */
:root{--ald-red:#D3121B;--ald-red-d:#A80E15;--ald-red-l:#FF6B70}
.ald-header{border-top:4px solid var(--ald-red)}
.ald-badge{background:var(--ald-red);color:#fff}
.ald-eyebrow{color:var(--ald-red);display:inline-flex;align-items:center;gap:10px}
.ald-eyebrow::before{content:"";width:22px;height:3px;border-radius:2px;background:currentColor;flex:none}
.ald-dark .ald-eyebrow,.ald-intro .ald-eyebrow,.ald-cta .ald-eyebrow{color:var(--ald-red-l)}
.wp-element-button,.wp-block-button__link{background-color:var(--ald-red)}
.wp-element-button:hover,.wp-block-button__link:hover{background-color:var(--ald-red-d)}
.wp-block-button.is-style-light .wp-block-button__link{background:#fff;color:var(--ald-ink)}
.wp-block-button.is-style-light .wp-block-button__link:hover{background:#F1F1F1;color:var(--ald-ink)}
.wp-block-button.is-style-dark .wp-block-button__link{background:var(--ald-ink);color:#fff}
.ald-cta--video .wp-block-button.is-style-dark .wp-block-button__link{background:#fff;color:var(--ald-ink)}
.ald-step__n,.ald-steps--light .ald-step__n{color:var(--ald-red)}
.ald-dark .ald-step__n{color:var(--ald-red-l)}
.ald-motion .ald-steps > .ald-step::before{background:var(--ald-red)}
.ald-card__more a{color:var(--ald-red)}
.ald-card__body h3 a:hover,.ald-nav a:hover,.ald-nav .current-menu-item > a{color:var(--ald-red)}
.ald-card{border-bottom:3px solid transparent;transition:border-color .3s ease}
.ald-card:hover{border-bottom-color:var(--ald-red)}
.ald-video-sound{background:var(--ald-red);color:#fff}
.ald-tab__fill,.ald-scene-nav__b span::after{background:var(--ald-red)}

/* variant B chosen by Mahmoud 2026-11-26: charcoal bands, red icons, green only in the logo */
.ald-intro,.ald-hero,.ald-media{background:#161616}
.ald-cta:not(.ald-cta--video){background:#161616}
.ald-tint{background:#F3F3F3}
.ald-feature > .ald-tick{background:var(--ald-red)}
.ald-checks > li > .ald-tick{background:#FCE8E9;color:var(--ald-red)}
.ald-footer{border-top:4px solid var(--ald-red)}
.ald-faq summary::after,.ald-tag{color:var(--ald-red)!important}
.ald-more a{color:var(--ald-red)}

/* 0.7.2 (client, 2026-11-26): service pages open with their video (photo moves to the band below), About founders, text-only story */
.ald-hero--service.ald-hero--video{min-height:560px}
@media (min-width:782px){html:not([dir="rtl"]) .ald-hero--service.ald-hero--video > .ald-hero-poster img,html:not([dir="rtl"]) .ald-hero--service.ald-hero--video > .ald-video video{transform:none}}
.ald-split--solo .ald-split__text{max-width:860px}
.ald-founders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:32px}
.ald-founder{background:#fff;border:1px solid var(--ald-line);border-bottom:4px solid var(--ald-red,#D3121B);border-radius:var(--ald-radius,16px);overflow:hidden;display:flex;flex-direction:column}
.ald-founder > *{margin:0}
.ald-founder > .ald-founder__img{margin:0;aspect-ratio:4/5;background:#161616;overflow:hidden}
.ald-founder > .ald-founder__img img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 25%}
.ald-founder > h3{margin:20px 22px 4px!important;font-size:22px}
.ald-founder > .ald-founder__role{margin:0 22px 12px!important;color:var(--ald-red,#D3121B);font-weight:700;font-size:15px}
.ald-founder > p:not(.ald-founder__role){margin:0 22px 24px!important;color:var(--ald-muted);line-height:1.8}
@media (max-width:900px){.ald-founders{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.ald-founders{grid-template-columns:1fr;max-width:420px;margin-inline:auto}}
/* 0.7.3: block "flow" layout adds an 18px top margin to every card but the first, which pushed card 1 above its row (home + services) */
.ald-grid > *,.ald-founders > *{margin-block:0!important}
/* 0.7.7: end-of-home video clearly visible (client: "video, not a photo") */
.ald-cta--video::after{background:linear-gradient(to top,rgba(10,10,10,.62) 0%,rgba(10,10,10,.22) 50%,rgba(10,10,10,.30) 100%)}
.ald-cta--video h2,.ald-cta--video .ald-cta__text p,.ald-cta--video .ald-cta__actions p{text-shadow:0 1px 3px rgba(0,0,0,.75),0 2px 18px rgba(0,0,0,.6)}
@media (max-width:781px){.ald-cta--video::after{background:linear-gradient(to top,rgba(10,10,10,.66) 0%,rgba(10,10,10,.34) 50%,rgba(10,10,10,.40) 100%)}}
/* 0.7.7: agricultural page background (client: green leaves, not plain white) */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(rgba(255,255,255,.80),rgba(255,255,255,.80)),url(../images/bg-leaves.webp) center/cover no-repeat}
@media (max-width:781px){body::before{background:linear-gradient(rgba(255,255,255,.80),rgba(255,255,255,.80)),url(../images/bg-leaves-m.webp) center/cover no-repeat}}
.ald-tint{background:rgba(255,255,255,.55)}
/* 0.7.9: footer email on one line, social icons; locations page */
.ald-footer .ald-email{white-space:nowrap;font-size:14px;unicode-bidi:isolate}
.ald-social{display:flex;gap:10px;margin-top:10px!important}
.ald-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#2A2A2A;color:#fff}
.ald-social a:hover{background:var(--ald-red,#D3121B);color:#fff}
.ald-locations{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:28px;margin-top:24px}
.ald-locations > *{margin-block:0!important}
.ald-location{background:#fff;border:1px solid var(--ald-line);border-bottom:4px solid var(--ald-red,#D3121B);border-radius:var(--ald-radius,16px);padding:22px}
.ald-location > *{margin-block:0 8px}
.ald-location .ald-map{margin-top:14px}
/* 0.8.0: photo at the end of each service page runs the full screen width (client) */
.ald-media-sec{max-width:none;padding-inline:0}
.ald-media-sec .ald-media{border-radius:0;aspect-ratio:21/9}
@media (max-width:781px){.ald-media-sec .ald-media{aspect-ratio:4/3}}
/* 0.8.0: end of home = text band ABOVE a clear, bright video with sound (client) */
.ald-cta.ald-cta--band{display:block;border-radius:0;background:#161616;padding:clamp(40px,6vw,72px) 24px;margin:0}
.ald-cta--band .ald-cta__inner{max-width:var(--ald-wide);margin-inline:auto;display:flex;flex-wrap:wrap;gap:36px;align-items:center}
.ald-endvideo{position:relative;width:100%;aspect-ratio:16/9;max-height:calc(100svh - 72px);overflow:hidden;background:#161616;margin:0!important}
.ald-endvideo > .ald-endvideo-poster{position:absolute;inset:0;margin:0}
.ald-endvideo > .ald-endvideo-poster picture{display:contents}
.ald-endvideo > .ald-endvideo-poster img{display:block;width:100%;height:100%;max-width:none;object-fit:cover}
.ald-endvideo .ald-video video{object-position:center}
.ald-endvideo > .ald-video-sound{bottom:20px}
.ald-endvideo + *{margin-top:0}
.ald-cta--band .ald-cta__inner{flex-direction:row;align-items:center;justify-content:space-between}
.ald-cta--band .ald-cta__text{flex:1 1 340px}
.ald-cta--band .ald-cta__actions{flex:0 1 420px}
@media (max-width:781px){.ald-cta--band .ald-cta__inner{flex-direction:column;align-items:stretch;gap:24px}.ald-cta--band .ald-cta__actions{flex:none}}
@media (max-width:781px){.ald-cta--band .ald-cta__text{flex:none}}

/* 0.8.3: horizontal logo lockup (client: logo as big as iCrop's, name beside the mark) */
.ald-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ald-ink);flex:none;line-height:1.15}
.ald-brand__mark{height:84px;width:auto;display:block}
.ald-brand__text{display:flex;flex-direction:column;gap:4px;white-space:nowrap}
.ald-brand__name{font-size:24px;font-weight:800;letter-spacing:-.01em}
.ald-brand__sub{font-size:16px;font-weight:700;color:#3E9410}
.ald-header__inner{padding-block:10px}
@media (max-width:1180px){.ald-brand__mark{height:70px}.ald-brand__name{font-size:20px}.ald-brand__sub{font-size:14px}}
@media (max-width:781px){.ald-brand{gap:8px}.ald-brand__mark{height:54px}.ald-brand__name{font-size:16px}.ald-brand__sub{font-size:12px}.ald-brand__text{gap:2px}}
@media (max-width:380px){.ald-brand__mark{height:46px}.ald-brand__name{font-size:14px}.ald-brand__sub{font-size:11px}}
.ald-lang{white-space:nowrap}
@media (max-width:380px){.ald-header__inner{gap:8px;padding-inline:12px}.ald-brand{gap:6px}.ald-brand__sub{font-size:10.5px}}
@media (max-width:380px){.ald-brand__mark{height:42px}.ald-brand__name{font-size:13.5px}.ald-brand__sub{font-size:10px}.ald-header__actions{gap:6px}.ald-lang a{min-width:34px}}
/* 0.8.9 every side-by-side row: WordPress flow layout gives every child except the first a top margin, which pushed card 1 above its row. Zero it on all row containers. */
:is(.ald-grid,.ald-why,.ald-why__grid,.ald-two,.ald-cta,.ald-split,.ald-footer__grid,.ald-founders,.ald-locations,.ald-steps,.ald-facts__box,.ald-stats__box,.ald-metrics,.ald-head,.ald-tabs) > *{margin-block:0!important}
