/* TASHYEED home reference recreation */
.home-reference{color:#26302d;background:#fff}
.home-reference .wrap{width:min(1180px,calc(100% - 64px));margin:0 auto}
.utility{display:none!important}
.site-header{    margin: 0 auto;
    max-width: 1360px;background:#242a29!important;border-bottom:1px solid #ffffff16;position:relative;z-index:50}
.site-header .nav-wrap{height:76px;gap:22px}
.site-header .brand{min-width:155px;color:#fff}
.site-header .brand img{width:52px;height:54px;object-fit:contain;background:transparent!important;padding:0!important}
.site-header .brand span{font-size:19px;color:#fff}
.site-header .brand small{color:#9daaa3;font-size:7px;letter-spacing:.12em}
.site-header .main-nav{gap:19px;flex:1;justify-content:center}
.site-header .main-nav a{color:#f1f4f2;font-size:11px;font-weight:600;white-space:nowrap}
.site-header .main-nav a:hover{color:#3db66c}
.site-header .nav-cta{background:#16874b;color:#fff;padding:13px 17px;border-radius:2px;font-size:10px;white-space:nowrap}
.site-header .menu-toggle{color:#fff}
.ref-hero{max-width: 1360px;
    margin: 0 auto;height:590px;position:relative;background:#1c2929;overflow:hidden;color:#fff;background-image:var(--hero-bg);background-size:cover;background-position:center 48%}
.ref-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,25,26,.89),rgba(14,25,26,.58) 54%,rgba(14,25,26,.26)),linear-gradient(0deg,rgba(8,17,18,.32),transparent 60%)}
.ref-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,15,17,.1),rgba(8,15,17,.18))}
.ref-hero-inner{height:100%;position:relative;display:flex;align-items:center}
.ref-hero-copy{max-width:670px;margin-left:8%;padding:35px 0}
.ref-kicker{display:block;color:#22985a;font-size:10px;letter-spacing:.19em;font-weight:800;text-transform:uppercase;margin-bottom:17px}
.ref-hero .ref-kicker{color:#35a96b}
.ref-hero h1{font-size:clamp(48px,5.4vw,76px);line-height:1.04;letter-spacing:-.045em;margin:0 0 24px;font-weight:850;color:#fff}
.ref-hero h1 em{font-style:normal;color:#218d50;display:block}
.ref-hero-copy>p{font-size:18px;line-height:1.65;color:#e0e7e4;max-width:620px;margin:0 0 32px}
.ref-actions{display:flex;gap:14px;flex-wrap:wrap}
.ref-btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;padding:0 20px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;transition:.2s;border-radius:1px}
.ref-btn:hover{transform:translateY(-2px)}
.ref-btn-green{background:#16874b;color:#fff;border:1px solid #16874b}
.ref-btn-outline{border:1px solid #dce5df;color:#fff;background:transparent}
.ref-btn-dark{border:1px solid #35413c;color:#26332d;background:transparent}
.ref-btn-dark-green{border:1px solid #17864b;color:#1e9b59;background:transparent}
.ref-about{padding:68px 0 62px;background:#fff}
.ref-about-grid{display:grid;grid-template-columns:1fr .95fr;gap:95px;align-items:center}
.ref-about-copy{max-width:520px}
.ref-kicker-light{position:relative;padding-left:42px}
.ref-kicker-light:before{content:"";position:absolute;left:0;top:50%;width:30px;height:1px;background:#299b5c}
.ref-about h2{font-size:38px;line-height:1.12;letter-spacing:-.035em;margin:0 0 18px;color:#28322f;max-width:490px}
.ref-about-copy p{font-size:14px;line-height:1.8;color:#68736d;margin:0 0 24px}
.ref-text-link{font-size:10px;color:#138348;text-transform:uppercase;font-weight:850;letter-spacing:.06em}
.ref-about-photo{height:390px;position:relative;margin-right:18px}
.ref-about-photo img{width:100%;height:100%;object-fit:cover;display:block}
.ref-photo-ribbon{position:absolute;right:-18px;top:0;bottom:0;width:18px;background:#18874b}
.ref-photo-caption{position:absolute;left:-14px;bottom:0;background:#1e3029;color:#fff;padding:13px 17px;min-width:125px;box-shadow:0 5px 14px #0002}
.ref-photo-caption strong,.ref-photo-caption small{display:block}
.ref-photo-caption strong{font-size:13px;color:#3dbb70}
.ref-photo-caption small{font-size:9px;color:#d6dfd9;margin-top:4px}
.ref-divisions{max-width: 1360px;
    margin: 0 auto;padding:62px 0 58px;background:#252d2c;color:#fff}
.ref-section-title{text-align:center;max-width:680px;margin:0 auto 34px}
.ref-section-title .ref-kicker{margin-bottom:12px}
.ref-section-title h2{font-size:34px;line-height:1.12;margin:0 0 12px;color:#2b3430;letter-spacing:-.03em}
.ref-section-title p{font-size:13px;line-height:1.6;color:#758078;margin:0 auto;max-width:620px}
.ref-title-light h2{color:#fff}
.ref-title-light p{color:#c2ccc6}
.ref-division-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.ref-division-card{background:#303938;min-width:0}
.ref-division-card>img{width:100%;height:215px;display:block;object-fit:cover}
.ref-division-body{padding:22px 22px 24px}
.ref-division-body h3{font-size:18px;line-height:1.2;margin:0 0 12px;color:#fff}
.ref-division-body p{font-size:12px;line-height:1.65;color:#c2ccc6;margin:0 0 18px}
.ref-division-body a{font-size:9px;color:#3ab76b;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.ref-architecture{    max-width: 1360px;
    margin: 0 auto;padding:62px 0 58px;background:#f2f4f3}
.ref-architecture .ref-section-title{margin-bottom:32px}
.ref-architecture-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ref-arch-card{background:#fff;min-width:0;box-shadow:0 1px 4px #13231a0c}
.ref-arch-card>img{width:100%;height:205px;display:block;object-fit:cover}
.ref-arch-card>div{padding:18px 18px 20px}
.ref-arch-card h3{font-size:15px;line-height:1.25;margin:0 0 9px;color:#26312c}
.ref-arch-card p{font-size:11px;line-height:1.6;color:#69756e;margin:0 0 14px;min-height:64px}
.ref-arch-card a{font-size:9px;font-weight:850;color:#148449;text-transform:uppercase;letter-spacing:.04em}
.ref-center{text-align:center;margin-top:28px}
.ref-partners{max-width: 1360px;
    margin: 0 auto;padding:60px 0 55px;background:#252d2c;color:#fff}
.ref-partners .ref-section-title{margin-bottom:30px}
.ref-partner-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ref-partner{min-height:150px;background:#303938;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px}
.ref-partner>span{width:46px;height:46px;display:grid;place-items:center;background:#17864b;color:#fff;font-size:19px;font-weight:800;margin-bottom:12px}
.ref-partner strong{font-size:13px;color:#fff}
.ref-partner small{font-size:9px;color:#c0cbc4;margin-top:5px}
.ref-projects{padding:62px 0 64px;background:#fff}
.ref-project-heading{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:28px}
.ref-project-heading .ref-kicker{margin-bottom:12px}
.ref-project-heading h2{font-size:34px;line-height:1.1;margin:0 0 9px;color:#29332f}
.ref-project-heading p{font-size:11px;color:#6d7971;margin:0;max-width:520px}
.ref-project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ref-project-card{background:#fff;border:1px solid #e6ebe7;min-width:0}
.ref-project-image{height:205px;position:relative;overflow:hidden}
.ref-project-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.ref-project-card:hover img{transform:scale(1.04)}
.ref-project-image span{position:absolute;top:12px;left:12px;background:#16874b;color:#fff;padding:5px 9px;font-size:8px;font-weight:800}
.ref-project-info{padding:13px 14px 15px}
.ref-project-info strong{font-size:12px;display:block;color:#2b3530}
.ref-project-info small{font-size:10px;color:#7b8780;display:block;margin-top:6px}
.ref-advantages{padding:58px 0 64px;background:#f1f3f2}
.ref-advantages .ref-section-title{margin-bottom:28px}
.ref-advantage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.ref-advantage-card{background:#fff;padding:22px 20px;min-height:145px;display:flex;align-items:flex-start;gap:13px}
.ref-advantage-card>span{width:20px;height:20px;border:1px solid #16874b;border-radius:50%;display:grid;place-items:center;color:#16874b;font-size:12px;flex:none}
.ref-advantage-card strong{font-size:12px;color:#2d3732;display:block;margin:1px 0 8px}
.ref-advantage-card p{font-size:10px;line-height:1.6;color:#748078;margin:0}
.ref-cta{max-width: 1360px;
    margin: 0 auto;background:#252d2c;color:#fff;border-bottom:4px solid #16874b;padding:52px 0}
.ref-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:45px}
.ref-cta .ref-kicker{margin-bottom:10px}
.ref-cta h2{font-size:34px;line-height:1.05;max-width:510px;margin:0 0 12px;color:#fff}
.ref-cta p{font-size:11px;line-height:1.6;color:#c3cec7;max-width:550px;margin:0}
.ref-cta-actions{min-width:225px;display:flex;flex-direction:column;align-items:flex-start;gap:13px}
.ref-cta-link{font-size:9px;color:#32b46a;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
#footer{scroll-margin-top:20px}
#footer.footer{max-width: 1360px;
    margin: 0 auto;background:#101b19}
#footer .footer-grid{grid-template-columns:1.3fr 1fr 1fr 1.2fr;gap:34px}
#footer .footer-brand>strong{font-size:18px}
#footer .footer-bottom{border-top:1px solid #39443e}
.is-ar .ref-hero-copy{margin-left:0;margin-right:8%;direction:rtl;text-align:right}
.is-ar .ref-kicker-light{padding-left:0;padding-right:42px}
.is-ar .ref-kicker-light:before{left:auto;right:0}
.is-ar .ref-about-copy{text-align:right;direction:rtl}
.is-ar .ref-photo-caption{left:auto;right:-14px}
.is-ar .ref-photo-ribbon{right:auto;left:-18px}
.is-ar .ref-project-heading,.is-ar .ref-cta-inner{direction:rtl}
.is-ar .ref-project-image span{left:auto;right:12px}
.is-ar .ref-advantage-card{text-align:right;direction:rtl}
@media(max-width:1050px){.site-header .main-nav{gap:10px}.site-header .main-nav a{font-size:9px}.ref-about-grid{gap:45px}.ref-division-card>img,.ref-arch-card>img,.ref-project-image{height:175px}}
@media(max-width:760px){
.home-reference .wrap{width:min(100% - 34px,560px)}
.site-header .nav-wrap{height:66px}.site-header .brand img{width:42px;height:44px}
.site-header .main-nav{display:none;position:absolute;top:66px;left:0;right:0;background:#242a29;padding:12px 22px 20px;box-shadow:0 12px 18px #0004;flex-direction:column;align-items:stretch;gap:0}
.site-header .main-nav.open{display:flex}.site-header .main-nav a{padding:13px 4px;border-bottom:1px solid #ffffff16;font-size:12px}
.site-header .nav-cta{font-size:8px;padding:10px 11px}.site-header .menu-toggle{display:block;margin-left:auto}
.ref-hero{height:570px;background-position:58% center}.ref-hero:before{background:linear-gradient(90deg,rgba(12,23,24,.91),rgba(12,23,24,.63))}
.ref-hero-copy{margin:0;padding:30px 0;max-width:100%}.ref-hero h1{font-size:clamp(43px,11vw,60px)}.ref-hero-copy>p{font-size:14px;line-height:1.65}
.ref-about{padding:45px 0}.ref-about-grid{grid-template-columns:1fr;gap:28px}.ref-about-photo{height:295px;margin:0 12px 0 0}.ref-about h2{font-size:29px}
.ref-divisions,.ref-architecture,.ref-partners,.ref-projects,.ref-advantages{padding:45px 0}
.ref-section-title h2,.ref-project-heading h2{font-size:27px}.ref-section-title{margin-bottom:25px}
.ref-division-grid{grid-template-columns:1fr;gap:14px}.ref-division-card{display:grid;grid-template-columns:38% 1fr}.ref-division-card>img{height:100%;min-height:185px}.ref-division-body{padding:16px}
.ref-division-body h3{font-size:14px}.ref-division-body p{font-size:11px;margin-bottom:10px}
.ref-architecture-grid{grid-template-columns:repeat(2,1fr);gap:11px}.ref-arch-card>img{height:150px}.ref-arch-card>div{padding:13px}.ref-arch-card h3{font-size:12px}.ref-arch-card p{font-size:10px;min-height:85px}
.ref-partner-grid{grid-template-columns:repeat(2,1fr);gap:10px}.ref-partner{min-height:125px}
.ref-project-heading{align-items:flex-start;flex-direction:column}.ref-project-grid{grid-template-columns:repeat(2,1fr);gap:11px}.ref-project-image{height:145px}.ref-project-info{padding:10px}.ref-project-info strong{font-size:10px}
.ref-advantage-grid{grid-template-columns:repeat(2,1fr);gap:10px}.ref-advantage-card{padding:15px 12px;min-height:155px;gap:8px}.ref-advantage-card strong{font-size:10px}.ref-advantage-card p{font-size:9px}
.ref-cta{padding:40px 0}.ref-cta-inner{align-items:flex-start;flex-direction:column;gap:24px}.ref-cta h2{font-size:28px}.ref-cta-actions{min-width:0;flex-direction:row;align-items:center;flex-wrap:wrap}
#footer .footer-grid{grid-template-columns:1fr 1fr;gap:22px}
.is-ar .ref-hero-copy{margin:0}.is-ar .ref-about-copy{text-align:right}.is-ar .ref-division-card{direction:rtl}.is-ar .ref-advantage-card{direction:rtl}
}
@media(max-width:430px){
.site-header .nav-cta{display:none}.ref-hero{height:530px}.ref-hero h1{font-size:42px}.ref-actions{gap:9px}.ref-btn{min-height:41px;padding:0 12px;font-size:9px}
.ref-division-card{grid-template-columns:1fr}.ref-division-card>img{height:165px;min-height:0}
.ref-architecture-grid{grid-template-columns:1fr}.ref-arch-card>img{height:200px}.ref-arch-card p{min-height:0}
.ref-project-grid{grid-template-columns:1fr 1fr}.ref-project-image{height:125px}
.ref-advantage-grid{grid-template-columns:1fr}.ref-advantage-card{min-height:0}
#footer .footer-grid{grid-template-columns:1fr 1fr}
}



/* Homepage motion system — elegant, lightweight and reduced-motion aware */
.ref-hero-copy.home-hero-enter{
  opacity:0;
  transform:translate3d(54px,0,0);
  filter:blur(2px);
}
.ref-hero-copy.home-hero-enter.home-hero-entered{
  opacity:1;
  transform:translate3d(0,0,0);
  filter:blur(0);
  transition:opacity .9s ease,transform 1s cubic-bezier(.2,.75,.25,1),filter .9s ease;
}
.home-reveal{
  opacity:0;
  transform:translate3d(0,34px,0);
  transition:opacity .75s ease,transform .85s cubic-bezier(.2,.72,.25,1);
  transition-delay:var(--home-reveal-delay,0ms);
  will-change:opacity,transform;
}
.ref-about-photo.home-reveal,
.ref-division-card.home-reveal,
.ref-arch-card.home-reveal,
.ref-project-card.home-reveal{
  transform:translate3d(0,48px,0);
}
.home-reveal.home-revealed{
  opacity:1;
  transform:translate3d(0,0,0);
}
.ref-division-card,.ref-arch-card,.ref-project-card,.ref-partner,.ref-advantage-card{
  transition:transform .35s ease,box-shadow .35s ease;
}
.ref-division-card:hover,.ref-arch-card:hover,.ref-project-card:hover,
.ref-partner:hover,.ref-advantage-card:hover{
  transform:translateY(-5px);
}
.ref-project-image img,.ref-about-photo img,.ref-division-card>img,.ref-arch-card>img{
  transition:transform .7s cubic-bezier(.2,.7,.2,1);
}
.ref-project-card:hover .ref-project-image img,
.ref-about-photo:hover img,.ref-division-card:hover>img,.ref-arch-card:hover>img{
  transform:scale(1.045);
}
@media(prefers-reduced-motion:reduce){
  .ref-hero-copy.home-hero-enter,.home-reveal{
    opacity:1!important;transform:none!important;filter:none!important;
    transition:none!important;will-change:auto!important;
  }
  .ref-division-card,.ref-arch-card,.ref-project-card,.ref-partner,.ref-advantage-card,
  .ref-project-image img,.ref-about-photo img,.ref-division-card>img,.ref-arch-card>img{
    transition:none!important;
  }
}

/* Partner brand logos */
.ref-partner-logo{display:block;width:100%;max-width:190px;height:62px;object-fit:contain;background:#fff;padding:7px 12px;border-radius:2px;margin:0 auto 12px}
.ref-partner{gap:2px}
@media(max-width:700px){.ref-partner-logo{max-width:150px;height:52px}}


/* Slow continuous hero background motion — content remains stationary */
.ref-hero{
  background-image:none !important;
  isolation:isolate;
}
.ref-hero::after{
  content:"";
  position:absolute;
  z-index:0;
  inset:-4%;
  background-image:var(--hero-bg);
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center 48%;
  transform:scale(1.035);
  transform-origin:center center;
  will-change:transform;
  animation:tashyeedHeroBackgroundDrift 48s ease-in-out infinite alternate;
  pointer-events:none;
}
.ref-hero:before{
  z-index:1;
}
.ref-hero-shade{
  z-index:1;
}
.ref-hero-inner{
  z-index:2;
}
@keyframes tashyeedHeroBackgroundDrift{
  0%{transform:scale(1.035) translate3d(0,0,0)}
  50%{transform:scale(1.09) translate3d(-.7%,.35%,0)}
  100%{transform:scale(1.12) translate3d(.65%,-.25%,0)}
}
@media(prefers-reduced-motion:reduce){
  .ref-hero::after{
    animation:none !important;
    transform:scale(1.035) !important;
    will-change:auto;
  }
}


/* Homepage hero background video */
.ref-hero{isolation:isolate}
.ref-hero-video{position:absolute;z-index:0;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%;display:block;pointer-events:none}
.ref-hero:before{z-index:1}
.ref-hero-shade{z-index:2}
.ref-hero-inner{z-index:3}
@media(prefers-reduced-motion:reduce){
 .ref-hero-video{display:none}
}


/* Do not show the static poster/background while the hero video loads */
.ref-hero.ref-hero-has-video{background-image:none !important;background-color:#10191b}
.ref-hero-has-video .ref-hero-video{opacity:0;transition:opacity .35s ease}
.ref-hero-has-video .ref-hero-video.is-ready{opacity:1}
@media(prefers-reduced-motion:reduce){
 .ref-hero-has-video .ref-hero-video{display:block;opacity:1}
}

/* Restored static hero image and subtle oversized TASHYEED brandmark */
.ref-hero{background-image:var(--hero-bg);background-size:cover;background-position:center 48%}
.ref-hero-brandmark{position:absolute;z-index:1;right:5.5%;top:50%;transform:translateY(-50%);width:min(43%,590px);opacity:.27;pointer-events:none;filter:drop-shadow(0 8px 22px rgba(0,0,0,.16))}
.ref-hero-brandmark img{display:block;width:100%;height:auto;object-fit:contain}
.ref-hero-inner{z-index:2}
@media(max-width:760px){
 .ref-hero-brandmark{right:4%;top:auto;bottom:7%;transform:none;width:min(72%,390px);opacity:.20}
}

/* Hero brand icon only: opposite the text, never the full wordmark */
.ref-hero-brandmark{
  position:absolute;
  z-index:3;
  right:8%;
  left:auto;
  top:50%;
  transform:translateY(-50%);
  width:clamp(190px,25vw,340px);
  opacity:.30;
  pointer-events:none;
  filter:drop-shadow(0 8px 22px rgba(0,0,0,.20));
}
.ref-hero-brandmark img{display:block;width:100%;height:auto;object-fit:contain}
html[dir="rtl"] .ref-hero-brandmark{right:auto;left:8%}
@media(max-width:760px){
 .ref-hero-brandmark{width:clamp(110px,30vw,190px);right:5%;top:50%;bottom:auto;transform:translateY(-50%);opacity:.23}
 html[dir="rtl"] .ref-hero-brandmark{left:5%;right:auto}
}

.ref-hero-inner{position:relative;z-index:4}

/* Reliable static hero image: render it on the section itself */
.ref-hero{
  background-image:var(--hero-bg) !important;
  background-repeat:no-repeat !important;
  background-size:cover !important;
  background-position:center 48% !important;
}
.ref-hero::after{background-image:none !important;animation:none !important;transform:none !important}
.ref-hero-brandmark{width:clamp(145px,18vw,250px);opacity:.28}
@media(max-width:760px){
  .ref-hero-brandmark{width:clamp(105px,24vw,155px);opacity:.24}
}

/* Render the hero artwork as a real image element to avoid background URL/cascade issues */
.ref-hero{position:relative;isolation:isolate;overflow:hidden;background:#10191b !important}
.ref-hero-background{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center 48% !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:none !important;
}
.ref-hero::before{z-index:1 !important}
.ref-hero-shade{z-index:2 !important}
.ref-hero-brandmark{z-index:3 !important}
.ref-hero-inner{position:relative;z-index:4 !important}
