/* Nebkatum site styles. One file for both directions: only logical properties (inline-start/end), so RTL just works. */

@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.77bc02670657.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.f7016cd446d2.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.196e3cbc5fee.woff2") format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.79936b18df9f.woff2") format("woff2"); }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.b1c8a895f5fd.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-weight: 400; font-display: swap; src: url("../fonts/vazirmatn-arabic-400-normal.49c0cc018008.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; font-weight: 500; font-display: swap; src: url("../fonts/vazirmatn-arabic-500-normal.b58020ccff5c.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Vazirmatn"; font-weight: 600 700; font-display: swap; src: url("../fonts/vazirmatn-arabic-700-normal.51265c214faf.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  --graphite: #14171A;
  --graphite-2: #1C2126;
  --steel-1: #2A3138;
  --steel-2: #5B6670;
  --steel-3: #8EA0AE;
  --line: #D9DEDF;
  --line-dark: rgb(255 255 255 / .12);
  --paper: #F3F4F2;
  --white: #FFFFFF;
  --ink: #14171A;
  --ink-2: #4B555E;
  --teal: #0F766E;
  --teal-2: #2DD4BF;
  --amber: #F0B44C;
  --amber-2: #D58F2E;
  --radius: 4px;
  --wrap: 1480px;   /* wide screens use more of the width (was 1240) */
  --gutter: clamp(32px, 5vw, 96px);
  --hdr-h: 84px;
  --hdr-h-small: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Plex", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}
:lang(fa) { --font: "Vazirmatn", "Plex", system-ui, Tahoma, sans-serif; --mono: "Plex Mono", "Vazirmatn", ui-monospace, monospace; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hdr-h-small); }
body { font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
:lang(fa) body, body:lang(fa) { line-height: 1.85; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
:lang(fa) h1, :lang(fa) h2, :lang(fa) h3 { letter-spacing: 0; line-height: 1.45; }
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
.i { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--graphite); padding: 8px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter)); margin-inline: auto; }
.wrap--text { max-width: 820px; }
.mono { font-family: var(--mono); font-feature-settings: "zero"; }
.mono-label { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-2); display: inline-flex; align-items: center; gap: 10px; }
:lang(fa) .mono-label { font-family: var(--font); letter-spacing: 0; font-size: .85rem; }   /* the mono font has no Persian letters and makes word gaps too wide */
.sec-n { color: var(--teal); }
.sec-n::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; margin-inline-start: 10px; vertical-align: middle; }
.corner { position: absolute; width: 18px; height: 18px; border: 0 solid var(--amber); pointer-events: none; }
.corner.tl { inset-block-start: -6px; inset-inline-start: -6px; border-block-start-width: 2px; border-inline-start-width: 2px; }
.corner.br { inset-block-end: -6px; inset-inline-end: -6px; border-block-end-width: 2px; border-inline-end-width: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 500; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
[dir="rtl"] .btn .i, [dir="rtl"] .arrow-link .i, [dir="rtl"] .kw-arrow .i, [dir="rtl"] .hero-next .i { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .i { transform: scaleX(-1) translateX(4px); }
[dir="ltr"] .hero-prev .i { transform: scaleX(-1); }
.btn-accent { background: var(--amber); color: var(--graphite); }
.btn-accent:hover { background: #F6C46C; }
/* section buttons: teal outline with a soft tint; on hover a teal fill sweeps in (was black) */
.btn-line { position: relative; isolation: isolate; overflow: hidden; padding: 13px 24px; border-radius: 12px; border: 1.5px solid rgb(15 118 110 / .55); color: var(--teal); font-weight: 600; background: rgb(15 118 110 / .06);
  box-shadow: 0 1px 2px rgb(20 23 26 / .05); transition: color .3s, border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn-line::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--teal), #13948A); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
[dir="rtl"] .btn-line::before { transform-origin: right; }
.btn-line:hover, .btn-line:focus-visible { color: var(--white); border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgb(15 118 110 / .6); }
.btn-line:hover::before, .btn-line:focus-visible::before { transform: scaleX(1); }
.sec--dark .btn-line { color: var(--teal-2); border-color: rgb(45 212 191 / .55); background: rgb(45 212 191 / .08); }
.sec--dark .btn-line:hover { color: var(--white); border-color: var(--teal-2); }
.btn-accent { border-radius: 12px; transition: background .2s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgb(213 143 46 / .7); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius); border: 1px solid transparent; background: none; cursor: pointer; transition: background .2s, border-color .2s; }
.icon-btn:hover { border-color: currentColor; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-2); text-decoration: none; font-weight: 500; margin-top: 18px; }

/* ===== G01 Header + G02 mega menu ===== */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hdr-h); color: var(--white); background: var(--graphite); transition: height .3s var(--ease), background .3s, transform .35s var(--ease), box-shadow .3s; }
.hdr--over { position: fixed; inset-inline: 0; background: transparent; }
.hdr--over::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(10 12 14 / .55), transparent); pointer-events: none; transition: opacity .3s; }
.hdr.is-solid { height: var(--hdr-h-small); background: rgb(20 23 26 / .97); box-shadow: 0 1px 0 var(--line-dark); }
.hdr.is-solid::before { opacity: 0; }
.hdr.is-hidden:not(.menu-open):not(.mega-open) { transform: translateY(-100%); }
.hdr-in { position: relative; height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.15rem; letter-spacing: .01em; flex: none; }
.logo-img { width: auto; height: 44px; border-radius: 6px; }
.logo-mark { width: auto; height: 44px; }
.logo-word { width: auto; height: 22px; }
.logo-text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; line-height: 1; }
.logo-sub { font-size: .62rem; font-weight: 400; letter-spacing: .06em; color: currentColor; opacity: .78; white-space: nowrap; }
:lang(fa) .logo-sub { font-size: .72rem; letter-spacing: 0; }
.hdr.is-solid .logo-mark { height: 40px; }
.logo-mark--lg { height: 48px; }
.logo--ftr { gap: 14px; }
.logo--ftr .logo-word { height: 22px; }
.logo-tag { display: block; margin-top: 6px; font-family: var(--mono); font-size: .75rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-3); }
:lang(fa) .logo-tag { font-family: var(--font); letter-spacing: 0; font-size: .85rem; margin-top: 2px; }
.nav { position: relative; height: 100%; margin-inline: auto; }   /* centred between logo and tools */
.nav-list { display: flex; height: 100%; align-items: stretch; }
.nav-item { display: flex; align-items: center; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 14px; background: none; border: 0; cursor: pointer; text-decoration: none; font-size: .95rem; font-weight: 500; color: rgb(255 255 255 / .82); transition: color .2s; }
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--white); }
.nav-link .i { opacity: .6; transition: transform .3s var(--ease); }
.nav-item.is-open > .nav-link .i { transform: rotate(45deg); }
.nav-ind { position: absolute; bottom: 0; inset-inline-start: 0; height: 2px; width: 0; background: var(--teal-2); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s; }
.nav-mobile-extra { display: none; }
.mega { position: fixed; inset-inline: 0; top: var(--hdr-cur, var(--hdr-h)); background: var(--graphite-2); color: var(--white); border-top: 1px solid var(--line-dark); box-shadow: 0 30px 60px rgb(0 0 0 / .35); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .15s ease-in, visibility 0s .15s; }
.nav-item.is-open > .mega { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .28s var(--ease), visibility 0s; }
.mega-in { display: grid; grid-template-columns: 1.1fr 1.2fr 1.4fr; gap: clamp(32px, 4vw, 64px); align-items: start; padding-block: 40px 44px; }
.mega-in > * { opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.nav-item.is-open .mega-in > * { opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.nav-item.is-open .mega-in > :nth-child(2) { transition-delay: .05s; }
.nav-item.is-open .mega-in > :nth-child(3) { transition-delay: .1s; }
/* G02 drop-down, option B (2026-11-01): the title links to the main page, pointing at a link shows its picture and line */
.mega-title { display: inline-flex; align-items: center; gap: 14px; margin: 0; text-decoration: none; font-size: clamp(1.6rem, 2.2vw, 2rem); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; color: var(--white); }
:lang(fa) .mega-title { letter-spacing: 0; }
.mega-title-t { position: relative; }
.mega-title-all { display: none; }
.mega-title-t::after { content: ""; position: absolute; inset-inline-start: 0; bottom: -9px; width: 40px; height: 3px; border-radius: 2px; background: var(--amber); transition: width .4s var(--ease); }
a.mega-title:hover .mega-title-t::after, a.mega-title:focus-visible .mega-title-t::after { width: 100%; }
.mega-title-arr { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1.5px solid rgb(45 212 191 / .5); color: var(--teal-2); transition: background .25s, color .25s, transform .3s var(--ease); }
a.mega-title:hover .mega-title-arr { background: var(--teal-2); color: var(--graphite); transform: translateX(4px); }
[dir="rtl"] .mega-title-arr .i { transform: scaleX(-1); }
[dir="rtl"] a.mega-title:hover .mega-title-arr { transform: translateX(-4px); }
.mega-tag { margin-top: 26px; max-width: 36ch; color: rgb(255 255 255 / .7); font-size: .98rem; }
.mega-list { display: grid; gap: 2px; border-inline-start: 1px solid var(--line-dark); }
.mega-list a { display: block; margin-inline-start: -1px; padding: 9px 18px; border-inline-start: 2px solid transparent; text-decoration: none; font-size: 1.04rem; color: rgb(255 255 255 / .72); transition: color .2s, border-color .2s, background .2s; }
.mega-list a.is-on, .mega-list a:hover, .mega-list a:focus-visible { color: var(--white); border-inline-start-color: var(--teal-2); background: linear-gradient(90deg, rgb(45 212 191 / .08), transparent); }
[dir="rtl"] .mega-list a.is-on, [dir="rtl"] .mega-list a:hover, [dir="rtl"] .mega-list a:focus-visible { background: linear-gradient(270deg, rgb(45 212 191 / .08), transparent); }
.mega-show { min-width: 0; }
.mega-pics { position: relative; display: block; aspect-ratio: 8 / 5; overflow: hidden; border-radius: 18px; background: #1B1F23;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1), 0 20px 40px -24px rgb(0 0 0 / .6); }
.mega-pics .mp { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease); }
.mega-pics .mp.is-on { opacity: 1; }
.mega-pics .mp img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.mega-pics .mp.is-on img { transform: scale(1); }
.mega-cap { display: none; margin-top: 14px; min-height: 3.2em; color: rgb(255 255 255 / .68); font-size: .93rem; }
.mega-cap.is-on { display: block; }
.mega-cap b { display: block; color: var(--white); font-weight: 600; font-size: 1rem; }
@media (prefers-reduced-motion: reduce) { .mega-pics .mp, .mega-pics .mp img { transition: none; } }
.hdr-tools { display: flex; align-items: center; gap: 6px; }
.lang a { display: inline-grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: var(--radius); text-decoration: none; font-family: var(--mono); font-size: .85rem; transition: border-color .2s; }
.lang a:hover { border-color: currentColor; }
.lang a:lang(fa) { font-family: "Vazirmatn", var(--font); }
.hdr-cta { margin-inline-start: 6px; padding: 10px 16px; }
.burger { display: none; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; inset-inline-start: 10px; width: 22px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.search-panel { position: absolute; inset-inline: 0; top: 100%; background: var(--graphite-2); border-top: 1px solid var(--line-dark); padding: 18px 0; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--steel-1); border-radius: var(--radius); background: var(--graphite); color: var(--white); }
.search-form--page { margin-top: 22px; max-width: 640px; }

@media (max-width: 1100px) {
  .hdr-cta { display: none; }
  .mega-in { grid-template-columns: 1fr 1.2fr; }
  .mega-show { display: none; }
}
@media (max-width: 1023px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--hdr-cur, var(--hdr-h-small)) 0 0 0; height: auto; margin: 0; background: var(--graphite); overflow-y: auto; padding: 16px 16px 40px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
  .menu-open .nav { visibility: visible; opacity: 1; transition: opacity .25s; }
  .nav-list { flex-direction: column; height: auto; }
  .nav-item { display: block; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s var(--ease); }
  .menu-open .nav-item { opacity: 1; transform: none; }
  .menu-open .nav-item:nth-child(2) { transition-delay: .04s; } .menu-open .nav-item:nth-child(3) { transition-delay: .08s; }
  .menu-open .nav-item:nth-child(4) { transition-delay: .12s; } .menu-open .nav-item:nth-child(5) { transition-delay: .16s; }
  .menu-open .nav-item:nth-child(6) { transition-delay: .2s; } .menu-open .nav-item:nth-child(7) { transition-delay: .24s; }
  .nav-link { width: 100%; justify-content: space-between; height: auto; padding: 18px 4px; font-size: 1.2rem; }
  .nav-ind { display: none; }
  .mega { position: static; clip-path: none; visibility: visible; box-shadow: none; border: 0; background: none; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
  .nav-item.is-open > .mega { grid-template-rows: 1fr; }
  .mega-in { overflow: hidden; display: block; padding: 0; width: 100%; }
  .mega-in > * { opacity: 1; transform: none; }
  .nav-item.is-open .mega-in { padding-bottom: 18px; }
  .mega-intro { padding: 2px 4px 6px; }
  .mega-title { font-size: 1.15rem; gap: 10px; }
  .mega-title-arr { width: 28px; height: 28px; }
  .mega-title-t::after { display: none; }
  .mega-title-all { display: inline; }
  .mega-title-t:lang(en) { text-transform: lowercase; }
  .mega-title-t:lang(en)::first-letter { text-transform: uppercase; }
  .mega-tag { display: none; }
  .mega-list { margin-top: 8px; }
  .mega-list a { padding: 10px 14px; font-size: 1rem; }
  .mega-list a.is-on:not(:hover) { color: rgb(255 255 255 / .72); border-inline-start-color: transparent; background: none; }
  .nav-mobile-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 24px; }
  .lang-m { padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: var(--radius); text-decoration: none; }
  .lang { display: none; }
}

/* ===== Sections ===== */
.sec { padding-block: clamp(56px, 7vw, 100px); }
.sec--tight { padding-block: clamp(40px, 5vw, 64px); }
.sec--alt { background: #E9ECEA; }
.sec--dark { background: var(--graphite); color: var(--white); }
.sec--dark .mono-label { color: var(--steel-3); }
.sec--dark .sec-n { color: var(--teal-2); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { margin-top: 14px; }
.sec-intro { margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; }
.rt > * + * { margin-top: 1em; }
.rt h2, .rt h3 { margin-top: 1.6em; }
.rt ul { list-style: square; padding-inline-start: 1.2em; }
.rt ol { list-style: decimal; padding-inline-start: 1.4em; }
.rt a { color: var(--teal); }
.sec--dark .rt a { color: var(--teal-2); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.two-col h2 { margin-bottom: 24px; }
.divider--line { border-top: 1px solid var(--line); }
.divider--space { height: 48px; }

/* B01 Hero slider */
.hero { position: relative; height: min(100svh, 920px); min-height: 560px; background: var(--graphite); color: var(--white); overflow: hidden; }
.hero-track, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.slide picture, .slide-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide-img, .slide picture img { object-fit: cover; height: 100%; }
.slide.is-active .slide-img, .slide.is-active picture img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(12 14 16 / .82) 0%, rgb(12 14 16 / .45) 55%, rgb(12 14 16 / .15) 100%), linear-gradient(0deg, rgb(12 14 16 / .6), transparent 40%); }
[dir="rtl"] .slide-shade { background: linear-gradient(270deg, rgb(12 14 16 / .82) 0%, rgb(12 14 16 / .45) 55%, rgb(12 14 16 / .15) 100%), linear-gradient(0deg, rgb(12 14 16 / .6), transparent 40%); }
.slide-body { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding-top: var(--hdr-h); padding-bottom: 90px; }
.slide-label { color: var(--amber); }
.slide-h { font-size: clamp(2.1rem, 5vw, 4.2rem); font-weight: 600; line-height: 1.08; max-width: 16ch; letter-spacing: -.02em; }
:lang(fa) .slide-h { line-height: 1.4; letter-spacing: 0; max-width: 20ch; }
.slide-t { max-width: 46ch; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgb(255 255 255 / .82); }
.hero.has-moved .slide.is-active .slide-body > * { animation: rise .8s var(--ease) both; } /* not on first paint: the h1 is the LCP */
.hero.has-moved .slide.is-active .slide-body > :nth-child(2) { animation-delay: .08s; }
.hero.has-moved .slide.is-active .slide-body > :nth-child(3) { animation-delay: .16s; }
.hero.has-moved .slide.is-active .slide-body > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-ui { position: absolute; inset-inline: 0; bottom: 28px; display: flex; align-items: center; gap: 24px; }
.hero-count { font-size: .9rem; color: rgb(255 255 255 / .7); }
.hero-ui { text-shadow: 0 1px 3px rgb(0 0 0 / .55); } /* no overlay on the slides: keep the controls readable on light pictures */
.hero-dot::before, .hero-dot i, .hero-arrows .icon-btn { box-shadow: 0 1px 3px rgb(0 0 0 / .35); }
.hero-cur { color: var(--white); font-weight: 500; }
.hero-dots { display: flex; gap: 8px; flex: 1; }
.hero-dot { position: relative; width: 56px; height: 24px; background: none; border: 0; cursor: pointer; }
.hero-dot::before, .hero-dot i { content: ""; position: absolute; inset-inline: 0; top: 11px; height: 2px; background: rgb(255 255 255 / .3); }
.hero-dot i { background: var(--amber); transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .hero-dot i { transform-origin: right; }
.hero-dot.is-active i { animation: progress var(--interval, 6s) linear forwards; }
.hero.is-paused .hero-dot.is-active i { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows .icon-btn { border-color: rgb(255 255 255 / .3); color: var(--white); }

/* B02 keywords */
.kw { background: var(--white); border-bottom: 1px solid var(--line); padding: 0; }
.kw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.kw-tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 34px 28px 34px 0; text-decoration: none; border-inline-start: 1px solid var(--line); padding-inline: 28px; transition: background .25s; }
.kw-tile:first-child { border-inline-start: 0; }
a.kw-tile:hover { background: var(--paper); }
.kw-t { font-size: 1.5rem; font-weight: 600; }
.kw-d { color: var(--ink-2); font-size: .95rem; }
.kw-arrow { position: absolute; top: 34px; inset-inline-end: 24px; color: var(--teal); transition: transform .25s var(--ease); }
a.kw-tile:hover .kw-arrow { transform: translateX(4px); }

/* B03 cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 26px); margin-bottom: 40px; }
@media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 34px 30px 58px; text-decoration: none;
  border-radius: 22px; background: linear-gradient(180deg, var(--white) 55%, rgb(15 118 110 / .035));
  box-shadow: 0 1px 2px rgb(20 23 26 / .06), 0 22px 44px -28px rgb(20 23 26 / .34), inset 0 0 0 1px rgb(20 23 26 / .07);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }   /* same framed look as the product pictures (B04) */
.card::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
[dir="rtl"] .card::after { transform-origin: right; }
.card { scroll-margin-top: 110px; }
.card:target { box-shadow: 0 0 0 2px var(--teal), 0 30px 60px -28px rgb(15 124 120 / .45); }   /* opened from the Industries menu */
a.card:hover::after, a.card:focus-visible::after { transform: scaleX(1); }
a.card:hover, a.card:focus-visible { z-index: 1; transform: translateY(-6px); box-shadow: 0 2px 4px rgb(20 23 26 / .06), 0 30px 60px -28px rgb(15 124 120 / .45), inset 0 0 0 1px rgb(15 118 110 / .25); }
/* soft teal light that follows the pointer (site.js sets --mx / --my) */
.card-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgb(45 212 191 / .13), transparent 70%); }
.card:hover .card-glow { opacity: 1; }
.card-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--line); border-radius: var(--radius); background: rgb(15 118 110 / .05); color: var(--teal); margin-bottom: 14px; transition: background .35s var(--ease), color .35s, border-color .35s; }
a.card:hover .card-ico, a.card:focus-visible .card-ico { background: var(--teal); border-color: var(--teal); color: var(--white); }
.card-n { position: absolute; top: 22px; inset-inline-end: 26px; font-size: 2.6rem; font-weight: 500; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); transition: -webkit-text-stroke-color .35s, transform .35s var(--ease); }
a.card:hover .card-n { -webkit-text-stroke-color: var(--teal-2); transform: translateY(-2px); }
.card-l { color: var(--teal); font-size: .72rem; }
.card-l::before { content: ""; width: 18px; height: 1px; background: currentColor; }
:lang(fa) .card-l { font-family: var(--font); font-size: .85rem; }
.card-t { font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
.card-d { color: var(--ink-2); font-size: .97rem; }
.card-go { position: absolute; bottom: 24px; inset-inline-start: 30px; color: var(--teal); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--ease); }
a.card:hover .card-go, a.card:focus-visible .card-go { opacity: 1; transform: none; }
[dir="rtl"] .card-go { transform: translateX(8px) scaleX(-1); }
[dir="rtl"] a.card:hover .card-go, [dir="rtl"] a.card:focus-visible .card-go { transform: scaleX(-1); }

/* B03 animated icons (core/icons.py ANIM_ICONS): still at rest, moving while the card is hovered or focused */
.ai * { transform-box: fill-box; transform-origin: center; transition: transform .45s var(--ease), opacity .3s; }
.ai-static { width: 30px; height: 30px; transition: transform .45s var(--ease); }
.card:hover .ai-static { transform: scale(1.12) rotate(-6deg); }
.card:hover .ai-cube .p-top { transform: translateY(-4px); }
.card:hover .ai-cube .p-l { transform: translate(-3px, 2px); }
.card:hover .ai-cube .p-r { transform: translate(3px, 2px); }
.ai-flask .b { opacity: 0; }
.card:hover .ai-flask .b { animation: ai-bubble 1.4s ease-in infinite; }
.card:hover .ai-flask .b2 { animation-delay: .45s; }
.card:hover .ai-flask .b3 { animation-delay: .9s; }
@keyframes ai-bubble { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-15px); } }
.card:hover .ai-factory .bx1 { animation: ai-belt-in 1.3s linear infinite; }
.card:hover .ai-factory .bx2 { animation: ai-belt-out 1.3s linear infinite; }
@keyframes ai-belt-in { 0% { opacity: 0; transform: translateX(0); } 15% { opacity: 1; } 100% { transform: translateX(16px); } }
@keyframes ai-belt-out { 0% { transform: translateX(0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateX(16px); } }
[dir="rtl"] .ai-factory { transform: scaleX(-1); }
.ai-factory .smoke { opacity: 0; }
.card:hover .ai-factory .smoke { animation: ai-smoke 1.6s ease-out infinite; }
@keyframes ai-smoke { 0% { opacity: 0; transform: translate(0, 4px) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(3px, -2px) scale(1.6); } }
.card:hover .ai-gear .g1 { animation: ai-spin 4s linear infinite; }
.card:hover .ai-gear .g2 { animation: ai-spin 2.4s linear infinite reverse; }
@keyframes ai-spin { to { transform: rotate(360deg); } }
.card:hover .ai-chip .pins { stroke-dasharray: 3 3; animation: ai-signal .6s linear infinite; }
.card:hover .ai-chip .die { animation: ai-die 1.2s ease-in-out infinite; }
@keyframes ai-signal { to { stroke-dashoffset: -6; } }
@keyframes ai-die { 50% { fill: currentColor; } }
.ai-robot .w { opacity: 0; }
.card:hover .ai-robot .w { animation: ai-wave 1.4s ease-out infinite; }
.card:hover .ai-robot .w2 { animation-delay: .25s; }
.card:hover .ai-robot .eyes circle { animation: ai-blink 2.2s infinite; }
.card:hover .ai-robot .head { transform: rotate(-6deg); }
@keyframes ai-wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ai-blink { 0%, 44%, 52%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.15); } }

/* B04 product bands */
.prod-bands { display: flex; flex-direction: column; }
/* tighter gap above P01·S03 (services and products share the same background) */
.sec:has(+ .prod-show) { padding-bottom: clamp(40px, 5vw, 64px); }
.sec + .prod-show { padding-top: clamp(12px, 1.5vw, 24px); }
.prod-show .sec-head { margin-bottom: clamp(12px, 1.5vw, 20px); }
.prod-band:first-child { border-top: 0; padding-top: 12px; }
.prod-band { display: grid; grid-template-columns: .85fr 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); width: min(var(--wrap), 100% - var(--gutter)); margin-inline: auto; padding-block: clamp(28px, 3vw, 44px); border-top: 1px solid var(--line); }
.prod-band--rev .prod-band-media { order: 2; }
@media (min-width: 1024px) { .prod-band--rev { grid-template-columns: 1fr .85fr; } }   /* pictures the same size on both sides */
.prod-band-media { position: relative; display: block; overflow: hidden; border-radius: 22px; background: var(--white); isolation: isolate;
  box-shadow: 0 1px 2px rgb(20 23 26 / .06), 0 22px 44px -26px rgb(20 23 26 / .38); transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.prod-band-media::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(20 23 26 / .07), inset 0 0 0 5px rgb(255 255 255 / .45); }   /* soft passe-partout edge */
.prod-band-media:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgb(20 23 26 / .06), 0 30px 60px -28px rgb(15 124 120 / .45); }
.prod-band-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.prod-band-media:hover img { transform: scale(1.03); }
/* second picture (hover_image): a plain crossfade when the mouse is on the picture itself, CSS only (no clip-path, blur or zoom, so nothing
   lags or stays soft); on touch screens site.js adds .is-open while the band is in the middle of the screen */
.pb-hover { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .35s ease; }
.pb-hover img { width: 100%; height: 100%; object-fit: cover; }
.prod-band-media:hover .pb-hover, .prod-band-media.is-open .pb-hover { opacity: 1; }
.prod-band-media.has-hover img, .prod-band-media.has-hover:hover img { transform: none; }
.pb-hint { position: absolute; z-index: 2; inset-block-end: 14px; inset-inline-start: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / .85); color: var(--teal); box-shadow: 0 2px 10px rgb(20 23 26 / .15); transition: background .3s, color .3s, transform .4s var(--ease); }
.prod-band-media:hover .pb-hint, .prod-band-media.is-open .pb-hint { background: var(--teal); color: var(--white); transform: rotate(180deg); }
.corner { z-index: 2; }
.prod-band-body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.prod-band-t { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.prod-band-t a { text-decoration: none; }
.prod-band-tag { color: var(--ink-2); font-size: 1.08rem; }
@media (min-width: 1024px) { .prod-band-body { margin-bottom: clamp(24px, 5vw, 80px); } }   /* text sits a little above the picture middle */
.prod-band-d { max-width: 52ch; color: var(--ink-2); font-size: 1.08rem; line-height: 1.85; }
.prod-band-body .btn { margin-top: 10px; }
.kspecs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-block: 1px solid var(--line); margin-block: 6px 10px; }
.kspecs > div { padding: 14px 0; padding-inline-end: 12px; }
.kspecs > div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 14px; }
.kspecs dt { font-size: .78rem; color: var(--steel-2); text-transform: uppercase; letter-spacing: .05em; }
:lang(fa) .kspecs dt { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.kspecs dd { font-size: 1.05rem; font-weight: 500; }
.kspecs--lg { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.sec--dark .kspecs, .l2-hero .kspecs { border-color: var(--line-dark); }
.sec--dark .kspecs > div + div, .l2-hero .kspecs > div + div { border-color: var(--line-dark); }
.l2-hero .kspecs dt { color: var(--steel-3); }

/* B05 process */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0; position: relative; }
.process::before { content: ""; position: absolute; top: 7px; inset-inline: 0; height: 1px; background: var(--steel-3); }
.process-step { position: relative; padding-top: 34px; padding-inline-end: 24px; }
.process-dot { position: absolute; top: 0; inset-inline-start: 0; width: 15px; height: 15px; background: var(--paper); border: 2px solid var(--teal); }
.sec--alt .process-dot { background: #E9ECEA; }
.process-step:last-child .process-dot { background: var(--teal); }
.process-step h3 { margin-block: 8px 6px; }
.process-step p { color: var(--ink-2); font-size: .95rem; }

/* B06 numbers */
.nums-h { margin-bottom: 24px; max-width: 700px; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.nums-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.num { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; padding: 22px 24px 20px; border-radius: 18px;
  background: radial-gradient(120% 90% at 0% 0%, rgb(45 212 191 / .14), transparent 60%), rgb(255 255 255 / .035);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 18px 36px -24px rgb(0 0 0 / .6); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
[dir="rtl"] .num { background: radial-gradient(120% 90% at 100% 0%, rgb(45 212 191 / .14), transparent 60%), rgb(255 255 255 / .035); }
.num::before { content: ""; position: absolute; inset-inline-start: 24px; top: 0; width: 34px; height: 3px; border-radius: 0 0 3px 3px; background: var(--amber); }   /* small amber tab, as in the logo */
.num:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgb(45 212 191 / .35), 0 24px 44px -24px rgb(0 0 0 / .7); }
.num-v { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1; color: var(--white); }
.num-s { font-size: 2rem; color: var(--amber); }
.num-l { flex-basis: 100%; color: var(--steel-3); margin-top: 8px; }

/* B07 case study, B13 image + text */
.case, .it { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.it--rev .it-media { order: 2; }
.case-media, .it-media, .spot-media { position: relative; }
.case-media img, .it-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.case-body h2, .it-body h2 { margin-block: 14px 22px; }
.case-steps { display: grid; gap: 16px; margin-bottom: 26px; }
.case-steps > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.case-steps dt { color: var(--teal); }
.it-body .rt { color: var(--ink-2); margin-bottom: 24px; }

/* B08 spotlight */
.spot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.spot--rev .spot-media { order: 2; }
.spot-media img { aspect-ratio: 8 / 9; object-fit: cover; }
.spot-body h2 { margin-block: 14px 20px; }
.spot-body .rt { color: rgb(255 255 255 / .78); }
.spot-points { margin-block: 26px 30px; border-top: 1px solid var(--line-dark); }
.spot-points li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.spot-points .mono { color: var(--teal-2); }

/* B09 logos: framed tiles like the service cards (B03) */
.logos { position: relative; background: linear-gradient(180deg, var(--white), #EEF3F1); border-block: 1px solid var(--line); overflow: hidden; }
.logos::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgb(15 118 110 / .14) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.logos .wrap { position: relative; }
.logos-h { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; color: var(--teal); }
.logos-h::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--amber); }
.logos-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
[dir="rtl"] .logos-h::after { background: linear-gradient(-90deg, var(--line), transparent); }
:lang(fa) .logos-h { font-family: var(--font); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.logos-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.logos-grid li { position: relative; display: grid; place-items: center; min-height: 128px; padding: 20px 22px; border-radius: 18px; background: var(--white);
  box-shadow: 0 1px 2px rgb(20 23 26 / .05), 0 16px 32px -24px rgb(20 23 26 / .3), inset 0 0 0 1px rgb(20 23 26 / .07);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.logos-grid li > a { display: grid; place-items: center; width: 100%; height: 100%; }
.logos-grid img { height: 72px; width: auto; max-width: 100%; object-fit: contain; margin-inline: auto; filter: grayscale(1); opacity: .65; transition: filter .35s, opacity .35s, transform .4s var(--ease); }
.logos-grid li:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgb(20 23 26 / .06), 0 26px 48px -26px rgb(15 124 120 / .45), inset 0 0 0 1px rgb(15 118 110 / .22); }
.logos-grid li:hover img { filter: none; opacity: 1; transform: scale(1.04); }
@media (max-width: 1100px) { .logos-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .logos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logos-grid li { min-height: 104px; padding: 16px; } .logos-grid img { height: 58px; } }
@media (hover: none) { .logos-grid img { filter: none; opacity: 1; } }   /* no hover on phones: show the real colours */

/* B10 posts: framed cards like the service cards (B03) */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(18px, 2vw, 28px); }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; text-decoration: none; border-radius: 22px; background: var(--white);
  box-shadow: 0 1px 2px rgb(20 23 26 / .06), 0 22px 44px -28px rgb(20 23 26 / .34), inset 0 0 0 1px rgb(20 23 26 / .07);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover, .post-card:focus-visible { transform: translateY(-6px); box-shadow: 0 2px 4px rgb(20 23 26 / .06), 0 30px 60px -28px rgb(15 124 120 / .45), inset 0 0 0 1px rgb(15 118 110 / .25); }
.post-card-media { position: relative; display: block; overflow: hidden; background: var(--line); aspect-ratio: 16 / 9; }
.post-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(20 23 26 / .35)); pointer-events: none; }
.post-card-media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover img { transform: scale(1.05); }
.post-card-cat { position: absolute; z-index: 1; top: 16px; inset-inline-start: 16px; padding: 5px 12px; border-radius: 99px; background: rgb(255 255 255 / .92); color: var(--teal); font-size: .75rem; font-weight: 600; backdrop-filter: blur(6px); }
.post-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 26px 24px; }
.post-card .mono-label { color: var(--teal); font-size: .72rem; }
:lang(fa) .post-card .mono-label { font-family: var(--font); font-size: .85rem; }
.post-card-t { font-size: 1.22rem; font-weight: 600; line-height: 1.35; }
.post-card-d { color: var(--ink-2); font-size: .97rem; }
.post-card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--teal); font-weight: 600; font-size: .95rem; }
.post-card-more .i { transition: transform .35s var(--ease); }
.post-card:hover .post-card-more .i { transform: translateX(5px); }
[dir="rtl"] .post-card-more .i { transform: scaleX(-1); }
[dir="rtl"] .post-card:hover .post-card-more .i { transform: scaleX(-1) translateX(5px); }

/* B11 CTA */
.cta-band { background: var(--teal); color: var(--white); padding-block: clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .07) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-in h2 { max-width: 22ch; }
.cta-in p { margin-top: 10px; color: rgb(255 255 255 / .92); max-width: 56ch; }

/* B14 FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; gap: 18px; padding: 20px 0; cursor: pointer; font-weight: 500; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mono { color: var(--teal); font-size: .85rem; }
.faq summary .i { margin-inline-start: auto; transition: transform .3s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .rt { padding: 0 0 22px; padding-inline-start: 40px; color: var(--ink-2); }
.wrap--text > h2 { margin-bottom: 24px; }

/* B15 gallery, B16 quote, B17 specs, B18 downloads, B19 columns */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.wrap > h2 + .gallery, .wrap > h2 + .cols { margin-top: 28px; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: .88rem; color: var(--steel-2); margin-top: 6px; }
.figure-single { margin: 0; } .figure-single img { width: 100%; } .figure-single figcaption { font-size: .88rem; color: var(--steel-2); margin-top: 8px; }
.gallery--drawings { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.gallery--drawings img { aspect-ratio: auto; object-fit: contain; background: var(--white); border: 1px solid var(--line); }
.quote blockquote { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.45; font-weight: 500; position: relative; padding-inline-start: 28px; border-inline-start: 3px solid var(--amber); }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-inline-start: 31px; color: var(--ink-2); }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px 48px; }
.wrap > h2 + .specs { margin-top: 28px; }
.spec-t { width: 100%; border-collapse: collapse; }
.spec-t caption { text-align: start; padding-bottom: 10px; color: var(--teal); font-weight: 600; font-size: 1.02rem; }
.spec-t th, .spec-t td { text-align: start; padding: 11px 0; border-top: 1px solid var(--line); vertical-align: top; font-size: .97rem; }
.spec-t th { font-weight: 400; color: var(--ink-2); width: 48%; padding-inline-end: 16px; }
.spec-t td { font-weight: 500; }
.sec--dark .spec-t th, .sec--dark .spec-t td { border-color: var(--line-dark); }
.sec--dark .spec-t th { color: var(--steel-3); }
.dl-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); list-style: none; padding: 0; margin: 0; }
.dl-list a { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); text-decoration: none;
  transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.dl-list a:hover { border-color: rgb(15 118 110 / .45); box-shadow: 0 14px 30px -18px rgb(20 23 26 / .3); transform: translateY(-2px); }
.dl-list a .i { flex: none; color: var(--teal); }
.dl-list .mono { margin-inline-start: auto; padding: 3px 9px; border-radius: 99px; background: rgb(15 118 110 / .08); font-size: .75rem; color: var(--teal); }
.cols { display: grid; gap: 36px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(4, 1fr); }
.col h3 { margin-bottom: 10px; }
.col .rt { color: var(--ink-2); }

/* ===== Inner page header, breadcrumbs, filters ===== */
.phead { position: relative; background: var(--graphite); color: var(--white); padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); overflow: hidden; }
.phead::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000, transparent 90%); pointer-events: none; opacity: .5; }
.phead--img { min-height: 420px; display: flex; align-items: flex-end; }
@media (min-width: 1024px) { .phead--img { aspect-ratio: 3 / 1; } } /* Salman 2026-11-03: header pictures are made at 3:1 (2400x800) and show whole on desktop */
.phead-img, .phead picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.phead picture img, .phead-img { object-fit: cover; height: 100%; }
/* Dark only behind the title at the bottom, the rest of the picture stays clear (Salman, 2026-11-02) */
.phead-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgb(12 14 16 / .82) 0%, rgb(12 14 16 / .45) 30%, rgb(12 14 16 / 0) 62%); }
.phead--img::before { display: none; }
.phead-in { position: relative; }
.phead h1 { max-width: 20ch; margin-top: 14px; }
.phead .mono-label { color: var(--amber); margin-top: 18px; }
.phead-intro { margin-top: 18px; max-width: 60ch; font-size: 1.15rem; color: rgb(255 255 255 / .8); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--steel-3); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; opacity: .6; }
.crumbs a { display: inline-block; padding-block: 4px; text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .92rem; background: var(--white); }
.filters a[aria-current] { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.prod-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.prod-card-media { overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; }
.prod-card-media img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.prod-card:hover img { transform: scale(1.04); }
.prod-card .mono-label { margin-top: 8px; }
.prod-card-t { font-size: 1.2rem; font-weight: 600; }
.prod-card-d { color: var(--ink-2); font-size: .95rem; }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 48px; }
.results li { border-bottom: 1px solid var(--line); }
.results a { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; text-decoration: none; }
.results span:last-child { color: var(--ink-2); }
.post-meta { padding-block: 22px 0; }
.post-meta a { color: var(--teal); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 48px; }
.tags a { display: inline-block; padding-block: 4px; font-family: var(--mono); font-size: .85rem; color: var(--teal); text-decoration: none; }
.nf { padding-block: 120px; text-align: center; }
.nf-code { font-size: clamp(5rem, 14vw, 9rem); color: var(--teal); line-height: 1; }
.nf p { color: var(--ink-2); margin-block: 14px 28px; }

/* ===== Products: shared + layouts L1…L6 ===== */
.p-tagline { font-size: 1.2rem; color: var(--ink-2); margin-top: 8px; }
.p-summary { color: var(--ink-2); margin-block: 18px 6px; }
.p-lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.6; }
.product .crumbs ol { color: var(--steel-2); margin-bottom: 18px; }
.product h1 { margin-top: 10px; font-size: clamp(2rem, 4vw, 3.2rem); }
.pgal { min-width: 0; }   /* the thumbnail row scrolls inside the column instead of widening the page on phones */
.pgal-main { position: relative; overflow: hidden; border-radius: 22px; background: var(--white); isolation: isolate;
  box-shadow: 0 1px 2px rgb(20 23 26 / .05), 0 18px 40px -18px rgb(20 23 26 / .22); }   /* Salman 2026-11-08: rounded like the other site pictures */
.pgal-main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(20 23 26 / .07); pointer-events: none; }
.pgal-main img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pgal-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.pgal-thumbs button { flex: none; width: 88px; border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; background: none; cursor: pointer; opacity: .7; }
.pgal-thumbs button.is-active, .pgal-thumbs button:hover { border-color: var(--teal); opacity: 1; }
/* L1 */
.l1-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.l1-panel { position: sticky; top: calc(var(--hdr-h-small) + 24px); display: flex; flex-direction: column; align-items: flex-start; }
.l1-panel .kspecs { margin-block: 22px 26px; }
/* L2 */
.l2-hero, .l6-hero { position: relative; min-height: min(88svh, 820px); display: flex; align-items: flex-end; background: var(--graphite); color: var(--white); overflow: hidden; }
.l2-hero picture, .l2-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.l2-hero picture img, .l2-hero-img { object-fit: cover; height: 100%; }
.l2-hero-body { position: relative; padding-block: 120px 56px; }
.l2-hero-body .crumbs ol, .l2-hero-body .mono-label { color: var(--steel-3); }
.l2-hero-body .p-tagline { color: rgb(255 255 255 / .82); max-width: 50ch; }
.l2-hero-body .kspecs { max-width: 760px; margin-top: 28px; }
.story-s { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.story-s:nth-child(even) .story-media { order: 2; }
.story-media { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story-media picture, .story-media img { height: 100%; width: 100%; object-fit: cover; }
.story-body { display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(32px, 7vw, 110px); }
.story-body > p:not(.mono-label):not(.story-stat) { color: var(--ink-2); font-size: 1.1rem; }
.story-stat { display: flex; align-items: baseline; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.story-stat .mono { font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--teal); line-height: 1; }
/* L3 */
.l3-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.l3-head .kspecs { margin-top: 24px; }
.l3-img { position: relative; background: var(--white); }
.tab-list { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tab-list button { flex: none; padding: 14px 20px; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; font-family: var(--mono); font-size: .85rem; letter-spacing: .04em; color: var(--steel-2); }
.tab-list button[aria-selected="true"] { color: var(--ink); border-color: var(--teal); }
.tab-panel { animation: rise .35s var(--ease); }
.tab-panel .gallery { margin-top: 28px; }
/* L4 */
.l4-head { max-width: 760px; margin-bottom: 48px; }
.variants { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.variant { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--white); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease); }
.variant:hover { transform: translateY(-3px); }
.variant.is-rec { border-color: var(--teal); box-shadow: inset 0 3px 0 var(--teal); }
.variant-badge { position: absolute; top: 14px; inset-inline-end: 14px; background: var(--teal); color: var(--white); font-size: .72rem; padding: 3px 8px; text-transform: uppercase; }
.variant-media img { aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 8px; }
.variant-t { font-size: 1.4rem; }
.variant .kspecs { margin-top: auto; }
.table-scroll { overflow-x: auto; margin-top: 28px; border: 1px solid var(--line); background: var(--white); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); }
.cmp thead th { font-weight: 600; background: var(--graphite); color: var(--white); }
.cmp thead th.is-rec { background: var(--teal); }
.cmp tbody th { font-weight: 400; color: var(--ink-2); }
.cmp tbody tr:hover { background: var(--paper); }
/* L5 */
.l5-head { margin-bottom: 36px; }
.l5 .product .crumbs ol, .l5 .crumbs ol { color: var(--steel-3); }
.l5 .p-tagline { color: rgb(255 255 255 / .75); }
.hotspot { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.hotspot-stage { position: relative; background: #0E1113; border: 1px solid var(--line-dark); }
.hotspot-stage picture { transition: opacity .5s; }
.hs-img { width: 100%; }
.hs-exploded { position: absolute; inset: 0; opacity: 0; }
.hotspot.is-exploded .hs-exploded { opacity: 1; }
.hotspot.is-exploded .hs-assembled { opacity: 0; }
.hotspot-stage > picture:nth-of-type(2) { position: absolute; inset: 0; opacity: 0; }
.hotspot.is-exploded .hotspot-stage > picture:nth-of-type(2) { opacity: 1; }
.hotspot.is-exploded .hotspot-stage > picture:nth-of-type(1) { opacity: 0; }
.hs-pt { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--amber); background: rgb(20 23 26 / .85); color: var(--amber); cursor: pointer; display: grid; place-items: center; font-size: .85rem; z-index: 2; transition: background .2s, color .2s, transform .2s; }
.hs-pt::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid var(--amber); animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.hs-pt:hover, .hs-pt[aria-expanded="true"] { background: var(--amber); color: var(--graphite); transform: scale(1.1); }
.hs-toggle { display: inline-flex; border: 1px solid var(--line-dark); margin-bottom: 24px; }
.hs-toggle button { padding: 8px 14px; background: none; border: 0; cursor: pointer; font-size: .9rem; color: var(--steel-3); }
.hs-toggle button.is-active { background: var(--amber); color: var(--graphite); }
.hs-list { margin-top: 12px; border-top: 1px solid var(--line-dark); }
.hs-list li { border-bottom: 1px solid var(--line-dark); }
.hs-list button { display: flex; gap: 14px; width: 100%; padding: 14px 0; background: none; border: 0; cursor: pointer; text-align: start; font-weight: 500; color: var(--white); }
.hs-list .mono { color: var(--amber); }
.hs-list p { display: none; padding: 0 0 16px; padding-inline-start: 36px; color: rgb(255 255 255 / .72); font-size: .95rem; }
.hs-list li.is-open p { display: block; animation: rise .3s var(--ease); }
.hs-list li.is-open button { color: var(--amber); }
/* L6 */
.l6-hero { min-height: min(72svh, 680px); }
.l6-meta { display: flex; gap: 40px; margin-top: 28px; }
.l6-meta dd { font-size: 1.1rem; margin-top: 4px; }
.l6-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.l6-steps .rt { margin-top: 16px; color: var(--ink-2); }

/* ===== Contact form ===== */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); }
.contact-list { margin-top: 28px; }
.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { border-color: var(--teal); background: var(--white); outline: none; }
.field textarea { min-height: 160px; resize: vertical; }
.field .err { color: #B42318; }
.form .btn { justify-self: start; }
.hp { position: absolute; inset-inline-start: -9999px; }

/* ===== G03 footer ===== */
.ftr { background: var(--graphite); color: rgb(255 255 255 / .75); padding-top: 72px; font-size: .95rem; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.ftr .logo { color: var(--white); margin-bottom: 18px; }
.ftr-about p { max-width: 36ch; }
.ftr-contact { display: grid; gap: 10px; margin-top: 22px; }
.ftr-contact li { display: flex; align-items: center; gap: 10px; }
.ftr-contact .i { color: var(--teal-2); }
.ftr-contact a { text-decoration: none; }
.contact-list .i { color: var(--teal); }
.ftr-col .mono-label { color: var(--steel-3); margin-bottom: 16px; }
.ftr-col li + li { margin-top: 2px; }
.ftr-col a, .ftr-contact a { text-decoration: none; transition: color .2s; }
.ftr-col a { display: inline-block; padding-block: 4px; } /* 24px+ tap targets */
.ftr-col a:hover, .ftr-contact a:hover { color: var(--teal-2); }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--line-dark); font-size: .85rem; }
.ftr-social { display: flex; gap: 6px; }
.mob-line { flex-wrap: wrap; row-gap: 8px; }
.mob-chats { display: inline-flex; gap: 6px; margin-inline-start: 4px; }
.mob-chats a { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-dark); color: inherit; transition: color .2s, border-color .2s, background .2s; }
.mob-chats .i { color: currentColor !important; }
.mob-chats .mob-whatsapp:hover { color: #25D366; border-color: #25D366; }
.mob-chats .mob-telegram:hover { color: #2AABEE; border-color: #2AABEE; }
.mob-chats .mob-bale:hover { color: #3DBB8E; border-color: #3DBB8E; }
.contact-list .mob-chats a { border-color: var(--line); }
.ftr-social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-dark); border-radius: var(--radius); transition: border-color .2s, color .2s; }
.ftr-social a:hover { color: var(--teal-2); border-color: var(--teal-2); }

/* Scroll reveal (only when JS is running, so content never stays hidden) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-about { grid-column: 1 / -1; }
  .prod-band, .case, .it, .spot-grid, .l1-top, .l3-head, .hotspot, .contact, .two-col { grid-template-columns: 1fr; }
  .prod-band--rev .prod-band-media, .it--rev .it-media, .spot--rev .spot-media { order: 0; }
  .l1-panel { position: static; }
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .l6-steps { grid-template-columns: 1fr; gap: 32px; }
  .story-s { grid-template-columns: 1fr; min-height: 0; }
  .story-s:nth-child(even) .story-media { order: 0; }
  .story-media { position: relative; height: 60svh; }
  .hotspot { gap: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero { min-height: 600px; }
  .slide-shade, [dir="rtl"] .slide-shade { background: linear-gradient(0deg, rgb(12 14 16 / .9) 10%, rgb(12 14 16 / .35) 70%); }
  .slide-body { justify-content: flex-end; padding-bottom: 110px; }
  .hero-ui { flex-wrap: wrap; gap: 12px; }
  .hero-dots { order: 3; flex-basis: 100%; }
  .hero-dot { width: 40px; }
  .hero-arrows { margin-inline-start: auto; }
  .kw-tile { border-inline-start: 0; border-top: 1px solid var(--line); padding-inline: 0; }
  .kw-arrow { inset-inline-end: 0; }
  .kspecs { grid-template-columns: 1fr 1fr; }
  .kspecs > div:nth-child(3) { grid-column: 1 / -1; border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .ftr-grid { grid-template-columns: 1fr; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .case-steps > div { grid-template-columns: 1fr; gap: 4px; }
  .nums-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num { padding: 18px 18px 16px; }
  .specs { grid-template-columns: 1fr; }
  .l6-meta { flex-direction: column; gap: 16px; }
  .cta-in .btn { width: 100%; justify-content: center; }
}
/* G01 logo motion: build-up intro once per visit (.lm-intro, set in header.html), pulse signal on hover (.lm-sig, site.js) */
.logo-mark.lm { aspect-ratio: 192 / 160; overflow: visible; }
.logo-word.lm-word { aspect-ratio: 329 / 52; overflow: visible; }
.lm .lm-t, .lm .lm-p, .lm .lm-ring, .lm-word .lm-l { transform-box: fill-box; transform-origin: center; }
.lm .lm-s { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.lm .lm-ring { opacity: 0; }
.lm .lm-pl { stroke: #E6FFFB; stroke-dasharray: .22 2; stroke-dashoffset: .22; }
@keyframes lm-tier { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lm-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lm-pop { 0% { transform: scale(0); } 60% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes lm-ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes lm-rise { from { transform: translateY(60%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes lm-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes lm-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: .78; transform: none; } }
@keyframes lm-pulse { from { stroke-dashoffset: .22; } to { stroke-dashoffset: -1; } }
@keyframes lm-glow { 0%, 100% { filter: none; transform: scale(1); } 40% { filter: brightness(1.7) drop-shadow(0 0 6px #2DD4BF); transform: scale(1.12); } }
@keyframes lm-warm { 0%, 100% { filter: none; } 45% { filter: brightness(1.28) saturate(1.1); } }
@keyframes lm-lift { 0%, 100% { transform: none; } 45% { transform: translateY(-8%); } }
.lm-intro .lm-t1 { animation: lm-tier .5s var(--ease) both; }
.lm-intro .lm-t2 { animation: lm-tier .5s var(--ease) .12s both; }
.lm-intro .lm-t3 { animation: lm-tier .5s var(--ease) .24s both; }
.lm-intro .lm-pb { animation: lm-pop .35s var(--ease) .3s both; }
.lm-intro .lm-s0 { animation: lm-draw .6s cubic-bezier(.45, 0, .55, 1) .45s both; }
.lm-intro .lm-s1 { animation: lm-draw .32s ease-out .78s both; }
.lm-intro .lm-s2 { animation: lm-draw .32s ease-out .85s both; }
.lm-intro .lm-p0 { animation: lm-pop .4s var(--ease) 1s both; }
.lm-intro .lm-p1 { animation: lm-pop .4s var(--ease) 1.06s both; }
.lm-intro .lm-p2 { animation: lm-pop .4s var(--ease) 1.12s both; }
.lm-intro .lm-r0 { animation: lm-ping .7s ease-out 1.1s forwards; }
.lm-intro .lm-r1 { animation: lm-ping .7s ease-out 1.16s forwards; }
.lm-intro .lm-r2 { animation: lm-ping .7s ease-out 1.22s forwards; }
.lm-intro .lm-l { animation: lm-rise .45s var(--ease) both; }
.lm-intro .lm-l:nth-child(1) { animation-delay: 1.15s; } .lm-intro .lm-l:nth-child(2) { animation-delay: 1.21s; }
.lm-intro .lm-l:nth-child(3) { animation-delay: 1.27s; } .lm-intro .lm-l:nth-child(4) { animation-delay: 1.33s; }
.lm-intro .lm-l:nth-child(5) { animation-delay: 1.39s; } .lm-intro .lm-l:nth-child(6) { animation-delay: 1.45s; }
.lm-intro .lm-l:nth-child(7) { animation-delay: 1.51s; } .lm-intro .lm-l:nth-child(8) { animation-delay: 1.57s; }
.lm-intro .logo-name { animation: lm-wipe .7s var(--ease) 1.15s both; }
:lang(en) .lm-intro .logo-name { animation-name: lm-rise; }
.lm-intro .logo-sub { animation: lm-fade .6s var(--ease) 1.7s both; }
.lm-sig .lm-t1 { animation: lm-warm .6s ease-in-out; }
.lm-sig .lm-t2 { animation: lm-warm .6s ease-in-out .08s; }
.lm-sig .lm-t3 { animation: lm-warm .6s ease-in-out .16s; }
.lm-sig .lm-q0 { animation: lm-pulse .55s linear .05s; }
.lm-sig .lm-q1 { animation: lm-pulse .38s linear .34s; }
.lm-sig .lm-q2 { animation: lm-pulse .38s linear .41s; }
.lm-sig .lm-p0 { animation: lm-glow .5s ease-out .5s; }
.lm-sig .lm-p1 { animation: lm-glow .5s ease-out .66s; }
.lm-sig .lm-p2 { animation: lm-glow .5s ease-out .72s; }
.lm-sig .lm-l { animation: lm-lift .4s ease-in-out both; }
.lm-sig .lm-l:nth-child(1) { animation-delay: .55s; } .lm-sig .lm-l:nth-child(2) { animation-delay: .59s; }
.lm-sig .lm-l:nth-child(3) { animation-delay: .63s; } .lm-sig .lm-l:nth-child(4) { animation-delay: .67s; }
.lm-sig .lm-l:nth-child(5) { animation-delay: .71s; } .lm-sig .lm-l:nth-child(6) { animation-delay: .75s; }
.lm-sig .lm-l:nth-child(7) { animation-delay: .79s; } .lm-sig .lm-l:nth-child(8) { animation-delay: .83s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .logo *, .logo { animation: none !important; }
}
@media print {
  .hdr, .ftr, .hero-ui, .cta-band { display: none; }
  .sec--dark { background: none; color: #000; }
}
.wrap > h2 + .prod-grid, .wrap > h2 + .posts { margin-top: 28px; }

/* ===== Group 1 overview (services P02, industries P06), 2026-11-01: tabs on desktop, list + sticky chips on phones ===== */
.ov .wrap { min-width: 0; }
.ov-tabs { display: none; }
.ov-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; position: sticky; top: var(--hdr-cur, var(--hdr-h-small)); z-index: 5;
  margin-inline: calc(var(--gutter) / -2); padding: 12px calc(var(--gutter) / 2); background: var(--paper); border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.ov-chips::-webkit-scrollbar { display: none; }
.ov-chips a { flex: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.ov-chips a.is-on { background: var(--teal); border-color: var(--teal); color: var(--white); }
.ov-items { display: grid; gap: 56px; }
.ov-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; scroll-margin-top: calc(var(--hdr-cur, 64px) + 70px); }
.ov-pic { position: relative; aspect-ratio: 8 / 5; max-width: 100%; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #E4E8E7, #D3DAD8); display: grid; place-items: center; }
.ov-pic picture, .ov-pic img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ov-pic-ico { color: var(--teal); opacity: .8; }
.ov-detail { grid-column: 1 / -1; display: grid; gap: 32px; margin-top: 16px; }
.ov-body > .sec:first-child { padding-top: 0; }
.ov-relh { font-size: 1.25rem; margin-bottom: 18px; }
.ov-body .wrap { width: 100%; }
.ov-body .sec { padding-block: clamp(28px, 4vw, 48px); }
.ov-body .sec--alt { border-radius: 16px; padding-inline: clamp(16px, 3vw, 40px); }
.ov-body { border-top: 1px solid var(--line); }
/* Industries: the whole picture, never cut (Salman, 2026-11-02) */
.ov--full .ov-pic { aspect-ratio: auto; display: block; background: none; overflow: visible; border-radius: 0; }
.ov--full .ov-pic picture { position: static; display: block; width: auto; height: auto; }
.ov--full .ov-pic img { position: static; display: block; width: auto; height: auto; max-width: 100%; max-height: 560px; margin-inline: auto; border-radius: 16px; object-fit: contain; }
.ov-text .mono-label { color: var(--teal); }
/* Service example area (Salman, 2026-11-03): small live previews side by side under the tab; a click opens the full version in a window */
.ov-example { grid-column: 1 / -1; display: grid; gap: 14px; margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); min-width: 0; }
.ov-example-head .mono-label { color: var(--teal); }
.ov-example-t { margin: 4px 0 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.3; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.ex-card { display: grid; gap: 10px; padding: 0; border: 0; background: none; text-align: start; cursor: pointer; color: inherit; font: inherit; min-width: 0; }
.ex-win { position: relative; display: block; aspect-ratio: 16 / 10; max-width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid rgb(20 23 26 / .15); background: #0F1215; box-shadow: 0 12px 34px rgb(20 23 26 / .14); transition: transform .3s var(--ease), box-shadow .3s; }
.ex-win iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; transform: scale(var(--ex-s, .3)); pointer-events: none; }
.ex-hint { position: absolute; inset-inline: 12px; bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgb(20 23 26 / .82); color: #fff; font-size: .9rem; backdrop-filter: blur(4px); transition: background .2s; }
[dir=rtl] .ex-hint svg { transform: scaleX(-1); }
.ex-card:hover .ex-win, .ex-card:focus-visible .ex-win { transform: translateY(-3px); box-shadow: 0 18px 44px rgb(20 23 26 / .22); }
.ex-card:hover .ex-hint { background: var(--teal); }
.ex-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 12px; }
.ex-meta { display: grid; gap: 2px; }
.ex-t { font-weight: 500; }
.ex-n { color: var(--steel-2); font-size: .9rem; }
.ex-dlg { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0F1215; }
.ex-dlg::backdrop { background: rgb(0 0 0 / .6); }
.ex-dlg-bar { display: flex; align-items: center; gap: 10px; height: 48px; padding-inline: max(14px, env(safe-area-inset-left, 0px)) max(14px, env(safe-area-inset-right, 0px)); background: #14171A; color: #fff; }
.ex-dlg-bar b { flex: 1; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-dlg-bar a, .ex-dlg-bar button { color: #fff; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .16); border-radius: 6px; padding: 6px 12px; font: inherit; font-size: .88rem; text-decoration: none; cursor: pointer; white-space: nowrap; }
.ex-dlg-bar button:hover, .ex-dlg-bar a:hover { background: rgb(255 255 255 / .16); }
.ex-dlg iframe { display: block; width: 100%; height: calc(100% - 48px); border: 0; }
@media (max-width: 600px) { .ex-dlg-bar a { display: none; } }
/* Picture-and-text examples (Salman, 2026-11-07): one row per example, picture beside its text, sides alternate; each part has its own title. */
.exr-list { display: grid; gap: clamp(36px, 5vw, 64px); margin-top: 8px; }
.exr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 3.5vw, 48px); align-items: start; }
.exr--flip .exr-pic { order: 2; }
.exr-pic { border-radius: 14px; overflow: hidden; background: #E9ECEE; aspect-ratio: 16 / 10; }
.exr-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Picture that opens an interactive viewer (Salman, 2026-11-07: the 3D mine model under photogrammetry). */
.exr-pic--3d { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; font: inherit; }
.exr-pic--3d picture, .exr-pic--3d img { transition: transform .5s ease; }
.exr-pic--3d:hover img, .exr-pic--3d:focus-visible img { transform: scale(1.03); }
.exr-3d { position: absolute; inset-inline-start: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 600; font-size: .95rem; white-space: nowrap; box-shadow: 0 8px 24px rgb(0 0 0 / .25); }
[dir="rtl"] .exr-3d { transform: translateX(50%); }
.exr-pic--3d:hover .exr-3d, .exr-pic--3d:focus-visible .exr-3d { filter: brightness(1.1); }
.exr-t { margin: 0 0 10px; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; }
.exr-d { margin: 0; color: var(--ink-2); }
.exr-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.exr-f h5 { margin: 0 0 4px; font-size: .95rem; font-weight: 600; color: var(--teal); }
.exr-f p { margin: 0; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 900px) { .exr { grid-template-columns: 1fr; } .exr--flip .exr-pic { order: 0; } }
@media (max-width: 560px) { .exr-facts { grid-template-columns: 1fr; } }
.ov-t { margin: 6px 0 10px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; }
.ov-d { color: var(--ink-2); max-width: 62ch; }
.ov-pts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.ov-pts li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); }
.ov-pts li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--teal); flex: none; transform: translateY(-1px); }
.ov-rel { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; }
.ov-rel span { color: var(--steel-2); }
.ov-rel a { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; transition: border-color .2s, color .2s; }
.ov-rel a:hover { border-color: var(--teal); color: var(--teal); }
.ov-more { margin-top: 22px; }
.ov-step { display: none; }
@media (min-width: 1024px) {
  .ov.is-tabs .ov-chips { display: none; }
  /* Tabs as a segmented track (Salman, 2026-11-02: the selected tab must stand out more) */
  /* stays in view while the industry is read (Salman, 2026-11-02) */
  .ov.is-tabs .ov-tabs { position: sticky; top: calc(var(--hdr-cur, 64px) + 10px); z-index: 6; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 40px; padding: 6px;
    background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgb(20 23 26 / .04); }
  .ov-tabs::-webkit-scrollbar { display: none; }
  .ov-tabs button { flex: 0 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: none; border: 0; border-radius: 10px;
    padding: 12px 18px; cursor: pointer; font: inherit; font-weight: 500; font-size: .95rem; color: var(--ink-2); white-space: nowrap; position: relative;
    transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
  .ov-tab-ico { display: inline-flex; color: var(--steel-3); transition: color .25s; }
  .ov-tabs button:hover { background: var(--paper); color: var(--ink); }
  .ov-tabs button:hover .ov-tab-ico { color: var(--teal); }
  .ov-tabs button[aria-selected="true"] { background: var(--teal); color: var(--white); font-weight: 600; box-shadow: 0 6px 16px -6px rgb(15 118 110 / .55); }
  .ov-tabs button[aria-selected="true"] .ov-tab-ico { color: var(--amber); }
  .ov-tabs button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
  .ov-item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
  .ov.is-tabs .ov-item:not(.is-on) { display: none; }
  .ov.is-tabs .ov-item.is-on { animation: ov-in .45s var(--ease); }
  .ov.is-tabs .ov-step { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
  .ov-step button { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; color: var(--teal); padding: 4px 0; }
  .ov-step button[data-step="-1"] .i { transform: scaleX(-1); }
  [dir="rtl"] .ov-step button[data-step="-1"] .i { transform: none; }
  [dir="rtl"] .ov-step button[data-step="1"] .i { transform: scaleX(-1); }
}
@keyframes ov-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* samples slider at the end of group 1 pages */
.ov-samples { padding-top: 0; }
.ov-samples-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; border-top: 1px solid var(--line); padding-top: clamp(40px, 5vw, 64px); }
.ov-samples-head h2 { margin: 6px 0 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.slide-btns { display: flex; gap: 8px; }
.slide-btns .icon-btn { border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.slide-btns [data-slide="-1"] .i { transform: scaleX(-1); }
[dir="rtl"] .slide-btns [data-slide="-1"] .i { transform: none; }
[dir="rtl"] .slide-btns [data-slide="1"] .i { transform: scaleX(-1); }
.item-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 2 * 20px) / 3)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.item-rail::-webkit-scrollbar { display: none; }
.item-rail > * { scroll-snap-align: start; }
@media (max-width: 640px) { .item-rail { grid-auto-columns: 82%; } .slide-btns { display: none; } }

/* ===== Group 2 lists (products P04, projects P15): cards + filters ===== */
.flt { display: grid; gap: 10px; margin-bottom: 20px; }
.flt-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.flt-row .mono-label { min-width: 84px; }
.fchip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; font: inherit; font-size: .9rem; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.fchip:hover { border-color: var(--ink-2); }
.fchip[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.flt-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: .9rem; color: var(--steel-2); margin-bottom: 18px; }
.flt-legend { display: inline-flex; align-items: center; gap: 8px; }
.flt-legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--teal); }
.flt-empty { padding: 28px; text-align: center; color: var(--steel-2); background: var(--white); border: 1px dashed var(--line); border-radius: 14px; }
.icards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.icard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); position: relative; scroll-margin-top: calc(var(--hdr-cur, 64px) + 20px); }
.icard[hidden] { display: none; }
.icard-pic { position: relative; display: block; aspect-ratio: 8 / 5; background: #E4E8E7; }
.icard-pic picture, .icard-pic img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.icard-badge { position: absolute; top: 12px; inset-inline-start: 12px; background: var(--teal); color: var(--white); font-size: .76rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.icard-b { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.icard-t { font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.icard-d { color: var(--ink-2); font-size: .94rem; }
.icard-f { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.icard-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.icard .tag { font-size: .76rem; color: var(--steel-2); background: #E8EBEA; padding: 3px 9px; border-radius: 999px; }
.icard-more { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 600; font-size: .92rem; }
.icard-more .i { transition: transform .25s var(--ease); }
[dir="rtl"] .icard-more .i { transform: scaleX(-1); }
.icard--page { border-color: rgb(15 118 110 / .45); box-shadow: 0 0 0 1px rgb(15 118 110 / .15); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.icard--page:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 20px 36px -22px rgb(15 118 110 / .6); }
.icard--page:hover .icard-more .i { transform: translateX(3px); }
[dir="rtl"] .icard--page:hover .icard-more .i { transform: scaleX(-1) translateX(3px); }
.icard.is-flash { animation: icard-flash 1.6s var(--ease); }
@keyframes icard-flash { 0%, 40% { box-shadow: 0 0 0 3px var(--teal-2); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 640px) { .flt-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) / -2); padding-inline: calc(var(--gutter) / 2); } .flt-row .fchip { flex: none; } .flt-row .mono-label { min-width: 0; flex: none; } }
@media (prefers-reduced-motion: reduce) { .ov.is-tabs .ov-item.is-on, .icard.is-flash { animation: none; } }

/* Salman, 2026-11-07: the examples must stand apart from the service text: a full-width soft teal-grey band (not dark), each example on a white panel. */
.ov-example { margin-top: clamp(24px, 4vw, 48px); padding: clamp(36px, 5vw, 60px) 0; border-top: 0; background: #E3EBEA;
  box-shadow: 0 0 0 100vmax #E3EBEA; clip-path: inset(0 -100vmax); }
.ov-example-head { display: grid; gap: 6px; padding-bottom: clamp(14px, 2vw, 22px); }
.ov-example-head .mono-label { color: var(--teal); }
.ov-example-t { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.ov-example .exr { background: var(--white, #fff); border-radius: 18px; padding: clamp(16px, 2.4vw, 28px); box-shadow: 0 10px 30px rgb(20 40 40 / .07); }
.ov-example .exr-list { gap: clamp(18px, 2.5vw, 28px); }

/* B21 · Project record on the Projects page (Salman, 2026-11-07): one line per project with its date. */
.prj-rec-head { display: grid; gap: 6px; margin-bottom: clamp(18px, 3vw, 32px); max-width: 760px; }
.prj-rec-head h2 { margin: 0; }
.prj-rec-intro { margin: 4px 0 0; color: var(--ink-2); }
.prj-rec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); columns: 2 520px; column-gap: clamp(28px, 4vw, 56px); }
.prj-rec-list li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.prj-rec-date { font-family: var(--mono); font-size: .86rem; color: var(--teal); white-space: nowrap; }
.prj-rec-t { color: var(--ink); line-height: 1.55; }
@media (max-width: 560px) { .prj-rec-list li { grid-template-columns: 1fr; gap: 2px; } }
