:root {
  --paper: #f8fafb;
  --cream: #edf2f6;
  --ink: #142d43;
  --deep: #101f32;
  --muted: #4a6072;
  --line: #d7e0e6;
  --accent: #8b462b;
  --copper: #f2ba86;
}

.site-header { position: relative; z-index: 10; }
.topline { background: #0c1828; }
body[data-route="home"] .site-header { margin-bottom: -78px; background: transparent; color: #fff; }
body[data-route="home"] .nav-row { min-height: 78px; border-bottom: 1px solid #e3eaf236; }
body[data-route="home"] .nav-row .wordmark { padding: 7px 10px; border-radius: 4px; background: #fff; }
body[data-route="home"] .main-nav a:hover { color: var(--copper); border-color: var(--copper); }
body[data-route="home"] .nav-quote { border-color: #ffffff73; background: #12243dc2; }
body[data-route="home"] .nav-quote:hover { background: #274662; }
body[data-route="home"] .language-menu { color: var(--ink); }

.masthead { isolation: isolate; position: relative; color: #fff; background: #0f2339; }
.stage-media, .stage-scene, .stage-media::after { position: absolute; inset: 0; }
.stage-media { z-index: -1; overflow: hidden; }
.stage-scene { opacity: 0; transition: opacity .36s ease; }
.stage-scene[aria-hidden="false"] { opacity: 1; }
.stage-scene img { width: 100%; height: 100%; object-position: center 47%; }
.stage-scene-1 img { object-position: center 55%; }
.stage-scene-2 img { object-position: center 43%; }
.stage-media::after {
  content: '';
  background: linear-gradient(90deg,#0e2138fa 0%,#0e2138db 33%,#0e213864 66%,#0e213847 100%),
              linear-gradient(180deg,#0b1529cf,transparent 27%,transparent 70%,#081625de);
}
[dir="rtl"] .stage-media::after { transform: scaleX(-1); }
.masthead-inner { min-height: clamp(640px, 74vh, 820px); display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(134px, 18vh, 210px); }
.masthead-copy { width: min(760px, 100%); padding-block: 8px 37px; }
.masthead .kicker, .operations .kicker, .home-inquiry .kicker { color: var(--copper); }
.masthead h1 { font-size: clamp(61px, 8.6vw, 129px); letter-spacing: -.025em; }
.masthead h1 span { display: block; }
.masthead h1 span + span { color: var(--copper); }
html:not([lang="en"]) .masthead h1 { font-size: clamp(54px, 7vw, 102px); }
html[lang="ar"] .masthead h1 { font-size: clamp(41px, 5.6vw, 83px); letter-spacing: 0; }
.masthead-intro { color: #f3f6fb; font-size: clamp(15px, 1.45vw, 20px); max-width: 48ch; margin: 24px 0 0; }
.stage-primary { background: var(--copper); border-color: var(--copper); color: #212034; }
.stage-primary:hover { background: #ffcf9f; border-color: #ffcf9f; }
.stage-secondary { color: #fff; border-color: #c4d5e395; background: #13294377; }
.stage-secondary:hover { border-color: #fff; background: #294864; }
.stage-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #d6e4f158; padding-block: 19px 22px; }
.stage-footer > p { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: #e6edf6; }
.stage-selectors { display: flex; flex-wrap: wrap; gap: 7px; }
.stage-selectors button { min-height: 34px; border: 1px solid #d6e4f16d; background: #0a1b31a6; color: #f3f6fb; border-radius: 4px; padding: 7px 11px; font-size: 12px; font-weight: 700; }
.stage-selectors button:hover { border-color: #fff; }
.stage-selectors button[aria-pressed="true"] { background: #f6f7fa; color: #102239; border-color: #f6f7fa; }
.masthead .caption-dot { background: var(--copper); }
.benefit-band { border: 0; border-bottom: 1px solid var(--line); }
.benefit { padding-block: 24px; }
.benefit + .benefit { border-color: var(--line); }
.benefit-symbol { color: #245071; border-color: #c9d9e3; background: #edf4f8; }

.factory-intro { display: grid; grid-template-columns: .84fr 1.16fr; align-items: center; gap: clamp(27px, 7vw, 110px); }
.factory-intro-copy > p:not(.kicker), .oem-feature-copy > p:not(.kicker) { margin: 18px 0 24px; max-width: 54ch; color: var(--muted); }
.factory-collage { display: grid; grid-template-columns: 1fr .83fr; align-items: start; gap: clamp(10px, 2vw, 28px); position: relative; isolation: isolate; padding: 0 0 17px; }
.factory-collage::before { content: ''; position: absolute; inset: 18% 6% 2%; background: #dfe8ef; z-index: -1; }
.factory-collage figure { position: relative; overflow: hidden; margin: 0; border-radius: 4px; box-shadow: 0 15px 34px #19344e25; }
.factory-collage figure:nth-child(2) { margin-top: clamp(35px, 6vw, 93px); }
.factory-collage img { width: 100%; aspect-ratio: .88; object-position: center 44%; }
.factory-collage figcaption { position: absolute; inset: auto 0 0; padding: 28px 13px 12px; background: linear-gradient(transparent,#0b192dc9); font-size: 12px; font-weight: 700; color: #fff; }

.showroom { background: #eaf0f5; border-block: 1px solid #d7e1e9; }
.showroom .section-lead { margin-bottom: 30px; }
.showcase-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 16px; }
.showcase-rail { display: grid; grid-template-rows: repeat(3,minmax(0,1fr)); gap: 13px; }
.showcase-card { min-width: 0; min-height: 132px; display: grid; grid-template-columns: 34% 1fr; align-items: stretch; border-radius: 4px; border: 1px solid #cbd8e2; overflow: hidden; background: white; box-shadow: 0 5px 15px #142d4306; transition: border-color .18s, box-shadow .18s; }
.showcase-card:hover { border-color: #7995aa; box-shadow: 0 7px 24px #142d4318; }
.showcase-img { display: grid; place-items: center; overflow: hidden; background: #f0f1f1; min-height: 0; }
.showcase-img img { height: 100%; width: 100%; object-fit: contain; mix-blend-mode: multiply; }
.showcase-copy { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 14px clamp(12px,2vw,28px); }
.showcase-copy h3 { font-size: clamp(17px,2vw,30px); }
.showcase-copy .product-spec { color: var(--accent); font-size: 12px; font-weight: 700; margin: 0; }
.showcase-copy .showcase-link { margin: 6px 0 0; font-weight: 700; color: #2a5168; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 13px; }
.showcase-card:hover .showcase-link { color: var(--accent); }
.showcase-feature { grid-template-columns: 1fr; grid-template-rows: minmax(285px,1fr) auto; }
.showcase-feature .showcase-img { isolation: isolate; background: radial-gradient(ellipse,#fff 1%,#f0f2f4 83%); }
.showcase-feature img { max-height: 365px; }
.showcase-feature .showcase-copy { padding: clamp(16px,2.4vw,33px); }
.showcase-feature h3 { font-family: 'Barlow Condensed','Arial Narrow',sans-serif; font-size: clamp(30px,4.2vw,60px); }
[dir="rtl"] .showcase-feature h3 { font-family: Tahoma,Arial,sans-serif; font-size: clamp(26px,3.3vw,42px); }

.operations { color: #fff; background: linear-gradient(125deg,#122941,#0e1b2d 75%); position: relative; isolation: isolate; }
.operations::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .14; background: repeating-linear-gradient(90deg,transparent 0 8.2%,#a8c0d466 8.2% calc(8.2% + 1px)); }
.operations-heading { display: flex; justify-content: space-between; gap: 25px; align-items: end; margin-bottom: 29px; }
.operations-heading .button { flex: none; }
.operations-heading p:not(.kicker) { margin: 13px 0 0; color: #d6e2ed; max-width: 66ch; }
.operations-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.operations-grid article { border: 1px solid #8aabcf51; margin: 0; background: #142c45; border-radius: 4px; overflow: hidden; }
.operations-grid img { width: 100%; aspect-ratio: 1.7; object-position: 50% 46%; }
.operations-grid article > div { padding: 18px; }
.operations-grid h3 { font-size: clamp(18px,2.1vw,28px); margin-bottom: 7px; }
.operations-grid p { color: #d9e4ee; font-size: 14px; margin: 0; }

.oem-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(26px,8vw,124px); padding-bottom: clamp(36px,5vw,68px); }
.oem-process { border: 1px solid #cbd8e2; border-radius: 4px; background: #fff; padding: 0 clamp(16px,2.5vw,36px); }
.oem-process > div { display: flex; gap: 16px; align-items: start; padding-block: 19px; }
.oem-process > div + div { border-top: 1px solid #d9e3eb; }
.oem-process > div > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #edf3f8; border: 1px solid #d7e4ef; color: #254762; font-weight: 700; flex: none; }
.oem-process h3 { font-size: 18px; }
.oem-process p { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.home-inquiry { padding-block: clamp(54px,7vw,95px); background: linear-gradient(90deg,#122940f5,#122940e8),url('/assets/dispatch.jpg') center 48% / cover; color: #fff; }
.inquiry-layout { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(25px,7vw,110px); }
.inquiry-copy > p:not(.kicker) { color: #e0e9f2; margin: 16px 0 0; }
.home-form { color: var(--ink); }
.home-form .quote-form { box-shadow: 0 18px 48px #080e1b56; }
.sub-hero, .page-intro, .quote-page { background: linear-gradient(145deg,#f5f8fb 0%,#e7eef4 100%); }
.sub-photo { box-shadow: 0 9px 30px #193b521c; border: 1px solid #d5e0e8; }
.site-footer { border-top: 1px solid #4f6680; }

@media (min-width: 761px) {
  .stage-selectors { padding-inline-end: clamp(86px,10vw,135px); }
}

@media (max-width: 760px) {
  body[data-route="home"] .site-header { margin-bottom: -92px; }
  body[data-route="home"] .nav-row { min-height: 92px; }
  body[data-route="home"] .nav-row .wordmark { padding: 5px 7px; }
  body[data-route="home"] .main-nav { border-color: #d6e3f15b; }
  .masthead-inner { min-height: 610px; padding-top: 128px; }
  .masthead-copy { padding-bottom: 30px; }
  .masthead h1 { font-size: clamp(50px,11vw,80px); }
  html:not([lang="en"]) .masthead h1 { font-size: clamp(43px,9vw,70px); }
  html[lang="ar"] .masthead h1 { font-size: clamp(36px,8vw,59px); }
  .masthead-intro { margin-top: 16px; }
  .stage-media::after { background: linear-gradient(180deg,#0e2138ef 0%,#0e2138b8 50%,#0e2138a1 76%,#0b192bd9 100%); }
  .stage-scene img { height: 117%; object-position: 62% 42%; }
  .stage-footer { flex-direction: column; align-items: start; gap: 9px; padding-block: 12px 17px; }
  .stage-footer > p { font-size: 12px; }
  .stage-selectors { gap: 5px; }
  .stage-selectors button { padding: 5px 8px; font-size: 11px; }
  .benefit { padding-block: 12px 14px; }
  .factory-intro, .showcase-grid, .oem-feature, .inquiry-layout { grid-template-columns: 1fr; }
  .factory-collage { max-width: 550px; }
  .factory-intro-copy > p:not(.kicker), .oem-feature-copy > p:not(.kicker) { margin: 12px 0 17px; }
  .showcase-grid { gap: 10px; }
  .showcase-rail { gap: 10px; }
  .showcase-card { min-height: 117px; }
  .showcase-feature { grid-template-rows: auto auto; }
  .showcase-feature img { max-height: 255px; }
  .showcase-copy .product-spec { font-size: 11px; }
  .operations-heading { flex-direction: column; align-items: flex-start; gap: 15px; }
  .operations-grid { grid-template-columns: 1fr; gap: 12px; }
  .operations-grid article { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; }
  .operations-grid img { aspect-ratio: auto; height: 100%; min-height: 117px; object-fit: cover; }
  .operations-grid article > div { padding: 12px; }
  .operations-grid p { font-size: 12px; }
}

@media (max-width: 370px) {
  body[data-route="home"] .nav-row .wordmark img { width: 94px; }
  .stage-selectors button { padding-inline: 5px; }
  .showcase-copy { padding-inline: 10px; }
}
