:root {
  --ink: #17212b;
  --muted: #5b6670;
  --navy: #0d263b;
  --navy-2: #102f49;
  --steel: #e7edf1;
  --steel-2: #f3f6f8;
  --line: #d7e0e7;
  --orange: #ed6b26;
  --orange-text: #b73417;
  --orange-strong: #c2410c;
  --cyan: #1f9eba;
  --olive: #7c8d35;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(13, 38, 59, .16);
  --radius: 8px;
  --max: 1180px;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--white);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(13, 38, 59, .04) 1px, transparent 1px) 0 0 / 84px 84px,
    linear-gradient(180deg, #fff 0%, #f7f9fa 48%, #fff 100%);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

body.lock-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* keep <picture> transparent to grid/flex layout so `.parent img` rules apply */
picture {
  display: contents;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange-strong);
  outline-offset: 2px;
  border-radius: 4px;
}

.hero :focus-visible,
.section.dark :focus-visible,
.contact-band :focus-visible,
.lightbox :focus-visible {
  outline-color: var(--orange);
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 80;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(215, 224, 231, .72);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(215, 224, 231, .9);
  padding: 4px;
}

.brand-copy {
  display: grid;
  gap: 0;
  min-width: 0;
}

.brand-name {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-lang="ar"] .site-header {
  font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
}

html[data-lang="ar"] .brand-copy {
  text-align: right;
}

html[data-lang="ar"] .brand-name {
  font-size: 13px;
  line-height: 1.45;
}

html[data-lang="ar"] .brand-meta {
  line-height: 1.55;
}

.brand-meta {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  color: #334452;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 6px;
  transition: color .2s ease, background .2s ease;
}

html[data-lang="ar"] .nav-links a {
  font-size: 13px;
  font-weight: 700;
  padding: 8px 11px 10px;
}

.nav-links a:hover {
  color: var(--navy);
  background: rgba(31, 158, 186, .09);
}

.language-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  direction: ltr;
  border: 1px solid rgba(13, 38, 59, .18);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  min-width: 122px;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 38px;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  transition: color .2s ease, background .2s ease;
}

.language-switch a[hreflang="ar"] {
  font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  padding-bottom: 2px;
}

.language-switch a.is-active {
  color: var(--white);
  background: var(--navy);
}

.language-view {
  display: block;
}

.view-ar {
  direction: rtl;
  font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
}

.view-ar .brandish,
.view-ar .display,
.view-ar .section-kicker,
.view-ar .section-title,
.view-ar .hero-eyebrow,
.view-ar .hero-title,
.view-ar .service-title,
.view-ar .project-name,
.view-ar .credential-value {
  font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
}

.ltr-token {
  direction: ltr;
  unicode-bidi: isolate-override;
  display: inline-block;
  text-align: left;
}

.hero {
  min-height: 94svh;
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(7, 18, 29, .92) 0%, rgba(7, 18, 29, .72) 36%, rgba(7, 18, 29, .26) 66%, rgba(7, 18, 29, .48) 100%),
    url("ultra-hero.jpg");
  background-image:
    linear-gradient(90deg, rgba(7, 18, 29, .92) 0%, rgba(7, 18, 29, .72) 36%, rgba(7, 18, 29, .26) 66%, rgba(7, 18, 29, .48) 100%),
    image-set(url("ultra-hero.webp") type("image/webp"), url("ultra-hero.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
  transform: translate(var(--hero-shift-x, 0), var(--hero-shift-y, 0)) scale(1.025);
  z-index: -2;
}

.view-ar .hero::before {
  background-image:
    linear-gradient(270deg, rgba(7, 18, 29, .92) 0%, rgba(7, 18, 29, .72) 36%, rgba(7, 18, 29, .26) 66%, rgba(7, 18, 29, .48) 100%),
    url("ultra-hero.jpg");
  background-image:
    linear-gradient(270deg, rgba(7, 18, 29, .92) 0%, rgba(7, 18, 29, .72) 36%, rgba(7, 18, 29, .26) 66%, rgba(7, 18, 29, .48) 100%),
    image-set(url("ultra-hero.webp") type("image/webp"), url("ultra-hero.jpg") type("image/jpeg"));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 56%, rgba(237, 107, 38, .72) 56% 58%, transparent 58%),
    linear-gradient(135deg, transparent 0 66%, rgba(31, 158, 186, .52) 66% 67%, transparent 67%);
  opacity: .62;
  z-index: -1;
  pointer-events: none;
}

.hero-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 150px 0 74px;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 34px;
}

.view-ar .hero-inner {
  justify-content: start;
}

.hero-copy {
  color: var(--white);
  opacity: 0;
  transform: translateY(22px);
  animation: heroIn .85s cubic-bezier(.2, .7, .2, 1) .18s forwards;
}

.view-ar .hero-copy {
  justify-self: start;
  text-align: right;
}

.hero-eyebrow {
  margin: 0 0 14px;
  color: #b8e5ef;
  font-size: 14px;
  font-weight: 800;
}

.hero-title {
  margin: 0;
  font-size: 76px;
  line-height: .96;
  max-width: 780px;
  font-weight: 900;
  color: var(--white);
  text-wrap: balance;
}

.view-ar .hero-title {
  line-height: 1.16;
  font-size: 54px;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.hero-lede {
  margin: 25px 0 0;
  max-width: 660px;
  color: rgba(255, 255, 255, .86);
  font-size: 19px;
  line-height: 1.65;
}

.view-ar .hero-lede {
  line-height: 1.95;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.view-ar .hero-actions {
  justify-content: flex-start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange-strong);
  color: var(--white);
  box-shadow: 0 18px 36px rgba(237, 107, 38, .32);
}

.btn-secondary {
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  border-color: rgba(255, 255, 255, .46);
  backdrop-filter: blur(12px);
}

.hero-locate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  width: min(640px, 100%);
  padding: 18px;
  background: rgba(7, 18, 29, .58);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 10px;
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn .78s cubic-bezier(.2, .7, .2, 1) .34s forwards;
}

.view-ar .hero-locate {
  justify-self: start;
  text-align: right;
}

.hero-locate-qr {
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  padding: 10px;
  background: var(--white);
  border-radius: 8px;
  transition: transform .25s ease;
}

.hero-locate-qr:hover {
  transform: translateY(-2px);
}

.hero-locate-qr img {
  width: 98px;
  height: 98px;
}

.hero-locate-label {
  display: block;
  color: rgba(255, 255, 255, .62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.view-ar .hero-locate-label {
  letter-spacing: 0;
}

.hero-locate-address {
  margin: 8px 0 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.hero-locate-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}

.hero-locate-link:hover {
  color: var(--orange);
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  position: relative;
  padding: 92px 0;
  background: var(--white);
}

.section.steel {
  background: var(--steel-2);
}

.section.dark {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 62%, rgba(237, 107, 38, .19) 62% 64%, transparent 64%),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px) 0 0 / 84px 84px;
  pointer-events: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 900;
}

.section-title {
  margin: 0;
  color: var(--navy);
  font-size: 40px;
  line-height: 1.08;
  font-weight: 900;
  max-width: 780px;
  text-wrap: balance;
}

.section.dark .section-title,
.section.dark .section-kicker {
  color: var(--white);
}

.section.dark .section-kicker {
  color: #8bd6e6;
}

.section-lede {
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 720px;
  font-size: 17px;
  line-height: 1.75;
}

.section.dark .section-lede,
.section.dark .muted,
.section.dark .service-copy {
  color: rgba(255, 255, 255, .72);
}

.view-ar .section-lede {
  line-height: 2;
}

.view-ar .section-title,
.view-ar .project-feature-title {
  line-height: 1.5;
}

.media-frame {
  position: relative;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--steel);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform .8s ease;
}

.media-frame:hover img {
  transform: scale(1.035);
}

.media-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  padding: 28px;
  background: linear-gradient(180deg, transparent, rgba(7, 18, 29, .84));
}

.view-ar .media-caption {
  flex-direction: row-reverse;
}

.caption-title {
  display: block;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.25;
}

.caption-meta {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  font-weight: 700;
}

.signal-line {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.signal {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: start;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.view-ar .signal {
  grid-template-columns: 1fr 94px;
}

.view-ar .signal span:first-child {
  grid-column: 2;
}

.view-ar .signal strong {
  grid-column: 1;
  grid-row: 1;
}

.signal span {
  color: var(--orange-text);
  font-size: 14px;
  font-weight: 900;
}

.signal strong {
  font-size: 17px;
  line-height: 1.5;
  color: var(--navy);
}

.services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 44px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  overflow: hidden;
}

.service {
  min-height: 250px;
  padding: 28px 24px;
  background: rgba(255, 255, 255, .055);
  transition: background .22s ease, transform .22s ease;
}

.service:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-3px);
}

.service-index {
  display: inline-flex;
  width: 35px;
  height: 35px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--orange-strong);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.service-title {
  margin: 24px 0 10px;
  color: var(--white);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.service-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
}

.project-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.project-head .section-lede {
  max-width: 460px;
  margin: 0;
}

.view-ar .project-head {
  text-align: right;
}

.project-showcase {
  margin-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.project-visual {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

.project-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .8s ease;
}

.project-showcase:hover .project-visual img {
  transform: scale(1.045);
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 38, 59, .1), rgba(13, 38, 59, .78)),
    linear-gradient(135deg, transparent 0 58%, rgba(237, 107, 38, .5) 58% 60%, transparent 60%);
}

.project-badge {
  position: absolute;
  z-index: 1;
  inset-inline-start: 24px;
  bottom: 24px;
  color: var(--white);
  font-weight: 900;
  font-size: 13px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  background: rgba(7, 18, 29, .58);
  backdrop-filter: blur(10px);
}

.project-case {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 42px;
  background:
    linear-gradient(135deg, transparent 0 78%, rgba(31, 158, 186, .08) 78%),
    var(--white);
}

.project-case .section-lede {
  margin: 0;
  max-width: none;
}

.view-ar .project-case,
.view-ar .project-card,
.view-ar .project-meta,
.view-ar .project-detail {
  text-align: right;
}

.view-ar .project-case {
  order: 1;
}

.view-ar .project-visual {
  order: 2;
}

.view-ar .project-tags {
  justify-content: flex-start;
}

.project-feature-title {
  margin: 0;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.08;
  font-weight: 900;
  text-wrap: balance;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-cities {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.project-city {
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 78px;
  padding: 15px 14px 14px;
  background: rgba(255, 255, 255, .94);
}

.project-city::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transform: scaleX(.34);
  transform-origin: left;
}

.view-ar .project-city::before {
  transform-origin: right;
}

.project-city strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.project-city small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  font-weight: 800;
}

.project-tag,
.scope-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
  color: var(--navy);
  background: rgba(31, 158, 186, .1);
  border: 1px solid rgba(31, 158, 186, .22);
  white-space: nowrap;
}

.scope-chip.orange {
  color: #8c360f;
  background: rgba(237, 107, 38, .12);
  border-color: rgba(237, 107, 38, .24);
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.project-meta {
  min-height: 94px;
  padding: 16px;
  background: var(--steel-2);
}

.project-meta span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.project-meta strong {
  display: block;
  margin-top: 6px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.4;
}

.portfolio-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-top: 44px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.portfolio-title {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.view-ar .project-filters {
  justify-content: flex-start;
}

.project-filter {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  border-radius: 8px;
  min-height: 38px;
  padding: 0 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.project-filter:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 158, 186, .45);
  color: var(--navy);
}

.project-filter.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.project-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.project-card {
  position: relative;
  min-height: 236px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform .28s ease;
}

.view-ar .project-card::before {
  transform-origin: right;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 158, 186, .35);
  box-shadow: 0 18px 40px rgba(13, 38, 59, .12);
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card.is-hidden {
  display: none;
}

.project-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
}

.project-name {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.32;
  font-weight: 900;
  text-wrap: balance;
}

.project-card-body {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.project-detail {
  display: grid;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.project-detail span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.project-detail strong {
  color: var(--navy);
  font-size: 13px;
  line-height: 1.45;
}

.project-card .ltr-token,
.project-case .ltr-token,
.credential-value .ltr-token,
.contact-link .ltr-token,
.btn .ltr-token {
  direction: ltr;
  unicode-bidi: isolate-override;
  display: inline-block;
  text-align: left;
}

.project-list {
  display: grid;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.project-row {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(230px, 1fr) minmax(150px, .55fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .2s ease, background .2s ease;
}

.project-row:hover {
  padding-left: 14px;
  padding-right: 14px;
  background: rgba(31, 158, 186, .055);
}

.project-scope,
.project-location {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.project-scope strong,
.project-location strong {
  color: var(--ink);
}

.factory-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 46px;
  align-items: stretch;
  margin-top: 44px;
}

.factory-image {
  min-height: 470px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--steel);
}

.factory-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
}

.factory-panel {
  display: grid;
  align-content: center;
  gap: 28px;
  border-top: 4px solid var(--orange);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.factory-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.factory-point {
  background: var(--white);
  padding: 20px;
  min-height: 138px;
}

.factory-point strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 8px;
}

.factory-point span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.credentials {
  display: grid;
  gap: 32px;
  align-items: start;
  margin-top: 42px;
}



.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.credential {
  background: var(--white);
  min-height: 98px;
  padding: 18px;
}

.credential-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.credential-value {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.45;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.activity-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 34px;
}

.activity-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.activity-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .75em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--cyan);
}

.quote-card {
  margin-top: 26px;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(13, 38, 59, .07);
}

.quote-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

.quote-card p + p {
  margin-top: 12px;
}

.quote-author {
  margin-top: 16px;
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.view-ar .quote-author {
  letter-spacing: 0;
}

.stat-band {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section.dark .stat {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
}

.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
}

.section.dark .stat strong {
  color: var(--white);
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.view-ar .stat span {
  letter-spacing: 0;
}

.section.dark .stat span {
  color: rgba(255, 255, 255, .68);
}

.contract-list {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.contract {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .9fr);
  gap: 18px;
  align-items: start;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contract:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.contract h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
}

.contract-meta span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.view-ar .contract-meta span {
  letter-spacing: 0;
}

.contract-meta strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.org-chart {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.org-tier {
  display: grid;
  gap: 12px;
}

.org-tier[data-cols="1"] { grid-template-columns: minmax(0, 420px); justify-content: center; }
.org-tier[data-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.org-tier[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.org-tier[data-cols="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.org-card {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease;
}

.org-card.is-lead {
  border-top-color: var(--orange);
  background: linear-gradient(180deg, #fff 0%, #fdf4ee 100%);
}

.org-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.org-card strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.org-card span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-text);
}

.view-ar .org-card span {
  letter-spacing: 0;
}

.org-card small {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.trade-tags {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trade-tag {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}

.trade-tag b {
  color: var(--orange-text);
  margin-inline-start: 6px;
}

.asset-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.asset-group {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.asset-group h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
}

.view-ar .asset-group h3 {
  letter-spacing: 0;
}

.asset-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.asset-group li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--steel);
}

.asset-group li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.asset-group li b {
  color: var(--navy);
  font-weight: 800;
}

.entity-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.entity {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  align-content: start;
}

.entity-tag {
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 158, 186, .12);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.entity-tag.orange {
  background: rgba(183, 52, 23, .12);
  color: var(--orange-text);
}

.view-ar .entity-tag {
  letter-spacing: 0;
}

.entity h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
}

.entity p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-list {
  margin-top: 30px;
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 700;
  color: var(--orange-text);
  line-height: 1;
}

.faq[open] summary::after {
  content: "\2212";
}

.faq p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.gallery-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--steel);
  aspect-ratio: 4 / 3;
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
  text-align: start;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(13, 38, 59, .88));
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.45;
  text-align: start;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.gallery-item.is-hidden {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(10, 22, 33, .94);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.lightbox-caption {
  position: absolute;
  bottom: 26px;
  inset-inline: 0;
  text-align: center;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 700;
  padding: 0 70px;
}

.lightbox button {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .1);
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.lightbox button:hover {
  background: var(--orange-strong);
  border-color: var(--orange-strong);
}

.lightbox-close {
  top: 22px;
  inset-inline-end: 22px;
}

.lightbox-prev {
  inset-inline-start: 22px;
}

.lightbox-next {
  inset-inline-end: 22px;
}

.location-qr {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 16px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}

.location-qr:hover {
  transform: translateY(-3px);
}

.location-qr img {
  width: 128px;
  height: 128px;
}

.location-qr span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: center;
}

.view-ar .location-qr span {
  letter-spacing: 0;
}

.contact-band {
  padding: 58px 0;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(237, 107, 38, .76) 58% 60%, transparent 60%),
    linear-gradient(135deg, transparent 0 72%, rgba(31, 158, 186, .52) 72% 73%, transparent 73%);
  opacity: .74;
}

.contact-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.contact-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
}

.contact-copy {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .72);
}

.contact-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.mobile-only {
  display: none;
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 58px;
  }

  .view-ar .hero-title {
    font-size: 44px;
  }

  .split,
  .split.reverse,
  .factory-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .credential-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-showcase,
  .portfolio-toolbar {
    grid-template-columns: 1fr;
  }

  .project-case {
    order: 1;
  }

  .project-visual {
    order: 2;
  }

  .project-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-filters {
    justify-content: flex-start;
  }

  .project-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-row:hover {
    padding-left: 0;
    padding-right: 0;
  }

  .stat-band,
  .asset-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contract {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .entity-grid,
  .org-tier[data-cols="3"],
  .org-tier[data-cols="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .org-tier[data-cols="1"] {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 76px;
  }

  .nav {
    width: min(100% - 28px, var(--max));
    min-height: 68px;
    gap: 12px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    max-width: 158px;
    font-size: 12px;
  }

  .brand-meta {
    max-width: 158px;
    font-size: 11px;
  }

  .language-switch {
    min-width: 106px;
  }

  .language-switch a {
    padding: 0 8px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-inner,
  .container,
  .contact-inner {
    width: min(100% - 28px, var(--max));
  }

  .hero-inner {
    padding: 122px 0 34px;
  }

  .hero-title {
    font-size: 40px;
    line-height: 1.06;
  }

  .view-ar .hero-title {
    font-size: 30px;
  }

  .hero-lede {
    font-size: 15px;
    line-height: 1.72;
  }

  .services,
  .credential-grid,
  .activity-list,
  .factory-points,
  .asset-grid,
  .entity-grid,
  .org-tier[data-cols="2"],
  .org-tier[data-cols="3"],
  .org-tier[data-cols="4"] {
    grid-template-columns: 1fr;
  }

  .stat-band,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat strong {
    font-size: 24px;
  }

  .gallery-caption {
    opacity: 1;
    transform: none;
    font-size: 10.5px;
  }

  .hero-locate {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 30px;
  }

  .media-frame,
  .media-frame img,
  .factory-image,
  .factory-image img {
    min-height: 360px;
  }

  .project-head,
  .contact-inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-case {
    padding: 24px;
  }

  .project-feature-title {
    font-size: 25px;
  }

  .project-meta-grid,
  .project-cities,
  .project-stack {
    grid-template-columns: 1fr;
  }

  .project-cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-visual,
  .project-visual img {
    min-height: 300px;
  }

  .portfolio-toolbar {
    gap: 14px;
  }

  .contact-links {
    justify-content: flex-start;
  }

  .btn,
  .contact-link {
    width: 100%;
  }

  .mobile-only {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .reveal,
  .hero-copy,
  .hero-locate {
    opacity: 1;
    transform: none;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  html,
  body {
    width: 210mm;
    min-height: 297mm;
    background: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .site-header,
  .skip-link {
    display: none !important;
  }

  .language-view {
    display: block !important;
  }

  .view-ar {
    page-break-before: always;
  }

  .hero {
    min-height: 286mm;
    page-break-after: always;
  }

  .hero-inner,
  .container,
  .contact-inner {
    width: calc(100% - 28mm);
  }

  .hero-title {
    font-size: 54px;
  }

  .view-ar .hero-title {
    font-size: 40px;
  }

  .hero-lede {
    max-width: 560px;
    font-size: 16px;
  }

  .section {
    padding: 22mm 0;
    page-break-inside: avoid;
  }

  .split,
  .split.reverse,
  .factory-layout,
  .credentials {
    gap: 26px;
  }

  .credential-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section-title {
    font-size: 30px;
  }

  .section-lede {
    font-size: 14px;
  }

  .media-frame,
  .media-frame img,
  .factory-image,
  .factory-image img {
    min-height: 120mm;
  }

  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service {
    min-height: 170px;
    padding: 18px 14px;
  }

  .service-title {
    font-size: 15px;
  }

  .service-copy {
    font-size: 11px;
  }

  .project-row {
    page-break-inside: avoid;
    grid-template-columns: minmax(120px, .75fr) minmax(190px, 1fr) minmax(120px, .55fr);
    gap: 14px;
    padding: 12px 0;
  }

  .contract,
  .org-card,
  .asset-group,
  .entity,
  .stat,
  .gallery-item {
    page-break-inside: avoid;
  }

  .lightbox {
    display: none !important;
  }

  .faq > *:not(summary) {
    display: block !important;
  }

  .faq::details-content {
    content-visibility: visible !important;
    block-size: auto !important;
  }

  .faq summary::after {
    content: "" !important;
  }

  .gallery-caption {
    opacity: 1;
    transform: none;
    font-size: 9px;
  }

  .contract h3 {
    font-size: 13px;
  }

  .contract-meta strong,
  .asset-group li,
  .org-card small,
  .entity p {
    font-size: 11px;
  }

  .project-name {
    font-size: 13px;
  }

  .project-scope,
  .project-location,
  .activity-list li,
  .factory-point span {
    font-size: 11px;
  }

  .factory-point {
    min-height: 96px;
    padding: 14px;
  }

  .contact-band {
    page-break-inside: avoid;
  }

  .reveal,
  .hero-copy,
  .hero-locate {
    opacity: 1 !important;
    transform: none !important;
  }
}
