:root {
  --ink: #071724;
  --ink-2: #0c2535;
  --steel: #2c4657;
  --steel-light: #6f818b;
  --alloy: #dce4e6;
  --mist: #edf2f3;
  --paper: #f7f8f6;
  --white: #ffffff;
  --copper: #b9652c;
  --copper-dark: #8e431e;
  --line: #c9d2d5;
  --line-dark: rgba(255, 255, 255, 0.18);
  --success: #2f7d5a;
  --shadow: 0 24px 70px rgba(7, 23, 36, 0.14);
  --shell: min(1240px, calc(100vw - 48px));
  --header-height: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

@font-face {
  font-family: "Noto Nastaliq Urdu";
  src: url("assets/fonts/noto-nastaliq-urdu-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "Vazirmatn", "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

img,
video {
  object-fit: cover;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid #e7a46d;
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: var(--copper);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(88px, 10vw, 152px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--copper);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.utility-bar {
  position: relative;
  z-index: 30;
  color: rgba(255, 255, 255, .8);
  background: #04101a;
  font-family: "Manrope", "Vazirmatn", sans-serif;
  font-size: 11px;
  letter-spacing: .06em;
}

.utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-inner p,
.utility-links {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.utility-links a:hover {
  color: var(--white);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5cc995;
  box-shadow: 0 0 0 4px rgba(92, 201, 149, .12);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: var(--header-height);
  color: var(--ink);
  background: rgba(247, 248, 246, .96);
  border-bottom: 1px solid rgba(7, 23, 36, .12);
  backdrop-filter: blur(18px);
  transition: box-shadow .3s ease, background .3s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 248, 246, .98);
  box-shadow: 0 12px 40px rgba(7, 23, 36, .08);
}

.nav-shell {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.site-header .brand-mark-fa {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-name-fa {
  padding: 0 2px 5px;
  font-family: "Noto Nastaliq Urdu", "Vazirmatn", serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
}

.site-header .brand-mark-en,
.site-header .brand-copy-en {
  display: none;
}

html[lang="en"] .site-header .brand-mark-fa,
html[lang="en"] .site-header .brand-name-fa {
  display: none;
}

html[lang="en"] .site-header .brand-mark-en {
  display: block;
}

html[lang="en"] .site-header .brand-copy-en {
  display: grid;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brand-copy span {
  margin-top: 7px;
  color: var(--steel-light);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.5vw, 38px);
}

.site-nav a {
  position: relative;
  padding-block: 28px;
  color: #263d4b;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

html[dir="ltr"] .site-nav a::after {
  transform-origin: left;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.lang-switch:hover {
  color: var(--copper);
  border-color: var(--copper);
}

.menu-toggle {
  display: none;
}

.icon-button {
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease);
}

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

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

html[dir="rtl"] .button svg {
  transform: scaleX(-1);
}

.button-small {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 11px;
}

.button-copper {
  color: var(--white);
  background: var(--copper);
  border-color: var(--copper);
}

.button-copper:hover {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
}

.button-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.text-link > span:last-child {
  color: var(--copper);
  font-size: 20px;
  transition: transform .25s var(--ease);
}

.text-link:hover > span:last-child {
  transform: translate(4px, -4px);
}

html[dir="rtl"] .text-link:hover > span:last-child {
  transform: translate(-4px, -4px);
}

.text-link-light {
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height) - 34px);
  display: grid;
  align-items: stretch;
  color: var(--white);
  isolation: isolate;
}

.hero-slideshow,
.hero-media,
.hero-media img,
.hero-shade,
.tube-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slideshow {
  z-index: -4;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s cubic-bezier(.22, 1, .36, 1), visibility 1.1s;
}

.hero-media.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-media img {
  object-fit: cover;
  object-position: 50% 44%;
  transform: scale(1.035);
  transition: transform 7s cubic-bezier(.2, .65, .3, 1);
}

.hero-media.is-active img {
  transform: scale(1);
}

.hero-slide-preheater img {
  object-position: 50% 50%;
}

.hero-slide-air-cooler img {
  object-position: 50% 54%;
}

.hero-indicators {
  position: absolute;
  z-index: 4;
  inset-inline-start: 50%;
  bottom: 122px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 4px 8px;
  transform: translateX(-50%);
  direction: ltr;
}

.hero-indicator {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, .58);
  background: transparent;
  cursor: pointer;
}

.hero-indicator::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: width .25s ease, border-radius .25s ease, color .25s ease, background-color .25s ease;
}

.hero-indicator span {
  width: 26px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  opacity: 0;
  transition: opacity .25s ease;
}

.hero-indicator span::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--copper);
  transform-origin: left center;
  animation: hero-indicator-progress 6.5s linear both;
}

.hero-indicator.is-active {
  color: var(--copper);
}

.hero-indicator.is-active::before {
  width: 34px;
  height: 10px;
  border-color: rgba(255, 255, 255, .3);
  border-radius: 999px;
}

.hero-indicator.is-active span {
  opacity: 1;
}

.hero-indicator:hover {
  color: #fff;
}

.hero-indicator:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}

@keyframes hero-indicator-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-indicator span::after {
    animation: none;
    transform: scaleX(1);
  }
}

.hero-shade {
  z-index: -3;
  background: rgba(3, 15, 24, .72);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 46% 0 0;
  background: rgba(7, 23, 36, .34);
}

html[dir="rtl"] .hero::before {
  inset: 0 0 0 46%;
}

.tube-field {
  z-index: -1;
  opacity: .17;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='54' viewBox='0 0 54 54'%3E%3Ccircle cx='5' cy='5' r='1.7' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3Ccircle cx='32' cy='32' r='1.7' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
  background-position: 80% center;
  mask-image: linear-gradient(to left, transparent 0, #000 25%, #000 72%, transparent 100%);
}

.hero-content {
  min-height: calc(100svh - var(--header-height) - 34px - 106px);
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  padding-block: clamp(70px, 9vw, 130px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: var(--copper-dark);
  font-family: "Manrope", "Vazirmatn", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.eyebrow > span:first-child {
  color: var(--steel-light);
}

.eyebrow-light {
  color: #e7a46d;
}

.eyebrow-light > span:first-child {
  color: rgba(255, 255, 255, .55);
}

.eyebrow-index {
  color: rgba(255, 255, 255, .5) !important;
}

.hero h1,
.section-heading h2,
.capability-copy h2,
.craft-copy h2,
.about-copy h2,
.client-head h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Barlow Condensed", "Vazirmatn", sans-serif;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: .94;
}

html[lang="fa"] .hero h1,
html[lang="fa"] .section-heading h2,
html[lang="fa"] .capability-copy h2,
html[lang="fa"] .craft-copy h2,
html[lang="fa"] .about-copy h2,
html[lang="fa"] .client-head h2,
html[lang="fa"] .contact-copy h2 {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.055em;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(60px, 8vw, 126px);
}

html[lang="fa"] .hero h1 {
  font-size: clamp(48px, 6.8vw, 100px);
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  color: #e6d7ca;
  font-style: normal;
}

.hero-lead {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
}

.hero-spec {
  align-self: end;
  margin-bottom: 12px;
  border: 1px solid var(--line-dark);
  background: rgba(7, 23, 36, .84);
  backdrop-filter: blur(14px);
}

.spec-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, .5);
  font-family: "Manrope", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.spec-body {
  padding: 26px 26px 22px;
}

.spec-kicker {
  margin: 0 0 20px;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
}

.spec-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.spec-body li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding-block: 12px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.spec-body li > span:first-child {
  color: var(--copper);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
}

.hero-rail {
  border-top: 1px solid var(--line-dark);
  background: rgba(4, 16, 26, .93);
}

.rail-grid {
  min-height: 106px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.rail-grid > div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px clamp(14px, 2vw, 28px);
  border-inline-start: 1px solid var(--line-dark);
}

.rail-grid > div:last-child {
  border-inline-end: 1px solid var(--line-dark);
}

.rail-grid strong {
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  line-height: 1;
}

html[lang="fa"] .rail-grid strong {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  unicode-bidi: isolate;
}

.factory-area-value {
  white-space: nowrap;
}

html[lang="fa"] .factory-area-unit {
  margin-inline-start: .28em;
  font-size: .48em;
  font-weight: 500;
  vertical-align: .14em;
}

.rail-grid strong[data-i18n="projectsDeliveredValue"] {
  direction: ltr;
}

.rail-grid span {
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
  line-height: 1.5;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.proof-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.proof-inner p {
  margin: 0;
  color: var(--steel-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
}

.proof-inner ul {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 58px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-inner li {
  position: relative;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.proof-inner li:not(:last-child)::after {
  content: "×";
  position: absolute;
  inset-inline-end: calc(clamp(20px, 4vw, 58px) / -2 - 3px);
  color: var(--copper);
  font-weight: 400;
}

.products-section {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, .5fr);
  align-items: end;
  gap: 50px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-heading h2,
.capability-copy h2,
.craft-copy h2,
.about-copy h2,
.client-head h2,
.contact-copy h2 {
  font-size: clamp(48px, 6vw, 86px);
}

html[lang="fa"] .section-heading h2,
html[lang="fa"] .capability-copy h2,
html[lang="fa"] .craft-copy h2,
html[lang="fa"] .about-copy h2,
html[lang="fa"] .client-head h2,
html[lang="fa"] .contact-copy h2 {
  font-size: clamp(38px, 4.5vw, 66px);
}

.section-heading > p {
  margin: 0;
  color: var(--steel);
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  min-height: 500px;
  grid-column: span 5;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}

.product-card-wide {
  grid-column: span 7;
}

.product-card-tall {
  min-height: 640px;
}

.product-card picture,
.product-card img,
.product-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-card img {
  transition: transform .8s var(--ease), filter .5s ease;
}

.product-card:hover img {
  transform: scale(1.035);
  filter: saturate(.85);
}

.product-overlay {
  z-index: 1;
  background: rgba(4, 16, 26, .52);
}

.product-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 52%;
  background: rgba(4, 16, 26, .68);
}

.product-content {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  padding: clamp(24px, 4vw, 42px);
}

.product-number {
  position: absolute;
  bottom: calc(100% + 20px);
  inset-inline-start: clamp(24px, 4vw, 42px);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .45);
  color: rgba(255, 255, 255, .75);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
}

.product-content h3 {
  max-width: 560px;
  margin: 0;
  font-family: "Barlow Condensed", "Vazirmatn", sans-serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 600;
  line-height: 1.05;
}

html[lang="fa"] .product-content h3 {
  font-family: "Vazirmatn", sans-serif;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.35;
}

.product-content p {
  max-width: 580px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
}

.card-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: 11px;
  font-weight: 700;
}

.card-link > span:last-child {
  color: #e7a46d;
  font-size: 18px;
}

.capabilities-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.capabilities-section::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .09;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cpath d='M0 44h88M44 0v88' stroke='%23ffffff' stroke-width='.6'/%3E%3Ccircle cx='44' cy='44' r='13' fill='none' stroke='%23ffffff' stroke-width='.7'/%3E%3C/svg%3E");
}

.capability-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.large-copy {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

.capability-copy > .large-copy {
  margin: 30px 0 0;
  color: rgba(255, 255, 255, .66);
}

.capability-list {
  margin-top: 44px;
}

.capability-list article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
}

.capability-list article > span {
  color: var(--copper);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
}

.capability-list h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.capability-list p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .52);
  font-size: 12px;
}

.capability-media {
  position: relative;
  padding: 0 0 72px 72px;
}

html[dir="rtl"] .capability-media {
  padding: 0 72px 72px 0;
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #03101a;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .3);
}

.video-landscape {
  aspect-ratio: 16 / 10;
}

.video-frame video,
.craft-media video {
  width: 100%;
  height: 100%;
}

.video-label {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  padding: 8px 11px;
  color: rgba(255, 255, 255, .68);
  background: rgba(4, 16, 26, .72);
  font-family: "Manrope", sans-serif;
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.video-toggle {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .5);
  color: var(--white);
  background: rgba(4, 16, 26, .78);
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.video-toggle-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #e7a46d;
  font-size: 10px;
}

.capability-stamp {
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 190px;
  min-height: 170px;
  padding: 24px;
  color: var(--ink);
  background: var(--copper);
}

.capability-stamp strong {
  display: inline;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 62px;
  line-height: 1;
}

.capability-stamp > span {
  margin-inline-start: 4px;
  font-size: 14px;
  font-weight: 700;
}

.capability-stamp p {
  margin: 17px 0 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
}

.craft-section {
  position: relative;
  padding-block: clamp(90px, 11vw, 170px);
  background: #e8edef;
}

.craft-layout {
  display: grid;
  grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
}

.craft-media {
  position: relative;
  width: min(100%, 480px);
  aspect-ratio: 9 / 14;
  margin-inline-start: auto;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.craft-media::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  pointer-events: none;
}

.video-toggle-compact {
  z-index: 2;
}

.craft-copy {
  max-width: 720px;
}

.craft-copy h2 {
  max-width: 650px;
}

.craft-copy > p:not(.eyebrow) {
  max-width: 630px;
  margin: 30px 0 0;
  color: var(--steel);
  font-size: 16px;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

.check-list li {
  position: relative;
  padding: 15px 36px 15px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}

html[dir="ltr"] .check-list li {
  padding: 15px 0 15px 36px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 15px;
  right: 0;
  color: var(--copper);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

html[dir="ltr"] .check-list li::before {
  right: auto;
  left: 0;
}

.quality-detail-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(-52px, -3vw, -24px);
}

.quality-detail-card {
  position: relative;
  min-height: clamp(350px, 42vw, 570px);
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
  border: 0;
  cursor: zoom-in;
  text-align: start;
}

.quality-detail-card picture,
.quality-detail-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.quality-detail-card img {
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.2, .7, .2, 1), filter 300ms ease;
}

.quality-detail-card:first-child img {
  object-position: center 48%;
}

.quality-detail-card:last-child img {
  object-position: center 42%;
}

.quality-detail-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 16, 26, .9), rgba(4, 16, 26, 0) 58%);
  pointer-events: none;
}

.quality-detail-card:hover img,
.quality-detail-card:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.06);
}

.quality-detail-caption {
  position: absolute;
  z-index: 1;
  right: clamp(20px, 3vw, 34px);
  bottom: clamp(20px, 3vw, 34px);
  left: clamp(20px, 3vw, 34px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .3);
}

.quality-detail-index {
  color: var(--copper-soft);
  font-family: "Manrope", sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.quality-detail-caption strong {
  max-width: 410px;
  font-size: clamp(15px, 1.6vw, 21px);
  font-weight: 600;
  line-height: 1.5;
}

.quality-detail-open {
  font-family: "Manrope", sans-serif;
  font-size: 22px;
}

.projects-section {
  background: var(--paper);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: clamp(190px, 17vw, 240px);
  gap: 2px;
  overflow: hidden;
  background: var(--ink);
}

.project-card {
  position: relative;
  grid-column: span 1;
  grid-row: span 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--white);
  background: var(--ink);
  text-align: start;
  cursor: zoom-in;
}

.project-card-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.project-card-tall {
  grid-row: span 2;
}

.project-card-wide {
  grid-column: span 2;
}

.project-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .4s ease;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: rgba(4, 16, 26, .62);
  opacity: .74;
  transition: opacity .3s ease;
}

.project-card:hover img {
  transform: scale(1.03);
  filter: saturate(.78);
}

.project-card:hover::after {
  opacity: 1;
}

.project-meta {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.project-meta > span {
  color: rgba(255, 255, 255, .6);
  font-family: "Manrope", sans-serif;
  font-size: 8px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.project-meta strong {
  max-width: 70%;
  font-size: 13px;
  font-weight: 600;
}

.about-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(420px, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(70px, 10vw, 145px);
}

.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
}

.about-visual picture,
.about-visual img {
  width: 100%;
  height: 100%;
}

.about-visual img {
  object-position: center 38%;
}

.about-plate {
  position: absolute;
  right: -1px;
  bottom: -1px;
  display: grid;
  padding: 22px 26px;
  color: var(--white);
  background: var(--ink);
}

html[dir="rtl"] .about-plate {
  right: auto;
  left: -1px;
}

.about-plate span {
  color: rgba(255, 255, 255, .55);
  font-size: 9px;
}

.about-plate strong {
  margin-top: 5px;
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: 28px;
}

.about-copy .large-copy {
  margin: 30px 0 0;
  color: var(--ink);
}

.about-copy > p:not(.eyebrow):not(.large-copy) {
  margin: 22px 0 0;
  color: var(--steel);
  font-size: 14px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-block: 38px;
  border-block: 1px solid var(--line);
}

.about-stats > div {
  padding: 24px 12px;
  border-inline-start: 1px solid var(--line);
}

.about-stats > div:last-child {
  border-inline-end: 1px solid var(--line);
}

.about-stats strong {
  display: block;
  font-family: "Barlow Condensed", "Manrope", sans-serif;
  font-size: clamp(35px, 4vw, 50px);
  font-weight: 600;
  line-height: 1;
}

.about-stats span {
  display: block;
  margin-top: 10px;
  color: var(--steel-light);
  font-size: 9px;
}

.client-section {
  padding-block: clamp(80px, 9vw, 132px);
  color: var(--white);
  background: var(--ink-2);
}

.client-head {
  display: grid;
  grid-template-columns: .6fr 1.4fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 52px;
}

.client-head .eyebrow {
  margin-bottom: 5px;
}

.client-head h2 {
  max-width: 940px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  border-inline-start: 1px solid var(--line-dark);
  list-style: none;
}

.client-card {
  min-width: 0;
  min-height: 138px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 22px;
  border-inline-end: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .012);
  transition: background .22s ease;
}

.client-logo-frame {
  width: 78px;
  height: 66px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  background: var(--white);
}

.client-logo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  padding: 7px;
  object-fit: contain;
  filter: saturate(.78) contrast(.96);
  transition: filter .22s ease, transform .22s var(--ease);
}

.client-name {
  min-width: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.75;
  transition: color .22s ease;
}

/* Compact industrial-trust marquee */
.client-section {
  min-height: 300px;
  display: flex;
  align-items: center;
  padding-block: 48px;
  overflow: hidden;
}

.client-section > .shell {
  width: min(1360px, calc(100vw - 96px));
}

.client-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}

.client-head {
  display: block;
  margin: 0;
}

.client-head .eyebrow {
  margin-bottom: 9px;
}

.client-head h2,
html[lang="fa"] .client-head h2 {
  max-width: 420px;
  font-size: clamp(27px, 2.1vw, 34px);
  line-height: 1.55;
  letter-spacing: -.035em;
}

.client-marquee {
  position: relative;
  min-width: 0;
  overflow: hidden;
  direction: ltr;
  border-inline: 1px solid var(--line-dark);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.client-track {
  width: max-content;
  display: flex;
  will-change: transform;
  animation: client-marquee 54s linear infinite;
}

.client-marquee:hover .client-track {
  animation-play-state: paused;
}

.client-grid {
  width: max-content;
  display: flex;
  flex: none;
  gap: 16px;
  margin: 0;
  padding: 0 16px 0 0;
  border: 0;
}

.client-card {
  width: 270px;
  min-height: 118px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .018);
  direction: rtl;
}

.client-logo-frame {
  width: 78px;
  height: 72px;
  margin: 0;
}

.client-logo-frame img {
  padding: 7px;
}

.client-name {
  font-size: 12.5px;
  line-height: 1.55;
}

@keyframes client-marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .client-section > .shell {
    width: min(100% - 48px, 720px);
  }

  .client-section {
    min-height: 350px;
    padding-block: 38px;
  }

  .client-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .client-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .client-head .eyebrow {
    flex: none;
    margin: 0;
  }

  .client-head h2,
  html[lang="fa"] .client-head h2 {
    max-width: 660px;
    font-size: 28px;
    line-height: 1.55;
  }
}

@media (max-width: 560px) {
  .client-section > .shell {
    width: calc(100% - 32px);
  }

  .client-head {
    display: block;
  }

  .client-head .eyebrow {
    margin-bottom: 8px;
  }

  .client-head h2,
  html[lang="fa"] .client-head h2 {
    font-size: 25px;
  }

  .client-card {
    width: 285px;
    min-height: 118px;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
    padding: 14px 17px;
    text-align: start;
  }

  .client-logo-frame {
    width: 82px;
    height: 76px;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-marquee {
    overflow-x: auto;
    mask-image: none;
    scrollbar-width: thin;
  }

  .client-track {
    animation: none;
  }

  .client-track .client-grid[aria-hidden="true"] {
    display: none;
  }
}

.client-card:hover {
  background: rgba(255, 255, 255, .045);
}

.client-card:hover .client-name {
  color: var(--white);
}

.client-card:hover .client-logo-frame img {
  filter: saturate(1) contrast(1);
  transform: scale(1.035);
}

.process-section {
  background: var(--mist);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-inline-start: 1px solid var(--line);
  list-style: none;
}

.process-grid li {
  position: relative;
  min-width: 0;
  min-height: 320px;
  padding: 26px 22px 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, .42);
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}

.process-grid li:hover {
  z-index: 1;
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(5, 25, 39, .12);
}

.process-grid li > span {
  position: absolute;
  z-index: 2;
  inset-block-start: 14px;
  inset-inline-end: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
  color: var(--copper);
  background: rgba(4, 20, 31, .84);
  backdrop-filter: blur(8px);
  font-family: "Manrope", sans-serif;
  font-size: 10px;
}

.process-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin: 20px auto 26px;
  overflow: hidden;
  border: 1px solid rgba(16, 46, 63, .14);
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 28%, rgba(195, 91, 27, .14), transparent 34%),
    rgba(255, 255, 255, .66);
  transition: border-color .25s ease, background .25s ease, transform .25s var(--ease);
}

.process-media::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(16, 46, 63, .14);
  border-radius: inherit;
  pointer-events: none;
}

.process-media svg {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-media svg .accent {
  stroke: var(--copper);
  stroke-width: 2.5;
}

.process-grid li:hover .process-media {
  border-color: rgba(195, 91, 27, .42);
  background: rgba(195, 91, 27, .08);
  transform: translateY(-3px) rotate(-2deg);
}

.process-grid h3 {
  margin: 0;
  font-size: 18px;
}

.process-grid p {
  margin: 10px 0 0;
  color: var(--steel);
  font-size: 12px;
  line-height: 1.9;
}

.contact-section {
  position: relative;
  padding-block: clamp(90px, 10vw, 150px);
  color: var(--white);
  background: #04101a;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: 46%;
  opacity: .13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52'%3E%3Cg fill='none' stroke='%23fff' stroke-width='.8'%3E%3Ccircle cx='8' cy='8' r='4'/%3E%3Ccircle cx='38' cy='34' r='4'/%3E%3C/g%3E%3C/svg%3E");
}

.contact-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(520px, 1.2fr);
  align-items: start;
  gap: clamp(70px, 10vw, 150px);
}

.contact-copy {
  position: sticky;
  top: calc(var(--header-height) + 45px);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .6);
  font-size: 14px;
}

.contact-details {
  display: grid;
  gap: 0;
  margin-top: 44px;
  border-bottom: 1px solid var(--line-dark);
}

.contact-details a,
.contact-details p {
  display: grid;
  margin: 0;
  padding-block: 17px;
  border-top: 1px solid var(--line-dark);
}

.contact-details span {
  color: rgba(255, 255, 255, .44);
  font-size: 9px;
}

.contact-details strong {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 600;
}

.quote-form {
  padding: clamp(26px, 4vw, 50px);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .28);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 19px;
  color: var(--steel);
  font-size: 10px;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.quote-form textarea {
  min-height: 130px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(185, 101, 44, .12);
}

.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.file-ui {
  min-height: 52px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px dashed #aab8bd;
  cursor: pointer;
}

.file-ui > span:first-child {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 10px 16px;
  color: var(--white);
  background: var(--steel);
}

.file-ui > span:last-child {
  padding-inline: 15px;
  color: var(--steel-light);
  font-weight: 400;
}

.form-note {
  margin: 13px 0 0;
  color: var(--steel-light);
  font-size: 9px;
  text-align: center;
}

.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--success);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.site-footer {
  padding-top: 78px;
  color: rgba(255, 255, 255, .62);
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 65px;
}

.brand-light .brand-copy strong {
  color: var(--white);
}

.footer-brand-lockup .brand-mark-fa {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-brand-lockup .brand-name-fa {
  padding: 0 4px 8px;
  color: var(--white);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.5;
}

.footer-brand-lockup .brand-mark-en,
.footer-brand-lockup .brand-copy-en {
  display: none;
}

html[lang="en"] .footer-brand-lockup .brand-mark-fa,
html[lang="en"] .footer-brand-lockup .brand-name-fa {
  display: none;
}

html[lang="en"] .footer-brand-lockup .brand-mark-en {
  display: block;
}

html[lang="en"] .footer-brand-lockup .brand-copy-en {
  display: grid;
}

.footer-brand > p {
  max-width: 350px;
  margin: 24px 0 0;
  font-size: 12px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 12px;
}

.footer-grid a,
.footer-grid span,
.footer-grid p {
  font-size: 10px;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, .4);
  font-family: "Manrope", "Vazirmatn", sans-serif;
  font-size: 9px;
}

.footer-bottom p {
  margin: 0;
}

.mobile-quote {
  display: none;
}

.lightbox {
  width: min(1100px, calc(100vw - 40px));
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--white);
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(2, 10, 17, .92);
  backdrop-filter: blur(6px);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #020a11;
}

.lightbox figcaption {
  padding: 14px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
}

.lightbox-close {
  position: absolute;
  right: -54px;
  top: 0;
  display: grid;
  border-color: rgba(255, 255, 255, .5);
  color: var(--white);
  font-size: 26px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

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

@media (max-width: 1100px) {
  :root {
    --shell: min(calc(100% - 36px), 980px);
  }

  .desktop-cta {
    display: none;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1.4fr) minmax(270px, .6fr);
    gap: 45px;
  }

  .capability-layout {
    grid-template-columns: 1fr;
  }

  .capability-media {
    max-width: 820px;
  }

  .contact-layout {
    grid-template-columns: .8fr 1.2fr;
    gap: 55px;
  }

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

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

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .utility-links {
    display: none;
  }

  .utility-inner {
    justify-content: center;
  }

  .nav-shell {
    display: flex;
    gap: 10px;
  }

  .site-header .brand {
    order: 1;
    margin-inline-end: auto;
  }

  .site-header .nav-actions {
    order: 2;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .site-header .brand-mark-fa {
    width: 48px;
    height: 48px;
  }

  .brand-name-fa {
    padding-bottom: 4px;
    font-size: 25px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .brand-copy span {
    display: none;
  }

  .menu-toggle {
    display: grid;
    order: 3;
    border: 0;
  }

  .menu-toggle span:not(.sr-only) {
    width: 24px;
    height: 2px;
    display: block;
    background: var(--ink);
    transition: transform .3s ease;
  }

  .menu-toggle span:last-child {
    margin-top: 6px;
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:not(.sr-only):nth-of-type(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: calc(34px + var(--header-height));
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 30px 24px;
    color: var(--white);
    background: var(--ink);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .45s var(--ease), visibility .45s;
  }

  html[dir="rtl"] .site-nav {
    transform: translateX(-105%);
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line-dark);
    color: var(--white);
    font-size: 18px;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-actions {
    grid-row: 1;
    grid-column: 2;
    justify-self: end;
  }

  html[dir="rtl"] .nav-actions {
    justify-self: start;
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 90px 70px;
  }

  .hero-spec {
    max-width: 460px;
    margin: 0;
  }

  .rail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rail-grid > div:nth-child(2) {
    border-inline-end: 1px solid var(--line-dark);
  }

  .proof-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 22px;
  }

  .proof-inner ul {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px 28px;
  }

  .proof-inner li:not(:last-child)::after {
    inset-inline-end: -18px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card,
  .product-card-wide {
    grid-column: 1 / -1;
    min-height: 540px;
  }

  .product-card-tall {
    min-height: 620px;
  }

  .craft-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .craft-media {
    width: min(78vw, 520px);
    margin-inline: auto;
  }

  .quality-detail-gallery {
    margin-top: 0;
  }

  .about-visual {
    max-width: 620px;
  }

  .client-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(180px, 28vw, 230px);
  }

  .project-card-featured,
  .project-card-wide {
    grid-column: span 2;
  }

  .contact-copy {
    position: static;
  }

  .quote-form {
    max-width: 720px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 28px);
  }

  body {
    font-size: 15px;
  }

  .section {
    padding-block: 80px;
  }

  .utility-inner {
    min-height: 32px;
  }

  .site-nav {
    top: calc(32px + var(--header-height));
  }

  .brand-copy strong {
    font-size: 17px;
  }

  .site-header .brand {
    gap: 8px;
  }

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

  .brand-name-fa {
    padding-bottom: 3px;
    font-size: 21px;
  }

  .lang-switch {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: auto;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-slide-preheater img {
    object-position: 52% center;
  }

  .hero-slide-air-cooler img {
    object-position: 50% center;
  }

  .hero-indicators {
    bottom: 116px;
  }

  .hero-shade {
    background: rgba(3, 15, 24, .78);
  }

  .hero::before {
    display: none;
  }

  .tube-field {
    opacity: .11;
  }

  .hero-content {
    padding-block: 76px 56px;
  }

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

  html[lang="fa"] .hero h1 {
    font-size: 46px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-spec {
    display: none;
  }

  .rail-grid > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: 108px;
  }

  .rail-grid strong {
    font-size: 32px;
  }

  .section-heading h2,
  .capability-copy h2,
  .craft-copy h2,
  .about-copy h2,
  .client-head h2,
  .contact-copy h2 {
    font-size: 48px;
  }

  html[lang="fa"] .section-heading h2,
  html[lang="fa"] .capability-copy h2,
  html[lang="fa"] .craft-copy h2,
  html[lang="fa"] .about-copy h2,
  html[lang="fa"] .client-head h2,
  html[lang="fa"] .contact-copy h2 {
    font-size: 36px;
  }

  .product-card,
  .product-card-wide,
  .product-card-tall {
    min-height: 480px;
  }

  .product-content {
    padding: 24px;
  }

  .product-content h3,
  html[lang="fa"] .product-content h3 {
    font-size: 28px;
  }

  .capability-layout {
    gap: 55px;
  }

  .capability-media,
  html[dir="rtl"] .capability-media {
    padding: 0 0 50px 36px;
  }

  html[dir="rtl"] .capability-media {
    padding: 0 36px 50px 0;
  }

  .capability-stamp {
    width: 142px;
    min-height: 126px;
    padding: 16px;
  }

  .capability-stamp strong {
    font-size: 44px;
  }

  .capability-stamp p {
    margin-top: 10px;
    font-size: 8px;
  }

  .craft-layout {
    gap: 48px;
  }

  .craft-media {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .quality-detail-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quality-detail-card {
    min-height: 440px;
  }

  .quality-detail-caption {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .project-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 2px;
  }

  .project-card,
  .project-card-featured,
  .project-card-wide,
  .project-card-tall {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .project-card-tall {
    aspect-ratio: 4 / 5;
  }

  .about-layout {
    gap: 50px;
  }

  .about-visual {
    aspect-ratio: 4 / 5;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats > div {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    border-inline-end: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .about-stats > div:last-child {
    border-bottom: 0;
  }

  .about-stats span {
    margin: 0;
  }

  .client-grid {
    grid-template-columns: 1fr 1fr;
  }

  .client-card {
    min-height: 128px;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 10px;
    padding: 14px;
    text-align: center;
  }

  .client-logo-frame {
    width: 68px;
    height: 56px;
    margin-inline: auto;
  }

  .client-logo-frame img {
    padding: 6px;
  }

  .client-name {
    font-size: 10.5px;
    line-height: 1.7;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid li {
    min-height: auto;
    padding-bottom: 22px;
  }

  .process-grid h3 {
    margin-top: 0;
  }

  .process-media {
    width: 96px;
    height: 96px;
    margin-top: 10px;
  }

  .contact-layout {
    gap: 50px;
  }

  .quote-form {
    margin-inline: -6px;
    padding: 24px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .file-ui {
    grid-template-columns: 1fr;
  }

  .file-ui > span {
    min-height: 44px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px 30px;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding-block: 16px 80px;
  }

  .mobile-quote {
    position: fixed;
    z-index: 45;
    right: 14px;
    bottom: 12px;
    left: 14px;
    min-height: 52px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--copper);
    box-shadow: 0 12px 40px rgba(7, 23, 36, .25);
    font-size: 12px;
    font-weight: 700;
  }

  .lightbox-close {
    right: 0;
    top: -56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-media img {
    transform: none;
  }
}

/* Keep the compact trust rail authoritative over legacy mobile card rules. */
@media (max-width: 900px) {
  .client-section {
    min-height: 350px;
    padding-block: 38px;
  }

  .client-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .client-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
  }

  .client-head .eyebrow {
    flex: 0 0 auto;
    margin: 0;
  }

  .client-head h2,
  html[lang="fa"] .client-head h2 {
    max-width: 660px;
    margin: 0;
    font-size: clamp(24px, 4vw, 30px);
    line-height: 1.55;
    letter-spacing: -.035em;
  }
}

@media (max-width: 560px) {
  .client-section {
    min-height: 350px;
    padding-block: 38px;
  }

  .client-layout {
    gap: 24px;
  }

  .client-head {
    display: block;
  }

  .client-head .eyebrow {
    margin-bottom: 7px;
  }

  .client-head h2,
  html[lang="fa"] .client-head h2 {
    max-width: 100%;
    font-size: 22px;
    line-height: 1.55;
  }

  .client-card {
    width: 245px;
    min-height: 102px;
    grid-template-columns: 68px minmax(0, 1fr);
    align-content: normal;
    gap: 13px;
    padding: 12px 14px;
    text-align: start;
  }

  .client-logo-frame {
    width: 68px;
    height: 62px;
    margin: 0;
  }

  .client-name {
    font-size: 11.5px;
    line-height: 1.55;
  }
}
