/* ==========================================================================
   MAPSA Group — v4 “Strata” layer
   Built on the MAPSA mark: three slanted amber bars become the system —
   parallelogram buttons, bar labels, cut-corner cards and stripe accents.
   Archivo (condensed headings), deep navy, amber, live hologram scenes.
   Loaded after main.css and overrides its tokens.
   ========================================================================== */

:root {
	--navy-950: #070b12;
	--navy-900: #0c121c;
	--navy-800: #131b28;
	--navy-700: #1c2738;
	--navy-600: #2a3850;
	--holo-900: #01050c;
	--holo-800: #041224;
	--holo-600: #0b2d52;
	--ink: #0c121c;
	--text: #1d2430;
	--muted: #687384;
	--grey-25: #fafbfc;
	--grey-50: #f3f5f8;
	--grey-100: #e9edf2;
	--line: #e3e7ed;
	--line-strong: #cdd4de;
	--amber-700: #b06c00;
	--r: 0px;
	--r-lg: 0px;
	--cut: 22px;
	--f-latin: "Archivo", "Vazirmatn", system-ui, -apple-system, "Segoe UI", sans-serif;
	--util-h: 34px;
	--bar-h: 84px;
	--shadow-soft: 0 10px 30px -18px rgba(12, 18, 28, .25);
	--shadow: 0 26px 50px -26px rgba(12, 18, 28, .45);
}

body:not(.rtl) { font-family: var(--f-latin); line-height: 1.7; }
h1, h2, h3, h4, h5 { color: var(--ink); }
body:not(.rtl) h1, body:not(.rtl) h2, body:not(.rtl) h3 { font-stretch: 84%; letter-spacing: -.005em; line-height: 1.08; }
.lang-en .page-title, .lang-en .h-1, .lang-en .x-title, .lang-en .block-title, .lang-en .footer-cta h2, .lang-en .section-title { text-transform: uppercase; }
a:hover { color: var(--amber-700); }
.bg-soft { background: var(--grey-50); }
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }

/* Bars motif & section heads -------------------------------------------- */
.bars { display: inline-flex; flex-direction: column; gap: 2px; width: 22px; flex: none; }
.bars b { display: block; height: 3px; background: var(--amber); transform: skewX(-24deg); }
.bars b:nth-child(1) { width: 100%; }
.bars b:nth-child(2) { width: 82%; margin-inline-start: 2px; }
.bars b:nth-child(3) { width: 64%; margin-inline-start: 4px; }
.x-label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-700); }
.on-dark .x-label, .who2 .x-label, .tech-sec .x-label { color: var(--amber); }
.eyebrow::before { width: 22px; height: 9px; background: linear-gradient(var(--amber) 0 3px, transparent 3px 5px, var(--amber) 5px 7px, transparent 7px); transform: skewX(-24deg); }
.x-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.x-title { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 800; margin: 0; }
.x-head-aside p { margin: 0; color: var(--muted); font-size: 1.04rem; max-width: 560px; }
.x-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }

/* Buttons --------------------------------------------------------------- */
.btn { border-radius: 0; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .86rem; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding: 0 32px; }
.btn-skew { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 34px; background: var(--amber); color: var(--ink); font-weight: 800; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); isolation: isolate; overflow: hidden; transition: color .35s var(--ease); }
.btn-skew::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateX(-102%) skewX(-24deg); transform-origin: left; transition: transform .5s var(--ease-out); width: 130%; left: -15%; }
.btn-skew:hover { color: #fff; }
.btn-skew:hover::before { transform: translateX(0) skewX(-24deg); }
.btn-skew .icon { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn-skew:hover .icon-arrow { transform: translateX(4px); }
.btn-skew-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); clip-path: none; padding: 0 28px; }
.btn-skew-line::before { transform: translateX(-102%); width: 100%; left: 0; }
.btn-skew-line:hover::before { transform: none; }
.btn-skew-light { background: rgba(255, 255, 255, .1); color: #fff; backdrop-filter: blur(6px); }
.btn-skew-light::before { background: #fff; }
.btn-skew-light:hover { color: var(--ink); }
.btn-skew-sm { height: 42px; padding: 0 26px; font-size: .76rem; }
.on-dark .btn-skew-line, .tech-sec .btn-skew-line { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }

/* Header ---------------------------------------------------------------- */
.utility { background: var(--navy-950); }
.mainbar { border-bottom: 1px solid var(--line); transition: background .35s var(--ease), border-color .35s, height .35s var(--ease); }
.mainbar-inner { gap: 28px; }
.brand img { height: 46px; transition: height .35s var(--ease); }
.primary-nav { justify-content: center; }
.primary-nav > .menu > li > a { padding: 0 14px; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); font-stretch: 92%; }
.rtl .primary-nav > .menu > li > a { font-size: .95rem; letter-spacing: 0; text-transform: none; }
.primary-nav > .menu > li > a::after { inset-inline: 14px; bottom: 0; height: 3px; transform: scaleX(0) skewX(-24deg); }
.primary-nav > .menu > li:hover > a::after, .primary-nav > .menu > li.is-open > a::after, .primary-nav > .menu > li.current-menu-item > a::after, .primary-nav > .menu > li.current-menu-ancestor > a::after { transform: scaleX(1) skewX(-24deg); }
.primary-nav .sub-menu { border-top: 3px solid var(--amber); }
.bar-actions { gap: 10px; }
.search-toggle { width: 42px; height: 42px; border-radius: 0; border: 1px solid var(--line); }
.search-toggle:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.site-header.is-scrolled .mainbar { height: 70px; }
.site-header.is-scrolled .brand img { height: 40px; }
.search-panel { background: var(--navy-900); }

/* Floating header over the home hero */
.is-overlay .site-main { padding-top: 0; }
.is-overlay .site-header:not(.is-scrolled) .mainbar { background: transparent; border-bottom-color: rgba(255, 255, 255, .14); }
.is-overlay .site-header:not(.is-scrolled) .utility { background: rgba(1, 5, 12, .55); backdrop-filter: blur(6px); }
.is-overlay .site-header:not(.is-scrolled) .brand .brand-light { display: block; }
.is-overlay .site-header:not(.is-scrolled) .brand .brand-dark { display: none; }
.is-overlay .site-header:not(.is-scrolled) .primary-nav > .menu > li > a { color: #fff; }
.is-overlay .site-header:not(.is-scrolled) .icon-btn { color: #fff; border-color: rgba(255, 255, 255, .25); }
.is-overlay .site-header:not(.is-scrolled) .search-toggle:hover { color: var(--ink); }
.is-overlay .site-header { background: transparent; }
.is-overlay .site-header.is-scrolled { background: #fff; }
.is-overlay.nav-open .site-header .mainbar { background: #fff; }


/* Our business — expanding panels -------------------------------------- */
.panels { display: flex; gap: 6px; height: clamp(440px, 52vw, 580px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--navy-800); color: #fff; isolation: isolate; transition: flex-grow .7s var(--ease-out); cursor: pointer; }
.panel.is-active { flex-grow: 4.2; cursor: default; }
.panel-bg { position: absolute; inset: 0; z-index: -2; }
.panel-bg .media, .panel-bg img { width: 100%; height: 100%; object-fit: cover; }
.panel-bg img { transform: scale(1.08); transition: transform 1.2s var(--ease-out), filter .6s; filter: grayscale(.6) brightness(.75); }
.panel.is-active .panel-bg img { transform: scale(1); filter: none; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 18, .35), rgba(7, 11, 18, .92) 78%); transition: background .6s; }
.panel.is-active::after { background: linear-gradient(180deg, rgba(7, 11, 18, .05) 20%, rgba(7, 11, 18, .9) 82%); }
.panel-num { position: absolute; top: 22px; inset-inline-start: 22px; font-weight: 800; font-size: .9rem; color: var(--amber); letter-spacing: .06em; }
.panel-icon { position: absolute; top: 18px; inset-inline-end: 18px; width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: background .3s; }
.panel.is-active .panel-icon { background: var(--amber); color: var(--ink); }
.panel-icon .icon { width: 20px; height: 20px; }
.panel-vtitle { position: absolute; bottom: 28px; inset-inline-start: 50%; margin: 0; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; color: #fff; font-size: 1.05rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s; max-height: 78%; overflow: hidden; text-overflow: ellipsis; }
.rtl .panel-vtitle { transform: translateX(50%) rotate(180deg); letter-spacing: 0; text-transform: none; }
.panel.is-active .panel-vtitle { opacity: 0; }
.panel-body { position: absolute; inset: auto 0 0; padding: 30px; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .6s var(--ease-out); pointer-events: none; }
.panel.is-active .panel-body { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.panel-body h3 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 2rem); text-transform: uppercase; margin-bottom: 10px; max-width: 460px; }
.rtl .panel-body h3 { text-transform: none; }
.panel-body p { color: rgba(255, 255, 255, .78); font-size: .95rem; max-width: 460px; margin-bottom: 16px; }
.panel-more { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.panel-more .icon { width: 18px; height: 18px; }
.panel-link { position: absolute; inset: 0; z-index: 3; }
.panel:not(.is-active) .panel-link { pointer-events: none; }
.panel .media-ph { background: linear-gradient(160deg, var(--navy-600), var(--navy-900)); }

/* Group companies — logo bar ------------------------------------------- */
.group2 { border-bottom: 1px solid var(--line); }
.group2-row { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 3fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.group2-intro h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); text-transform: uppercase; margin-bottom: 10px; }
.rtl .group2-intro h2 { text-transform: none; }
.group2-intro .x-label { margin-bottom: 10px; }
.group2-logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-inline-start: 1px solid var(--line); }
.group2-logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px 14px; border-inline-end: 1px solid var(--line); text-align: center; transition: background .3s; }
.group2-logo:hover { background: var(--grey-50); color: inherit; }
.group2-img { height: 72px; display: grid; place-items: center; }
.group2-img img { max-height: 72px; max-width: 130px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s, transform .4s var(--ease-out); }
.group2-logo:hover .group2-img img { filter: none; opacity: 1; transform: scale(1.06); }
.group2-img b { font-weight: 800; letter-spacing: .1em; color: var(--ink); }
.group2-name { font-size: .82rem; font-weight: 700; color: var(--ink); }

/* Commitment — sticky photo + numbered list ---------------------------- */
.pledge2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pledge2-media { position: relative; aspect-ratio: 4 / 5; max-height: 640px; }
.pledge2-fig { position: absolute; inset: 0; margin: 0; overflow: hidden; opacity: 0; transition: opacity .7s var(--ease); clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 46px, 100% 100%, 0 100%); }
.rtl .pledge2-fig { clip-path: polygon(0 46px, 46px 0, 100% 0, 100% 100%, 0 100%); }
.pledge2-fig.is-on { opacity: 1; }
.pledge2-fig img, .pledge2-fig .media { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.pledge2-fig.is-on img { transform: none; }
.pledge2-stripes { position: absolute; bottom: -18px; inset-inline-end: -18px; display: flex; flex-direction: column; gap: 6px; width: 140px; z-index: 2; }
.pledge2-stripes b, .intro-stripes b { display: block; height: 14px; background: var(--amber); transform: skewX(-24deg); }
.pledge2-stripes b:nth-child(2) { width: 82%; margin-inline-start: 12px; }
.pledge2-stripes b:nth-child(3) { width: 64%; margin-inline-start: 24px; }
.pledge2-body .x-head { grid-template-columns: 1fr; margin-bottom: 30px; }
.pledge2-list { display: grid; border-top: 1px solid var(--line-strong); }
.pledge2-item { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr) 46px; gap: 18px; align-items: start; padding: 26px 8px 26px 0; border-bottom: 1px solid var(--line-strong); transition: padding .4s var(--ease-out); }
.pledge2-item::before { content: ""; position: absolute; top: -1px; inset-inline-start: 0; width: 100%; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.rtl .pledge2-item::before { transform-origin: right; }
.pledge2-item.is-on::before, .pledge2-item:hover::before { transform: scaleX(1); }
.pledge2-item:hover { color: inherit; }
.pledge2-no { font-weight: 800; font-size: 1.6rem; font-stretch: 80%; color: var(--line-strong); line-height: 1; transition: color .3s; }
.pledge2-item.is-on .pledge2-no { color: var(--amber); }
.pledge2-text strong { display: block; font-size: 1.15rem; text-transform: uppercase; font-stretch: 88%; color: var(--ink); margin-bottom: 6px; }
.rtl .pledge2-text strong { text-transform: none; }
.pledge2-text span { color: var(--muted); font-size: .95rem; }
.pledge2-ic { width: 46px; height: 46px; display: grid; place-items: center; background: var(--ink); color: var(--amber); clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); transition: background .3s, color .3s; }
.pledge2-item.is-on .pledge2-ic { background: var(--amber); color: var(--ink); }
.pledge2-ic .icon { width: 22px; height: 22px; }

/* Case studies (restyle) ------------------------------------------------ */
.case-slide { background: var(--navy-900); clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 46px, 100% 100%, 0 100%); }
.case-slide-body { color: #a9b4c4; }
.case-meta dt { color: var(--amber); }
.case-tabs button { border-radius: 0; transform: skewX(-24deg); }
.track-nav button { border-radius: 0; }

/* Who we are — statement band ------------------------------------------ */
.who2 { position: relative; color: #fff; padding: clamp(90px, 10vw, 150px) 0 clamp(60px, 6vw, 90px); background: var(--navy-950) var(--who-bg, none) center / cover no-repeat; background-attachment: fixed; overflow: hidden; isolation: isolate; }
.who2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 11, 18, .78), rgba(7, 11, 18, .55) 45%, rgba(7, 11, 18, .92)); }
.who2 > .holo { z-index: -2; }
.who2-top { max-width: 1020px; }
.who2-statement { color: #fff; font-size: clamp(1.7rem, 3.4vw, 3rem); font-weight: 600; line-height: 1.25 !important; font-stretch: 90%; margin: 0 0 clamp(56px, 7vw, 100px); }
.rtl .who2-statement { line-height: 1.7 !important; font-weight: 700; }
.who2-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(255, 255, 255, .12); border-top: 1px solid rgba(255, 255, 255, .12); }
.who2-tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 30px 30px 34px; background: rgba(7, 11, 18, .6); backdrop-filter: blur(6px); color: #fff; transition: background .35s; }
.who2-tile:hover { background: rgba(255, 170, 6, .92); color: var(--ink); }
.who2-ic { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 12px; color: var(--amber); border: 1px solid rgba(255, 255, 255, .25); transition: color .3s, border-color .3s; }
.who2-tile:hover .who2-ic { color: var(--ink); border-color: var(--ink); }
.who2-ic .icon { width: 22px; height: 22px; }
.who2-tile strong { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; }
.rtl .who2-tile strong { text-transform: none; letter-spacing: 0; }
.who2-tile > span:not(.who2-ic) { font-size: .93rem; opacity: .8; }
.who2-arrow { position: absolute; top: 30px; inset-inline-end: 28px; width: 22px; height: 22px; transition: transform .35s var(--ease-out); }
.who2-tile:hover .who2-arrow { transform: translateX(5px); }

/* Technology (restyle) -------------------------------------------------- */
.tech-sec { background: radial-gradient(90% 90% at 80% 0%, #0b2d52 0%, #031022 45%, var(--holo-900) 100%); color: #aab8c8; overflow: hidden; isolation: isolate; }
.tech-sec .tech-bg { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.tech-sec h2, .tech-sec h3 { color: #fff; }
.tech-sec .eyebrow { color: var(--amber); }
.tech-sec .lead { color: #a8b7c6; }
.tech-tablist button { border-radius: 0; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.tech-tablist button[aria-selected="true"] { clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
.tech-screen { border-radius: 0; }
.tech-sec .link-arrow { color: #fff; }

/* Key figures — outlined numbers ---------------------------------------- */
.figs2 { background: var(--grey-50); }
.figs2-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.figs2-head p { color: var(--muted); margin: 16px 0 26px; max-width: 420px; }
.figs2-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.fig2 { background: #fff; padding: 30px 26px 26px; display: flex; flex-direction: column; justify-content: space-between; min-height: 170px; transition: background .3s; }
.fig2:hover { background: var(--ink); }
.fig2-val { display: flex; align-items: baseline; gap: 6px; direction: ltr; }
.rtl .fig2-val { justify-content: flex-end; }
.fig2-val b { font-size: clamp(2.6rem, 4.2vw, 3.8rem); font-weight: 800; font-stretch: 78%; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: -webkit-text-stroke-color .3s, color .3s; }
.fig2:hover .fig2-val b { color: var(--amber); -webkit-text-stroke-color: var(--amber); }
.fig2-val i { font-style: normal; font-weight: 800; color: var(--amber-700); font-size: 1rem; }
.fig2 > span { margin-top: 18px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rtl .fig2 > span { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.fig2:hover > span { color: rgba(255, 255, 255, .75); }

/* News carousel --------------------------------------------------------- */
.news2-wrap { overflow: visible; }
.news2-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 3.4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.news2-track::-webkit-scrollbar { display: none; }
.news2-card { scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease-out); }
.news2-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.news2-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.news2-media img, .news2-media .media { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.news2-card:hover .news2-media img { transform: scale(1.06); }
.news2-media time { position: absolute; bottom: 0; inset-inline-start: 0; padding: 7px 18px 7px 14px; background: var(--amber); color: var(--ink); font-size: .74rem; font-weight: 800; letter-spacing: .06em; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.news2-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news2-body h3 { font-size: 1.12rem; line-height: 1.35 !important; margin-bottom: 10px; font-stretch: 92%; }
.news2-body p { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.news2-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.rtl .news2-more { letter-spacing: 0; }
.news2-more .icon { width: 16px; height: 16px; color: var(--amber-700); }
/* Intro screen ------------------------------------------------------------ */
.intro-screen { display: none; }
.is-intro body { overflow: hidden; }
.is-intro .intro-screen { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.intro-panel { position: absolute; top: 0; bottom: 0; width: 50.5%; background: #0b0c0e; transition: transform 1s cubic-bezier(.76, 0, .24, 1); }
.intro-panel:first-of-type { left: 0; }
.intro-panel:last-of-type { right: 0; }
.intro-out .intro-panel:first-of-type { transform: translateX(-101%); }
.intro-out .intro-panel:last-of-type { transform: translateX(101%); }
.intro-mark { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; transition: opacity .5s var(--ease), transform .8s var(--ease-out); }
.intro-out .intro-mark { opacity: 0; transform: scale(.92); }
.intro-svg { width: 150px; height: auto; overflow: visible; }
.mark-svg path { vector-effect: non-scaling-stroke; }
.intro-svg path { fill: transparent; stroke: #fff; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: markDraw 1.2s var(--ease-out) forwards, markFill .7s ease forwards; }
.intro-svg .m-cap { animation-delay: 0s, 1.15s; --fill: #e9e5e2; }
.intro-svg .m-bar { stroke: var(--amber); --fill: var(--amber); }
.intro-svg .m-bar:nth-child(3) { animation-delay: .15s, 1.2s; }
.intro-svg .m-bar:nth-child(4) { animation-delay: .3s, 1.28s; }
.intro-svg .m-bar:nth-child(5) { animation-delay: .45s, 1.36s; }
@keyframes markDraw { to { stroke-dashoffset: 0; } }
@keyframes markFill { to { fill: var(--fill); } }
.intro-word { display: flex; gap: 14px; overflow: hidden; font-family: var(--f-latin); font-size: 1.9rem; font-weight: 500; letter-spacing: .28em; color: #fff; }
.intro-word span { display: block; transform: translateY(110%); animation: riseIn .8s var(--ease-out) forwards; animation-delay: 1.35s; }
.intro-word span + span { animation-delay: 1.5s; color: var(--amber); }
.intro-since { font-family: var(--f-latin); font-size: .78rem; letter-spacing: .5em; text-transform: uppercase; color: rgba(255, 255, 255, .55); opacity: 0; animation: fadeIn .8s ease forwards 1.75s; }
@keyframes riseIn { to { transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
/* Scroll animations ------------------------------------------------------- */
.js [data-aos] { opacity: 0; transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); will-change: transform, opacity; }
.js [data-aos="fade-up"] { transform: translateY(44px); }
.js [data-aos="fade-left"] { transform: translateX(44px); }
.js [data-aos="fade-right"] { transform: translateX(-44px); }
.js [data-aos="zoom-out"] { transform: scale(1.14); }
.js [data-aos="flip-left"] { transform: perspective(1400px) rotateY(-60deg); transform-origin: left center; }
.js [data-aos="flip-up"] { transform: perspective(1400px) rotateX(-70deg); transform-origin: center bottom; }
.js [data-aos].aos-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-aos] { opacity: 1; transform: none; } .intro-screen { display: none !important; } }
/* Clients marquee --------------------------------------------------------- */
.clientsx { background: var(--grey-50); overflow: hidden; }
.clientsx .c-head { margin-bottom: 36px; }
.marquee-wrap { display: grid; gap: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee { overflow: hidden; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 55s linear infinite; }
.marquee.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 65s; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: marqueeRtl; }
@keyframes marqueeRtl { to { transform: translateX(50%); } }
.client-chip { display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px 14px 16px; background: #fff; border-radius: 60px; box-shadow: var(--shadow-soft); white-space: nowrap; }
.client-chip strong { display: block; font-size: .98rem; color: #121417; }
.client-chip small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chip-mark { width: 34px; height: auto; flex: none; }
.chip-mark path { fill: #ecebe9; stroke: #6b6664; stroke-width: 1; }
.chip-mark .m-bar { fill: var(--amber); }
.client-chip.is-logo { padding: 12px 28px; }
.client-chip.is-logo img { max-height: 46px; width: auto; filter: grayscale(1); opacity: .75; }

/* Clients marquee — square chips */
.clientsx .x-head { margin-bottom: 30px; }
.client-chip { border-radius: 0; box-shadow: none; border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }

/* Inner pages ------------------------------------------------------------ */
.page-hero { background: var(--holo-900); }
.page-hero:not(.has-media) .page-hero-bg { background: radial-gradient(90% 120% at 85% 0%, var(--holo-600), var(--holo-900) 65%); }
.page-hero.has-media .page-hero-bg::after { background: linear-gradient(90deg, rgba(7, 11, 18, .9), rgba(7, 11, 18, .5) 60%, rgba(7, 11, 18, .2)); }
.page-hero::after { content: ""; position: absolute; bottom: 0; inset-inline-start: var(--gutter); width: 120px; height: 8px; background: var(--amber); transform: skewX(-24deg); }
.page-title { font-weight: 800; }
.service-card, .product-card { border: 1px solid var(--line); box-shadow: none; transition: border-color .3s, transform .4s var(--ease-out); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.service-card:hover, .product-card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: none; }
.project-card, .unit-row-media .media, .feature-media .media { clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%); }
.unit-list { background: none; gap: 20px; }
.form-card { border-top: 3px solid var(--amber); box-shadow: var(--shadow-soft); }
.chip span, .tag-links a, .industry, .member-list li, .tag { border-radius: 0; }
.tag { clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); padding: 3px 14px; }
.pagination .page-numbers, .icon-btn, .to-top, .socials a { border-radius: 0; }
.case-solution, .bg-navy, .side-card-navy, .portal-side, .verify-box, .side-cta, .market { background: var(--navy-900); }
.side-nav nav a:hover, .side-nav nav a.is-active { border-inline-start-color: var(--amber); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: #8e9aab; }
.footer-cta { position: relative; background: var(--amber); overflow: hidden; }
.footer-cta::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-end: -40px; width: 340px; background: repeating-linear-gradient(-66deg, rgba(12, 18, 28, .1) 0 18px, transparent 18px 34px); }
.footer-cta-inner { position: relative; }
.footer-cta .btn-navy { background: var(--ink); }
.footer-accred span { border-radius: 0; }
.footer-bottom { justify-content: space-between; }
.footer-bottom .credit { order: 9; flex-basis: 100%; margin: 6px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .06); text-align: center; }
.credit a { color: #fff; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1280px) {
	.primary-nav > .menu > li > a { padding: 0 10px; font-size: .76rem; letter-spacing: .05em; }
}
@media (max-width: 1120px) {
	:root { --bar-h: 70px; }
	.primary-nav > .menu > li > a { color: #fff !important; font-size: 1.05rem; padding: 18px 0; }
	.is-overlay .site-header:not(.is-scrolled) .nav-toggle { color: #fff; }
	.x-head, .pledge2-grid, .figs2-grid, .group2-row { grid-template-columns: 1fr; }
	.panels { height: auto; flex-direction: column; }
	.panel { flex: none; height: 92px; transition: height .6s var(--ease-out); }
	.panel.is-active { height: 380px; }
	.panel-vtitle { writing-mode: horizontal-tb; transform: none; bottom: auto; top: 28px; inset-inline-start: 70px; font-size: 1rem; }
	.rtl .panel-vtitle { transform: none; }
	.group2-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); border: 0; gap: 1px; background: var(--line); }
	.group2-logo { background: #fff; border: 0; }
	.pledge2-media { aspect-ratio: 16 / 10; max-height: none; }
	.news2-track { grid-auto-columns: 46%; }
}
@media (max-width: 860px) {
	.who2-tiles { grid-template-columns: 1fr; }
	.figs2-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.who2 { background-attachment: scroll; }
}
@media (max-width: 640px) {
	.group2-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.news2-track { grid-auto-columns: 84%; }
	.pledge2-item { grid-template-columns: 40px minmax(0, 1fr); }
	.pledge2-ic { display: none; }
	.x-title { font-size: 2rem; }
	.intro-svg { width: 110px; }
	.intro-word { font-size: 1.4rem; }
}

/* RTL (Persian) ---------------------------------------------------------- */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
.rtl .x-title, .rtl .who2-statement, .rtl .page-title, .rtl .h-1, .rtl .block-title, .rtl .group2-intro h2, .rtl .section-title { font-family: var(--f-sans); text-transform: none; letter-spacing: 0; }
.rtl .x-title { line-height: 1.45; }
.rtl .x-label, .rtl .panel-more { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.rtl .btn-skew { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.rtl .btn-skew::before { transform: translateX(102%) skewX(24deg); left: auto; right: -15%; }
.rtl .btn-skew:hover::before { transform: translateX(0) skewX(24deg); }
.rtl .btn-skew-line::before { transform: translateX(102%); right: 0; }
.rtl .btn-skew-line:hover::before { transform: none; }
.rtl .btn-skew:hover .icon-arrow { transform: scaleX(-1) translateX(4px); }
.rtl .who2-tile:hover .who2-arrow { transform: scaleX(-1) translateX(5px); }
.rtl .who2-arrow { transform: scaleX(-1); }
.rtl .bars b, .rtl .pledge2-stripes b, .rtl .intro-stripes b { transform: skewX(24deg); }
.rtl .case-slide { clip-path: polygon(0 46px, 46px 0, 100% 0, 100% 100%, 0 100%); }
.rtl .service-card, .rtl .product-card { clip-path: polygon(0 var(--cut), var(--cut) 0, 100% 0, 100% 100%, 0 100%); }
.rtl .news2-media time { clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%); }
.rtl .fig2-val { direction: ltr; }
.rtl .intro-word { direction: ltr; }
/* Missing layout helpers ------------------------------------------------ */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-media-link { display: block; }
.product-card .product-media { aspect-ratio: 4 / 3; }
.product-card .product-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.section-paper { background: var(--grey-50); }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 12px; }
.lang-en .section-title { text-transform: uppercase; }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 720px; }
.stats-inline { border-top: 0; padding-top: 0; }
@media (max-width: 1120px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .product-grid { grid-template-columns: 1fr; } }

/* v4 fixes */
.primary-nav > .menu > li > a { white-space: nowrap; }
.fig2:last-child:nth-child(3n+2) { grid-column: span 2; }
.fig2:last-child:nth-child(3n+1) { grid-column: span 3; }
@media (max-width: 1440px) {
	.primary-nav > .menu > li > a { padding: 0 10px; font-size: .76rem; letter-spacing: .05em; }
	.mainbar-inner { gap: 18px; }
}
@media (max-width: 1300px) { .bar-actions .btn-skew { display: none; } }
@media (max-width: 860px) { .fig2:last-child:nth-child(3n+2), .fig2:last-child:nth-child(3n+1) { grid-column: auto; } .fig2:last-child:nth-child(odd) { grid-column: span 2; } }
@media (max-width: 1120px) { .panel-vtitle { inset-inline-end: 70px; max-width: none; text-overflow: ellipsis; } }

/* ==========================================================================
   Hero — “Field brief”
   Copy on a dark contour plate, the photo in a framed stage that opens on a
   slant (the angle of the MAPSA bars), a proof figure per chapter and a
   chapter dock with live progress and prev / pause / next.
   ========================================================================== */
.hv { --hv-ink: #0a0f16; --hv-cut: 72px; --hv-slant: 18%; position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding-top: calc(var(--util-h) + var(--bar-h) + clamp(28px, 5vh, 64px)); padding-bottom: clamp(18px, 3vh, 34px); background: var(--hv-ink); color: #fff; overflow: hidden; isolation: isolate; }
.hv-plate { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 80% at 0% 100%, rgba(255, 170, 6, .11), transparent 62%), radial-gradient(50% 60% at 100% 0%, rgba(42, 56, 80, .55), transparent 70%), linear-gradient(180deg, #090e15, #0d141e); }
.rtl .hv-plate { background: radial-gradient(60% 80% at 100% 100%, rgba(255, 170, 6, .11), transparent 62%), radial-gradient(50% 60% at 0% 0%, rgba(42, 56, 80, .55), transparent 70%), linear-gradient(180deg, #090e15, #0d141e); }
.hv-plate::before { content: ""; position: absolute; inset: 0; background: url(../img/contours.svg) center / cover; opacity: .07; }
.hv-plate::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 8.3333%); -webkit-mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); mask: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }
.hv-ghost { position: absolute; bottom: clamp(70px, 12vh, 130px); inset-inline-start: calc(var(--gutter) - .05em); font-family: var(--f-latin); font-size: clamp(9rem, 22vw, 20rem); font-weight: 800; font-stretch: 84%; line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); user-select: none; }
.rtl .hv-ghost { font-family: var(--f-sans); }
.hv-ghost.is-in { animation: hvGhost 1.3s var(--ease-out); }
@keyframes hvGhost { from { opacity: 0; transform: translateY(48px); } }

.hv-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: center; }

/* Copy */
.hv-copy { display: grid; }
.hv-say { grid-area: 1 / 1; visibility: hidden; transition: visibility 0s .5s; }
.hv-say.is-active { visibility: visible; transition: none; }
.hv-say > * { opacity: 0; transform: translateY(-12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hv-say.is-active > * { opacity: 1; transform: none; transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.hv.is-live .hv-say.is-active > * { animation: hvRise .9s var(--ease-out) both; }
.hv.is-live .hv-say.is-active > :nth-child(1) { animation-delay: .25s; }
.hv.is-live .hv-say.is-active > :nth-child(2) { animation-delay: .35s; }
.hv.is-live .hv-say.is-active > :nth-child(3) { animation-delay: .47s; }
.hv.is-live .hv-say.is-active > :nth-child(4) { animation-delay: .59s; }
@keyframes hvRise { from { opacity: 0; transform: translateY(26px); } }
.hv-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.hv-step { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid rgba(255, 170, 6, .5); color: var(--amber); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.hv-step i { margin: 0 5px; font-style: normal; opacity: .5; }
.hv-title { margin: 0 0 22px; color: #fff; font-size: clamp(2.2rem, 3.9vw, 3.9rem); font-weight: 700; line-height: 1.06; letter-spacing: -.018em; }
body:not(.rtl) .hv-title { font-stretch: 92%; }
.hv-text { max-width: 520px; margin: 0 0 32px; color: rgba(255, 255, 255, .72); font-size: 1.04rem; line-height: 1.75; }
.hv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hv-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 2px solid rgba(255, 255, 255, .3); color: #fff; font-size: .84rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: color .3s, border-color .3s, gap .3s var(--ease-out); }
.hv-link:hover { color: var(--amber); border-color: var(--amber); gap: 14px; }
.hv-link .icon { width: 18px; height: 18px; }
.rtl .hv-link .icon { transform: scaleX(-1); }

/* Stage */
.hv-stage-wrap { position: relative; }
.hv-stage-wrap::after { content: ""; position: absolute; top: -18px; inset-inline-end: calc(var(--hv-cut) + 10px); width: 64px; height: 9px; background: linear-gradient(var(--amber) 0 3px, transparent 3px 6px, var(--amber) 6px); transform: skewX(-24deg); }
.rtl .hv-stage-wrap::after { transform: skewX(24deg); }
.hv-stage { position: relative; height: clamp(340px, 58vh, 640px); overflow: hidden; background: #05080d; clip-path: polygon(0 0, calc(100% - var(--hv-cut)) 0, 100% var(--hv-cut), 100% 100%, 0 100%); }
.rtl .hv-stage { clip-path: polygon(0 var(--hv-cut), var(--hv-cut) 0, 100% 0, 100% 100%, 0 100%); }
.hv-frame { position: absolute; inset: 0; z-index: 0; margin: 0; clip-path: polygon(0 0, 0 0, calc(var(--hv-slant) * -1) 100%, calc(var(--hv-slant) * -1) 100%); }
.hv-from-r .hv-frame:not(.is-active):not(.is-prev) { clip-path: polygon(calc(100% + var(--hv-slant)) 0, calc(100% + var(--hv-slant)) 0, 100% 100%, 100% 100%); }
.hv-frame.is-prev, .hv-frame.is-active { clip-path: polygon(0 0, calc(100% + var(--hv-slant)) 0, 100% 100%, calc(var(--hv-slant) * -1) 100%); }
.hv-frame.is-prev { z-index: 1; }
.hv-frame.is-active { z-index: 2; transition: clip-path 1.15s var(--ease-out); }
.hv-frame img, .hv-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 10s linear; }
.hv-frame.is-active img, .hv-frame.is-active video, .hv-frame.is-prev img, .hv-frame.is-prev video { transform: scale(1); }
.hv-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 8, 13, .55), transparent 45%), linear-gradient(90deg, rgba(5, 8, 13, .25), transparent 40%); pointer-events: none; }
.hv-scene { background: radial-gradient(80% 80% at 50% 45%, #0d3a6b 0%, #051a33 50%, var(--holo-900) 100%); }
.hv-scene .holo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-ticks { position: absolute; inset: 18px; z-index: 3; pointer-events: none; opacity: .75; --t: rgba(255, 255, 255, .9); background:
	linear-gradient(var(--t), var(--t)) left top / 18px 1.5px no-repeat, linear-gradient(var(--t), var(--t)) left top / 1.5px 18px no-repeat,
	linear-gradient(var(--t), var(--t)) left bottom / 18px 1.5px no-repeat, linear-gradient(var(--t), var(--t)) left bottom / 1.5px 18px no-repeat,
	linear-gradient(var(--t), var(--t)) right bottom / 18px 1.5px no-repeat, linear-gradient(var(--t), var(--t)) right bottom / 1.5px 18px no-repeat; }
.rtl .hv-ticks { background:
	linear-gradient(var(--t), var(--t)) right top / 18px 1.5px no-repeat, linear-gradient(var(--t), var(--t)) right top / 1.5px 18px no-repeat,
	linear-gradient(var(--t), var(--t)) left bottom / 18px 1.5px no-repeat, linear-gradient(var(--t), var(--t)) left bottom / 1.5px 18px no-repeat,
	linear-gradient(var(--t), var(--t)) right bottom / 18px 1.5px no-repeat, linear-gradient(var(--t), var(--t)) right bottom / 1.5px 18px no-repeat; }

/* Proof figure */
.hv-proofs { position: absolute; z-index: 4; bottom: -26px; inset-inline-start: calc(clamp(16px, 2.5vw, 40px) * -1); }
.hv-proof { position: absolute; bottom: 0; inset-inline-start: 0; display: flex; flex-direction: column; gap: 6px; min-width: 230px; padding: 18px 34px 20px 24px; background: var(--amber); color: var(--ink); white-space: nowrap; clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); opacity: 0; transform: translateY(16px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.rtl .hv-proof { padding: 18px 24px 20px 34px; clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%); }
.hv-proof.is-active { opacity: 1; transform: none; transition: opacity .7s var(--ease-out) .5s, transform .7s var(--ease-out) .5s; }
.hv-proof strong { font-family: var(--f-latin); font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 800; font-stretch: 84%; line-height: 1; unicode-bidi: plaintext; }
.hv-proof span { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .78; }
.rtl .hv-proof strong { font-family: var(--f-sans); font-stretch: normal; }
.rtl .hv-proof span { font-size: .86rem; letter-spacing: 0; text-transform: none; }

/* Chapter dock */
.hv-dock { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 40px); margin-top: clamp(40px, 6vh, 72px); }
.hv-tabs { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
.hv-tab { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 16px 0 4px; padding-inline-end: 18px; border: 0; background: none; color: rgba(255, 255, 255, .5); font: inherit; text-align: start; cursor: pointer; transition: color .3s; }
.hv-tab b { font-size: .8rem; font-weight: 800; font-variant-numeric: tabular-nums; transition: color .3s; }
.hv-tab span { overflow: hidden; font-size: .84rem; font-weight: 600; letter-spacing: .03em; white-space: nowrap; text-overflow: ellipsis; }
.hv-tab:hover, .hv-tab.is-active { color: #fff; }
.hv-tab.is-active b { color: var(--amber); }
.hv-tab:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.hv-meter { position: absolute; top: -1px; inset-inline: 0 18px; height: 2px; }
.hv-meter u { position: absolute; inset: 0; background: var(--amber); transform: scaleX(var(--p, 0)); transform-origin: left center; }
.rtl .hv-meter u { transform-origin: right center; }
.hv-tab.is-done .hv-meter u { background: rgba(255, 255, 255, .4); }
.hv.is-held .hv-tab.is-active .hv-meter u, .hv.is-stopped .hv-tab.is-active .hv-meter u { background: rgba(255, 170, 6, .55); }
.hv-ctrl { display: flex; gap: 8px; }
.hv-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.hv-btn:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.hv-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.hv-btn .icon { width: 18px; height: 18px; }
.hv-btn .hv-flip { transform: scaleX(-1); }
.rtl .hv-btn .icon-arrow { transform: scaleX(-1); }
.rtl .hv-btn .hv-flip { transform: none; }
.hv-ic-play, .hv.is-stopped .hv-ic-pause { display: none; }
.hv.is-stopped .hv-ic-play { display: block; }

/* Persian */
.rtl .hv-title { font-family: var(--f-sans); font-weight: 800; line-height: 1.45; letter-spacing: 0; }
.rtl .hv-kicker, .rtl .hv-link { letter-spacing: 0; text-transform: none; font-size: .92rem; }
.rtl .hv-tab span { letter-spacing: 0; font-size: .92rem; }

@media (max-width: 1120px) {
	.hv-grid { grid-template-columns: 1fr; align-content: start; gap: 48px; }
	.hv-stage-wrap { order: -1; }
	.hv-stage { height: clamp(260px, 48vw, 460px); }
	.hv-ghost { bottom: auto; top: 50%; }
	.hv-text { max-width: 640px; }
}
@media (max-width: 640px) {
	.hv { --hv-cut: 40px; padding-top: calc(var(--util-h) + var(--bar-h) + 34px); }
	.hv-grid { gap: 40px; }
	.hv-stage { height: 62vw; }
	.hv-ticks { inset: 12px; }
	.hv-proofs { bottom: -20px; inset-inline-start: 12px; }
	.hv-proof { min-width: 0; padding: 12px 26px 13px 16px; }
	.rtl .hv-proof { padding: 12px 16px 13px 26px; }
	.hv-proof strong { font-size: 1.4rem; }
	.hv-proof span { font-size: .66rem; }
	.hv-title { font-size: 2.05rem; }
	.hv-text { font-size: .95rem; }
	.hv-tab { padding-inline-end: 10px; }
	.hv-tab span { display: none; }
	.hv-meter { inset-inline-end: 10px; }
	.hv-btn { width: 40px; height: 40px; }
	.hv-ghost { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hv-frame, .hv-frame.is-active, .hv-frame img, .hv-proof, .hv-proof.is-active, .hv-say > *, .hv-say.is-active > * { transition: none !important; }
	.hv.is-live .hv-say.is-active > *, .hv-ghost.is-in { animation: none; }
}
