/* How we work detail: reference-led composition, fully scoped. */
.workflow-detail-page{--workflow-red:#d71d2b;--workflow-navy:#071d39;--workflow-ink:#14233a;--workflow-muted:#667085;background:#fff;color:var(--workflow-ink);overflow:hidden}
.workflow-detail-page img{display:block;max-width:100%}
.workflow-detail-page .container{width:min(1180px,calc(100% - 40px))}
.workflow-detail-hero{display:grid;grid-template-columns:minmax(0,49%) minmax(0,51%);min-height:242px;background:#f7f8fa;direction:ltr}
.workflow-detail-hero__media{position:relative;min-height:242px;overflow:hidden;background:var(--workflow-navy)}
.workflow-detail-hero__media:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,29,57,.04),rgba(8,29,57,.32))}
.workflow-detail-hero__media img{width:100%;height:100%;object-fit:cover;object-position:center}
.workflow-detail-hero__media>i{position:absolute;inset:0;z-index:1;display:grid;place-items:center;color:#fff;font-size:56px}
.workflow-detail-hero__copy{position:relative;display:flex;flex-direction:column;justify-content:center;padding:25px clamp(28px,5vw,86px);background:linear-gradient(125deg,#fff 0%,#fbfbfc 64%,#f1f4f7 64%,#fff 100%);direction:rtl;text-align:right}
.workflow-detail-hero__copy:after{content:'';position:absolute;inset:0 0 0 auto;width:13px;background:var(--workflow-red)}
.workflow-breadcrumbs{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin-bottom:14px;color:#7c8796;font-size:10px;font-weight:700}
.workflow-breadcrumbs a{color:inherit;text-decoration:none}.workflow-breadcrumbs a:hover{color:var(--workflow-red)}
.workflow-stage-tag{align-self:flex-start;margin-bottom:9px;padding:5px 22px;border-radius:4px;background:var(--workflow-red);color:#fff;font-size:11px;font-weight:800}
.workflow-detail-hero h1{margin:0;color:#172e55;font-size:clamp(27px,3vw,43px);line-height:1.2}.workflow-detail-hero h1::first-letter{color:var(--workflow-red)}
.workflow-detail-hero p{max-width:610px;margin:9px 0 0;color:#536174;font-size:13px;line-height:1.8}
.workflow-stage-nav{border-bottom:1px solid #e8ebef;background:#fff;box-shadow:0 4px 15px rgba(7,29,57,.04)}
.workflow-stage-nav__inner{display:grid;grid-template-columns:repeat(7,minmax(105px,1fr));width:min(1180px,100%);min-height:82px;margin:auto;overflow-x:auto}
.workflow-stage-nav__item{position:relative;display:grid;grid-template-columns:30px 1fr;grid-template-rows:32px 1fr;column-gap:7px;align-items:center;padding:12px 7px;color:#3d4a5d;text-align:center;text-decoration:none;white-space:normal}
.workflow-stage-nav__item:not(:last-child):after{content:'';position:absolute;top:34px;inset-inline-start:calc(50% + 22px);width:calc(100% - 38px);border-top:1px solid #ccd5df}
.workflow-stage-nav__number{position:relative;z-index:1;grid-row:1;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#e5eaf0;color:#4d5a6c;font-size:12px;font-weight:800}
.workflow-stage-nav__item>i{grid-row:1;color:#172e55;font-size:20px}.workflow-stage-nav__item>b{grid-column:1/-1;display:block;font-size:11px;line-height:1.35}
.workflow-stage-nav__item:hover,.workflow-stage-nav__item:focus-visible{color:var(--workflow-red);outline:0}.workflow-stage-nav__item.is-current{color:var(--workflow-red)}.workflow-stage-nav__item.is-current .workflow-stage-nav__number{background:var(--workflow-red);color:#fff}.workflow-stage-nav__item.is-current>i{color:var(--workflow-red)}
.workflow-journey{padding:32px 0 28px;background:linear-gradient(145deg,#f7f8fa,#fff 58%,#f7f8fa)}
.workflow-section-heading{max-width:760px;margin:0 auto 20px;text-align:center}.workflow-section-heading>span{color:var(--workflow-red);font-size:12px;font-weight:900}.workflow-section-heading>span:before,.workflow-section-heading>span:after{content:'';display:inline-block;width:19px;margin:0 8px 4px;border-top:2px solid currentColor}
.workflow-section-heading h2{margin:5px 0;color:#132a49;font-size:clamp(25px,2.8vw,37px);line-height:1.25}.workflow-section-heading p{margin:4px auto 0;color:#657386;font-size:13px;line-height:1.8}
.workflow-event-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:14px}.workflow-event-card{overflow:hidden;border:1px solid #e4e8ed;border-radius:7px;background:#fff;box-shadow:0 5px 16px rgba(9,29,57,.055)}
.workflow-event-card figure{position:relative;height:150px;margin:0;overflow:hidden;background:#e6ebf0}.workflow-event-card figure>i{display:grid;height:100%;place-items:center;color:#7e8b9a;font-size:34px}.workflow-event-card img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.workflow-event-card:hover img{transform:scale(1.04)}
.workflow-event-card figure strong{position:absolute;top:0;inset-inline-end:0;padding:6px 9px;background:var(--workflow-red);color:#fff;font-size:18px;line-height:1}
.workflow-event-card>div{min-height:116px;padding:13px 14px}.workflow-event-card h3{margin:0;color:#132a49;font-size:15px;line-height:1.4}.workflow-event-card p{margin:7px 0 0;color:#6b7787;font-size:12px;line-height:1.7}
.workflow-assets{padding:16px 0 28px;background:#fff}.workflow-assets__grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.9fr);gap:22px}.workflow-mini-heading{display:flex;align-items:center;gap:9px;margin-bottom:5px;color:var(--workflow-red);font-size:16px;font-weight:900}.workflow-mini-heading i{font-size:20px}.workflow-media-showcase>p,.workflow-equipment>p{margin:0 0 13px;color:#687587;font-size:11px;line-height:1.6}
.workflow-media-mosaic{display:grid;grid-template-columns:1.45fr 1fr;grid-template-rows:100px 100px;gap:7px}.workflow-media-mosaic figure{position:relative;min-height:0;margin:0;overflow:hidden;border-radius:5px;background:#e3e8ee}.workflow-media-mosaic figure:first-child{grid-row:1/3}.workflow-media-mosaic img{width:100%;height:100%;object-fit:cover}.workflow-play{position:absolute;top:50%;left:50%;display:grid;place-items:center;width:48px;height:48px;border:3px solid #fff;border-radius:50%;background:#fff;color:var(--workflow-red);transform:translate(-50%,-50%)}
.workflow-equipment__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.workflow-equipment__grid>div{min-width:0;min-height:96px;padding:7px 5px;border:1px solid #e7ebef;border-radius:5px;background:#fff;text-align:center}.workflow-equipment__grid img{width:100%;height:56px;object-fit:contain}.workflow-equipment__grid i{display:grid;height:56px;place-items:center;color:#64748b;font-size:25px}.workflow-equipment__grid span{display:block;margin-top:4px;color:#4f5c6e;font-size:10px;line-height:1.35}
.workflow-related-projects{padding:23px 0 26px;background:#f7f9fb;border-top:1px solid #eef0f3}.workflow-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:16px}.workflow-project-card{display:grid;grid-template-columns:145px 1fr;min-height:134px;overflow:hidden;border:1px solid #e0e6ec;border-radius:7px;background:#fff;color:inherit;text-decoration:none}.workflow-project-card figure{margin:0;background:#dfe5ec}.workflow-project-card figure img{width:100%;height:100%;object-fit:cover}.workflow-project-card>div{padding:15px}.workflow-project-card h2{margin:0;color:#172e55;font-size:17px;line-height:1.4}.workflow-project-card p{display:-webkit-box;margin:5px 0;color:#677587;font-size:11px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.workflow-project-card span{display:inline-flex;gap:7px;align-items:center;color:var(--workflow-red);font-size:11px;font-weight:800}.workflow-project-card:hover{box-shadow:0 8px 20px rgba(7,29,57,.1)}
.workflow-next-prev{border-top:1px solid #e4e9ef;background:#fff}.workflow-next-prev .container{display:grid;grid-template-columns:1fr 1fr;min-height:82px}.workflow-next-prev a{display:flex;align-items:center;gap:13px;color:#172e55;text-decoration:none}.workflow-next-prev a:last-child{justify-content:flex-end;text-align:end}.workflow-next-prev a>i{display:grid;place-items:center;width:38px;height:38px;border:1px solid #e0e6ed;border-radius:50%;color:var(--workflow-red)}.workflow-next-prev a:hover>i{border-color:var(--workflow-red);background:var(--workflow-red);color:#fff}.workflow-next-prev small{display:block;color:#8a96a5;font-size:10px}.workflow-next-prev b{display:block;margin-top:3px;font-size:13px}
@media(max-width:800px){.workflow-detail-hero{grid-template-columns:1fr}.workflow-detail-hero__media{min-height:250px}.workflow-detail-hero__copy{min-height:245px;padding:26px 28px}.workflow-stage-nav__inner{grid-template-columns:repeat(7,115px);justify-content:start}.workflow-assets__grid{grid-template-columns:1fr}.workflow-media-mosaic{grid-template-rows:130px 130px}}
@media(max-width:540px){.workflow-detail-page .container{width:calc(100% - 28px)}.workflow-detail-hero__media{min-height:205px}.workflow-detail-hero__copy{padding:22px 20px}.workflow-detail-hero h1{font-size:29px}.workflow-breadcrumbs{font-size:9px}.workflow-stage-nav__inner{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;min-height:144px;overflow:visible}.workflow-stage-nav__item{padding-inline:5px}.workflow-stage-nav__item:not(:last-child):after{display:none}.workflow-stage-nav__item>b{font-size:10px}.workflow-journey{padding-top:27px}.workflow-event-grid{grid-template-columns:1fr 1fr;gap:9px}.workflow-event-card figure{height:105px}.workflow-event-card>div{min-height:125px;padding:10px}.workflow-event-card h3{font-size:13px}.workflow-event-card p{font-size:10.5px}.workflow-assets{padding-top:23px}.workflow-media-mosaic{grid-template-rows:90px 90px}.workflow-project-grid{grid-template-columns:1fr}.workflow-project-card{grid-template-columns:116px 1fr}.workflow-next-prev .container{min-height:72px}.workflow-next-prev b{font-size:11px}}

/* LINK CMS additions - preserves the approved static design while enabling dynamic content. */
.ui-icon,
.service-icon {
  width: 38px;
  height: 38px;
  display: block;
  fill: none;
}


.service-icon {
  margin: 0 auto 12px;
  color: var(--red);
}

.site-header {
  z-index: 1000;
}
.main-nav {
  z-index: 1001;
}
.lang-link {
  opacity: 0.86;
}
.brand-pattern {
  height: 120px;
  background: url('../images/pattern.svg') center/64px;
  opacity: 0.12;
  margin-top: 20px;
}
.hero-slider {
  padding: 0;
  display: block;
  overflow: hidden;
  min-height: 680px;
  background: var(--navy);
}
.hero-slide {
  position: absolute;
  inset: 0;
  min-height: 680px;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.hero-slide:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.04),
    rgba(10, 0, 2, 0.12) 42%,
    rgba(8, 0, 1, var(--overlay, 0.5)) 100%
  );
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide .hero-content {
  position: relative;
  z-index: 3;
}
.hero-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.hero-dots button.active {
  background: #fff;
  transform: scale(1.2);
}
.stats-grid-dynamic {
  grid-template-columns: repeat(6, 1fr);
}
.stats-grid-dynamic > div:first-child {
  border-right: 0;
}
.stats-grid-dynamic > div:last-child {
  border-right: 1px solid var(--line);
}
[dir='ltr'] .stats-grid > div {
  border-right: 0;
  border-left: 1px solid var(--line);
}
[dir='ltr'] .stats-grid > div:first-child {
  border-left: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 42px;
  align-items: stretch;
}
.about-section .section-head {
  text-align: start;
  margin: 0;
}
.about-section .section-head h2:after {
  margin-inline-start: 0;
}
.about-section .section-head p {
  font-size: 16px;
  line-height: 2;
  color: #4f5056;
}
.why-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 34px;
  background: linear-gradient(145deg, #fff, #f8f8f9);
  box-shadow: var(--shadow);
}
.why-card h3 {
  color: var(--red-dark);
  font-size: 27px;
  margin: 0 0 12px;
}
.why-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.9;
}
.text-link,
.text-button {
  color: var(--red-dark);
  font-weight: 800;
}
.text-button {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
}
.center-action {
  text-align: center;
  margin-top: 28px;
}
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn.compact {
  padding: 8px 14px;
  font-size: 12px;
  margin-top: 12px;
}
.dynamic-cards {
  grid-template-columns: repeat(4, 1fr);
}
.dynamic-cards .service-card {
  min-height: 210px;
}
.dynamic-cards .service-card h3 {
  font-size: 16px;
}
.dynamic-cards .service-card p {
  font-size: 12px;
}
.dynamic-projects {
  grid-template-columns: repeat(3, 1fr);
}
.dynamic-projects .project-card > a {
  display: block;
}
.dynamic-projects .project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.dynamic-projects .project-card > a > div {
  padding: 18px;
}
.dynamic-projects .project-card p {
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-category {
  display: block;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 5px;
}
.dynamic-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.dynamic-steps li {
  min-width: 0;
}
.dynamic-steps li:after {
  display: none !important;
}
.dynamic-steps b {
  display: grid;
  place-items: center;
}
.dynamic-steps .ui-icon {
  width: 30px;
  height: 30px;
}
.dynamic-steps .step-connector {
  position: absolute;
  inset: 28px auto auto -22px;
  width: 30px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.dynamic-steps .step-connector span {
  height: 1px;
  flex: 1;
  border-top: 1px dashed var(--red);
}
.dynamic-steps .step-connector i {
  font-style: normal;
  color: var(--red);
  font-size: 10px;
  margin: 0;
}
.site-gallery {
  background: #f7f7f8;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(1, 9, 33, 0.07);
  cursor: pointer;
  text-align: start;
}
.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.gallery-item span {
  display: block;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 700;
}
.gallery-page {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-page .gallery-item img {
  height: 270px;
}
.inner-hero {
  padding: 150px 0 76px;
  background:
    linear-gradient(115deg, rgba(1, 9, 33, 0.96), rgba(85, 7, 18, 0.92)),
    url('../images/pattern.svg') center/90px;
  color: #fff;
}
.inner-hero span {
  color: #e8959c;
  font-size: 13px;
  letter-spacing: 0.12em;
}
.inner-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  margin: 5px 0 12px;
}
.inner-hero p {
  max-width: 720px;
  color: #e9e9eb;
}
.service-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-detail-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  background: #fff;
}
.service-detail-icon {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  background: #f8eeee;
  color: var(--red);
  display: grid;
  place-items: center;
}
.service-detail-icon svg {
  width: 36px;
  height: 36px;
}
.service-detail-card h2 {
  margin: 0 0 8px;
  font-size: 21px;
}
.service-detail-card p {
  color: var(--muted);
  font-size: 13px;
}
.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  align-items: end;
}
.filter-bar select {
  max-width: 250px;
  margin: 0;
}
.projects-list-grid {
  display: grid;
  gap: 20px;
}
.project-list-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.project-list-card .project-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.project-list-card > div {
  padding: 28px 28px 28px 0;
}
.project-list-card > div > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}
.project-list-card h2 {
  font-size: 25px;
  margin: 5px 0 10px;
}
.project-list-card p {
  color: var(--muted);
  font-size: 14px;
}
.project-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #666;
  margin-bottom: 14px;
}
.empty-state {
  text-align: center;
  padding: 60px;
  color: var(--muted);
}
.project-detail-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.project-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1, 9, 33, 0.95), rgba(1, 9, 33, 0.24) 70%);
}
.project-detail-hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 58px;
}
.project-detail-hero .container > span {
  color: #f0a1a7;
  font-weight: 700;
}
.project-detail-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  max-width: 900px;
  margin: 5px 0 12px;
}
.project-detail-hero p {
  max-width: 850px;
  color: #eee;
  font-size: 16px;
}
.project-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 42px;
}
.project-facts > div {
  background: #fff;
  padding: 18px;
}
.project-facts b,
.project-facts span {
  display: block;
}
.project-facts b {
  color: var(--red-dark);
  font-size: 12px;
}
.project-facts span {
  font-size: 14px;
  margin-top: 4px;
}
.project-content-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 40px;
}
.project-content-grid article h2 {
  color: var(--red-dark);
  margin: 0 0 10px;
}
.project-content-grid article p {
  color: #50515a;
  line-height: 2;
}
.project-content-grid aside {
  background: #f7f7f8;
  border: 1px solid var(--line);
  padding: 26px;
  border-radius: 9px;
  height: max-content;
}
.project-content-grid aside h3 {
  color: var(--red-dark);
  margin: 0 0 8px;
}
.project-content-grid aside ul {
  margin: 0 0 24px;
  padding-inline-start: 18px;
}
.project-content-grid aside li {
  margin: 7px 0;
  font-size: 13px;
}
.preline {
  white-space: pre-line;
}
.related-projects {
  margin-top: 65px;
}
[dir='ltr'] .main-nav {
  direction: ltr;
}
[dir='ltr'] .main-nav a {
  text-align: left;
}
[dir='ltr'] .hero-slide:after {
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0.04),
    rgba(10, 0, 2, 0.12) 42%,
    rgba(8, 0, 1, var(--overlay, 0.5)) 100%
  );
}
[dir='ltr'] .dialog-layout {
  direction: ltr;
}
[dir='ltr'] .dialog-close {
  left: auto;
  right: 14px;
}
[dir='ltr'] .project-list-card > div {
  padding: 28px 28px 28px 0;
}
[dir='rtl'] .project-list-card > div {
  padding: 28px 0 28px 28px;
}
@media (max-width: 1000px) {
  .stats-grid-dynamic {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }
  .dynamic-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .dynamic-steps {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 26px;
  }
  .gallery-grid,
  .gallery-page {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-content-grid {
    grid-template-columns: 1fr;
  }
  .project-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .hero-slider,
  .hero-slide {
    min-height: 690px;
  }
  .hero-slide {
    align-items: end;
  }
  .hero-slide:after {
    background: linear-gradient(
      0deg,
      rgba(7, 0, 1, 0.96),
      rgba(7, 0, 1, 0.54) 55%,
      rgba(0, 0, 0, 0.12)
    );
  }
  .stats-grid-dynamic {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dynamic-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .dynamic-projects {
    grid-template-columns: 1fr;
  }
  .dynamic-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .dynamic-steps .step-connector {
    display: none;
  }
  .gallery-grid,
  .gallery-page {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-item img,
  .gallery-page .gallery-item img {
    height: 160px;
  }
  .service-list-grid {
    grid-template-columns: 1fr;
  }
  .project-list-card {
    grid-template-columns: 1fr;
  }
  .project-list-card .project-image img {
    min-height: 0;
    height: 240px;
  }
  .project-list-card > div,
  [dir='rtl'] .project-list-card > div,
  [dir='ltr'] .project-list-card > div {
    padding: 20px;
  }
  .filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .filter-bar .btn {
    grid-column: 1/-1;
  }
  .filter-bar select {
    max-width: none;
  }
  .project-detail-hero {
    min-height: 560px;
  }
  .project-facts {
    grid-template-columns: 1fr 1fr;
  }
  .main-nav {
    z-index: 1002;
  }
  .site-header {
    z-index: 1001;
  }
  .main-nav.open {
    inset: 70px 0 0 0;
    max-height: none;
    height: calc(100dvh - 70px);
  }
}
@media (max-width: 430px) {
  .dynamic-cards {
    grid-template-columns: 1fr 1fr;
  }
  .service-card {
    padding: 18px 8px;
  }
  .stats-grid-dynamic {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid b {
    font-size: 24px;
  }
  .gallery-grid,
  .gallery-page {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item span {
    font-size: 10px;
  }
  .project-facts {
    grid-template-columns: 1fr;
  }
  .service-detail-card {
    grid-template-columns: 58px 1fr;
    padding: 18px;
  }
  .service-detail-icon {
    width: 52px;
    height: 52px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .reveal,
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .hero-slide video {
    display: none;
  }
}

/* Project case-study page أ¢â‚¬â€‌ LINK identity with portfolio-style storytelling. */
.case-container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.case-project-title {
  padding: 150px 0 70px;
  text-align: center;
  background: linear-gradient(180deg, #fff, #fbfbfc);
  border-bottom: 1px solid #ececf0;
}
.case-project-category,
.case-section-label {
  display: inline-block;
  color: #b12027;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
.case-project-title h1 {
  margin: 0 auto;
  color: #010921;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.08;
  max-width: 1050px;
}
.case-project-meta {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  color: #737985;
  font-size: 13px;
}
.case-project-meta span + span:before {
  content: 'أ¢â‚¬آ¢';
  margin-inline-end: 18px;
  color: #b12027;
}
.case-section {
  padding: 78px 0;
}
.case-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 58px;
  align-items: center;
}
.case-slider-stage {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 18px;
  overflow: hidden;
  background: #f2f3f6;
  box-shadow: 0 20px 50px rgba(1, 9, 33, 0.12);
}
.case-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: 0.45s ease;
}
.case-slide.active {
  opacity: 1;
  transform: none;
}
.case-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-slide figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  color: #fff;
  background: linear-gradient(transparent, rgba(1, 9, 33, 0.72));
  font-size: 13px;
}
.case-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #930a1e;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}
.case-slider-arrow.prev {
  right: 16px;
}
.case-slider-arrow.next {
  left: 16px;
}
.case-slider-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
}
.case-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d7d9df;
}
.case-slider-dots button.active {
  background: #b12027;
}
.case-brief h2 {
  font-size: 32px;
  color: #010921;
  margin: 0 0 14px;
}
.case-brief > p {
  font-size: 16px;
  color: #626875;
  line-height: 2;
  margin: 0;
}
.case-brief dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.case-brief dl div {
  padding: 14px;
  border-top: 1px solid #e7e8ec;
}
.case-brief dt {
  font-size: 11px;
  color: #8a909c;
}
.case-brief dd {
  margin: 4px 0 0;
  color: #010921;
  font-weight: 800;
}
.case-story {
  background: #f7f8fa;
}
.case-section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 42px;
}
.case-section-heading > span {
  color: #b12027;
  font-weight: 800;
  font-size: 12px;
}
.case-section-heading h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: #010921;
  margin: 5px 0 8px;
}
.case-section-heading p {
  margin: 0;
  color: #747a87;
}
.case-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-story-grid article {
  background: #fff;
  border: 1px solid #e5e7ec;
  border-radius: 16px;
  padding: 28px;
  min-height: 270px;
}
.case-story-grid article > span {
  color: #b12027;
  font-size: 12px;
  font-weight: 800;
}
.case-story-grid h3 {
  font-size: 20px;
  color: #010921;
  margin: 14px 0 12px;
}
.case-story-grid p,
.case-steps p {
  color: #69707d;
  line-height: 1.9;
  white-space: pre-line;
}
.case-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #e4e6eb;
}
.case-steps li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid #e4e6eb;
}
.case-steps li > span {
  color: #b12027;
  font-size: 30px;
  font-weight: 800;
}
.case-steps h3 {
  margin: 0 0 6px;
  color: #010921;
  font-size: 21px;
}
.case-steps p {
  margin: 0;
}
.case-materials {
  background: #010921;
  color: #fff;
}
.case-materials .case-section-heading h2 {
  color: #fff;
}
.case-materials .case-section-heading p {
  color: #c3c8d3;
}
.case-material-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.case-material-grid article {
  background: #0a1430;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 22px;
}
.case-material-icon {
  color: #b12027;
  margin-bottom: 18px;
}
.case-material-grid h3 {
  margin: 0;
  font-size: 16px;
}
.case-material-grid p {
  margin: 6px 0 0;
  color: #b7bfce;
  font-size: 12px;
}
.case-masonry {
  columns: 3 280px;
  column-gap: 16px;
}
.case-gallery-item {
  position: relative;
  width: 100%;
  display: block;
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}
.case-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: 0.35s;
}
.case-gallery-item:hover img {
  transform: scale(1.025);
  filter: brightness(0.85);
}
.case-gallery-item > span:not(.case-video-play) {
  position: absolute;
  inset: auto 0 0;
  padding: 30px 16px 14px;
  color: #fff;
  text-align: start;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  font-size: 12px;
}
.case-video-card {
  min-height: 250px;
}
.case-video-card img {
  min-height: 250px;
  object-fit: cover;
  filter: brightness(0.72);
}
.case-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #b12027;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.case-video-card strong {
  position: absolute;
  right: 16px;
  left: 16px;
  bottom: 16px;
  color: #fff;
  text-align: start;
}
.project-video-modal {
  width: min(980px, calc(100% - 24px));
  border: 0;
  padding: 0;
  border-radius: 14px;
  background: #050507;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}
.project-video-modal::backdrop {
  background: rgba(1, 9, 33, 0.82);
  backdrop-filter: blur(4px);
}
.project-video-frame {
  aspect-ratio: 16/9;
}
.project-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.project-video-close {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 3;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
}
.case-project-nav {
  background: #080f24;
  color: #fff;
  padding: 42px 0;
}
.case-project-nav-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
.case-nav-side {
  display: grid;
  gap: 6px;
}
.case-nav-side.next {
  text-align: left;
}
.case-nav-side small {
  color: #929bad;
  font-size: 11px;
}
.case-nav-side a {
  font-weight: 800;
}
.case-all-projects {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #394158;
  border-radius: 9px;
  padding: 13px 20px;
  font-weight: 800;
}
.case-all-projects:hover {
  background: #b12027;
  border-color: #b12027;
}
.project-detail-protect img,
.case-gallery-item img,
.case-slide img {
  -webkit-user-drag: none;
  user-select: none;
}
@media (max-width: 900px) {
  .case-intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .case-story-grid {
    grid-template-columns: 1fr;
  }
  .case-material-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-project-nav-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .case-nav-side.next {
    text-align: center;
  }
  .case-all-projects {
    justify-self: center;
  }
  .case-project-title {
    padding-top: 120px;
  }
  .case-project-title h1 {
    font-size: 44px;
  }
}
@media (max-width: 560px) {
  .case-container {
    width: calc(100% - 28px);
  }
  .case-section {
    padding: 55px 0;
  }
  .case-project-title h1 {
    font-size: 35px;
  }
  .case-brief dl,
  .case-material-grid {
    grid-template-columns: 1fr;
  }
  .case-steps li {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }
  .case-steps li > span {
    font-size: 24px;
  }
  .case-masonry {
    columns: 1;
  }
  .case-slider-stage {
    aspect-ratio: 4/3;
  }
}

/* ==========================================================================\n   LINK Project Detail v2 أ¢â‚¬â€‌ portfolio case-study structure, LINK identity\n   ========================================================================== */
.portfolio-case-study {
  --pf-red: #b12027;
  --pf-red-dark: #930a1e;
  --pf-navy: #010921;
  --pf-ink: #111827;
  --pf-muted: #667085;
  --pf-line: #e4e7ec;
  --pf-soft: #f7f8fa;
  --pf-surface: #fff;
  color: var(--pf-muted);
  background: #fff;
  overflow: visible;
}
.pf-case-container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.pf-case-title {
  padding: clamp(96px, 10vw, 145px) 0 58px;
  text-align: center;
  background: #fff;
}
.pf-eyebrow,
.pf-section-label {
  margin: 0 0 10px;
  color: var(--pf-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.pf-case-title h1 {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--pf-navy);
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.07;
  letter-spacing: -0.035em;
}
.pf-case-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  color: #7b8190;
  font-size: 13px;
}
.pf-case-meta span + span:before {
  content: 'أ¢â‚¬آ¢';
  margin-inline-end: 16px;
  color: var(--pf-red);
}
.pf-case-section {
  padding: clamp(70px, 8vw, 112px) 0;
}

/* Intro / slider */
.pf-case-hero {
  padding-top: 42px;
}
.pf-case-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(42px, 7vw, 86px);
}
[dir='rtl'] .pf-case-hero-copy {
  order: 1;
}
[dir='rtl'] .pf-project-slider {
  order: 2;
}
.pf-case-hero-copy h2,
.pf-case-narrative h2,
.pf-capabilities-layout h2,
.pf-gallery-heading h2,
.pf-module-panel h2 {
  margin: 0.35rem 0 1.1rem;
  color: var(--pf-navy);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.pf-rich-text {
  color: var(--pf-muted);
  font-size: 15px;
  line-height: 1.95;
  white-space: pre-line;
}
.pf-project-status-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 32px;
  border-block: 1px solid var(--pf-line);
}
.pf-project-status-row > div {
  padding: 18px 0;
}
.pf-project-status-row > div + div {
  border-inline-start: 1px solid var(--pf-line);
  padding-inline-start: 22px;
}
.pf-project-status-row small {
  display: block;
  margin-bottom: 5px;
  color: #98a0ae;
  font-size: 11px;
}
.pf-project-status-row strong {
  color: var(--pf-ink);
  font-size: 13px;
}
.pf-project-slider-stage {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border: 1px solid var(--pf-line);
  border-radius: 12px;
  background: #eef0f4;
  box-shadow: 0 18px 48px rgba(1, 9, 33, 0.09);
}
.pf-project-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.015);
  transition:
    opacity 0.42s ease,
    transform 0.55s ease,
    visibility 0.42s ease;
}
.pf-project-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.pf-project-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pf-project-slide figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 45px 22px 18px;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(transparent, rgba(1, 9, 33, 0.78));
}
.pf-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(1, 9, 33, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--pf-red);
  font-size: 21px;
  box-shadow: 0 10px 30px rgba(1, 9, 33, 0.16);
  transform: translateY(-50%);
  transition: 0.25s;
}
.pf-slider-arrow:hover {
  background: var(--pf-red);
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}
.pf-slider-prev {
  left: 18px;
  right: auto;
}
.pf-slider-next {
  right: 18px;
  left: auto;
}
.pf-slider-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-inline: 4px;
}
.pf-slider-dots {
  display: flex;
  gap: 8px;
}
.pf-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d5d9e0;
  transition: 0.25s;
}
.pf-slider-dots button.is-active {
  width: 26px;
  border-radius: 99px;
  background: var(--pf-red);
}
.pf-slider-counter {
  color: #8b92a0;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.pf-slider-counter b {
  color: var(--pf-navy);
}

/* Narrative أ¢â‚¬â€‌ matches the portfolio composition */
.pf-case-narrative {
  background: var(--pf-soft);
}
.pf-narrative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(46px, 8vw, 96px);
}
.pf-narrative-grid article {
  min-width: 0;
}
.pf-narrative-grid .pf-rich-text,
.pf-solution-band .pf-rich-text {
  font-size: 15px;
  line-height: 1.95;
}
.pf-solution-band {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  margin-top: 54px;
  padding: 28px;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  background: #fff;
}
.pf-solution-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(177, 32, 39, 0.32);
  border-radius: 50%;
  color: var(--pf-red);
  font-size: 20px;
}
.pf-solution-band h2 {
  font-size: clamp(28px, 3vw, 38px);
}

/* Key capabilities / materials أ¢â‚¬â€‌ same geometry as portfolio reference */
.pf-capabilities-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  align-items: start;
  gap: clamp(54px, 8vw, 100px);
}
.pf-capability-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--pf-line);
}
.pf-capability-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--pf-line);
}
.pf-capability-list li > span {
  padding-top: 3px;
  color: var(--pf-red);
  font-size: 12px;
  font-weight: 800;
}
.pf-capability-list h3 {
  margin: 0 0 6px;
  color: var(--pf-ink);
  font-size: 15px;
}
.pf-capability-list p {
  margin: 0;
  color: var(--pf-muted);
  font-size: 13px;
  line-height: 1.75;
}
.pf-module-panel {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 32px;
  border: 1px solid #dfe3ea;
  border-radius: 12px;
  background: var(--pf-soft);
}
.pf-module-panel h2 {
  margin-bottom: 24px;
}
.pf-module-panel ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pf-module-panel li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 52px;
  padding: 10px 0;
  color: var(--pf-ink);
}
.pf-material-mark {
  flex: 0 0 auto;
  color: var(--pf-red);
  font-size: 18px;
}
.pf-module-panel strong {
  display: block;
  font-size: 13px;
}
.pf-module-panel small {
  display: block;
  margin-top: 4px;
  color: #89909d;
  font-size: 11px;
}

/* Premium editorial gallery */
.pf-gallery-section {
  background: var(--pf-soft);
}
.pf-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}
.pf-gallery-heading > div > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--pf-muted);
  line-height: 1.8;
}
.pf-gallery-open {
  flex: 0 0 auto;
  padding: 11px 14px;
  border: 1px solid var(--pf-line);
  border-radius: 8px;
  background: #fff;
  color: var(--pf-red);
  font-weight: 800;
  font-size: 12px;
  transition: 0.25s;
}
.pf-gallery-open:hover {
  border-color: var(--pf-red);
  transform: translateY(-2px);
}
.pf-editorial-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}
.pf-gallery-card {
  grid-column: span 4;
  margin: 0;
  min-width: 0;
}
.pf-gallery-card:nth-child(7n + 1) {
  grid-column: span 8;
}
.pf-gallery-card:nth-child(7n + 2) {
  grid-column: span 4;
}
.pf-gallery-card:nth-child(7n + 3),
.pf-gallery-card:nth-child(7n + 4) {
  grid-column: span 6;
}
.pf-gallery-card:nth-child(7n + 5),
.pf-gallery-card:nth-child(7n + 6),
.pf-gallery-card:nth-child(7n + 7) {
  grid-column: span 4;
}
.pf-gallery-image {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #101624;
  cursor: zoom-in;
  box-shadow: 0 1px 0 rgba(1, 9, 33, 0.04);
}
.pf-gallery-card:nth-child(7n + 1) .pf-gallery-image {
  min-height: 520px;
}
.pf-gallery-card:nth-child(7n + 2) .pf-gallery-image {
  min-height: 520px;
}
.pf-gallery-card:nth-child(7n + 3) .pf-gallery-image,
.pf-gallery-card:nth-child(7n + 4) .pf-gallery-image {
  min-height: 380px;
}
.pf-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.35s;
}
.pf-gallery-image:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(1, 9, 33, 0.34));
  opacity: 0;
  transition: 0.3s;
}
.pf-gallery-image:hover img {
  transform: scale(1.035);
}
.pf-gallery-image:hover:after {
  opacity: 1;
}
.pf-gallery-zoom {
  position: absolute;
  inset: 18px 18px auto auto;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--pf-red);
  font-size: 16px;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.25s;
}
.pf-gallery-image:hover .pf-gallery-zoom {
  opacity: 1;
  transform: none;
}
.pf-gallery-card figcaption,
.pf-video-copy {
  padding: 11px 4px 2px;
  color: var(--pf-ink);
  font-size: 12px;
  font-weight: 700;
}
.pf-video-card .pf-gallery-image {
  cursor: pointer;
}
.pf-video-card .pf-gallery-image img {
  filter: brightness(0.72);
}
.pf-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--pf-red);
  color: #fff;
  font-size: 23px;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 34px rgba(147, 10, 30, 0.32);
}
.pf-video-label {
  position: absolute;
  z-index: 2;
  inset: auto auto 16px 16px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(1, 9, 33, 0.76);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Lightbox */
.pf-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(1, 9, 33, 0.94);
  color: #fff;
}
.pf-lightbox::backdrop {
  background: rgba(1, 9, 33, 0.94);
}
.pf-lightbox[open] {
  display: grid;
  place-items: center;
}
.pf-lightbox figure {
  display: grid;
  place-items: center;
  max-width: min(1320px, 88vw);
  max-height: 86vh;
  margin: 0;
}
.pf-lightbox-media {
  display: grid;
  place-items: center;
  width: min(1120px, 84vw);
  max-height: 78vh;
}
.pf-lightbox [hidden] {
  display: none !important;
}
.pf-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}
.pf-lightbox-video {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}
.pf-lightbox-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.pf-lightbox figcaption {
  max-width: 850px;
  margin-top: 13px;
  color: #d9dce5;
  text-align: center;
  font-size: 12px;
}
.pf-lightbox-close,
.pf-lightbox-nav {
  position: fixed;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.pf-lightbox-close {
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 28px;
}
.pf-lightbox-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 20px;
  transform: translateY(-50%);
}
.pf-lightbox-prev {
  left: 24px;
}
.pf-lightbox-next {
  right: 24px;
}
.pf-lightbox-count {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #cbd0dc;
}

/* Video modal */
.project-video-modal {
  width: min(1040px, calc(100% - 30px));
  border: 0;
  padding: 0;
  border-radius: 12px;
  background: #05070c;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.48);
}
.project-video-modal::backdrop {
  background: rgba(1, 9, 33, 0.88);
  backdrop-filter: blur(6px);
}
.project-video-frame {
  aspect-ratio: 16/9;
}
.project-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.project-video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 27px;
  cursor: pointer;
}

/* Portfolio-style project pager */
.pf-project-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 48px 0 66px;
  border-top: 1px solid var(--pf-line);
}
.pf-pagination-side a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--pf-ink);
  font-size: 13px;
  font-weight: 800;
}
.pf-pagination-side a:hover {
  color: var(--pf-red);
}
.pf-pagination-side small {
  display: block;
  margin-bottom: 4px;
  color: #8d94a1;
  font-size: 10px;
  font-weight: 500;
}
.pf-pagination-next {
  display: flex;
  justify-content: flex-end;
  text-align: end;
}
.pf-pagination-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--pf-line);
  border-radius: 8px;
  color: var(--pf-ink);
  font-size: 12px;
  font-weight: 800;
}
.pf-pagination-all:hover {
  border-color: var(--pf-red);
  color: var(--pf-red);
}

.portfolio-case-study img {
  -webkit-user-drag: none;
  user-select: none;
}

@media (max-width: 900px) {
  .pf-case-hero-grid,
  .pf-capabilities-layout {
    grid-template-columns: 1fr;
  }
  .pf-case-hero-copy,
  .pf-project-slider,
  [dir='rtl'] .pf-case-hero-copy,
  [dir='rtl'] .pf-project-slider {
    order: initial;
  }
  .pf-narrative-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .pf-module-panel {
    position: static;
  }
  .pf-editorial-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pf-gallery-card,
  .pf-gallery-card:nth-child(n) {
    grid-column: span 1;
  }
  .pf-gallery-card:nth-child(5n + 1) {
    grid-column: 1/-1;
  }
  .pf-gallery-card:nth-child(n) .pf-gallery-image {
    min-height: 320px;
  }
  .pf-gallery-card:nth-child(5n + 1) .pf-gallery-image {
    min-height: 430px;
  }
  .pf-project-pagination {
    grid-template-columns: 1fr 1fr;
  }
  .pf-pagination-all {
    grid-column: 1/-1;
    grid-row: 1;
    justify-self: center;
  }
  .pf-case-title {
    padding-top: 110px;
  }
}
@media (max-width: 620px) {
  .pf-case-container {
    width: calc(100% - 28px);
  }
  .pf-case-title {
    padding: 92px 0 42px;
  }
  .pf-case-title h1 {
    font-size: 38px;
  }
  .pf-case-section {
    padding: 58px 0;
  }
  .pf-case-hero-grid {
    gap: 32px;
  }
  .pf-project-status-row {
    grid-template-columns: 1fr;
  }
  .pf-project-status-row > div + div {
    border-inline-start: 0;
    border-top: 1px solid var(--pf-line);
    padding-inline-start: 0;
  }
  .pf-project-slider-stage {
    aspect-ratio: 4/3;
  }
  .pf-slider-arrow {
    width: 40px;
    height: 40px;
  }
  .pf-slider-prev {
    left: 10px;
    right: auto;
  }
  .pf-slider-next {
    right: 10px;
    left: auto;
  }
  .pf-solution-band {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .pf-capability-list li {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }
  .pf-module-panel {
    padding: 22px;
  }
  .pf-module-panel ul {
    grid-template-columns: 1fr;
  }
  .pf-gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .pf-editorial-gallery {
    grid-template-columns: 1fr;
  }
  .pf-gallery-card,
  .pf-gallery-card:nth-child(n) {
    grid-column: auto;
  }
  .pf-gallery-card:nth-child(n) .pf-gallery-image {
    min-height: 280px;
  }
  .pf-lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .pf-lightbox-prev {
    left: 10px;
  }
  .pf-lightbox-next {
    right: 10px;
  }
  .pf-lightbox-close {
    top: 12px;
    right: 12px;
  }
  .pf-project-pagination {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pf-pagination-all {
    grid-column: auto;
    grid-row: auto;
  }
  .pf-pagination-side a,
  .pf-pagination-next {
    justify-content: center;
    text-align: center;
  }
}

.pf-capabilities-layout {
  overflow: visible;
  align-items: start;
}
.pf-capabilities-layout > div {
  min-width: 0;
}
.pf-module-panel {
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
  align-self: start;
  height: max-content;
  max-height: calc(100vh - 140px);
  overflow: auto;
  overscroll-behavior: contain;
  will-change: auto;
}

/* ===== Projects index 2026 ===== */
body:has(.projects-index-section) .projects-showcase-copy.container,
body:has(.projects-index-section) .projects-index-layout.container,
body:has(.projects-index-section) .projects-wide-cta > .container {
  width: min(1450px, calc(100% - 44px));
  max-width: 1450px;
}

.projects-showcase-hero {
  position: relative;
  min-height: 210px;
  margin-top: 82px;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid #eef1f5;
}
.projects-showcase-visual {
  position: absolute;
  inset: 0;
  background: url('../images/projects-page/projects-hero.webp') 42% center/cover no-repeat;
}
.projects-showcase-visual:before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(255, 255, 255, 0.78) 61%,
    #fff 79%
  );
}
[dir='ltr'] .projects-showcase-visual:before {
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(255, 255, 255, 0.78) 61%,
    #fff 79%
  );
}
.projects-showcase-copy {
  position: relative;
  z-index: 2;
  min-height: 210px;
  display: grid;
  grid-template-columns: 235px 1fr 520px;
  align-items: center;
  direction: ltr;
}
.projects-showcase-title {
  grid-column: 3;
  direction: rtl;
  text-align: right;
  max-width: 500px;
  justify-self: end;
  padding-inline-end: 8px;
}
.projects-showcase-title h1 {
  font-size: 48px;
  margin: 0;
  color: #07152f;
  line-height: 1.08;
  font-weight: 900;
}
.projects-showcase-title > span {
  display: block;
  width: 54px;
  height: 3px;
  background: #c7192d;
  margin: 17px 0 13px auto;
}
.projects-showcase-title p {
  font-size: 15px;
  line-height: 1.9;
  color: #667189;
  margin: 0;
  max-width: 485px;
}
.projects-showcase-side {
  grid-column: 1;
  grid-row: 1;
  direction: rtl;
  justify-self: start;
  max-width: 170px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
  border-inline-start: 4px solid #d21d31;
  padding-inline-start: 16px;
}
[dir='ltr'] .projects-showcase-title {
  direction: ltr;
  text-align: left;
  grid-column: 1;
  justify-self: start;
  padding-inline-end: 0;
  padding-inline-start: 8px;
}
[dir='ltr'] .projects-showcase-title > span {
  margin-left: 0;
  margin-right: auto;
}
[dir='ltr'] .projects-showcase-side {
  direction: ltr;
  grid-column: 3;
  justify-self: end;
}

.projects-index-section {
  padding: 18px 0 26px;
  background: #fff;
}
.projects-index-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 18px;
  align-items: start;
  direction: ltr;
}
.projects-results-column {
  grid-column: 1;
  direction: rtl;
  min-width: 0;
}
.projects-filter-panel {
  grid-column: 2;
  direction: rtl;
  position: sticky;
  top: 94px;
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(16, 29, 57, 0.055);
  overflow: hidden;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.projects-filter-head {
  padding: 19px 20px 15px;
  border-bottom: 1px solid #edf0f5;
}
.projects-filter-head > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #111d34;
  font-size: 18px;
}
.projects-filter-head i {
  color: #d0192d;
}
.projects-filter-head p {
  font-size: 11px;
  color: #8993a5;
  margin: 5px 0 0;
}
.projects-filter-form {
  padding: 8px 18px 16px;
  display: grid;
  gap: 0;
}
.projects-filter-form > label,
.projects-filter-form fieldset {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid #eef1f5;
}
.projects-filter-form label > span,
.projects-filter-form legend {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #273247;
  margin-bottom: 7px;
}
.projects-filter-form input[type='text'],
.projects-filter-form input:not([type]),
.projects-filter-form select {
  width: 100%;
  height: 40px;
  border: 1px solid #dce2eb;
  border-radius: 7px;
  background: #fff;
  color: #344056;
  padding: 0 11px;
  font: inherit;
  font-size: 12px;
}
.filter-input-wrap {
  position: relative;
}
.filter-input-wrap input {
  padding-inline-end: 36px !important;
}
.filter-input-wrap i {
  position: absolute;
  inset-inline-end: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #69768b;
  font-size: 12px;
}
.status-filter-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.status-filter-list label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #475267;
}
.status-filter-list label span {
  margin: 0;
  font-weight: 600;
}
.status-filter-list input {
  accent-color: #ca1a2d;
}
.featured-filter {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.featured-filter input {
  width: 38px;
  height: 20px;
  accent-color: #c51a2b;
}
.featured-filter i {
  margin-inline-start: auto;
  color: #c51a2b;
}
.projects-filter-actions {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 8px;
  padding-top: 16px;
}
.projects-filter-actions .btn {
  height: 43px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 12px;
}
.filter-reset {
  border: 1px solid #d6dde7;
  background: #fff;
  color: #bd1b2b;
}
.filter-apply {
  border: 0;
  background: #c81529;
  color: #fff;
}
.projects-filter-mobile-toggle {
  display: none;
}

.projects-results-toolbar {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  padding: 0 2px;
  border-bottom: 1px solid #edf0f4;
  direction: ltr;
}
.projects-view-switch {
  display: flex;
  gap: 6px;
  direction: ltr;
}
.projects-view-switch button {
  width: 40px;
  height: 36px;
  border: 1px solid #dfe4ec;
  border-radius: 7px;
  background: #fff;
  color: #556178;
  cursor: pointer;
}
.projects-view-switch button.active {
  background: #f6f8fb;
  color: #0d1b34;
  border-color: #cdd5e1;
  box-shadow: inset 0 0 0 1px #e8ecf2;
}
.projects-result-count {
  font-size: 12px;
  color: #7a8598;
  white-space: nowrap;
  direction: rtl;
}
.projects-result-count b {
  color: #c7192d;
  font-size: 14px;
}
.projects-active-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  direction: rtl;
  min-width: 0;
}
.projects-filter-chip {
  border: 0;
  background: #eef4ff;
  color: #263650;
  border-radius: 7px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.projects-filter-chip i {
  color: #42638e;
}
.projects-clear-filters {
  color: #d1192c;
  font-size: 11px;
  font-weight: 800;
  padding: 7px 5px;
}

.projects-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.projects-index-card {
  background: #fff;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(26, 41, 72, 0.045);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  min-width: 0;
}
.projects-index-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(26, 41, 72, 0.09);
}
.projects-index-image {
  position: relative;
  display: block;
  height: 176px;
  overflow: hidden;
  background: #e9edf3;
}
.projects-index-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.projects-index-card:hover .projects-index-image img {
  transform: scale(1.03);
}
.project-image-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 38px;
  color: #a8b0bf;
}
.project-status-badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 7px;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.status-completed {
  background: #2aaa68;
}
.status-current {
  background: #2879df;
}
.status-planned {
  background: #e4aa36;
  color: #30200a;
}
.project-featured-star {
  position: absolute;
  top: 11px;
  inset-inline-end: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #d1192c;
  font-size: 16px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}
.project-featured-star i {
  display: block;
}
.project-sector-badges {
  position: absolute;
  bottom: 9px;
  inset-inline-end: 9px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 94%;
}
.project-sector-badges b {
  background: rgba(255, 255, 255, 0.96);
  color: #253147;
  border: 1px solid rgba(217, 223, 233, 0.95);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 9px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.07);
}
.projects-index-body {
  padding: 13px 15px 12px;
}
.projects-index-category {
  font-size: 10px;
  color: #bd1728;
  font-weight: 800;
}
.projects-index-body h3 {
  font-size: 16px;
  line-height: 1.45;
  margin: 3px 0 6px;
  color: #111b31;
}
.projects-index-body h3 a {
  color: inherit;
}
.projects-index-body p {
  font-size: 11px;
  line-height: 1.65;
  color: #7b8596;
  min-height: 36px;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.projects-index-meta {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  color: #69758a;
  font-size: 9px;
  margin-bottom: 10px;
}
.projects-index-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.projects-index-meta i {
  color: #b91a28;
}
.projects-index-details {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border-top: 1px solid #edf0f4;
  padding-top: 9px;
  color: #bd1728;
  font-size: 11px;
  font-weight: 800;
}
.projects-cards-grid.list-view {
  grid-template-columns: 1fr;
}
.projects-cards-grid.list-view .projects-index-card {
  display: grid;
  grid-template-columns: 300px 1fr;
}
.projects-cards-grid.list-view .projects-index-image {
  height: 100%;
  min-height: 190px;
}
.projects-cards-grid.list-view .projects-index-body {
  padding: 20px;
}
.projects-cards-grid.list-view .projects-index-body h3 {
  font-size: 20px;
}
.projects-cards-grid.list-view .projects-index-body p {
  font-size: 12px;
  -webkit-line-clamp: 3;
  min-height: auto;
}
.projects-no-results {
  grid-column: 1/-1;
  background: #fff;
  border: 1px dashed #d7dde7;
  border-radius: 12px;
  text-align: center;
  padding: 60px 20px;
  color: #7d8798;
}
.projects-no-results i {
  font-size: 32px;
  color: #bd1728;
}
.projects-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 23px 0 8px;
}
.projects-pagination a,
.projects-pagination span {
  min-width: 34px;
  height: 34px;
  border: 1px solid #dfe4ec;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #59657a;
  font-size: 11px;
  background: #fff;
  padding: 0 9px;
}
.projects-pagination a.active {
  background: #bd1728;
  color: #fff;
  border-color: #bd1728;
}
.projects-pagination a:first-child,
.projects-pagination a:last-child {
  gap: 7px;
}

.projects-wide-cta {
  background: #fff;
  color: #fff;
  padding: 0 0 24px;
}
.projects-wide-cta > .container {
  min-height: 104px;
  display: grid;
  grid-template-columns: 1.12fr 1.35fr;
  align-items: center;
  gap: 22px;
  background:
    linear-gradient(90deg, rgba(6, 23, 45, 0.95), rgba(8, 31, 58, 0.88)),
    url('../images/projects-page/projects-hero.webp') center/cover no-repeat;
  border-radius: 15px;
  overflow: hidden;
  padding: 0 28px;
  direction: ltr;
}
.projects-cta-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  direction: rtl;
}
.projects-cta-copy > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-size: 15px;
  color: #fff;
}
.projects-cta-copy h2 {
  font-size: 20px;
  margin: 0 0 4px;
}
.projects-cta-copy p {
  font-size: 10px;
  color: #c0cad8;
  margin: 0;
}
.projects-cta-copy .btn {
  margin-inline-start: auto;
  background: #d91d31;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 12px 23px;
  font-size: 11px;
  font-weight: 800;
}
.projects-cta-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  direction: rtl;
}
.projects-cta-stats > div {
  text-align: center;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0 10px;
}
.projects-cta-stats > div:last-child {
  border-inline-start: 0;
}
.projects-cta-stats i {
  display: block;
  color: #e82438;
  font-size: 21px;
  margin-bottom: 3px;
}
.projects-cta-stats strong {
  display: block;
  font-size: 22px;
}
.projects-cta-stats span {
  font-size: 9px;
  color: #c2cad6;
}

@media (max-width: 1200px) {
  body:has(.projects-index-section) .projects-showcase-copy.container,
  body:has(.projects-index-section) .projects-index-layout.container,
  body:has(.projects-index-section) .projects-wide-cta > .container {
    width: calc(100% - 32px);
  }
  .projects-index-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
  .projects-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .projects-showcase-copy {
    grid-template-columns: 190px 1fr 430px;
  }
  .projects-showcase-title h1 {
    font-size: 42px;
  }
}
@media (max-width: 900px) {
  .projects-showcase-hero {
    margin-top: 70px;
    min-height: 250px;
  }
  .projects-showcase-visual {
    background-position: 40% center;
  }
  .projects-showcase-visual:before {
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0.1) 100%
    );
  }
  .projects-showcase-copy {
    min-height: 250px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 22px;
    direction: rtl;
  }
  .projects-showcase-title {
    max-width: 100%;
    text-align: right !important;
    padding: 0;
  }
  .projects-showcase-title h1 {
    font-size: 38px;
  }
  .projects-showcase-title p {
    font-size: 13px;
  }
  .projects-showcase-title > span {
    margin-inline-start: auto !important;
  }
  .projects-showcase-side {
    display: none;
  }
  .projects-index-layout {
    display: block;
    direction: rtl;
  }
  .projects-filter-mobile-toggle {
    display: flex;
    margin-bottom: 12px;
    align-items: center;
    gap: 8px;
    border: 0;
    background: #101b31;
    color: #fff;
    padding: 10px 14px;
    border-radius: 7px;
  }
  .projects-filter-panel {
    position: fixed;
    z-index: 1200;
    inset: 0 0 0 auto;
    width: min(360px, 92vw);
    border-radius: 0;
    max-height: none;
    overflow-y: auto;
    transform: translateX(110%);
    transition: transform 0.28s ease;
  }
  .projects-filter-panel.open {
    transform: translateX(0);
  }
  [dir='ltr'] .projects-filter-panel {
    inset: 0 auto 0 0;
    transform: translateX(-110%);
  }
  [dir='ltr'] .projects-filter-panel.open {
    transform: translateX(0);
  }
  .projects-results-toolbar {
    grid-template-columns: auto 1fr;
    gap: 10px;
  }
  .projects-active-filters {
    grid-column: 1/-1;
    justify-content: flex-start;
  }
  .projects-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .projects-wide-cta > .container {
    grid-template-columns: 1fr;
    padding: 18px 20px;
  }
  .projects-cta-copy {
    flex-wrap: wrap;
  }
  .projects-cta-copy .btn {
    margin-inline-start: 0;
  }
  .projects-cta-stats {
    padding-top: 10px;
  }
  .projects-cta-stats > div:first-child {
    border-inline-start: 0;
  }
}
@media (max-width: 580px) {
  body:has(.projects-index-section) .projects-showcase-copy.container,
  body:has(.projects-index-section) .projects-index-layout.container,
  body:has(.projects-index-section) .projects-wide-cta > .container {
    width: calc(100% - 24px);
  }
  .projects-showcase-title h1 {
    font-size: 34px;
  }
  .projects-cards-grid {
    grid-template-columns: 1fr;
  }
  .projects-index-image {
    height: 210px;
  }
  .projects-results-toolbar {
    grid-template-columns: 1fr auto;
  }
  .projects-view-switch {
    grid-row: 1;
  }
  .projects-result-count {
    grid-row: 1;
  }
  .projects-active-filters {
    display: none;
  }
  .projects-cards-grid.list-view .projects-index-card {
    display: block;
  }
  .projects-cards-grid.list-view .projects-index-image {
    min-height: 0;
    height: 210px;
  }
  .projects-cta-stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 14px;
  }
  .projects-cta-stats > div:nth-child(3) {
    border-inline-start: 0;
  }
  .projects-cta-copy h2 {
    font-size: 18px;
  }
  .projects-pagination a span {
    display: none;
  }
}

/* Projects page fidelity pass v15 */
@media (min-width: 901px) {
  .projects-filter-panel {
    position: sticky;
    top: 94px;
    max-height: none;
    overflow: visible;
    scrollbar-width: auto;
  }
  .projects-filter-form {
    overflow: visible;
  }
}

/* Hide the baked text that exists in the generated hero artwork while keeping the visual composition. */
.projects-showcase-hero {
  min-height: 224px;
}
.projects-showcase-visual {
  background-position: 50% center;
  background-size: cover;
}
.projects-showcase-visual:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, #fff 0 8%, rgba(255, 255, 255, 0.98) 12%, rgba(255, 255, 255, 0) 26%),
    linear-gradient(245deg, #fff 0 14%, rgba(255, 255, 255, 0.98) 20%, rgba(255, 255, 255, 0) 38%);
}
.projects-showcase-visual:before {
  z-index: 1;
}
.projects-showcase-visual:after {
  z-index: 2;
}
.projects-showcase-copy {
  z-index: 3;
  min-height: 224px;
}
.projects-showcase-side {
  color: #101b31;
  text-shadow: none;
  max-width: 180px;
  font-size: 20px;
  line-height: 1.5;
  padding-inline-start: 16px;
  border-inline-start: 4px solid #d21d31;
}

/* Filter controls: neutral custom radio/checkbox UI with no browser focus tint/border. */
.status-filter-list input[type='radio'],
.featured-filter input[type='checkbox'] {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  flex: 0 0 auto;
  background: #fff;
  border: 1.5px solid #9aa6b7;
  box-shadow: none;
  outline: none;
}
.status-filter-list input[type='radio'] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  position: relative;
}
.status-filter-list input[type='radio']:checked {
  border-color: #c7192d;
  box-shadow: inset 0 0 0 3px #fff;
  background: #c7192d;
}
.featured-filter input[type='checkbox'] {
  width: 19px;
  height: 19px;
  border-radius: 3px;
  position: relative;
}
.featured-filter input[type='checkbox']:checked {
  background: #c7192d;
  border-color: #c7192d;
}
.featured-filter input[type='checkbox']:checked:after {
  content: '';
  position: absolute;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  left: 4px;
  top: 5px;
}
.status-filter-list input[type='radio']:focus-visible,
.featured-filter input[type='checkbox']:focus-visible {
  outline: 2px solid rgba(199, 25, 45, 0.18);
  outline-offset: 3px;
}

/* Full-width stacked filter actions matching the accepted layout. */
.projects-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 16px;
}
.projects-filter-actions .btn {
  width: 100%;
  height: 43px;
}
.filter-apply {
  order: 1;
}
.filter-reset {
  order: 2;
}

/* Pagination: same compact icon-only arrows / numbered squares used by the approved design. */
.projects-pagination {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 25px 0 14px;
}
.projects-pagination .projects-page-number,
.projects-pagination .projects-page-arrow {
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #dfe4ec;
  border-radius: 8px;
  background: #fff;
  color: #5d687a;
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
}
.projects-pagination .projects-page-number.active {
  background: #c7192d;
  color: #fff;
  border-color: #c7192d;
  box-shadow: 0 5px 14px rgba(199, 25, 45, 0.16);
}
.projects-pagination .projects-page-arrow {
  border-radius: 10px;
  color: #26364f;
}
.projects-pagination .projects-page-arrow:hover,
.projects-pagination .projects-page-number:not(.active):hover {
  border-color: #c7192d;
  color: #c7192d;
}
.projects-pagination .projects-page-ellipsis {
  width: auto;
  min-width: 18px;
  height: 36px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #7a8597;
  display: grid;
  place-items: center;
  font-size: 14px;
}

@media (max-width: 900px) {
  .projects-showcase-visual:after {
    background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.72) 43%,
      rgba(255, 255, 255, 0) 72%
    );
  }
  .projects-filter-panel {
    overflow-y: auto;
  }
}

/* Projects page data/filter/card/banner corrections v16 */
.projects-index-footer {
  border-top: 1px solid #edf0f4;
  padding-top: 9px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.projects-index-footer-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #69758a;
  font-size: 9px;
  direction: rtl;
}
.projects-index-footer-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.projects-index-footer-meta i {
  color: #b91a28;
}
.projects-index-footer .projects-index-details {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
  justify-content: flex-start;
  gap: 8px;
}
[dir='ltr'] .projects-index-footer-meta {
  direction: ltr;
}
[dir='ltr'] .projects-index-details i {
  transform: rotate(180deg);
}

/* CTA statistics: only one separator, exactly between Projects and Clients/Partners. */
.projects-wide-cta > .container {
  padding-inline: 14px 22px;
  gap: 14px;
}
.projects-cta-stats > div {
  border-inline-start: 0 !important;
  padding: 0 12px;
}
.projects-cta-stats > div:nth-child(3) {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.24) !important;
}
.projects-cta-copy {
  gap: 10px;
}
.projects-cta-copy .btn {
  margin-inline-start: 8px;
}

@media (max-width: 900px) {
  .projects-cta-stats > div:nth-child(3) {
    border-inline-start: 0 !important;
  }
}

/* ===== Unified public navigation on CMS/public inner pages ===== */
body .site-header,
body .site-header.scrolled,
body:has(.projects-index-section) .site-header,
body:has(.projects-index-section) .site-header.scrolled {
  /* background: #0d223c !important; */
  color: #fff !important;
  box-shadow: 0 4px 18px rgba(1, 9, 33, 0.16) !important;
}
body .site-header .brand img,
body:has(.projects-index-section) .site-header .brand img {
  filter: none !important;
}
body .main-nav a,
body:has(.projects-index-section) .main-nav a {
  color: #fff !important;
}

.projects-pagination.is-rtl {
  direction: rtl;
}
.projects-pagination.is-ltr {
  direction: ltr;
}
.service-detail-icon i {
  font-size: 32px;
  line-height: 1;
}
.pf-material-quantity {
  color: var(--pf-red) !important;
  font-weight: 800 !important;
  margin-top: 3px;
}

/* Services page: reference-led composition with CMS-driven cards. */
body .site-header,
body .site-header.scrolled {
  background: #ad222b !important;
}
.site-header .brand img {
  filter: brightness(0) invert(1) !important;
}
.services-hero {
  padding: 126px 0 56px;
  overflow: hidden;
  background: #fff;
}
.services-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 48px;
}
.services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ad222b;
  font-weight: 800;
  font-size: 14px;
}
.services-eyebrow:before {
  content: '';
  width: 38px;
  height: 2px;
  background: #ec1e28;
}
.services-hero-copy h1 {
  margin: 14px 0 18px;
  color: #172e55;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.24;
}
.services-hero-copy h1 em {
  color: #ad222b;
  font-style: normal;
}
.services-hero-copy p {
  max-width: 600px;
  color: #172e55;
  font-size: 17px;
  line-height: 1.9;
}
.services-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  background: #ad222b;
  color: #fff;
}
.services-hero-cta:hover {
  background: #ec1e28;
}
.services-hero-media {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
.services-hero-media:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(173, 34, 43, 0.28), transparent 55%);
}
.services-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}
.services-showcase {
  background: #fff;
}
.services-showcase-head {
  max-width: 780px;
  margin-inline: auto;
}
.service-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 30px;
}
.service-tab {
  appearance: none;
  border: 1px solid #416cb4;
  background: #fff;
  color: #172e55;
  border-radius: 999px;
  padding: 10px 19px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s;
}
.service-tab:hover,
.service-tab:focus-visible,
.service-tab.is-active {
  background: #ad222b;
  border-color: #ad222b;
  color: #fff;
  outline: 0;
}
.service-category-label {
  display: inline-block;
  margin: -2px 0 7px;
  color: #b12027;
  font-size: 10px;
  font-weight: 800;
}
.services-design-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.services-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.services-load-more[hidden] {
  display: none;
}
.service-design-card {
  overflow: hidden;
  border: 1px solid #416cb4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 46, 85, 0.1);
}
.service-design-card.is-filtering-out {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}
.services-design-grid > .service-design-card {
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.25s ease;
}
.service-design-card[hidden] {
  display: none;
}
.service-design-image,
.service-design-placeholder {
  display: block;
  width: 100%;
  height: 172px;
}
.service-design-image {
  object-fit: cover;
}
.service-design-placeholder {
  display: grid;
  place-items: center;
  background: #172e55;
  color: #fff;
  font-size: 54px;
}
.service-design-content {
  position: relative;
  padding: 18px 16px 15px;
}
.service-design-icon {
  position: absolute;
  top: -23px;
  inset-inline-start: 16px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #ad222b;
  color: #fff;
  border: 3px solid #fff;
}
.service-design-content h2 {
  margin: 8px 0;
  color: #172e55;
  font-size: 17px;
  line-height: 1.5;
}
.service-category-label {
  display: inline-block;
  margin: -2px 0 7px;
  color: #b12027;
  font-size: 10px;
  font-weight: 800;
}
.service-design-content p {
  min-height: 48px;
  margin: 0;
  color: #172e55;
  font-size: 13px;
  line-height: 1.7;
}
.service-design-link {
  border: 0;
  background: transparent;
  color: #ad222b;
  padding: 12px 0 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.service-design-link:hover {
  color: #ec1e28;
}
@media (max-width: 900px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .services-hero-copy {
    text-align: center;
  }
  .services-hero-copy p {
    margin-inline: auto;
  }
  .services-hero-media {
    min-height: 300px;
  }
  .services-design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .services-hero {
    padding-top: 105px;
  }
  .services-hero-copy h1 {
    font-size: 34px;
  }
  .services-hero-media {
    min-height: 230px;
  }
  .service-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
  }
  .service-tab {
    white-space: nowrap;
  }
  .services-design-grid {
    grid-template-columns: 1fr;
  }
  .service-design-image,
  .service-design-placeholder {
    height: 190px;
  }
}

/* ==========================================================================\n   LINK Project Detail v3 - reference-driven project case study\n   ========================================================================== */
.link-project-detail-v3 {
  --lpd-red: #b12027;
  --lpd-red-dark: #930a1e;
  --lpd-navy: #071d39;
  --lpd-navy-deep: #031229;
  --lpd-text: #1d2939;
  --lpd-muted: #667085;
  --lpd-line: #e5eaf0;
  --lpd-soft: #f6f9fc;
  --lpd-green: #4f9d58;
  background: #fff;
  color: var(--lpd-text);
  overflow: hidden;
}
.lpd-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.lpd-section {
  padding: 62px 0;
}
.lpd-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: stretch;
  background: var(--lpd-navy-deep);
  color: #fff;
  overflow: hidden;
}
.lpd-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lpd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(3, 18, 41, 0.22) 0%,
    rgba(3, 18, 41, 0.72) 46%,
    rgba(3, 18, 41, 0.97) 100%
  );
}
[dir='ltr'] .lpd-hero-overlay {
  background: linear-gradient(
    270deg,
    rgba(3, 18, 41, 0.22) 0%,
    rgba(3, 18, 41, 0.72) 46%,
    rgba(3, 18, 41, 0.97) 100%
  );
}
.lpd-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding-top: 34px;
  padding-bottom: 28px;
}
.lpd-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}
.lpd-breadcrumbs a:hover {
  color: #fff;
}
.lpd-hero-copy {
  max-width: 660px;
  margin-inline-start: auto;
  padding: 50px 0 24px;
}
.lpd-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.lpd-status-badge.is-completed {
  background: rgba(72, 151, 84, 0.92);
}
.lpd-status-badge.is-current {
  background: rgba(36, 109, 177, 0.92);
}
.lpd-status-badge.is-planned {
  background: rgba(153, 106, 28, 0.9);
}
.lpd-hero-copy h1 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.lpd-hero-copy p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.95;
}
.lpd-hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(2, 15, 35, 0.32);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  overflow: hidden;
}
.lpd-hero-facts > div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 2px 10px;
  align-items: center;
  padding: 18px 20px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.15);
}
.lpd-hero-facts > div:first-child {
  border-inline-start: 0;
}
.lpd-hero-facts i {
  grid-row: 1/3;
  color: #fff;
  font-size: 18px;
}
.lpd-hero-facts span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.62);
}
.lpd-hero-facts strong {
  font-size: 12px;
  color: #fff;
  line-height: 1.55;
}
.lpd-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.lpd-section-head > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lpd-section-head > div > span {
  display: block;
  width: 34px;
  height: 3px;
  background: var(--lpd-red);
  border-radius: 999px;
}
.lpd-section-head h2 {
  margin: 0;
  color: var(--lpd-navy);
  font-size: 30px;
  line-height: 1.2;
}
.lpd-head-with-action {
  align-items: center;
}
.lpd-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid #bcc8d5;
  border-radius: 10px;
  background: #fff;
  color: var(--lpd-navy);
  font-size: 12px;
  font-weight: 800;
  transition: 0.2s;
}
.lpd-outline-btn:hover {
  border-color: var(--lpd-red);
  color: var(--lpd-red);
  transform: translateY(-1px);
}
.lpd-gallery-section {
  padding-top: 44px;
  background: #fff;
}
.lpd-gallery-marquee {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  contain: paint;
  direction: ltr;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.lpd-gallery-track {
  display: flex;
  width: max-content;
  animation: lpdGalleryMarquee 34s linear infinite;
  will-change: transform;
}
.lpd-gallery-marquee:hover .lpd-gallery-track,
.lpd-gallery-marquee:focus-within .lpd-gallery-track {
  animation-play-state: paused;
}
.lpd-gallery-group {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 12px;
  padding-inline-end: 12px;
  direction: rtl;
}
.lpd-gallery-group .lpd-gallery-item {
  width: clamp(230px, 23vw, 320px);
  flex: 0 0 auto;
}
.lpd-gallery-clone {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  background: #dfe5eb;
}
.lpd-gallery-clone:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(2, 14, 33, 0.74));
}
.lpd-gallery-marquee.is-static {
  direction: inherit;
  mask-image: none;
  -webkit-mask-image: none;
}
.lpd-gallery-marquee.is-static .lpd-gallery-track {
  width: 100%;
  animation: none;
}
.lpd-gallery-marquee.is-static .lpd-gallery-group {
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  padding-inline-end: 0;
}
@keyframes lpdGalleryMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lpd-gallery-track {
    animation: none;
  }
}
.lpd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.lpd-gallery-item {
  margin: 0;
  min-width: 0;
}
.lpd-gallery-item button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #dfe5eb;
  cursor: zoom-in;
}
.lpd-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.lpd-gallery-item button:hover img {
  transform: scale(1.045);
}
.lpd-gallery-item button:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(2, 14, 33, 0.74));
  pointer-events: none;
}
.lpd-gallery-caption {
  position: absolute;
  z-index: 2;
  inset: auto 13px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: start;
}
.lpd-video-item button {
  cursor: pointer;
}
.lpd-video-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(135deg, #1877f2, #0d47a1);
  color: #fff;
  font-size: 54px;
}
.lpd-play {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(177, 32, 39, 0.93);
  color: #fff;
  transform: translate(-50%, -50%);
}
.lpd-case-section {
  background: var(--lpd-soft);
}
.lpd-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.lpd-case-card {
  position: relative;
  padding: 18px 24px 20px;
  border-inline-start: 1px solid var(--lpd-line);
}
.lpd-case-card:first-child {
  border-inline-start: 0;
}
.lpd-case-card > i {
  color: var(--lpd-red);
  font-size: 27px;
  margin-bottom: 16px;
}
.lpd-case-card h3 {
  margin: 0 0 12px;
  color: var(--lpd-navy);
  font-size: 17px;
}
.lpd-rich-text {
  white-space: pre-line;
  color: var(--lpd-muted);
  font-size: 13px;
  line-height: 1.95;
}
.lpd-challenges {
  display: grid;
  gap: 8px;
}
.lpd-challenge {
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  background: #fff;
}
.lpd-challenge h3,
.lpd-challenge h4 {
  margin: 0;
}
.lpd-challenge h3 button,
.lpd-challenge h4 button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  color: var(--lpd-navy);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: start;
  cursor: pointer;
}
.lpd-challenge h3 button i,
.lpd-challenge h4 button i {
  color: var(--lpd-red);
  font-size: 10px;
  transition: transform 0.2s ease;
}
.lpd-challenge.is-open h3 button i,
.lpd-challenge.is-open h4 button i {
  transform: rotate(180deg);
}
.lpd-challenge-panel {
  padding: 0 12px 13px;
  border-top: 1px solid #eef1f4;
}
.lpd-challenge-panel[hidden] {
  display: none;
}
.lpd-challenge-panel > div {
  padding-top: 11px;
}
.lpd-challenge-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--lpd-red);
  font-size: 10px;
}
.lpd-challenge-panel p {
  margin: 0;
  white-space: pre-line;
  color: var(--lpd-muted);
  font-size: 12px;
  line-height: 1.8;
}
.lpd-challenges-section {
  background: #fff;
  border-top: 1px solid var(--lpd-line);
}
.lpd-challenges-container {
  max-width: 920px;
}
.lpd-challenges-wide {
  gap: 12px;
}
.lpd-challenges-wide .lpd-challenge {
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(2, 14, 33, 0.05);
}
.lpd-challenges-wide .lpd-challenge h3 button {
  padding: 17px 20px;
  font-size: 15px;
}
.lpd-challenges-wide .lpd-challenge-panel {
  padding: 0 20px 20px;
}
.lpd-challenges-wide .lpd-challenge-panel > div {
  padding-top: 16px;
}
.lpd-challenges-wide .lpd-challenge-panel strong {
  font-size: 12px;
}
.lpd-challenges-wide .lpd-challenge-panel p {
  font-size: 14px;
  line-height: 1.95;
}
.lpd-legacy-challenge {
  padding: 24px;
  border: 1px solid var(--lpd-line);
  border-radius: 14px;
  background: var(--lpd-soft);
}
.lpd-service-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lpd-service-list li {
  display: grid;
  grid-template-columns: 7px 1fr;
  gap: 8px;
  align-items: start;
  color: var(--lpd-muted);
  font-size: 12px;
  line-height: 1.7;
}
.lpd-service-list li span {
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--lpd-red);
}
.lpd-empty {
  margin: 0;
  color: #98a2b3;
  font-size: 12px;
  line-height: 1.8;
}
.lpd-technical-section {
  background: #fff;
}
.lpd-technical-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: 34px;
  align-items: start;
}
.lpd-tech-data dl {
  margin: 0;
  border-top: 1px solid var(--lpd-line);
}
.lpd-tech-data dl > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--lpd-line);
}
.lpd-tech-data dl > div:nth-child(odd) {
  background: #f7f9fb;
}
.lpd-tech-data dt {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--lpd-navy);
  font-size: 12px;
  font-weight: 800;
}
.lpd-tech-data dt i {
  width: 16px;
  color: #65758a;
  text-align: center;
}
.lpd-tech-data dd {
  margin: 0;
  color: #526174;
  font-size: 12px;
}
.lpd-materials-panel {
  padding: 26px;
  border: 1px solid var(--lpd-line);
  border-radius: 18px;
  background: linear-gradient(145deg, #fff, #f8fafc);
  box-shadow: 0 18px 48px rgba(7, 29, 57, 0.07);
}
.lpd-materials-title {
  margin-bottom: 18px;
}
.lpd-materials-title h2 {
  font-size: 24px;
}
.lpd-materials-list {
  display: grid;
  gap: 10px;
}
.lpd-material-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e7ecf2;
  border-radius: 13px;
  background: #fff;
}
.lpd-brand-mark {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #edf0f4;
  border-radius: 11px;
  background: #fff;
}
.lpd-brand-mark img {
  max-width: 45px;
  max-height: 40px;
  object-fit: contain;
}
.lpd-brand-mark i {
  color: var(--lpd-red);
  font-size: 22px;
}
.lpd-material-copy strong,
.lpd-material-copy span,
.lpd-material-copy small {
  display: block;
}
.lpd-material-copy strong {
  color: var(--lpd-navy);
  font-size: 12px;
}
.lpd-material-copy span {
  margin-top: 4px;
  color: var(--lpd-red);
  font-size: 10px;
  font-weight: 800;
}
.lpd-material-copy small {
  margin-top: 4px;
  color: #8a94a3;
  font-size: 9px;
  line-height: 1.5;
}
.lpd-quantity {
  min-width: 68px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f5f7fa;
  text-align: center;
}
.lpd-quantity b,
.lpd-quantity span {
  display: block;
}
.lpd-quantity b {
  color: var(--lpd-navy);
  font-size: 16px;
}
.lpd-quantity span {
  margin-top: 2px;
  color: #8b95a3;
  font-size: 9px;
}
.lpd-steps-section {
  background: var(--lpd-soft);
}
.lpd-center-head {
  display: block;
  text-align: center;
}
.lpd-center-head > div {
  justify-content: center;
}
.lpd-center-head p {
  margin: 10px auto 0;
  max-width: 650px;
  color: var(--lpd-muted);
  font-size: 12px;
}
.lpd-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.lpd-steps:before {
  content: '';
  position: absolute;
  top: 42px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: #d7dee7;
}
.lpd-steps li {
  position: relative;
  z-index: 1;
  text-align: center;
}
.lpd-step-number {
  position: absolute;
  top: -4px;
  inset-inline-start: 50%;
  transform: translateX(48px);
  color: #cbd2db;
  font-size: 10px;
  font-weight: 800;
}
.lpd-step-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe1e8;
  border-radius: 50%;
  background: #fff;
  color: var(--lpd-red);
  font-size: 24px;
  box-shadow: 0 10px 28px rgba(7, 29, 57, 0.05);
}
.lpd-steps h3 {
  margin: 0 0 8px;
  color: var(--lpd-navy);
  font-size: 14px;
}
.lpd-steps p {
  margin: 0;
  color: var(--lpd-muted);
  font-size: 10px;
  line-height: 1.8;
}
.lpd-related-section {
  background: #fff;
}
.lpd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.lpd-related-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--lpd-line);
  border-radius: 14px;
  background: #fff;
  transition: 0.25s;
}
.lpd-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(7, 29, 57, 0.1);
}
.lpd-related-image {
  position: relative;
  aspect-ratio: 16/8.4;
  background: #e7ebef;
  overflow: hidden;
}
.lpd-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.lpd-related-card:hover img {
  transform: scale(1.04);
}
.lpd-related-image > span {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e9f7ed;
  color: #357a40;
  font-size: 9px;
  font-weight: 800;
}
.lpd-related-copy {
  padding: 14px 15px 16px;
}
.lpd-related-copy h3 {
  margin: 0;
  color: var(--lpd-navy);
  font-size: 15px;
}
.lpd-related-copy p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 8px 0;
  color: var(--lpd-muted);
  font-size: 10px;
  line-height: 1.7;
}
.lpd-related-copy small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #718096;
  font-size: 9px;
}
.lpd-cta {
  background: linear-gradient(100deg, #7f0718, #c11f2b);
  color: #fff;
}
.lpd-cta .lpd-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.lpd-cta h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 23px;
}
.lpd-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}
.lpd-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: var(--lpd-red-dark);
  font-weight: 800;
  font-size: 12px;
}
.link-project-detail-v3 img {
  -webkit-user-drag: none;
  user-select: none;
}
@media (max-width: 980px) {
  .lpd-hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lpd-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .lpd-case-card {
    border-inline-start: 0;
    border-top: 1px solid var(--lpd-line);
    padding: 22px 0;
  }
  .lpd-case-card:nth-child(-n + 2) {
    border-top: 0;
  }
  .lpd-technical-layout {
    grid-template-columns: 1fr;
  }
  .lpd-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lpd-steps:before {
    display: none;
  }
  .lpd-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lpd-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .lpd-container {
    width: calc(100% - 28px);
  }
  .lpd-section {
    padding: 48px 0;
  }
  .lpd-hero,
  .lpd-hero-content {
    min-height: 640px;
  }
  .lpd-hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(3, 18, 41, 0.98) 0%,
      rgba(3, 18, 41, 0.8) 55%,
      rgba(3, 18, 41, 0.28) 100%
    );
  }
  .lpd-hero-content {
    padding-top: 22px;
    padding-bottom: 16px;
  }
  .lpd-hero-copy {
    margin-top: auto;
    padding: 50px 0 28px;
  }
  .lpd-hero-copy h1 {
    font-size: 36px;
  }
  .lpd-hero-copy p {
    font-size: 13px;
  }
  .lpd-hero-facts {
    grid-template-columns: 1fr 1fr;
  }
  .lpd-hero-facts > div {
    padding: 13px 12px;
  }
  .lpd-section-head,
  .lpd-head-with-action {
    align-items: flex-start;
    flex-direction: column;
  }
  .lpd-section-head h2 {
    font-size: 25px;
  }
  .lpd-head-with-action .lpd-outline-btn {
    width: 100%;
    max-width: 100%;
  }
  .lpd-gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .lpd-gallery-caption {
    font-size: 9px;
    inset: auto 9px 9px;
  }
  .lpd-gallery-group .lpd-gallery-item {
    width: min(76vw, 290px);
  }
  .pf-lightbox-media {
    width: calc(100vw - 28px);
  }
  .lpd-challenges-wide .lpd-challenge h3 button {
    padding: 14px 15px;
    font-size: 13px;
  }
  .lpd-challenges-wide .lpd-challenge-panel {
    padding: 0 15px 16px;
  }
  .lpd-case-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .lpd-case-card,
  .lpd-case-card:nth-child(-n + 2) {
    border-top: 1px solid var(--lpd-line);
    padding: 20px 0;
  }
  .lpd-case-card:first-child {
    border-top: 0;
  }
  .lpd-tech-data dl > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .lpd-materials-panel {
    padding: 18px;
  }
  .lpd-material-card {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }
  .lpd-brand-mark {
    width: 48px;
    height: 48px;
  }
  .lpd-steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px 14px;
  }
  .lpd-step-icon {
    width: 68px;
    height: 68px;
  }
  .lpd-step-number {
    display: none;
  }
  .lpd-related-grid {
    grid-template-columns: 1fr;
  }
  .lpd-cta .lpd-container {
    align-items: flex-start;
    flex-direction: column;
  }
  .lpd-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Project detail refinements 2026-09-23 ===== */
@media (min-width: 641px) {
  .link-project-detail-v3 .lpd-hero,
  .link-project-detail-v3 .lpd-hero-content {
    min-height: 210px;
    height: 210px;
  }
  .link-project-detail-v3 .lpd-hero-content {
    padding-top: 18px;
    padding-bottom: 16px;
    justify-content: flex-start;
  }
  .link-project-detail-v3 .lpd-breadcrumbs {
    font-size: 10px;
  }
  .link-project-detail-v3 .lpd-hero-copy {
    max-width: 760px;
    margin-inline-start: auto;
    padding: 18px 0 0;
  }
  .link-project-detail-v3 .lpd-status-badge {
    padding: 5px 10px;
    font-size: 10px;
  }
  .link-project-detail-v3 .lpd-hero-copy h1 {
    margin: 8px 0 6px;
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.12;
  }
  .link-project-detail-v3 .lpd-hero-copy p {
    max-width: 720px;
    font-size: 11px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
.lpd-hero-facts-wrap {
  position: relative;
  z-index: 3;
  padding: 0 0 24px;
  background: #fff;
}
.lpd-hero-facts-wrap .lpd-container {
  transform: translateY(-1px);
}
.link-project-detail-v3 .lpd-hero-facts {
  background: #fff;
  border: 1px solid #e4e9ef;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 10px 25px rgba(7, 29, 57, 0.06);
}
.link-project-detail-v3 .lpd-hero-facts > div {
  padding: 14px 18px;
  border-inline-start: 1px solid #e7ebf0;
}
.link-project-detail-v3 .lpd-hero-facts i {
  color: var(--lpd-navy);
}
.link-project-detail-v3 .lpd-hero-facts span {
  color: #8b95a3;
}
.link-project-detail-v3 .lpd-hero-facts strong {
  color: var(--lpd-navy);
}
.lpd-gallery-overflow {
  display: none;
}
.link-project-detail-v3 .lpd-case-section {
  padding-top: 42px;
  padding-bottom: 42px;
}
.link-project-detail-v3 .lpd-case-section .lpd-section-head {
  margin-bottom: 18px;
}
.link-project-detail-v3 .lpd-case-card {
  padding: 12px 18px 14px;
}
.link-project-detail-v3 .lpd-case-card > i {
  margin-bottom: 10px;
  font-size: 22px;
}
.link-project-detail-v3 .lpd-case-card h3 {
  margin-bottom: 8px;
  font-size: 15px;
}
.link-project-detail-v3 .lpd-case-card .lpd-rich-text {
  font-size: 11px;
  line-height: 1.75;
}
.link-project-detail-v3 .lpd-service-list {
  gap: 5px;
}
.link-project-detail-v3 .lpd-service-list li {
  font-size: 10px;
  line-height: 1.6;
}

/* Project journey: same sequential visual language used by the homepage workflow. */
.lpd-journey {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  margin: 38px 0 0;
  padding: 8px 6px 12px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}
.lpd-journey > li {
  position: relative;
  flex: 1 0 150px;
  min-width: 150px;
  text-align: center;
}
.lpd-journey-icon {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  margin: 0 auto 13px;
  display: grid;
  place-items: center;
  border: 1px solid #d7a2a6;
  border-radius: 50%;
  background: #fff;
  color: var(--lpd-red);
  font-size: 22px;
  box-shadow: 0 8px 22px rgba(7, 29, 57, 0.05);
}
.lpd-journey-number {
  position: absolute;
  top: -4px;
  inset-inline-start: calc(50% + 34px);
  color: #c7cfd9;
  font-size: 9px;
  font-weight: 800;
}
.lpd-journey h3 {
  margin: 0 0 7px;
  color: var(--lpd-navy);
  font-size: 13px;
  line-height: 1.55;
}
.lpd-journey p {
  margin: 0 auto;
  max-width: 190px;
  color: var(--lpd-muted);
  font-size: 9px;
  line-height: 1.7;
}
.lpd-journey-connector {
  position: absolute;
  z-index: 1;
  top: 30px;
  inset-inline-start: calc(50% + 31px);
  width: calc(100% + 34px);
  height: 16px;
  pointer-events: none;
  color: var(--lpd-red);
}
.lpd-journey-connector b {
  position: absolute;
  top: 7px;
  inset-inline: 0 18px;
  border-top: 1px dashed rgba(177, 32, 39, 0.7);
}
.lpd-journey-connector i {
  position: absolute;
  top: 1px;
  inset-inline-end: 0;
  font-size: 11px;
}
@media (max-width: 640px) {
  .lpd-hero-facts-wrap {
    padding-bottom: 14px;
  }
  .link-project-detail-v3 .lpd-hero-facts {
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e4e9ef;
    border-radius: 12px;
  }
  .link-project-detail-v3 .lpd-hero-facts > div {
    padding: 12px 10px;
  }
  .lpd-journey {
    gap: 24px;
    padding-inline: 2px;
  }
  .lpd-journey > li {
    flex-basis: 132px;
    min-width: 132px;
  }
  .lpd-journey-connector {
    width: calc(100% + 24px);
  }
}

/* ===== Project detail hero alignment & compact facts 2026-09-23 ===== */
@media (min-width: 641px) {
  .link-project-detail-v3 .lpd-hero,
  .link-project-detail-v3 .lpd-hero-content {
    min-height: 280px;
    height: 280px;
  }

  [dir='rtl'] .link-project-detail-v3 .lpd-hero-copy {
    margin-inline-start: auto;
    margin-inline-end: 0;
    text-align: right;
  }

  [dir='rtl'] .link-project-detail-v3 .lpd-hero-copy p {
    margin-inline-start: auto;
    margin-inline-end: 0;
    text-align: right;
  }

  .link-project-detail-v3 .lpd-hero-facts-wrap .lpd-container {
    display: flex;
    justify-content: center;
  }

  .link-project-detail-v3 .lpd-hero-facts {
    display: inline-grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, max-content);
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    border-top: 1px solid #e4e9ef;
    border-radius: 14px;
  }
}

/* ===== Project detail hero: final reference match 2026-09-23 ===== */
@media (min-width: 769px) {
  .link-project-detail-v3 .lpd-hero {
    min-height: 330px;
    height: 330px;
  }

  .link-project-detail-v3 .lpd-hero-image {
    object-position: center center;
  }

  .link-project-detail-v3 .lpd-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(3, 18, 41, 0.12) 0%,
      rgba(3, 18, 41, 0.34) 42%,
      rgba(3, 18, 41, 0.9) 76%,
      rgba(3, 18, 41, 0.97) 100%
    );
  }

  [dir='ltr'] .link-project-detail-v3 .lpd-hero-overlay {
    background: linear-gradient(
      270deg,
      rgba(3, 18, 41, 0.12) 0%,
      rgba(3, 18, 41, 0.34) 42%,
      rgba(3, 18, 41, 0.9) 76%,
      rgba(3, 18, 41, 0.97) 100%
    );
  }

  .link-project-detail-v3 .lpd-hero-content {
    min-height: 330px;
    height: 330px;
    padding-top: 18px;
    padding-bottom: 54px;
    justify-content: flex-start;
  }

  [dir='rtl'] .link-project-detail-v3 .lpd-breadcrumbs {
    width: 48%;
    margin-left: 0;
    margin-right: auto;
    justify-content: flex-start;
    direction: rtl;
    text-align: right;
  }

  [dir='ltr'] .link-project-detail-v3 .lpd-breadcrumbs {
    width: 48%;
    margin-right: 0;
    margin-left: auto;
  }

  .link-project-detail-v3 .lpd-breadcrumbs {
    font-size: 10px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
  }

  .link-project-detail-v3 .lpd-hero-copy {
    width: 48%;
    max-width: 545px;
    padding: 20px 0 0;
  }

  [dir='rtl'] .link-project-detail-v3 .lpd-hero-copy {
    margin-left: 0;
    margin-right: auto;
    text-align: right;
  }

  [dir='ltr'] .link-project-detail-v3 .lpd-hero-copy {
    margin-right: 0;
    margin-left: auto;
    text-align: left;
  }

  .link-project-detail-v3 .lpd-status-badge {
    padding: 5px 11px;
    font-size: 10px;
    line-height: 1.2;
  }

  .link-project-detail-v3 .lpd-hero-copy h1 {
    max-width: 520px;
    margin: 10px 0 8px;
    font-size: clamp(28px, 2.45vw, 38px);
    line-height: 1.18;
    letter-spacing: -0.012em;
  }

  .link-project-detail-v3 .lpd-hero-copy p {
    max-width: 530px;
    margin: 0;
    font-size: 11px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    -webkit-line-clamp: 3;
  }

  .link-project-detail-v3 .lpd-hero-facts-wrap {
    padding: 0 0 34px;
    background: #fff;
  }

  .link-project-detail-v3 .lpd-hero-facts-wrap .lpd-container {
    display: flex;
    justify-content: center;
    transform: translateY(-34px);
    margin-bottom: -34px;
  }

  .link-project-detail-v3 .lpd-hero-facts {
    display: inline-grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(205px, max-content);
    width: max-content;
    max-width: min(100%, 1040px);
    overflow: hidden;
    border: 1px solid #e1e7ee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(7, 29, 57, 0.1);
    backdrop-filter: none;
  }

  .link-project-detail-v3 .lpd-hero-facts > div {
    min-height: 64px;
    padding: 12px 20px;
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 10px;
    border-inline-start: 1px solid #e2e7ed;
    background: #fff;
  }

  .link-project-detail-v3 .lpd-hero-facts > div:first-child {
    border-inline-start: 0;
  }

  .link-project-detail-v3 .lpd-hero-facts i {
    font-size: 17px;
    color: #0a2748;
  }

  .link-project-detail-v3 .lpd-hero-facts span {
    font-size: 9px;
    color: #8793a3;
  }

  .link-project-detail-v3 .lpd-hero-facts strong {
    font-size: 11px;
    line-height: 1.45;
    color: #0a2748;
    white-space: nowrap;
  }
}

@media (min-width: 769px) and (max-width: 1050px) {
  .link-project-detail-v3 .lpd-hero-copy,
  [dir='rtl'] .link-project-detail-v3 .lpd-breadcrumbs,
  [dir='ltr'] .link-project-detail-v3 .lpd-breadcrumbs {
    width: 58%;
  }

  .link-project-detail-v3 .lpd-hero-facts {
    grid-auto-columns: minmax(180px, max-content);
  }
}

/* ===== Project detail hero: right-aligned content + visible navigation 2026-09-23 ===== */
@media (min-width: 769px) {
  .link-project-detail-v3 .lpd-hero,
  .link-project-detail-v3 .lpd-hero-content {
    min-height: 400px;
    height: 400px;
  }

  .link-project-detail-v3 .lpd-hero-content {
    justify-content: flex-start;
    padding-top: 24px;
    padding-bottom: 74px;
  }

  /* Arabic content belongs on the visual right side of the banner. */
  [dir='rtl'] .link-project-detail-v3 .lpd-breadcrumbs,
  [dir='rtl'] .link-project-detail-v3 .lpd-hero-copy {
    width: 51%;
    max-width: 600px;
    margin-left: auto;
    margin-right: 0;
    text-align: right;
  }

  [dir='rtl'] .link-project-detail-v3 .lpd-breadcrumbs {
    justify-content: flex-start;
    direction: rtl;
  }

  [dir='rtl'] .link-project-detail-v3 .lpd-hero-copy {
    padding-top: 60px;
  }

  [dir='rtl'] .link-project-detail-v3 .lpd-hero-copy p,
  [dir='rtl'] .link-project-detail-v3 .lpd-hero-copy h1 {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
  }

  /* Keep breadcrumb and project state clearly visible above the title. */
  .link-project-detail-v3 .lpd-breadcrumbs {
    position: relative;
    z-index: 4;
    min-height: 22px;
    font-size: 10px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
  }

  .link-project-detail-v3 .lpd-breadcrumbs a {
    color: rgba(255, 255, 255, 0.88);
  }

  .link-project-detail-v3 .lpd-breadcrumbs a:hover {
    color: #fff;
  }

  .link-project-detail-v3 .lpd-status-badge {
    position: relative;
    z-index: 4;
    margin-bottom: 4px;
  }

  .link-project-detail-v3 .lpd-hero-copy h1 {
    margin-top: 12px;
    font-size: clamp(30px, 2.7vw, 42px);
    line-height: 1.2;
  }

  .link-project-detail-v3 .lpd-hero-copy p {
    font-size: 11.5px;
    line-height: 1.85;
    -webkit-line-clamp: 3;
  }

  /* Slightly stronger shade behind Arabic copy while preserving the photo. */
  [dir='rtl'] .link-project-detail-v3 .lpd-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(3, 18, 41, 0.1) 0%,
      rgba(3, 18, 41, 0.3) 38%,
      rgba(3, 18, 41, 0.78) 68%,
      rgba(3, 18, 41, 0.97) 100%
    );
  }
}

@media (min-width: 769px) and (max-width: 1050px) {
  [dir='rtl'] .link-project-detail-v3 .lpd-breadcrumbs,
  [dir='rtl'] .link-project-detail-v3 .lpd-hero-copy {
    width: 60%;
  }
}

/* ===== Services page v2: approved reference composition ===== */
.services-hero {
  position: relative;
  padding: 82px 0 0;
  min-height: 560px;
  overflow: hidden;
  background: #fff;
}
.services-hero-pattern {
  position: absolute;
  inset: 82px 0 0;
  pointer-events: none;
  opacity: 0.23;
  background:
    linear-gradient(125deg, transparent 54%, rgba(23, 46, 85, 0.035) 54% 55%, transparent 55%),
    url('../images/pattern.svg') 115% 50%/420px auto no-repeat;
}
.services-hero-grid {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  max-width: none;
  margin: 0 auto;
  min-height: 478px;
  display: grid;
  grid-template-columns: minmax(420px, 45%) minmax(0, 55%);
  gap: 0;
  align-items: stretch;
}
.services-hero-copy {
  align-self: center;
  padding: 48px clamp(36px, 6vw, 96px) 32px clamp(28px, 4vw, 62px);
}
[dir='ltr'] .services-hero-copy {
  padding-inline: clamp(28px, 4vw, 62px) clamp(36px, 6vw, 96px);
}
.services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b12027;
  font-size: 14px;
  font-weight: 800;
}
.services-eyebrow::before {
  content: '';
  width: 44px;
  height: 2px;
  background: #b12027;
}
.services-hero-copy h1 {
  margin: 12px 0 12px;
  color: #172e55;
  font-size: clamp(40px, 4.55vw, 68px);
  line-height: 1.16;
  letter-spacing: -0.025em;
}
.services-hero-copy h1 em {
  color: #b12027;
  font-style: normal;
}
.services-hero-copy p {
  max-width: 690px;
  margin: 0;
  color: #4f5968;
  font-size: 16px;
  line-height: 1.95;
}
.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.services-hero-actions .btn {
  min-height: 48px;
  gap: 11px;
  justify-content: center;
  cursor: pointer;
}
.services-hero-primary {
  border-color: #b12027;
  background: #b12027;
  color: #fff;
}
.services-hero-primary:hover {
  background: #930a1e;
  border-color: #930a1e;
}
.services-hero-secondary {
  border-color: #b12027;
  background: #fff;
  color: #b12027;
}
.services-hero-secondary:hover {
  background: #fff6f6;
}
.services-hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid #e7e9ee;
  padding-top: 18px;
}
.services-hero-benefits > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding-inline: 16px;
  border-inline-start: 1px solid #e7e9ee;
}
.services-hero-benefits > div:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}
.services-hero-benefits i {
  flex: 0 0 auto;
  color: #c8202c;
  font-size: 25px;
}
.services-hero-benefits span {
  display: grid;
  gap: 1px;
}
.services-hero-benefits strong {
  color: #172e55;
  font-size: 14px;
  line-height: 1.35;
}
.services-hero-benefits small {
  color: #777f8c;
  font-size: 11px;
  line-height: 1.4;
}
.services-hero-media {
  position: relative;
  min-height: 478px;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18% 100%);
  background: #172e55;
}
[dir='ltr'] .services-hero-media {
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}
.services-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(1, 9, 33, 0.08),
    rgba(1, 9, 33, 0.02) 55%,
    rgba(1, 9, 33, 0.32)
  );
}
.services-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.services-hero-red-shape {
  position: absolute;
  z-index: 2;
  display: block;
  background: rgba(177, 32, 39, 0.85);
  transform: skewX(-38deg);
  pointer-events: none;
}
.services-hero-red-shape-a {
  width: 190px;
  height: 560px;
  left: 3%;
  top: -80px;
}
.services-hero-red-shape-b {
  width: 140px;
  height: 560px;
  left: 20%;
  top: 150px;
  opacity: 0.75;
}
[dir='ltr'] .services-hero-red-shape-a {
  left: auto;
  right: 3%;
  transform: skewX(38deg);
}
[dir='ltr'] .services-hero-red-shape-b {
  left: auto;
  right: 20%;
  transform: skewX(38deg);
}

.services-showcase {
  padding: 46px 0 54px;
  background: #fff;
}
.services-showcase-head {
  max-width: 830px;
  margin-inline: auto;
  text-align: center;
}
.services-showcase-head span {
  color: #b12027;
  font-weight: 800;
}
.services-showcase-head h2 {
  margin: 7px 0 7px;
  color: #172e55;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.3;
}
.services-showcase-head p {
  max-width: 700px;
  margin: 0 auto;
  color: #697386;
  font-size: 14px;
  line-height: 1.9;
}
.service-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px auto 32px;
  max-width: 930px;
}
.service-tab {
  appearance: none;
  border: 1px solid #d9dde5;
  background: #fff;
  color: #172e55;
  border-radius: 999px;
  padding: 8px 17px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: none;
}
.service-tab:hover,
.service-tab:focus-visible {
  border-color: #b12027;
  color: #fff;
  outline: 0;
}
.service-tab.is-active {
  background: #b12027;
  border-color: #b12027;
  color: #fff;
}
.services-design-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-design-card {
  overflow: hidden;
  border: 1px solid #e2e5ea;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(1, 9, 33, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.service-design-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(1, 9, 33, 0.13);
}
.service-design-card[hidden] {
  display: none !important;
}
.service-design-media {
  position: relative;
  height: 176px;
  overflow: hidden;
  background: #172e55;
}
.service-design-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.service-design-card:hover .service-design-image {
  transform: scale(1.035);
}
/* Unified service icon slot: the former media-overlay icon has been removed. */
.service-design-icon { isolation: isolate; overflow: hidden; }
.service-design-icon .motion-lottie-canvas { inset: 6px; z-index: 1; }
.service-design-icon.is-lottie-ready .service-icon-static { opacity: 0; }
.service-design-icon .service-icon-static { transition: opacity .18s ease; }
.service-featured-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  inset-inline-start: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 7px;
  background: #c8202c;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.service-featured-badge i {
  font-size: 10px;
}
.service-design-content {
  position: relative;
  min-height: 160px;
  padding: 18px 16px 15px;
}
.service-design-icon {
  position: absolute;
  top: -22px;
  inset-inline-start: 14px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #c8202c;
  color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(177, 32, 39, 0.2);
}
.service-design-content h2 {
  margin: 7px 0 7px;
  color: #172e55;
  font-size: 16px;
  line-height: 1.55;
}
.service-design-content p {
  min-height: 52px;
  margin: 0;
  color: #677184;
  font-size: 12.5px;
  line-height: 1.75;
}
.service-design-link {
  border: 0;
  background: transparent;
  color: #b12027;
  padding: 11px 0 0;
  font: inherit;
  font-weight: 800;
  font-size: 12.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.service-design-link:hover {
  color: #930a1e;
}

.services-trust-strip {
  background: #f5f7fa;
  border-top: 1px solid #eceef2;
}
.services-trust-grid {
  display: grid;
  grid-template-columns: minmax(320px, 40%) minmax(0, 60%);
  min-height: 178px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}
.services-trust-strip .services-trust-grid {
  width: 100%;
  max-width: none;
}

/* Services hero: compact, reference-led proportion. */
@media (min-width: 901px) {
  .services-hero {
    min-height: 0;
    padding-top: 82px;
  }
  .services-hero-pattern {
    inset: 82px 0 0;
  }
  .services-hero-grid {
    min-height: 0;
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  }
  .services-hero-copy {
    padding: 26px clamp(30px, 4vw, 56px) 26px;
  }
  .services-hero-copy h1 {
    font-size: clamp(38px, 3.5vw, 50px);
    line-height: 1.14;
  }
  .services-hero-copy p {
    font-size: 15px;
    line-height: 1.75;
  }
  .services-hero-media {
    min-height: 430px;
  }
  .services-hero-red-shape-a,
  .services-hero-red-shape-b {
    height: 470px;
  }
  .services-hero-benefits {
    margin-top: 18px;
    padding-top: 12px;
  }
}
.services-trust-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 34px;
  color: #fff;
  background: linear-gradient(135deg, #930a1e, #b12027);
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
}
[dir='rtl'] .services-trust-copy {
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 50%);
}
.services-trust-copy h2 {
  margin: 0 0 4px;
  font-size: 25px;
  line-height: 1.4;
}
.services-trust-copy p {
  margin: 0 0 11px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.6;
}
.services-trust-copy .btn {
  align-self: flex-start;
  padding: 8px 15px;
  background: #fff;
  color: #b12027;
  border-color: #fff;
  font-size: 11px;
  gap: 8px;
  cursor: pointer;
}
.services-trust-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  background: #f7f8fa;
}
.services-trust-stat {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 3px;
  text-align: center;
  padding: 18px 12px;
  border-inline-start: 1px solid #dfe3e9;
}
.services-trust-stat:first-child {
  border-inline-start: 0;
}
.services-trust-stat i {
  color: #c8202c;
  font-size: 31px;
  margin-bottom: 4px;
}
.services-trust-stat strong {
  color: #b12027;
  font-size: 26px;
  line-height: 1.15;
}
.services-trust-stat span {
  color: #616b79;
  font-size: 11px;
  line-height: 1.45;
}

body .site-header,
body .site-header.scrolled {
  background: #ad222b !important;
  color: #fff !important;
}
.site-header .brand img {
  filter: none !important;
}
body .main-nav a {
  color: #fff !important;
  cursor: pointer;
}
body .main-nav a::after {
  background: #fff;
}
body a,
body button {
  cursor: pointer;
}

@media (max-width: 1100px) {
  .services-hero-grid {
    grid-template-columns: minmax(390px, 52%) minmax(0, 48%);
  }
  .services-hero-copy {
    padding-inline: 34px;
  }
  .services-design-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .services-hero {
    padding-top: 82px;
  }
  .services-hero-grid {
    grid-template-columns: 1fr;
  }
  .services-hero-copy {
    order: 1;
    text-align: center;
    padding: 38px 24px 32px;
  }
  .services-hero-copy p {
    margin-inline: auto;
  }
  .services-hero-actions {
    justify-content: center;
  }
  .services-hero-benefits {
    max-width: 660px;
    margin-inline: auto;
  }
  .services-hero-media {
    min-height: 330px;
    order: 2;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  }
  [dir='ltr'] .services-hero-media {
    clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  }
  .services-design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-trust-grid {
    grid-template-columns: 1fr;
    border-radius: 0;
  }
  .services-trust-copy,
  [dir='rtl'] .services-trust-copy {
    clip-path: none;
    text-align: center;
    align-items: center;
    border-radius: 15px;
  }
  .services-trust-copy .btn {
    align-self: center;
  }
}
@media (max-width: 600px) {
  .services-hero-copy {
    padding-inline: 18px;
  }
  .services-hero-copy h1 {
    font-size: 34px;
  }
  .services-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .services-hero-actions .btn {
    padding-inline: 12px;
    font-size: 12px;
  }
  .services-hero-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    /* grid-template-columns: 1fr; */
    gap: 10px;
    text-align: start;
  }
  .services-hero-benefits > div {
    border-inline-start: 0;
    border-top: 1px solid #e7e9ee;
    padding: 10px 0 0;
  }
  .services-hero-benefits > div:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .services-hero-media {
    min-height: 255px;
  }
  .services-hero-red-shape-a {
    width: 120px;
    height: 380px;
  }
  .services-hero-red-shape-b {
    width: 90px;
    height: 380px;
    top: 90px;
  }
  .services-showcase {
    padding-top: 36px;
  }
  .service-tabs {
    justify-content: center;
    gap: 7px;
  }
  .service-tab {
    padding: 7px 12px;
    font-size: 11px;
  }
  .services-design-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-design-media {
    height: 100px;
  }
  .services-trust-copy {
    margin: 24px 24px;
  }
  .services-trust-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-trust-stat:nth-child(3) {
    border-inline-start: 0;
    border-top: 1px solid #dfe3e9;
  }
  .services-trust-stat:nth-child(4) {
    border-top: 1px solid #dfe3e9;
  }
}


/* LINK project delivery cards -- scoped only to the project details journey */
.link-project-detail-v3 .lpd-steps-section{background:#f7f9fc;padding-block:65px 76px}
.link-project-detail-v3 .lpd-journey{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px;overflow:visible;position:relative;margin:42px 0 0;padding:0;list-style:none;align-items:stretch}
.link-project-detail-v3 .lpd-journey:before{content:"";position:absolute;top:29px;inset-inline:5%;border-top:2px dotted #c52a38;opacity:.7}
.link-project-detail-v3 .lpd-journey-stage{position:relative;min-width:0;display:flex;flex-direction:column;flex:none;text-align:center}
.link-project-detail-v3 .lpd-step-marker{position:relative;z-index:2;display:grid;place-items:center;width:60px;height:60px;margin:0 auto 40px;background:#ad222b;border:4px solid white;box-shadow:0 0 0 2px #f1bdc2,0 6px 14px #7c172133;border-radius:50%;color:white;font-weight:800;font-size:21px}
.link-project-detail-v3 .lpd-step-marker:after{content:"";position:absolute;top:100%;height:33px;width:1px;background:#ad222b;left:50%}
.link-project-detail-v3 .lpd-step-card{flex:1;min-width:0;background:#fff;border-radius:18px;padding:20px 12px 12px;box-shadow:0 14px 34px #162e5010;display:flex;flex-direction:column;align-items:center;transition:transform .2s ease,box-shadow .2s ease}
.link-project-detail-v3 .lpd-step-card:hover{transform:translateY(-5px);box-shadow:0 18px 42px #162e5021}
.link-project-detail-v3 .lpd-journey-icon{width:68px;height:68px;margin:-8px auto 16px;font-size:24px;border-color:#f1c8cd;flex:none}
.link-project-detail-v3 .lpd-journey h3{font-size:17px;line-height:1.55;min-height:53px;margin:0;color:#172e55}
.link-project-detail-v3 .lpd-step-dash{width:34px;height:3px;background:#ad222b;border-radius:8px;margin:12px auto 16px}
.link-project-detail-v3 .lpd-journey p{font-size:12px;line-height:1.9;max-width:none;margin:0 0 20px;color:#56657a;flex:1}
.link-project-detail-v3 .lpd-step-media{width:100%;aspect-ratio:1.28;margin:auto 0 0;overflow:hidden;border-radius:12px;border-inline-start:3px solid #ad222b;background:#eef1f5}
.link-project-detail-v3 .lpd-step-media button{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer}
.link-project-detail-v3 .lpd-step-media button:focus-visible{outline:3px solid #ad222b;outline-offset:-3px}
.link-project-detail-v3 .lpd-step-media img{width:100%;height:100%;display:block;object-fit:cover}
@media(max-width:1050px){.link-project-detail-v3 .lpd-journey{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:25px}.link-project-detail-v3 .lpd-journey:before{display:none}.link-project-detail-v3 .lpd-step-marker{margin-bottom:35px}}
@media(max-width:680px){.link-project-detail-v3 .lpd-journey{grid-template-columns:repeat(1,minmax(0,1fr));gap:22px}.link-project-detail-v3 .lpd-journey-stage{width:100%}.link-project-detail-v3 .lpd-journey h3{min-height:0}.link-project-detail-v3 .lpd-step-media{aspect-ratio:1.8}.link-project-detail-v3 .lpd-steps-section{padding-block:38px}}
@media(prefers-reduced-motion:reduce){.link-project-detail-v3 .lpd-step-card{transition:none}}
/* Lottie uses the existing single service-icon slot. Preserve original look for
   services that have not yet been mapped to an approved animation asset. */
.service-design-icon[data-lottie] {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 4px 10px rgba(177,32,39,.2), inset 0 0 0 1px rgba(173,34,43,.18);
  color: #ad222b;
}
