/* Reference study v2: local pattern reveal and restrained pack hover. */
.brand-panel{--pointer-x:65%;--pointer-y:55%;--hover:0}
.brand-panel::before{opacity:.16}
.brand-panel::after,.catalogue-item::after,.product-detail::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background-image:var(--pattern);background-size:90px;mask-image:radial-gradient(circle 185px at var(--pointer-x,65%) var(--pointer-y,50%),#000 10%,#000b 48%,transparent 100%);opacity:0;transition:opacity .45s ease;z-index:0}
.brand-panel.is-pointer-over::after,.catalogue-item.is-pointer-over::after,.product-detail.is-pointer-over::after{opacity:1}
.brand-panel .panel-copy,.brand-panel .panel-products,.catalogue-item>*,.product-detail>*{position:relative;z-index:1}
.brand-panel .panel-products{position:absolute}
.product-object{isolation:isolate}
.product-object img{transform-origin:50% 72%;transition:transform .48s cubic-bezier(.22,.68,.15,1),filter .48s ease;will-change:transform}
.product-object:hover img,.product-object:focus-visible img{transform:translate3d(0,-9px,0) scale(1.075);filter:drop-shadow(2px 11px 8px #203d252b)}
.product-caption{position:relative;z-index:2}
.product-object:hover .product-caption strong,.product-object:focus-visible .product-caption strong{color:var(--brand-color)}
.catalogue-item{isolation:isolate;overflow:hidden;transition:border-color .3s,box-shadow .3s}
.catalogue-item:hover{transform:none;box-shadow:0 12px 18px -10px rgba(var(--brand-rgb),.38)}
.catalogue-item:hover strong{color:var(--brand-color)}
.catalogue-item::after{background-size:64px;mask-image:radial-gradient(ellipse 110px 70px at var(--pointer-x,50%) var(--pointer-y,50%),#000,transparent 100%)}
.product-detail{--pointer-x:50%;--pointer-y:40%}
.product-detail .detail-image img{transition:transform .55s cubic-bezier(.22,.68,.15,1);transform-origin:50% 75%}
.product-detail .detail-image:hover img{transform:translateY(-6px) scale(1.045)}
@media(hover:none){.product-object:hover img,.product-detail .detail-image:hover img{transform:none;filter:none}.brand-panel::after,.catalogue-item::after,.product-detail::after{display:none}}
@media(prefers-reduced-motion:reduce){.product-object:hover img,.product-detail .detail-image:hover img{transform:none}}
/* All four stages share one decoded photographic frame sequence. */
.journey-stage{background:#0b100b url('../img/journey-poster-v8.webp') center/cover no-repeat}
.journey-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;transition:opacity .25s}
.journey-canvas.is-ready{opacity:1}
.scene-shade{background:linear-gradient(-90deg,rgba(4,9,5,.75),rgba(4,9,5,.46) 30%,rgba(4,9,5,.12) 58%,transparent 76%);opacity:1}
.scene-shade::after{content:'';position:absolute;inset:0;background:linear-gradient(-270deg,rgba(4,9,5,.80),rgba(4,9,5,.48) 28%,transparent 70%);opacity:var(--right-shade,0)}
.journey-copy.copy-dose,.journey-copy.copy-stability{opacity:0;pointer-events:none}
.copy-stability{right:auto;left:7.6vw;width:32%}
.copy-dose h2,.copy-stability h2,.copy-field h2{font-size:clamp(40px,4.5vw,68px);line-height:1.13}
.copy-dose .serif,.copy-stability .serif,.copy-field .serif{font-size:clamp(15px,1.35vw,20px);line-height:1.65}
.copy-dose .eyebrow,.copy-stability .eyebrow,.copy-field .eyebrow{font-size:10px}
.contact-banner{background-image:url('../img/field-sunset-v8.webp')}
.journey .scene-counter{display:none}
@media(min-width:761px){.journey-copy{top:48%}.journey-copy h1{font-size:clamp(60px,6.2vw,96px)}.journey-copy .serif{font-size:clamp(17px,1.5vw,22px)}.journey-copy .button{padding:14px 21px}}
@media(max-height:740px) and (min-width:761px){.journey-copy h1{font-size:clamp(54px,5.8vw,80px)}.copy-dose h2,.copy-stability h2,.copy-field h2{font-size:clamp(38px,4.7vw,58px)}}
@media(max-width:760px){.journey-stage{background-position:58% center}.copy-stability{right:var(--pad);left:auto;width:88%}.copy-dose h2,.copy-stability h2,.copy-field h2{font-size:44px}.scene-shade::after{background:linear-gradient(-90deg,#050b05bb,#050b0580 60%,transparent)}}
@media(prefers-reduced-motion:reduce){.journey-canvas{display:none!important}.copy-dose,.copy-stability{display:none!important}.copy-intro{opacity:1!important;transform:translateY(-45%)!important}}
.scene-shade{background:none}
.scene-shade::before{content:'';position:absolute;inset:0;background:linear-gradient(-90deg,rgba(4,9,5,.76),rgba(4,9,5,.42) 32%,rgba(4,9,5,.1) 57%,transparent 77%);opacity:calc(1 - var(--right-shade,0))}
/* v2 pack images contain real alpha; preserve white packaging against mint. */
.panel-products,.panel-products .product-object img,.catalogue-item img,.detail-image img{mix-blend-mode:normal}
.product-object img{filter:drop-shadow(2px 5px 4px #203d251a)}
.process-photo-lab,.process-photo-bee,.process-photo-seed{transform:none}
/* Continuous video sequence: reading holds at the opening and final field. */
.journey{height:520svh}
.journey-stage{min-height:0;background-image:url('../img/journey-poster-v8.webp')}
.contact-banner{background-image:url('../img/field-sunset-v8.webp')}
.journey.journey-is-static{height:100svh}
.journey-is-static .journey-stage{position:relative}
@media(max-width:760px){.journey{height:420svh}}
@media(prefers-reduced-motion:reduce){.journey{height:100svh}}
@media(max-height:500px){
 .journey-copy{top:52%;width:55%}
 .journey-copy h1,.journey-copy h2{font-size:clamp(28px,4.5vw,43px);line-height:1.05}
 .journey-copy .eyebrow{margin-bottom:12px;font-size:8px}
 .journey-copy .serif{font-size:12px;line-height:1.45;margin-top:14px}
 .journey-copy .button-row{margin-top:15px;gap:8px}
 .journey-copy .button{font-size:9px;padding:10px 14px}
 .journey-copy .micro-label{margin-top:12px;padding-top:8px;font-size:9px}
 .copy-stability{width:40%;right:auto;left:7.6vw}
 .journey-copy br.desktop-break{display:none}
}
/* Let supporting copy wrap naturally instead of leaving forced one-word lines. */
.journey-copy:not(.copy-intro) .desktop-break{display:none}
.brands-section{overflow-x:clip;overflow-y:visible}
.journey-copy:not(.copy-intro) .serif{font-size:clamp(15px,1.3vw,19px);line-height:1.65;max-width:370px}
.site-header:not(.is-light){background:linear-gradient(-180deg,#08100845,transparent)}
@media(max-width:760px){.journey-copy:not(.copy-intro) .serif{font-size:16px;max-width:320px}}
@media(max-height:500px){.journey-copy:not(.copy-intro) .serif{font-size:12px;line-height:1.45}}

/* Content from the corporate profile: any number of brands, product specs, certifications, group band. */
@media (min-width:761px) and (prefers-reduced-motion:no-preference){
  .brands-section{height:calc(90svh + var(--brand-count,4) * 75svh)}
}
.brand-progress span{width:calc(100% / var(--brand-count,4))}
.panel-sector{font-size:10px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--brand-color);margin-bottom:12px}
.panel-products.products-1 .product-object{max-width:330px}
.product-caption strong{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px}
.status-pill{display:inline-block;font:700 9px/1 var(--sans);font-style:normal;letter-spacing:.06em;text-transform:uppercase;padding:4px 7px;border-radius:20px;background:var(--brand-color,#2f6e57);color:#fff}
.status-pill[hidden]{display:none}
.product-object img,.catalogue-item img,.detail-image img{border-radius:12px}
.detail-meta{flex-wrap:wrap}
.detail-meta .status-pill{margin-right:4px}
.detail-description p{margin:0 0 14px;font-size:15px;line-height:1.65}
.product-specs>div{grid-template-columns:minmax(110px,32%) 1fr;gap:12px}
.footer-motto{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#849b88;margin-top:14px}
.footer-grid>div>p:not(.footer-tagline):not(.footer-motto){line-height:1.6}
.footer-social{display:flex;gap:18px}
.footer-social a:hover{color:#fff}

.cert-section{background:var(--paper);display:grid;grid-template-columns:1fr 1.3fr;gap:7vw;align-items:start}
.cert-heading{position:sticky;top:110px}
.cert-heading h2{margin-bottom:22px}
.cert-heading .serif{font-size:17px;line-height:1.6;color:#566b5c;max-width:440px}
.cert-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cert-list li{display:flex;flex-direction:column;gap:16px;padding:24px 22px;border-radius:14px;background:#fff9;border:1px solid #1428201a}
.cert-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#dfe7df;color:var(--ink)}
.cert-list h3{font:700 15px/1.35 var(--sans);letter-spacing:0;margin-bottom:8px}
.cert-list .serif{font-size:14px;line-height:1.6;color:#566b5c}
.cert-note{grid-column:2;display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;font-size:13px;color:#566b5c;margin-top:-6vw}

.mini-brand-grid{grid-template-columns:repeat(var(--brand-count,4),1fr)}
.brand-highlights{list-style:none;margin:-14px 0 26px;padding:0;display:grid;gap:7px;font-size:12px}
.brand-highlights li{display:flex;gap:8px}
.brand-highlights li:before{content:'✓';color:var(--brand-color);font-weight:700}

.group-section{background:#10251d;color:#e1e7dc;display:grid;grid-template-columns:1fr 1.2fr;gap:7vw;align-items:center}
.group-section h2{margin-bottom:18px}
.group-section .serif{color:#b8c6b9;font-size:17px;line-height:1.6;margin-bottom:24px;max-width:460px}
.group-logos{display:grid;gap:34px;justify-items:start}
.group-logos img{height:auto;max-width:100%}
.group-logos>img{width:min(100%,560px)}
.group-logos span{display:flex;gap:40px;align-items:center}
.group-logos span img{width:170px;opacity:.85}

.contact-location{display:grid;gap:18px}
.contact-location .eyebrow{margin-bottom:0}
.contact-location p{line-height:1.6;margin-top:6px}
.contact-phones a{display:block}
.contact-location a:hover{text-decoration:underline}

@media (max-width:1000px){
  .mini-brand-grid{grid-template-columns:repeat(2,1fr)}
  .cert-section,.group-section{grid-template-columns:1fr}
  .cert-heading{position:static}
  .cert-note{grid-column:auto;margin-top:0}
}
@media (max-width:760px){
  .brand-panel{height:660px}
  .panel-products{top:auto;height:250px}
  .mini-brand-grid{grid-template-columns:1fr}
  .cert-list{grid-template-columns:1fr}
  .contact-location{display:grid;margin-top:30px}
  .group-logos span{gap:24px}
  .group-logos span img{width:130px}
  .footer-social{gap:12px}
}

/* Phone scroll performance: the light header is already ~96% opaque, so its backdrop blur only cost frames. */
@media (max-width:760px){
  .site-header.is-light{backdrop-filter:none}
}

/* Link from the catalogue panel to the full product page. */
.button-outline-dark{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;font-size:11px;margin-bottom:10px;border:1px solid var(--ink);color:var(--ink);background:transparent}
.button-outline-dark:hover{background:var(--ink);color:var(--paper)}

/* Where our products work: brands rotate through the original three-photo collage.
   Cards share one box (the front slot) and reach the other slots with transforms only, so a swap never triggers layout. */
.process-steps li{position:relative}
.process-step-link{display:flex;gap:22px;padding:14px 16px;margin:-14px -16px;border-radius:14px;transition:background-color .35s ease,opacity .35s ease,box-shadow .35s ease}
.process-steps li:not(.is-active) .process-step-link{opacity:.55}
.process-steps li.is-active .process-step-link{background:#ffffff8f;box-shadow:0 14px 22px -18px rgba(var(--brand-rgb),.9)}
.process-steps .step-number{transition:color .35s ease}
.process-steps li.is-active .step-number{color:var(--brand-color);font-weight:700}
/* Always takes its space, so the list never shifts under the cursor. */
.process-more{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:11px;font-weight:700;color:var(--brand-color);opacity:0;transform:translateX(6px);transition:opacity .3s ease,transform .3s ease}
.process-more svg{width:14px;transition:transform .25s}
.process-step-link:hover .process-more svg{transform:translateX(-4px)}
.process-steps li.is-active .process-more{opacity:1;transform:none}
.process-timer{position:absolute;right:0;left:0;bottom:-14px;height:2px;border-radius:2px;background:rgba(var(--brand-rgb),.18);opacity:0;overflow:hidden}
.process-timer:after{content:'';position:absolute;inset:0;background:var(--brand-color);transform:scaleX(0);transform-origin:right}
.process-section.is-autoplay li.is-active .process-timer{opacity:1}
.process-section.is-autoplay li.is-active .process-timer:after{animation:process-timer var(--process-duration,5s) linear forwards}
.process-section.is-paused li.is-active .process-timer:after{animation-play-state:paused}
@keyframes process-timer{to{transform:scaleX(1)}}

.process-card{position:absolute;right:34%;top:355px;width:70%;height:350px;display:block;border-radius:10px;overflow:hidden;transform-origin:100% 0;backface-visibility:hidden;will-change:transform;
  box-shadow:0 26px 40px -16px #16382038;transition:transform .8s cubic-bezier(.65,0,.25,1),z-index 0s .4s}
.process-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.process-card:after{content:'';position:absolute;inset:0;background:#0d1f18;opacity:0;pointer-events:none;transition:opacity .6s ease}
.process-card:not([data-pos=front]):after{opacity:.2}
.process-card:not([data-pos=front]):hover:after{opacity:.05}
.process-card[data-pos=front]{transform:rotate(-3deg);z-index:3}
.process-card[data-pos=back]{transform:translate(15.7%,-335px) scale(1.1) rotate(-2deg);z-index:1}
.process-card[data-pos=side]{transform:translate(57.1%,-190px) scale(.88) rotate(4deg);z-index:2}
.process-card[data-pos=front]:hover img{transform:scale(1.04)}
.process-card-caption{position:absolute;inset:auto 0 0;z-index:1;display:flex;flex-direction:column;gap:6px;padding:60px 22px 20px;color:var(--paper);background:linear-gradient(-180deg,transparent,#0d1f18d9);opacity:0;transform:translateY(14px);transition:opacity .3s ease,transform .3s ease}
.process-card[data-pos=front] .process-card-caption{opacity:1;transform:none;transition-delay:.45s}
.process-card-sector{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--brand-pale)}
.process-card-caption strong{font-family:var(--heading);font-weight:400;font-size:clamp(36px,3.4vw,52px);line-height:.95}
.process-card-cta{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700}
.process-card-cta svg{width:14px;transition:transform .25s}
.process-card:hover .process-card-cta svg{transform:translateX(-4px)}

@media (max-width:1000px){
  .process-card{height:330px}
}
@media (max-width:760px){
  .process-card{right:40%;top:225px;width:60%;height:270px}
  .process-card[data-pos=back]{transform:translate(10%,-225px) scale(1.07) rotate(-2deg)}
  .process-card[data-pos=side]{transform:translate(66.7%,-125px) scale(.8) rotate(4deg)}
  .process-card{translate:none!important}
  .process-card-caption{padding:40px 16px 14px}
  .process-card-caption strong{font-size:34px}
}
@media (prefers-reduced-motion:reduce){
  .process-card,.process-card img,.process-card:after,.process-card-caption,.process-step-link,.process-more{transition:none}
}

/* The hero scroll cue moves with a transform; animating `top` forced a full page layout on every frame. */
.scroll-line:after{animation:scroll-line-move 2s infinite;will-change:transform}
@keyframes scroll-line-move{from{transform:translateY(0)}to{transform:translateY(320%)}}

/* Compact collage: the front photo and its caption are visible as soon as the section reaches the top of the screen. */
@media (min-width:761px){
  .process-section{min-height:0;padding-top:64px;padding-bottom:80px;align-items:start;overflow:clip}
  /* Stays in view while the steps are read; the section's own overflow must not be hidden for sticky to work. */
  .process-visuals{min-height:580px;position:sticky;top:calc(var(--header) + 24px)}
  .process-card{top:250px;height:300px}
  .process-card[data-pos=back]{transform:translate(15.7%,-250px) scale(1.1) rotate(-2deg)}
  .process-card[data-pos=side]{transform:translate(57.1%,-140px) scale(.88) rotate(4deg)}
}
@media (min-width:761px) and (max-width:1000px){
  .process-card{height:280px}
}

/* Safari's collapsing toolbar grows the visible viewport beyond 100svh.
   Keep the scroll track stable, but let the pinned picture fill that viewport. */
@supports(height:100dvh){
  .journey-stage{height:100dvh}
  .journey.journey-is-static{height:100dvh}
  @media(prefers-reduced-motion:reduce){.journey{height:100dvh}}
}
@media(max-width:760px){.journey .dust{display:none}}

/* In-development notices (brands and products not yet released) */
.dev-notice{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:10px 14px;border:1px solid rgba(20,40,32,.18);border-radius:10px;background:rgba(255,255,255,.55);color:var(--ink)}
.dev-notice[hidden],#detail-dev[hidden]{display:none}
.dev-notice-tag{flex:none;display:inline-flex;align-items:center;gap:7px;font:700 10px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--ink)}
.dev-notice-tag:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--gold)}
.dev-notice p{margin:0;font:400 12.5px/1.4 var(--sans);color:var(--muted)}
.dev-notice p strong{font-weight:600;color:var(--ink)}
.dev-notice-hero{position:relative;z-index:3;max-width:620px;margin-bottom:24px}
.dev-notice-panel{position:absolute;right:42px;bottom:22px;z-index:4;max-width:min(460px,45%);margin:0}
.dev-flag{position:absolute;top:14px;right:14px;z-index:4;font:700 11px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;padding:8px 12px;border-radius:999px;background:#e8bd79;color:#142820}
.dev-flag-inline{position:static;display:inline-block;margin:10px 0 0 10px}
.bp-other{position:relative}
@media (max-width:760px){.dev-notice{flex-direction:column;align-items:flex-start;gap:8px}.dev-notice-panel{right:20px;left:20px;bottom:14px;max-width:none}}

/* Language switcher: EN · TR · عربي, at the end of the header. */
#primary-nav{margin-right:auto}
.lang-switch{display:flex;align-items:center;gap:2px;margin-right:22px;padding:3px;border:1px solid color-mix(in srgb,currentColor 32%,transparent);border-radius:100px;font-size:11px;font-weight:700;line-height:1}
.lang-switch a{display:grid;place-items:center;min-width:34px;height:28px;padding:0 9px;border-radius:100px;opacity:.72;transition:opacity .2s,background .2s,color .2s}
.lang-switch a:hover{opacity:1}
.lang-switch a[aria-current]{opacity:1;background:var(--paper);color:var(--ink)}
.is-light .lang-switch a[aria-current],.menu-open .lang-switch a[aria-current]{background:var(--ink);color:var(--paper)}
.lang-switch a[lang=ar]{font-size:13px;font-weight:600}
.lang-switch .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:760px){
  .lang-switch{margin-right:auto;margin-left:6px;order:2}
  .menu-toggle{order:3}
  .lang-switch a{min-width:30px;height:26px;padding:0 7px}
}

/* Brands section: a spray can replaces the cursor (assets/js/spray-cursor.js). */
.spray-cursor{position:fixed;right:0;top:0;z-index:9999;pointer-events:none;will-change:transform}
.has-spray-cursor,.has-spray-cursor *{cursor:none!important}

/* Home page video (YouTube embed above the closing banner) */
.home-video{padding-top:0}
.home-video-frame{max-width:1100px;margin:0 auto;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#0b140f}
.home-video-frame iframe{display:block;width:100%;height:100%;border:0}
