@font-face {
  font-family: Shabnam;
  src: url('/assets/shabnam-regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Shabnam;
  src: url('/assets/shabnam-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Shabnam;
  src: url('/assets/shabnam-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0b1021;
  --panel: #141e36;
  --paper: #eef0f6;
  --text: #f4f3ee;
  --muted: #b0b7c9;
  --accent: #b4c2ff;
  --line: #303c58;
  --gutter: clamp(1.15rem, 5.4vw, 6rem);
  font-family: Manrope, system-ui, sans-serif;
}

:lang(fa) { font-family: Shabnam, Manrope, system-ui, sans-serif; }
:lang(en) { font-family: Manrope, system-ui, sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--text); line-height: 1.65; }
body:lang(fa) { line-height: 1.9; font-weight: 400; font-synthesis: none; text-align: right; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body:lang(fa) :is(h1,h2,h3,h4) { letter-spacing: 0; }
bdi[lang=en], output[dir=ltr] { unicode-bidi: isolate; }
h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
[id] { scroll-margin-block-start: 7rem; }
.wrap { width: min(100% - 2 * var(--gutter), 88rem); margin-inline: auto; }
.skip { position: fixed; z-index: 4; inset-block-start: .55rem; inset-inline-start: .7rem; transform: translateY(-160%); background: var(--accent); color: var(--ink); padding: .5rem .8rem; }
.skip:focus { transform: none; }

.header { position: sticky; inset-block-start: 0; z-index: 3; background: #0b1021f5; border-block-end: 1px solid #303c58; }
.header-row { min-height: 4.75rem; display: flex; align-items: center; gap: clamp(.7rem, 2.3vw, 2rem); }
.identity { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; line-height: 1.1; flex-shrink: 0; }
.identity-mark { flex: 0 0 auto; width: 2.375rem; height: 2.375rem; }
.wordmark { font-size: 1.35rem; font-weight: 700; letter-spacing: -.035em; white-space: nowrap; }
.wordmark > span { color: #c1cbe9; font-weight: 500; }
[dir=rtl] .wordmark { font-size: 1.4rem; font-weight: 700; letter-spacing: normal; }
[dir=rtl] .wordmark > span { font-weight: 500; }
.identity:hover .wordmark { color: var(--accent); }
.header nav { display: flex; gap: clamp(.8rem, 2.1vw, 2rem); align-items: center; margin-inline-start: auto; }
.header nav a { text-decoration: none; font-size: .94rem; color: #d1dfe6; }
.header nav a:hover, .footer a:hover { color: var(--accent); }
.menu { border: 1px solid #566d7e; border-radius: .4rem; padding: .4rem .8rem; color: var(--text); background: transparent; font-size: .94rem; text-decoration: none; }
.language { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: .4rem; min-inline-size: 3.3rem; min-block-size: 2rem; padding: .28rem .6rem; border: 1px solid #365263; border-radius: 999px; background: linear-gradient(130deg,#142b38aa,#11202c66); color: #bddddf; font-size: .875rem; font-weight: 500; line-height: 1.2; text-decoration: none; }
.language-symbol { position: relative; display: inline-block; flex: 0 0 auto; width: .8rem; height: .8rem; border: 1px solid currentColor; border-radius: 50%; opacity: .8; }
.language-symbol::before { content: ''; position: absolute; inset: -1px 2px; border: 1px solid currentColor; border-radius: 50%; }
.language-symbol::after { content: ''; position: absolute; inset-inline: 0; inset-block-start: calc(50% - .5px); border-block-start: 1px solid currentColor; }
.language:hover, .language:focus-visible { color: var(--accent); background: #17343d; border-color: #63b5b2; }
.language:hover, .menu:hover { border-color: var(--accent); }
.menu { font-family: inherit; cursor: pointer; }

.home-page { --landing-header-height: calc(4.75rem + 1px); }
.home-page > .header { position: relative; background: var(--ink); }
.hero { position: relative; isolation: isolate; min-block-size: calc(100svh - var(--landing-header-height)); display: grid; grid-template-rows: 1fr auto; gap: 1rem; padding-block: clamp(1.5rem, 6svh, 4.5rem) 1.25rem; overflow: clip; border-block-end: 1px solid var(--line); }
.hero-image { position: absolute; inset: 0; z-index: -2; }
.hero-image img { height: 100%; object-fit: cover; object-position: 63% 52%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0a101afc 0%, #0a101ae9 20%, #0a101abd 42%, #0a101a24 74%), linear-gradient(0deg, #0a101ae0 0%, transparent 40%); }
[dir=rtl] .hero::after { background: linear-gradient(270deg, #0a101afd 0%, #0a101af2 14%, #0a101abc 40%, #0a101a18 76%), linear-gradient(0deg, #0a101ade 0%, transparent 42%); }
[dir=rtl] .hero-image { left: -19%; right: 19%; }
[dir=rtl] .hero-image img { object-position: 82% 53%; }
.hero-content { position: relative; align-self: center; }
.kicker { color: var(--accent); font-size: .96rem; font-weight: 700; margin-block-end: 1.05rem; }
.hero h1 { font-size: clamp(2.7rem, min(6.3vw, 12svh), 6.65rem); font-weight: 810; letter-spacing: -.065em; line-height: .99; max-inline-size: 14ch; }
.hero h1 span { display: block; color: var(--accent); }
[dir=rtl] .hero h1 { font-size: clamp(2.3rem, min(5vw, 10svh), 5rem); max-inline-size: 17ch; line-height: 1.4; letter-spacing: 0; font-weight: 700; }
.hero-description { color: #d8e6ed; font-size: clamp(1.02rem, 1.65vw, 1.26rem); max-inline-size: 36rem; margin-block-start: 1.4rem; line-height: 1.65; }
.hero .kicker { line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-block-start: 1.7rem; }
.button { display: inline-flex; width: fit-content; align-items: center; min-height: 2.9rem; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: .4rem; text-decoration: none; font-weight: 730; line-height: 1.35; }
.primary { color: #071419; background: var(--accent); }
.primary:hover { background: #d1daff; }
.secondary { background: #0a101ac9; border-color: #738895; }
.secondary:hover { border-color: var(--accent); }
.outline { border-color: currentColor; }
.outline:hover { color: var(--accent); }
.light .outline:hover { color: #354a8c; }
.hero-caption { text-align: end; line-height: 1.5; }
.hero-caption span, .image-note { padding: .25rem .55rem; border-radius: .2rem; color: #e8f2f6; background: #0a101aeb; font-size: .84rem; }

.section { padding-block: clamp(3.4rem, 7vw, 7rem); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; margin-block-end: 2rem; }
h2 { font-size: clamp(2.15rem, 4vw, 3.75rem); letter-spacing: -.045em; line-height: 1.1; }
:lang(fa) h2 { font-size: clamp(1.8rem,3.2vw,3rem); letter-spacing: 0; line-height: 1.6; font-weight: 700; }
.section-heading p, .industry-layout p { color: var(--muted); max-inline-size: 29rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.8vw, 2.6rem); }
.project { background: var(--panel); border: 1px solid var(--line); border-radius: .68rem; overflow: hidden; }
.project-image { position: relative; }
.project-image img { aspect-ratio: 16 / 8; object-fit: cover; }
.image-note { position: absolute; inset-inline-end: .8rem; inset-block-end: .65rem; }
.project-body { padding: clamp(1.2rem, 2.4vw, 2rem); }
.project-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; }
.project h3 { font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.18; }
.project-topic { margin-block: .45rem; color: var(--accent); font-weight: 680; }
.project-body > p:not(.project-topic) { color: #c8d7e0; margin-block-end: 1.15rem; }
.textlink { font-weight: 700; color: var(--accent); text-underline-offset: .25em; }
.textlink:hover { color: white; }

.light { background: var(--paper); color: #10202d; color-scheme: light; }
.light p { color: #3a525f; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem 2.6rem; }
.service { border-block-start: 2px solid #6c8a92; padding-block-start: .95rem; }
.service h3 { font-size: 1.22rem; line-height: 1.32; margin-block-end: .45rem; }
.industry-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); gap: 2rem 4rem; }
.industry-layout p { margin-block-start: .8rem; }
.industry-list > div { border-block-start: 1px solid var(--line); padding-block: .95rem; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); column-gap: 1rem; }
.industry-list > div:last-child { border-block-end: 1px solid var(--line); }
.industry-list dt { font-weight: 740; color: var(--text); }
.industry-list dd { color: var(--muted); }
.about, .contact { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.about p, .contact p { max-inline-size: 43rem; margin-block-start: .85rem; }
.contact { padding-block: 3rem; border-block-end: 1px solid var(--line); }
.footer { min-height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer { border-block-start: 1px solid var(--line); }
.footer-links, .project-links { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; align-items: center; }
.footer-links a { color: var(--muted); text-decoration: none; }
.header nav a[aria-current] { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.light .textlink { color: #354a8c; }
.light .textlink:hover { color: #153747; }
.muted-link { color: var(--muted); }
.page-figure { position: relative; margin: 0; overflow: hidden; border-radius: .65rem; background: var(--panel); }
.page-figure img { aspect-ratio: 16 / 9; object-fit: cover; }
.page-figure figcaption { position: absolute; inset-inline-end: .65rem; inset-block-end: .65rem; color: var(--text); background: #0a101aed; border-radius: .2rem; padding: .25rem .55rem; font-size: .85rem; }
.project .page-figure { border-radius: 0; }
.project .page-figure img { aspect-ratio: 2 / 1; }
.services a, .sector-grid a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.services a:hover, .sector-grid a:hover { text-decoration-thickness: 3px; }
.services .page-figure { margin-block-end: 1.1rem; }
.services .browse-card { padding-block-start: 0; border-block-start: 0; }
.services .browse-card > p:not(.card-topic) { line-height: 1.75; }
.browse-card h3 a { text-decoration: none; }
.browse-card h3 a:hover { text-decoration: underline; text-underline-offset: .22em; }
.browse-card { min-inline-size: 0; }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border: 1px solid #304756; border-radius: .75rem; overflow: hidden; background: #0f1f2d; }
.card-link .page-figure { margin: 0; border-radius: 0; }
.card-copy { display: flex; flex-direction: column; flex: 1; padding: 1.2rem; }
.card-copy h3 { font-weight: 650; }
.card-summary { color: #b7ccd8; font-size: 1rem; }
.card-action { display: block; width: fit-content; margin-block-start: auto; padding-block-start: 1.1rem; color: var(--accent); font-size: .9rem; font-weight: 650; }
.light .card-link { color: #122b3a; background: #f5f9fa; border-color: #c7d7dc; }
.light .card-action { color: #354a8c; }
.card-link:focus-visible { outline-offset: 4px; }
.browse-card .page-figure img { transition: transform .65s cubic-bezier(.2,.7,.3,1); }
.browse-card:has(a:hover) .page-figure img { transform: scale(1.035); }
.card-topic { font-size: .86rem; font-weight: 650; color: var(--accent); margin-block-end: .55rem; }
.light .card-topic { color: #115f66; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-block-start: 1px solid var(--line); padding-block: 1rem 1.4rem; font-size: .87rem; color: var(--muted); }
.footer-bottom a { text-underline-offset: .25em; }
.motion-toggle { color: var(--muted); background: none; border: 1px solid #455d6c; border-radius: .4rem; padding: .45rem .7rem; font: inherit; cursor: pointer; }
.engineering-lab { border: 1px solid #385160; border-radius: 1rem; background: linear-gradient(125deg,#132734,#0d1826 65%); overflow: hidden; }
.lab-top { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 1.25rem clamp(1rem,2.5vw,2rem); border-block-end: 1px solid #324959; }
.lab-top .scope-label { color: #aeece7; border-color: #3f7476; font-size: .85rem; }
.lab-switch { display: flex; gap: .5rem; flex-wrap: wrap; }
.lab-switch button { color: #c9dce7; background: transparent; border: 1px solid #587181; border-radius: .4rem; padding: .65rem .85rem; font: inherit; font-size: .9rem; cursor: pointer; }
.lab-switch button[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: #082127; }
.lab-switch button:hover { border-color: var(--accent); }
.studio-title { color: #b9e9e6; font-size: .95rem; font-weight: 700; letter-spacing: .02em; }
.decision-panel { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; }
.asset-overview { min-inline-size: 0; }
.asset-figure { margin: 0; background: #08131f; border-block-end: 1px solid #314b60; }
.asset-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1672/941; object-fit: contain; }
.asset-copy { padding: clamp(1.2rem,2.4vw,2rem); }
.asset-name { font-size: 1.08rem; color: #e2f5f5; font-weight: 650; }
.asset-copy > p:not(.asset-name) { margin-block: .7rem 1rem; color: #aec7d4; font-size: 1rem; }
.decision-steps { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .5rem; }
.decision-steps li { display: flex; align-items: center; gap: .75rem; color: #91adbd; border: 1px solid #304959; border-radius: .5rem; padding: .7rem 1rem; font-size: .9rem; }
.decision-steps li.active { color: #acfff0; background: #163a42; border-color: #478880; }
.step-symbol { font-family: Manrope, sans-serif; font-size: 1.2rem; line-height: 1; }
.decision-purpose { border-inline-start: 2px solid #5a9b9b; padding-inline-start: 1rem; margin-block: 1.5rem; }
.decision-purpose h4 { margin: 0 0 .5rem; font-size: .95rem; color: #c6e5e9; }
.decision-purpose p { color: #aec7d4; font-size: 1rem; }
.decision-content { min-inline-size: 0; padding: clamp(1.2rem,2.4vw,2rem); border-inline-start: 1px solid #304858; }
.decision-content h3 { font-size: clamp(1.5rem,2.4vw,2rem); line-height: 1.25; text-wrap: balance; }
.decision-description { margin-block: .85rem 1.25rem; color: #b9d0dc; font-size: 1rem; line-height: 1.75; }
.forecast-metrics { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: .75rem; margin-block: 1.25rem; }
.forecast-metrics > div { min-inline-size: 0; }
.forecast-metrics span { font-size: .875rem; color: #a6c1d2; display: block; }
.forecast-metrics strong { display: block; font-size: clamp(1.2rem,2.1vw,1.8rem); font-variant-numeric: tabular-nums; color: #edfcf9; margin-block-start: .4rem; line-height: 1.45; }
.forecast-metrics [data-window] { color: #f5cb88; }
.forecast-metrics .with-plan { color: #a1edb4; }
.forecast-chart { background: #081522; border: 1px solid #385468; border-radius: .65rem; padding: .85rem; }
.forecast-chart-heading { display: flex; justify-content: space-between; align-items: start; gap: .5rem; flex-wrap: wrap; font-size: .875rem; color: #c3d9e5; }
.forecast-status { padding: .15rem .5rem; background: #1c353b; color: #b1ead9; border-radius: .25rem; font-size: .8rem; }
.forecast-status[data-state=watch] { background: #493a20; color: #f3d39d; }
.forecast-status[data-state=action] { background: #472e32; color: #ffc0c4; }
.forecast-canvas { width: 100%; height: 17.125rem; display: block; margin-block: .7rem .3rem; }
.forecast-legend { display: flex; gap: .55rem 1.1rem; flex-wrap: wrap; color: #aec7d4; font-size: .8rem; }
.forecast-legend > span { display: inline-flex; align-items: center; gap: .4rem; }
.forecast-legend > span::before { content: ''; width: 1.25rem; border-block-start: 2px solid #78efe4; }
.forecast-legend .legend-forecast::before { border-color: #f6c36c; border-block-start-style: dashed; }
.forecast-legend .legend-scenario::before { border-color: #a1edb4; }
.forecast-legend .legend-limit::before { border-color: #f18d9a; border-block-start-style: dotted; }
.history-control { margin-block: 1.2rem .85rem; }
.history-control label { display: flex; align-items: start; justify-content: space-between; gap: 1rem; font-size: .875rem; color: #b2cddc; }
.history-control output { white-space: nowrap; color: #dcf7f2; font-variant-numeric: tabular-nums; }
.history-control input { display: block; width: 100%; accent-color: #78efe4; margin: .7rem 0; cursor: pointer; }
.forecast-buttons { display: flex; gap: .6rem; flex-wrap: wrap; }
.forecast-buttons .button { font: inherit; font-size: .875rem; font-weight: 650; cursor: pointer; padding: .6rem .85rem; min-height: 2.8rem; }
.forecast-buttons [data-compare][aria-pressed=true] { background: #244231; color: #bcf6c9; border-color: #8ecb9f; }
.horizon-control { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-block: 1rem; color: #aec8d7; font-size: .875rem; }
.horizon-control > div { display: flex; gap: .35rem; }
.horizon-control button { border: 1px solid #426073; background: transparent; color: #bfd8e4; border-radius: .3rem; font: inherit; font-size: .875rem; padding: .45rem .65rem; min-height: 2.6rem; cursor: pointer; }
.horizon-control button[aria-pressed=true] { background: #21424d; color: #bcfff2; border-color: #69b5af; }
.forecast-insight { margin-block: 1rem; background: #19303c; border-inline-start: 2px solid #79bcba; border-radius: .2rem; padding: .85rem 1rem; color: #d0e5ea; font-size: .95rem; line-height: 1.85; }
.forecast-data, .forecast-method { border-block-start: 1px solid #365364; color: #b4cddc; padding-block: .7rem; font-size: .875rem; }
.forecast-data summary, .forecast-method summary { cursor: pointer; }
.forecast-data h4 { font-size: .95rem; margin-block: 1rem .6rem; color: #cde7ec; }
.forecast-data table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.forecast-data th, .forecast-data td { padding: .35rem .5rem; text-align: start; border-block-end: 1px solid #2f4959; }
.forecast-data th { font-weight: 600; }
.forecast-method p { margin-block: .75rem; line-height: 1.85; }
.forecast-method dl { display: flex; gap: 1rem 1.5rem; flex-wrap: wrap; }
.forecast-method dt { color: #90afc2; }
.forecast-method dd { color: #d5e8ed; }
.lab-footnote { padding: 1rem clamp(1rem,2.5vw,2rem); border-block-start: 1px solid #324959; color: #a9bdcc; font-size: .85rem; }
.rich-detail { max-inline-size: 78rem; }
.rich-detail > .page-figure img { max-height: 37rem; aspect-ratio: 21/9; }
.reading-layout { display: grid; grid-template-columns: minmax(0,1fr) 16rem; align-items: start; gap: clamp(2rem,5vw,5rem); margin-block: 2.5rem; }
.reading-layout .prose { margin-block-start: 0; }
.prose p { line-height: 1.85; font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.6rem,2.5vw,2.25rem); line-height: 1.3; }
:lang(fa) .prose p { line-height: 2.15; font-size: 1.0625rem; }
:lang(fa) h3 { line-height: 1.85; font-weight: 700; }
.article-toc { position: sticky; top: 7rem; border-inline-start: 1px solid #385567; padding-inline-start: 1.25rem; }
.article-toc h2 { font-size: 1rem; letter-spacing: normal; color: var(--accent); }
.article-toc ol { padding-inline-start: 1.15rem; margin-block: 1rem 0; }
.article-toc li { margin-block-end: .7rem; font-size: .9rem; color: #afc4d2; }
.article-toc a { text-decoration: none; }
.article-toc a:hover { color: var(--accent); text-decoration: underline; }
.article-meta { display: flex; gap: .6rem 1.5rem; flex-wrap: wrap; color: #adcad7; font-size: .86rem; padding-block: .8rem; }
.editorial-note { font-size: .86rem; color: #a8bfce; }
.engineering-diagram, .solution-delivery, .applications, .faq { margin-block: 3.5rem; }
.engineering-diagram h2, .solution-delivery h2, .applications h2, .faq h2, .read-next h2 { font-size: clamp(1.7rem,3vw,2.5rem); }
.diagram-flow { padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; position: relative; }
.diagram-flow li { min-inline-size: 0; background: #122331; border: 1px solid #3b5b6d; border-block-start: 2px solid var(--accent); border-radius: .55rem; padding: 1.2rem; }
.stage-number { color: #78efe480; font-size: 2rem; font-weight: 750; line-height: 1.5; }
.diagram-flow h3 { font-size: 1.1rem; margin-block: .5rem; }
.diagram-flow p { font-size: .9rem; color: #b8cddb; }
.delivery-flow { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .6rem; padding: 0; list-style: none; margin-block: 1.5rem; }
.delivery-flow li { border-block-start: 1px solid #425e70; padding-block: .8rem; font-size: .92rem; }
.delivery-flow span { display: block; color: var(--accent); margin-block-end: .4rem; font-size: .85rem; }
.deliverable-panel { padding: 1.6rem clamp(1.2rem,3vw,2.5rem); background: #142934; border-inline-start: 3px solid var(--accent); border-radius: .3rem; margin-block: 2.5rem; }
.deliverable-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; padding-inline-start: 1.25rem; color: #c8e1e8; }
.deliverable-panel li::marker { color: var(--accent); }
.faq h2 { margin-block-end: 1.3rem; }
.faq details { border-block-start: 1px solid #395366; padding-block: 1rem; }
.faq details:last-child { border-block-end: 1px solid #395366; }
.faq summary { color: #d6edea; font-size: 1.08rem; cursor: pointer; font-weight: 650; }
.faq p { max-inline-size: 55rem; margin-block: .75rem .25rem; color: #b9cddc; }
.lab-heading { margin-block-start: 4rem; }
.applications h2 { margin-block-end: 1.3rem; }
.table-scroll { overflow-x: auto; border: 1px solid #3c5868; border-radius: .5rem; }
.applications table { width: 100%; border-collapse: collapse; text-align: start; min-width: 36rem; }
.applications th, .applications td { padding: 1.1rem 1.25rem; border-block-end: 1px solid #304859; vertical-align: top; }
.applications thead { background: #193342; color: #b0f2e9; }
.applications tbody th { width: 30%; font-weight: 600; }
.applications td { color: #b9cddb; }
.applications tr:last-child td, .applications tr:last-child th { border-block-end: 0; }
.project-cta { margin-block-start: 4rem; padding: clamp(1.4rem,3vw,2.5rem); border: 1px solid #3e6b78; border-radius: .75rem; background: linear-gradient(110deg,#12333f,#132335); display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.project-cta h2 { font-size: clamp(1.65rem,3vw,2.5rem); }
.project-cta p:not(.kicker) { color: #b6ced9; margin-block-start: .75rem; max-inline-size: 40rem; }
.project-cta .button { flex-shrink: 0; }
.read-next { margin-block-start: 3.5rem; }
.read-next > h2 { margin-block-end: 1.5rem; }
.article-tools { margin-block-end: 2.5rem; }
[data-article-library] { padding-block-start: 3rem; }
.article-tools > label { display: grid; gap: .65rem; max-inline-size: 38rem; color: #c6dbe5; }
.article-tools input { width: 100%; padding: .9rem 1rem; background: #102230; color: var(--text); border: 1px solid #526f81; border-radius: .5rem; font: inherit; font-size: 1rem; }
.article-tools input::placeholder { color: #8fa9bb; }
.topic-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-block: 1.8rem 1rem; }
.topic-heading h2 { font-size: 1.2rem; line-height: 1.6; letter-spacing: 0; }
.topic-heading p { color: #a5bfcd; font-size: .95rem; }
.topic-filters { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1rem; margin-block: 1rem .8rem; padding: .25rem .25rem 1rem; }
.topic-choice { display: flex; flex-direction: column; min-width: 0; padding: 0; border: 1px solid #3e5c6d; border-radius: .65rem; overflow: hidden; background: #10222f; color: #e0eff1; font: inherit; text-align: start; cursor: pointer; }
.topic-image { display: block; overflow: hidden; background: #172e3c; }
.topic-image img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; }
.topic-copy { display: flex; flex: 1; width: 100%; min-block-size: 4rem; gap: .5rem; align-items: center; justify-content: space-between; padding: .8rem .85rem; }
.topic-copy > span { font-size: .95rem; font-weight: 650; }
.topic-copy small { color: #a9c1d0; font-size: .8rem; white-space: nowrap; }
.topic-choice[aria-pressed=true] { border-color: var(--accent); background: #1c2c53; box-shadow: 0 0 0 1px var(--accent); }
.topic-choice[aria-pressed=true] .topic-copy small { color: #d8dfff; }
.topic-choice:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.result-count, .no-results { color: #b7ceda; }
.result-count { font-size: .9rem; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
.about-story .page-figure { height: 100%; }
.about-story img { height: 100%; object-fit: cover; min-height: 29rem; }
.about-story .prose { margin: 0; gap: 1rem; }
.about-story .prose p { margin: 0; }
.mission { margin-block: 4rem; padding: 2rem clamp(1.5rem,4vw,3rem); border-inline-start: 3px solid var(--accent); background: #122b38; }
.mission h2 { color: #acf9ec; }
.mission p { max-inline-size: 56rem; margin-block-start: 1rem; color: #c2d9e0; font-size: 1.1rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,6rem); }
.contact-details { display: grid; gap: 1.5rem; margin-block: 1.5rem; }
.contact-details dt { font-size: .9rem; color: #9fbbc9; margin-block-end: .45rem; }
.contact-details dd { max-inline-size: 34rem; }
.contact-details dd > a { font-size: clamp(1.6rem,3vw,2.5rem); color: var(--accent); text-decoration: none; font-weight: 700; }
.contact-details dd > a:hover { text-decoration: underline; text-underline-offset: .2em; }
.contact-details address { font-style: normal; font-size: 1.1rem; color: #d4e4ea; }
.light .contact-details dt { color: #375563; }
.light .contact-details dd > a { color: #0c5d64; }
.light .contact-details address { color: #233e4b; }
.brief-panel { border: 1px solid #3a5667; padding: clamp(1.25rem,3vw,2.5rem); background: #112331; border-radius: .75rem; }
.brief-panel h2 { font-size: 1.8rem; }
.brief-panel li { margin-block: .5rem; }
.brief-panel .button { margin-block-start: 1rem; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-content { animation: hero-arrive .8s ease-out both; }
  .hero-image img { animation: hero-focus 1.4s ease-out both; }
  .motion-enabled .decision-panel.is-replaying .forecast-status { animation: signal-pulse 2s ease-in-out infinite; }
  .identity-mark { transition: transform .5s ease; }
  .identity:hover .identity-mark { transform: rotate(-6deg) scale(1.06); }
  .reveal-pending { opacity: 0; transform: translateY(18px); }
  .reveal-visible { animation: section-arrive .7s ease-out both; }
  .button { transition: background .2s,border-color .2s,transform .2s; }
  .button:hover { transform: translateY(-2px); }
  .language { transition: color .2s ease,background .2s ease,border-color .2s ease,transform .2s ease; }
  .language:hover { transform: translateY(-1px); }
  .card-link, .project, .architecture-card, .topic-choice { transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease; }
  .card-link .page-figure img, .project .page-figure img, .topic-image img { transition: transform .65s cubic-bezier(.2,.7,.3,1),filter .4s ease; }
  .card-action, .header nav a, .textlink { transition: color .2s ease, text-decoration-color .2s ease; }
  .card-link:is(:hover,:focus-visible) { transform: translateY(-5px); border-color: #62aeb1; box-shadow: 0 14px 32px #0003; }
  .light .card-link:is(:hover,:focus-visible) { border-color: #46989a; box-shadow: 0 14px 28px #204d6418; }
  .card-link:is(:hover,:focus-visible) img { transform: scale(1.055); }
  .card-link:is(:hover,:focus-visible) .card-action { text-decoration: underline; text-underline-offset: .25em; }
  .project:is(:hover,:focus-within), .architecture-card:is(:hover,:focus-within) { border-color: #568e9c; box-shadow: 0 10px 26px #0002; transform: translateY(-3px); }
  .project:is(:hover,:focus-within) img { transform: scale(1.025); }
  .topic-choice:is(:hover,:focus-visible) { transform: translateY(-4px); border-color: #8fe5db; box-shadow: 0 10px 24px #0003; }
  .topic-choice:is(:hover,:focus-visible) img { transform: scale(1.07); filter: brightness(1.08); }
  .filter-enter { animation: article-enter .32s ease-out both; animation-delay: var(--filter-delay,0ms); }
}
@keyframes article-enter { from { opacity: .35; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes hero-arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@keyframes hero-focus { from { transform: scale(1.025); } to { transform: scale(1); } }
@keyframes section-arrive { from { opacity: .25; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes signal-pulse { 50% { box-shadow: 0 0 0 .55rem #78efe408; opacity: .65; } }
.motion-off *, .motion-off *::before, .motion-off *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
.motion-off .reveal-pending { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.browse-card .page-figure { margin-block-end: 1rem; }
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 2rem; }
.sector-grid .browse-card { border-block-start: 0; padding-block-start: 0; }
.sector-grid .browse-card p { color: var(--muted); }
.contact { border: 0; padding-block: 0; }
.detail-header { background: linear-gradient(115deg, #182541, #10162b 70%); border-block-end: 1px solid var(--line); padding-block: clamp(2.8rem, 6vw, 6rem); }
.detail-header h1 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1.12; letter-spacing: -.042em; max-inline-size: 18ch; text-wrap: balance; }
.detail-header h1:lang(fa) { font-size: clamp(2rem,4.25vw,4.2rem); line-height: 1.5; font-weight: 700; letter-spacing: 0; max-inline-size: 28ch; }
.detail-header p { color: #c8d7e0; max-inline-size: 47rem; margin-block-start: 1rem; font-size: 1.2rem; }
.breadcrumb { margin-block-end: 1rem; color: var(--accent); font-size: .95rem; }
.breadcrumb a { text-underline-offset: .2em; }
.breadcrumb span { color: var(--muted); padding-inline: .35rem; }
.detail-content { max-inline-size: 64rem; padding-block-start: clamp(2rem, 5vw, 4.5rem); }
.detail-content > .page-figure { margin-block-end: 1.4rem; }
.detail-content > .page-figure img { max-height: 31rem; object-position: center; }
.prose { max-inline-size: 47rem; margin-block-start: 2rem; display: grid; gap: 2rem; }
.prose h2, .detail-content > h2, .related h2, .demo h2 { font-size: clamp(1.6rem, 3.3vw, 2.6rem); }
.prose p, .contact-page p { margin-block-start: .65rem; color: #c8d7e0; font-size: 1.14rem; }
.prose li + li { margin-block-start: .55rem; }
.related { margin-block-start: 2.8rem; border-block-start: 1px solid var(--line); padding-block-start: 1.5rem; display: grid; gap: .85rem; }
.delivery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem 2.5rem; margin-block: 1.6rem; padding-inline-start: 1.6rem; }
.delivery li { padding-inline-start: .45rem; }
.delivery p, .contact-page li { color: #c8d7e0; }
.demo { margin-block-start: 3rem; padding: clamp(1rem, 3vw, 2rem); background: #111e2a; border: 1px solid #395668; border-radius: .65rem; }
.demo .kicker { margin-block-end: .4rem; }
.demo h2 { margin-block-end: 1.25rem; }
.demo-panel { border-block-start: 1px solid #405767; }
.demo-panel:last-child { border-block-end: 1px solid #405767; }
.demo-panel summary { padding-block: .85rem; cursor: pointer; font-weight: 700; color: var(--accent); }
.demo-content > p { color: #c8d7e0; max-inline-size: 52rem; }
.chart { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(.24rem, 1.2vw, .8rem); padding: .8rem .8rem .35rem; border: 1px solid #405767; border-radius: .35rem; background: repeating-linear-gradient(to top, #162938 0 1px, transparent 1px 2rem), #0b1420; margin-block: .85rem; }
.chart-point { height: 8.2rem; min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: .2rem; text-align: center; color: var(--muted); }
.chart-point i { height: var(--bar); width: 80%; margin-inline: auto; align-self: end; background: #316775; border-radius: .15rem .15rem 0 0; }
.chart-point.active i { background: var(--accent); box-shadow: 0 0 .8rem #78efe440; }
.chart-point.active small { color: var(--accent); font-weight: bold; }
.chart-point.missing i { height: 1px; border-block-start: 1px dashed #ecad82; background: transparent; }
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.demo-controls label { display: flex; gap: .5rem; flex: 1 1 12rem; }
.demo-controls input { flex: 1; min-width: 5rem; accent-color: var(--accent); }
input[type=range] { direction: ltr; }
.demo-controls output { min-width: 6rem; font-variant-numeric: tabular-nums; color: var(--accent); }
.demo-controls button { background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.demo-table { margin-block-end: .5rem; }
.demo-table table { border-collapse: collapse; width: min(100%, 22rem); }
.demo-table th, .demo-table td { padding: .35rem .7rem; border-block-end: 1px solid var(--line); text-align: start; }

.architecture-page { max-inline-size: 78rem; padding-block-start: clamp(2rem, 5vw, 4.5rem); }
.architecture-intro { display: grid; grid-template-columns: 1fr 1.4fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.architecture-page h2, .platform-entry h2 { font-size: clamp(1.65rem, 3.2vw, 2.7rem); }
.scope-label { display: inline-flex; color: #f6ce9c; border: 1px solid #836443; padding: .2rem .6rem; border-radius: .3rem; font-size: .9rem; font-weight: 690; }
.architecture-intro h2, .platform-entry h2 { margin-block: .8rem 1.15rem; }
.architecture-flow { padding-inline-start: 1.5rem; display: grid; gap: .4rem; }
.architecture-flow li { border-inline-start: 2px solid #3e8188; padding-inline-start: .75rem; }
.architecture-flow li::marker { color: var(--accent); font-weight: 750; }
.platform-entry { margin-block-start: 3rem; }
.system-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-block: 2rem; }
.system-nav span { color: var(--muted); font-weight: 650; margin-inline-end: .25rem; }
.system-nav a { color: var(--accent); background: var(--panel); border: 1px solid #395668; border-radius: .4rem; text-decoration: none; padding: .4rem .7rem; }
.system-nav a:hover, .system-nav a:focus-visible { border-color: var(--accent); }
.architecture-group, .module-block { padding-block: 1.65rem; border-block-start: 1px solid var(--line); }
.architecture-group header p { margin-block: .45rem 1.1rem; color: var(--muted); }
.architecture-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1rem; }
.architecture-card { background: var(--panel); border: 1px solid #395163; border-radius: .55rem; padding: clamp(1rem, 2vw, 1.5rem); }
.architecture-card h3 { font-size: 1.22rem; line-height: 1.33; margin-block-end: .5rem; }
.architecture-card h3 a { color: var(--accent); text-underline-offset: .22em; }
.architecture-card h3 a:hover { color: white; }
.architecture-card p, .architecture-card li, .module-interfaces p { color: #c8d7e0; }
.architecture-card ul, .related ul { padding-inline-start: 1.2rem; }
.architecture-card ul { margin-block-end: 0; }
.module-context { display: flex; flex-wrap: wrap; gap: .8rem 1.3rem; align-items: center; margin-block-end: 1.3rem; }
.module-block h2 { margin-block-end: 1rem; }
.module-interfaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.module-interfaces section { border-inline-start: 2px solid #3e8188; padding: 1rem; background: #0f1a27; }
.module-interfaces h2 { font-size: 1.35rem; margin-block-end: .45rem; }
.related ul { margin: 0; }
.related li + li { margin-block-start: .4rem; }

html[lang=fa] .header nav a { font-weight: 500; }
html[lang=fa] .section-heading { align-items: center; }
html[lang=fa] .section-heading p { line-height: 1.95; }
html[lang=fa] .hero-description { font-size: clamp(1rem,1.35vw,1.14rem); line-height: 1.9; max-inline-size: 35rem; }
html[lang=fa] .button, html[lang=fa] .lab-switch button { font-weight: 500; line-height: 1.65; }
html[lang=fa] .kicker, html[lang=fa] .textlink, html[lang=fa] .card-action, html[lang=fa] .card-topic { font-weight: 500; letter-spacing: 0; }
html[lang=fa] .detail-header p { font-size: 1.08rem; line-height: 2; max-inline-size: 46rem; }
html[lang=fa] .prose h2 { font-size: clamp(1.5rem,2.5vw,2.1rem); line-height: 1.75; }
html[lang=fa] .prose { gap: 2.5rem; }
html[lang=fa] .card-copy h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.9; }
html[lang=fa] .card-summary { line-height: 2; font-size: 1rem; }
html[lang=fa] .decision-description { line-height: 2; }
html[lang=fa] .decision-content h3 { line-height: 1.8; font-weight: 700; }
html[lang=fa] .forecast-metrics strong, html[lang=fa] .forecast-metrics output { text-align: right; }
html[lang=fa] .forecast-metrics output[dir=ltr] { display: block; font-family: Manrope, sans-serif; font-size: .92em; }
html[lang=fa] .forecast-metrics > div:nth-child(2) strong { font-size: 1.5rem; }
html[lang=fa] .forecast-chart-heading { line-height: 1.8; }
html[lang=fa] .forecast-insight { line-height: 2; font-weight: 400; }
html[lang=fa] .topic-choice { text-align: right; }
html[lang=fa] .topic-copy > span { font-weight: 500; }
html[lang=fa] .topic-heading h2 { font-size: 1.25rem; }
html[lang=fa] .article-toc { line-height: 2; }
html[lang=fa] .breadcrumb { line-height: 1.9; }
.product-byline { color: #b1bddf; font-size: .875rem; margin-block: .6rem .4rem; font-weight: 500; }
.detail-byline { margin-block: 0 1rem; }
.brand-story { display: grid; grid-template-columns: 5rem minmax(0,1fr); gap: 2rem; align-items: start; margin-block: 4rem; padding: clamp(1.5rem,4vw,3rem); background: linear-gradient(120deg,#1a2445,#111a32); border: 1px solid #3b4b74; border-radius: .75rem; }
.brand-story > img { width: 5rem; height: 5rem; }
.brand-story h2 { font-size: clamp(1.8rem,3vw,2.6rem); line-height: 1.4; }
.brand-story p:not(.kicker) { color: #c7cede; margin-block-start: 1rem; max-inline-size: 58rem; line-height: 1.9; }
.formal-details { margin-block: 3rem; border-block: 1px solid var(--line); padding-block: 1.5rem; }
.formal-details h2 { font-size: 1.2rem; letter-spacing: 0; line-height: 1.7; color: #b0b7c9; }
.company-legal { font-size: 1.6rem; font-weight: 600; margin-block: .75rem; }
.contact-legal { margin-block-end: 2rem; color: #c4cce1; font-size: 1.15rem; }

@media (max-width: 960px) {
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { flex-wrap: wrap; padding-block: 1.3rem; }
  .topic-filters { grid-template-columns: repeat(5,minmax(10.5rem,1fr)); overflow-x: auto; scroll-snap-type: x proximity; }
  .topic-choice { scroll-snap-align: start; }
  .topic-heading { align-items: start; flex-direction: column; gap: .3rem; }
}

@media (max-width: 960px) {
  .home-page { --landing-header-height: calc(4.2rem + 1px); }
  .header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem; padding-block: .85rem; min-height: 4.2rem; }
  .home-page .header-row { padding-block: .75rem; }
  .header nav { grid-column: 1 / -1; order: 4; display: grid; gap: 0; }
  .header-row:has(.menu[hidden]) { grid-template-columns: minmax(0, 1fr) auto; }
  .header nav a { border-block-start: 1px solid var(--line); padding-block: .6rem; }
  .menu { margin-inline-start: auto; }
  .header .identity { gap: .45rem; }
  .header .identity-mark { width: 2rem; height: 2rem; }
  .header .wordmark { font-size: 1.07rem; }
  [dir=rtl] .header .wordmark { font-size: 1.2rem; }
}

@media (max-width: 760px) {
  .section-heading, .about, .contact { display: grid; gap: .8rem; align-items: start; }
  .services, .industry-layout { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .sector-grid, .delivery { grid-template-columns: 1fr; }
  .architecture-intro, .module-interfaces { grid-template-columns: 1fr; }
  .brand-story { grid-template-columns: 1fr; gap: 1rem; }
  .brand-story > img { width: 3.5rem; height: 3.5rem; }
}

@media (max-width: 390px) {
  .header .identity { gap: .35rem; }
  .menu { padding-inline: .55rem; }
}

@media (max-width: 720px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-block: clamp(1.15rem, 4svh, 2.5rem) 0; }
  .hero-content { align-self: auto; }
  .hero-image, [dir=rtl] .hero-image { position: relative; inset: auto; order: 2; flex: 1 0 9rem; min-block-size: clamp(9rem, 24svh, 17rem); margin-block-start: 1.15rem; }
  .hero-image img { position: absolute; inset: 0; object-position: 66% 50%; }
  [dir=rtl] .hero-image img { object-position: 73% 50%; }
  .hero::after { display: none; }
  .hero-caption { position: absolute; inset-inline: 0; inset-block-end: .6rem; }
  .hero .kicker { margin-block-end: .65rem; }
  .hero h1 { font-size: clamp(2rem, 8.8vw, 3.35rem); max-inline-size: 16ch; }
  [dir=rtl] .hero h1 { font-size: clamp(2rem, 8.4vw, 3.35rem); max-inline-size: none; }
  .hero-description { margin-block-start: .85rem; font-size: 1rem; line-height: 1.5; }
  .hero .actions { margin-block-start: 1rem; gap: .5rem; }
  .hero .button { min-block-size: 2.65rem; padding: .55rem .7rem; font-size: .9rem; }
  .industry-list > div { grid-template-columns: 1fr; row-gap: .25rem; }
}

@media (max-height: 600px) {
  .hero { padding-block-start: 1.1rem; }
  .hero .kicker { margin-block-end: .55rem; }
  .hero-description, .hero .actions { margin-block-start: .75rem; }
}

@media (min-width: 721px) and (max-height: 480px) {
  .hero { gap: .25rem; padding-block: .75rem .5rem; }
  [dir=rtl] .hero h1 { line-height: 1.25; }
  html[lang=fa] .hero-description { line-height: 1.65; }
}

@media (max-width: 1050px) {
  .reading-layout { grid-template-columns: minmax(0,1fr) 13rem; gap: 2rem; }
  .decision-panel { grid-template-columns: 1fr; }
  .asset-overview { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .decision-content { border-inline-start: 0; border-block-start: 1px solid #304858; }
  .asset-figure { border-block-end: 0; }
  .diagram-flow { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-story { gap: 2rem; }
}
@media (max-width: 760px) {
  .lab-top { padding: 1rem; gap: .85rem; }
  .lab-switch { width: 100%; }
  .lab-switch button { flex: 1; font-size: .8rem; padding: .6rem .5rem; }
  .asset-overview { display: block; }
  .asset-copy > p:not(.asset-name), .asset-copy .decision-steps, .asset-copy .decision-purpose { display: none; }
  .asset-copy > .textlink { display: inline-block; margin-block-start: .75rem; }
  .decision-content h3 { font-size: 1.55rem; }
  .forecast-metrics { gap: .6rem; }
  .forecast-metrics span { font-size: .8rem; }
  .forecast-metrics strong { font-size: 1.2rem; }
  .reading-layout, .about-story, .contact-layout { display: flex; flex-direction: column; gap: 2rem; }
  .article-toc { position: static; order: -1; }
  .article-toc li { margin-block-end: .4rem; }
  .rich-detail > .page-figure img { aspect-ratio: 16/9; }
  .project-cta { flex-direction: column; align-items: start; gap: 1.5rem; }
  .delivery-flow { grid-template-columns: 1fr; gap: 0; }
  .delivery-flow li { display: flex; align-items: center; gap: 1rem; }
  .delivery-flow span { margin: 0; }
  .deliverable-panel ul { grid-template-columns: 1fr; }
  .about-story img { min-height: 0; }
  .contact-layout > div { width: 100%; }
  .contact-details address { font-size: 1rem; }
  .diagram-flow li { padding: 1rem; }
  .diagram-flow h3 { font-size: 1rem; }
  .diagram-flow p { font-size: .85rem; }
  html[lang=fa] .hero-description { font-size: 1rem; line-height: 1.8; }
  html[lang=fa] .hero .button { line-height: 1.5; }
  html[lang=fa] .forecast-metrics > div:nth-child(2) strong { font-size: 1.2rem; }
  .topic-filters { gap: .75rem; }
}
@media (max-width: 390px) {
  .decision-content, .asset-copy { padding: 1rem; }
  .forecast-chart { padding: .65rem; }
  .forecast-metrics { grid-template-columns: 1fr 1fr; row-gap: .8rem; }
  .forecast-metrics > div:last-child { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
  .forecast-metrics > div:last-child strong { margin: 0; }
  .diagram-flow { grid-template-columns: 1fr; }
}
@media (max-width: 390px) and (max-height: 640px) {
  .hero-image, [dir=rtl] .hero-image { flex-basis: 7.5rem; min-block-size: 7.5rem; }
}
