/* ═══════════════════════════════════════════════
   ئەندازیارنامە — دیزاینی بلووپرینتی ئەندازیاری
   ═══════════════════════════════════════════════ */
:root {
  --bg: #040a14;
  --bg-2: #07111f;
  --panel: rgba(10, 22, 40, .58);
  --panel-2: rgba(14, 30, 54, .72);
  --panel-solid: #0b1728;
  --line: rgba(130, 175, 255, .13);
  --line-2: rgba(130, 175, 255, .24);
  --ink: #eaf1fb;
  --ink-2: #bdcadd;
  --muted: #8295b0;
  --blue: #5fa2ff;
  --accent: #FFB81C;
  --accent-rgb: 255, 184, 28;
  --accent-ink: #0a1220;
  --radius: 22px;
  --radius-s: 14px;
  /* Vazirmatn تەنها بۆ ژمارە کوردییەکانە (unicode-range)؛ هەموو نووسینەکان بە Zain ـن */
  --font: 'Vazirmatn', 'Zain', 'Noto Sans Arabic', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'Vazirmatn', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sy: 0;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
[dir="ltr"] { unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.svg-defs { position: absolute; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(var(--accent-rgb), .35); color: #fff; }
.ic { width: 1.1em; height: 1.1em; flex: none; }

/* ─────────── باکگراوند ─────────── */
#bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.grid-layer {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(95, 150, 235, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 150, 235, .075) 1px, transparent 1px),
    linear-gradient(rgba(95, 150, 235, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 150, 235, .035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: 0 calc(var(--sy) * -0.08px), 0 calc(var(--sy) * -0.08px), 0 calc(var(--sy) * -0.08px), 0 calc(var(--sy) * -0.08px);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, #000 35%, transparent 100%);
}
.vignette { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 40%, transparent 45%, rgba(0, 0, 0, .6)); }
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 60; transform-origin: right; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), #fff 60%, var(--accent)); box-shadow: 0 0 16px rgba(var(--accent-rgb), .8); }

main, .footer, .ticker { position: relative; z-index: 1; }
main { overflow-x: clip; }

/* ─────────── کڵاو ─────────── */
.helmet { width: 100%; height: auto; overflow: visible; }
.helmet .h-fill { fill: var(--hc); transition: fill .9s var(--ease); }
.helmet .h-dk { fill: #000; opacity: .17; }
.helmet .h-dk2 { fill: #000; opacity: .27; }
.helmet .h-dk3 { fill: #000; opacity: .07; }
.helmet .h-gl { fill: #fff; opacity: .3; }
.helmet .h-gl2 { fill: none; stroke: #fff; stroke-opacity: .45; stroke-width: 2.2; stroke-linecap: round; }
.helmet .h-gl3 { fill: #fff; opacity: .55; }
.helmet .h-shadow { fill: #000; opacity: .5; filter: url(#hblur); }
.helmet .h-emblem { transition: opacity .4s; }

/* ─────────── سەرپەڕە ─────────── */
.topbar {
  position: fixed; top: 14px; left: 14px; right: 14px; z-index: 50;
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 8px 10px 8px 16px;
  border-radius: 20px;
  background: rgba(6, 13, 26, .45);
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.topbar.scrolled {
  background: rgba(6, 13, 26, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; }
.brand-helmet { width: 46px; transition: transform .5s var(--ease); }
.brand:hover .brand-helmet { transform: rotate(-12deg) translateY(-2px); }
.brand-tx { display: flex; flex-direction: column; line-height: 1.1; }
.brand-tx b { font-size: 24px; font-weight: 900; }
.brand-tx small { font-size: 14px; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 12px; font-size: 18px; color: var(--ink-2); transition: color .25s, background .25s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav .nav-cta { background: rgba(var(--accent-rgb), .14); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .35); font-weight: 700; }
.nav .nav-cta:hover { background: var(--accent); color: var(--accent-ink); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); }
.menu-btn .ic { width: 24px; height: 24px; }
.menu-btn .ic + .ic { display: none; }
body.menu-open .menu-btn .ic { display: none; }
body.menu-open .menu-btn .ic + .ic { display: block; }

/* ─────────── دوگمە ─────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 16px;
  font-size: 19px; font-weight: 700;
  transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s;
}
.btn .ic { width: 20px; height: 20px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 40px rgba(var(--accent-rgb), .35); }
.btn.primary .ic { order: 2; transition: transform .35s var(--ease); }
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(var(--accent-rgb), .5); }
.btn.primary:hover .ic { transform: translateX(-5px); }
.btn.ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--ink); }
.btn.ghost:hover { border-color: rgba(var(--accent-rgb), .6); color: var(--accent); transform: translateY(-3px); }

/* ─────────── ئەنیمەیشنی دەرکەوتن ─────────── */
.rv { opacity: 0; transform: translateY(42px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; filter: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .08em .02em .12em; margin: -.08em -.02em -.12em; }
.split .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); transition-delay: calc(var(--i) * 90ms + 80ms); }
.split.in .w > span { transform: none; opacity: 1; }

/* ─────────── سەرەتا ─────────── */
.hero {
  min-height: 100vh; min-height: 100svh;
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px;
  padding: 130px max(24px, 4vw) 90px;
  position: relative;
}
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.blink { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero-tx { min-width: 0; }
.hero-title { font-size: clamp(44px, 5.8vw, 92px); line-height: 1.08; font-weight: 900; margin: 26px 0 26px; letter-spacing: -.01em; }
.hero-title .line { display: block; will-change: transform; }
.hero-title .line.acc { font-size: .8em; line-height: 1.25; }
.hero-title .acc { color: transparent; background: linear-gradient(100deg, var(--accent), #fff 55%, var(--accent)); -webkit-background-clip: text; background-clip: text; background-size: 200% 100%; animation: shine 6s linear infinite; }
.hero-title .acc .w > span { color: transparent; background: inherit; -webkit-background-clip: text; background-clip: text; }
@keyframes shine { to { background-position: -200% 0; } }
.hero-lead { font-size: clamp(19px, 1.6vw, 23px); color: var(--ink-2); max-width: 640px; line-height: 1.9; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stage {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center;
  display: grid; place-items: center; cursor: pointer; outline: none;
  perspective: 900px;
}
.stage-rings, .d-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.stage-rings span, .d-rings span { position: absolute; border-radius: 50%; border: 1px dashed rgba(var(--c-rgb, var(--accent-rgb)), .35); animation: spin 40s linear infinite; }
.stage-rings span:nth-child(1), .d-rings span:nth-child(1) { inset: 4%; }
.stage-rings span:nth-child(2), .d-rings span:nth-child(2) { inset: 16%; border-style: solid; border-color: rgba(var(--c-rgb, var(--accent-rgb)), .14); animation-duration: 60s; animation-direction: reverse; }
.stage-rings span:nth-child(3), .d-rings span:nth-child(3) { inset: 28%; border-color: rgba(var(--c-rgb, var(--accent-rgb)), .22); border-width: 2px; border-style: dotted; animation-duration: 25s; }
.stage-rings::after, .d-rings::after { content: ''; position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(var(--c-rgb, var(--accent-rgb)), .28), transparent 65%); filter: blur(10px); transition: background .9s; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-helmet { width: 74%; position: relative; z-index: 2; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); animation: float 5s ease-in-out infinite; }
.stage-helmet .helmet { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
@keyframes float { 50% { translate: 0 -14px; } }
.stage-dim { position: absolute; font-size: 12px; color: rgba(160, 200, 255, .55); z-index: 1; }
.stage-dim.dim-top { top: 10%; left: 50%; translate: -50% 0; padding: 0 10px; }
.stage-dim.dim-top::before, .stage-dim.dim-top::after { content: ''; position: absolute; top: 50%; width: 80px; border-top: 1px solid rgba(160, 200, 255, .3); }
.stage-dim.dim-top::before { right: 100%; }
.stage-dim.dim-top::after { left: 100%; }
.stage-dim.dim-side { left: 4%; top: 50%; writing-mode: vertical-rl; translate: 0 -50%; }
.stage-label { position: absolute; bottom: 3%; left: 50%; translate: -50% 0; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 24px; border-radius: 18px; background: rgba(6, 14, 28, .7); border: 1px solid rgba(var(--c-rgb), .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); min-width: 250px; box-shadow: 0 0 40px rgba(var(--c-rgb), .18); transition: border-color .9s, box-shadow .9s; }
.stage-label .mono { font-size: 12px; color: var(--muted); }
.stage-label b { font-size: 24px; font-weight: 800; line-height: 1.3; }
.stage-label small { font-size: 16px; color: var(--c); font-weight: 700; transition: color .9s; }
.stage-label.swap b, .stage-label.swap small { animation: swapIn .7s var(--ease); }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.stage-hint { position: absolute; bottom: -7%; left: 50%; translate: -50% 0; white-space: nowrap; font-size: 15px; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.hero-stage:hover .stage-helmet { animation-play-state: paused; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border-radius: 16px; border: 2px solid var(--line-2); display: grid; justify-items: center; padding-top: 8px; }
.scroll-cue span { width: 4px; height: 9px; border-radius: 4px; background: var(--accent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ─────────── ڕیزی ناوەکان ─────────── */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(5, 12, 24, .6); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 44px; will-change: transform; }
.tk-item { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; white-space: nowrap; color: var(--ink-2); }
.tk-item i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.tk-item em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }

/* ─────────── بەش (Section) ─────────── */
.sec { max-width: 1280px; margin: 0 auto; padding: 120px max(20px, 4vw) 80px; position: relative; }
.sec-head { max-width: 820px; margin-bottom: 56px; }
.sec-num { display: inline-block; font-size: 13px; color: var(--accent); padding: 5px 12px; border-radius: 8px; background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .25); margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(38px, 5.2vw, 70px); line-height: 1.1; font-weight: 900; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); margin-top: 18px; line-height: 1.9; }
.sub { font-size: 26px; font-weight: 800; margin: 56px 0 20px; display: flex; align-items: center; gap: 10px; }
.sub .ic { color: var(--accent); width: 26px; height: 26px; }
.note { color: var(--muted); font-size: 17px; margin: -8px 0 22px; max-width: 820px; }
.bigword {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: -1;
  font-family: var(--mono); font-weight: 600; font-size: clamp(70px, 13vw, 190px); line-height: 1;
  white-space: nowrap; pointer-events: none; text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(130, 175, 255, .1);
  will-change: transform;
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 28px 26px; margin-top: 40px; }
.panel .sub { margin-top: 18px; }

/* کاریگەری ڕووناکی ماوس */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--c-rgb, var(--accent-rgb)), .14), transparent 60%); }
.spot:hover::before { opacity: 1; }

/* ─────────── ژمارەکان ─────────── */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 4px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.stat .ic { width: 30px; height: 30px; color: var(--accent); margin-bottom: 8px; }
.stat b { font-size: clamp(44px, 4.4vw, 64px); font-weight: 900; line-height: 1; }
.stat span { color: var(--ink-2); font-size: 18px; }

/* ─────────── ڕەنگی کڵاو ─────────── */
.helmet-rail { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.hchip { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 10px 18px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, background .4s; }
.hchip-helmet { width: 88%; transition: transform .6s var(--ease); }
.hchip b { margin-top: 10px; font-size: 21px; color: var(--c); font-weight: 800; line-height: 1.3; }
.hchip small { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.hchip:hover { transform: translateY(-8px); border-color: rgba(var(--c-rgb), .6); box-shadow: 0 18px 50px rgba(var(--c-rgb), .18); background: rgba(var(--c-rgb), .06); }
.hchip:hover .hchip-helmet { transform: translateY(-6px) rotate(-8deg) scale(1.06); }

/* ─────────── کارتی بەشەکان ─────────── */
.search { position: relative; display: flex; align-items: center; max-width: 560px; margin-bottom: 30px; }
.search .ic { position: absolute; right: 18px; width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; padding: 15px 52px 15px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(8, 18, 34, .7); color: var(--ink); font-size: 19px; outline: none; transition: border-color .3s, box-shadow .3s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: rgba(var(--accent-rgb), .7); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .12); }
.dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; perspective: 1400px; }
.dcard {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 22px 22px 20px; border-radius: 24px;
  background: linear-gradient(160deg, rgba(var(--c-rgb), .08), rgba(9, 20, 38, .75) 45%);
  border: 1px solid var(--line);
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, opacity 1s var(--ease), filter 1s var(--ease);
}
.dcard.rv { transform: translateY(42px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.dcard.rv.in { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.dcard:hover { border-color: rgba(var(--c-rgb), .6); box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(var(--c-rgb), .2), 0 0 60px rgba(var(--c-rgb), .14); }
.dcard::after { content: ''; position: absolute; top: 0; inset-inline: 0; height: 3px; background: var(--c); box-shadow: 0 0 20px var(--c); transform: scaleX(.25); transform-origin: right; transition: transform .6s var(--ease); }
.dcard:hover::after { transform: scaleX(1); }
.dcard-glow { position: absolute; width: 240px; height: 240px; top: -80px; left: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--c-rgb), .25), transparent 70%); pointer-events: none; transition: transform .8s var(--ease); }
.dcard:hover .dcard-glow { transform: scale(1.4); }
.dcard-top { display: flex; justify-content: space-between; align-items: center; }
.dnum { font-size: 13px; color: var(--muted); }
.dicon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--c-rgb), .12); color: var(--c); border: 1px solid rgba(var(--c-rgb), .3); }
.dicon .ic { width: 22px; height: 22px; }
.dcard-helmet { width: 62%; margin: 8px auto 6px; transform: translateZ(40px); transition: transform .6s var(--ease); }
.dcard:hover .dcard-helmet { transform: translateZ(60px) translateY(-8px) rotate(-6deg); }
.dcard h3 { font-size: 27px; font-weight: 900; line-height: 1.3; }
.den { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--c); opacity: .9; }
.dtag { color: var(--ink-2); font-size: 17px; line-height: 1.7; margin: 10px 0 16px; flex: 1; }
.dmeta { display: flex; flex-wrap: wrap; gap: 6px; }
.dmeta span { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--ink-2); }
.dmeta i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.dgo { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 800; color: var(--c); font-size: 17px; }
.dgo .ic { transition: transform .4s var(--ease); }
.dcard:hover .dgo .ic { transform: translateX(-6px); }
.empty { color: var(--muted); padding: 30px 0; }
/* ناوە ئینگلیزییەکان لە ناو کارتی ڕاست-بۆ-چەپدا */
.den, .hstyle em, .other em, .ppe em, .br em, .stage li em, .grad li em, .proj-b > em, .eng-info > em, .tk-item em { text-align: right; }

/* ─────────── سەلامەتی ─────────── */
.code-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.code { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 18px 16px; text-align: center; transition: transform .4s var(--ease), border-color .4s; }
.code:hover { transform: translateY(-5px); border-color: rgba(var(--c-rgb), .55); }
.code-h { display: block; width: 70%; margin: 0 auto 6px; }
.code b { font-size: 21px; font-weight: 800; }
.code p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }

.type-grid, .class-grid { display: grid; gap: 14px; }
.type-grid { grid-template-columns: 1fr 1fr; }
.class-grid { grid-template-columns: repeat(3, 1fr); }
.type, .klass { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.type-vis { position: relative; width: 80%; margin: 12px auto 8px; }
.type-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.type-svg .arr { fill: none; stroke: #ff5b5b; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; animation: hit 1.6s var(--ease) infinite; }
@keyframes hit { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.tkey { font-size: 13px; color: var(--accent); }
.type b, .klass b { display: block; font-size: 21px; font-weight: 800; }
.type p, .klass p { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin-top: 4px; }
.klass-top { display: flex; justify-content: space-between; align-items: center; color: var(--accent); font-size: 13px; }
.klass-top .ic { width: 24px; height: 24px; }
.volt { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .07); margin: 12px 0 6px; overflow: hidden; }
.volt i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ffd84d, #ff5b5b); transition: width 1.6s var(--ease) .3s; }
.klass.in .volt i { width: var(--v); }
.vtx { font-family: var(--mono); font-size: 14px; color: var(--ink-2); }

.style-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hstyle { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; transition: border-color .3s, transform .4s var(--ease); }
.hstyle:hover { border-color: rgba(var(--accent-rgb), .45); transform: translateY(-4px); }
.hs-n { font-size: 12px; color: var(--accent); }
.hstyle b { display: block; font-size: 20px; font-weight: 800; }
.hstyle em, .other em { display: block; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.hstyle p { font-size: 16px; color: var(--ink-2); margin-top: 6px; line-height: 1.7; }

.std li { display: flex; flex-direction: column; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 17px; color: var(--ink-2); }
.std li:last-child { border: 0; }
.std .mono { color: var(--ink); font-size: 14px; font-weight: 600; }
.care li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-size: 17px; color: var(--ink-2); line-height: 1.7; }
.care .ic { color: #4ade80; width: 22px; height: 22px; margin-top: 5px; }

.ppe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ppe { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; }
.ppe-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(var(--c-rgb, var(--accent-rgb)), .1); color: var(--c, var(--accent)); border: 1px solid rgba(var(--c-rgb, var(--accent-rgb)), .28); margin-bottom: 12px; flex: none; }
.ppe-ic .ic { width: 28px; height: 28px; }
.ppe b { font-size: 20px; font-weight: 800; }
.ppe em, .ppe-item em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ppe p { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin-top: 6px; flex: 1; }
.ppe-dots { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.ppe-dots i { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0, 0, 0, .35); }

/* ─────────── ئەندازیارانی ناودار ─────────── */
.legs { display: flex; flex-direction: column; gap: 18px; margin-inline: calc(-1 * max(20px, 4vw)); }
.leg-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.leg-track { display: flex; gap: 14px; width: max-content; animation: marquee 110s linear infinite; padding: 6px 0; }
.leg-row.rev .leg-track { animation-direction: reverse; animation-duration: 125s; }
.leg-row:hover .leg-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.leg { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .4s var(--ease); white-space: nowrap; }
.leg:hover { border-color: rgba(var(--c-rgb), .7); background: rgba(var(--c-rgb), .1); transform: translateY(-3px); }
.leg-ph { width: 58px; height: 58px; border-radius: 50%; box-shadow: 0 0 0 2px var(--c), 0 0 18px rgba(var(--c-rgb), .4); flex: none; }
.leg-tx { display: flex; flex-direction: column; line-height: 1.35; }
.leg-tx b { font-size: 18px; font-weight: 800; }
.leg-tx small { font-size: 13px; color: var(--c); }

/* ─────────── وێنە (شوێنی وێنە و وێنەی جێگرەوە) ─────────── */
.ph { position: relative; overflow: hidden; margin: 0; background: linear-gradient(110deg, rgba(255, 255, 255, .04) 30%, rgba(255, 255, 255, .1) 50%, rgba(255, 255, 255, .04) 70%) 0 0 / 250% 100%, rgba(var(--c-rgb, 90, 140, 220), .12); animation: shimmer 1.6s linear infinite; }
.ph.loaded, .ph.noimg { animation: none; }
@keyframes shimmer { to { background-position: -250% 0, 0 0; } }
.ph .wimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.2s var(--ease); }
.ph .wimg.ok { opacity: 1; transform: none; }
.ph-fb { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c, var(--accent)); font-weight: 600; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at 30% 20%, rgba(var(--c-rgb, var(--accent-rgb)), .3), rgba(8, 18, 34, .9)); }
.ph-fb .ic { width: 40%; height: 40%; opacity: .8; }
.ph.noimg .ph-fb { opacity: 1; }

/* ─────────── تاقیکردنەوە ─────────── */
.quiz { max-width: 880px; margin: 0 auto; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 28px; padding: 34px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.quiz.qz-anim > * { animation: swapIn .6s var(--ease) both; }
.quiz.qz-anim > *:nth-child(2) { animation-delay: .06s; }
.quiz.qz-anim > *:nth-child(3) { animation-delay: .12s; }
.qz-top { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.qz-bar { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.qz-bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .6s var(--ease); box-shadow: 0 0 14px var(--accent); }
.qz-q { font-size: clamp(26px, 3vw, 36px); font-weight: 900; margin: 22px 0 22px; line-height: 1.35; }
.qz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qz-opt { display: flex; align-items: center; gap: 14px; text-align: right; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); font-size: 19px; line-height: 1.5; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.qz-opt .mono { width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .12); color: var(--accent); font-size: 15px; }
.qz-opt:hover { border-color: rgba(var(--accent-rgb), .7); background: rgba(var(--accent-rgb), .08); transform: translateY(-2px); }
.qz-reset { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 17px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); }
.qz-reset:hover { color: var(--ink); border-color: var(--line-2); }
.qz-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.qz-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 16px; border-radius: 22px; background: linear-gradient(170deg, rgba(var(--c-rgb), .14), rgba(9, 20, 38, .6)); border: 1px solid rgba(var(--c-rgb), .4); transition: transform .4s var(--ease), box-shadow .4s; }
.qz-card:first-child { box-shadow: 0 0 50px rgba(var(--c-rgb), .25); }
.qz-card:hover { transform: translateY(-6px); }
.qz-rank { position: absolute; top: 12px; right: 14px; font-size: 14px; color: var(--c); }
.qz-helmet { width: 70%; margin-bottom: 6px; }
.qz-card b { font-size: 21px; font-weight: 800; line-height: 1.35; }
.qz-pct { width: 100%; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); margin: 12px 0 4px; overflow: hidden; }
.qz-pct i { display: block; height: 100%; background: var(--c); border-radius: inherit; }
.qz-card small { color: var(--ink-2); font-size: 15px; }
.qz-note { color: var(--muted); font-size: 16px; margin-top: 18px; }

/* ─────────── بەشەکانی تر ─────────── */
.others-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.other { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; transition: border-color .3s, transform .4s var(--ease); }
.other:hover { border-color: var(--line-2); transform: translateY(-4px); }
.other-n { font-size: 12px; color: var(--accent); }
.other b { display: block; font-size: 20px; font-weight: 800; line-height: 1.4; }
.other p { font-size: 15.5px; color: var(--ink-2); line-height: 1.7; margin-top: 6px; }

/* ─────────── پێپەڕە ─────────── */
.footer { border-top: 1px solid var(--line); background: rgba(3, 8, 16, .75); margin-top: 60px; }
.foot-in { max-width: 1280px; margin: 0 auto; padding: 50px max(20px, 4vw); display: grid; grid-template-columns: 1fr 2fr auto; gap: 40px; align-items: start; }
.foot-brand b { font-size: 30px; font-weight: 900; }
.foot-brand p, .foot-note p { color: var(--ink-2); font-size: 16.5px; line-height: 1.8; }
.foot-note p + p { margin-top: 10px; }
.foot-note b { color: var(--ink); }
.to-top { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 14px; border: 1px solid var(--line-2); font-size: 17px; transition: border-color .3s, color .3s; }
.to-top:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════════════ پەڕەی بەش ═══════════════ */
.dept { --c: var(--accent); }
.d-hero { max-width: 1280px; margin: 0 auto; min-height: 92vh; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding: 130px max(20px, 4vw) 50px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; color: var(--ink-2); padding: 7px 14px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 22px; transition: color .3s, border-color .3s; }
.back:hover { color: var(--c); border-color: rgba(var(--c-rgb), .5); }
.d-hero .kicker { display: flex; width: max-content; margin-bottom: 10px; }
.d-hero h1 { font-size: clamp(48px, 7vw, 104px); font-weight: 900; line-height: 1.05; }
.d-en { text-align: right; font-family: var(--mono); font-size: clamp(16px, 2vw, 24px); color: var(--c); letter-spacing: .08em; text-transform: uppercase; margin-top: 12px; will-change: transform; }
.d-tag { font-size: clamp(20px, 1.8vw, 25px); color: var(--ink-2); margin-top: 18px; max-width: 620px; }
.d-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.d-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 17px; }
.d-chips .ic { color: var(--c); width: 20px; height: 20px; }
.d-chips .chip-helmet { background: rgba(var(--c-rgb), .14); border-color: rgba(var(--c-rgb), .45); color: var(--c); font-weight: 800; }
.chip-helmet i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.d-hero-vis { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; justify-self: center; display: grid; place-items: center; }
.d-helmet { width: 72%; position: relative; z-index: 2; animation: float 5s ease-in-out infinite; }
.d-helmet .helmet { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.d-hlabel { position: absolute; bottom: 6%; left: 50%; translate: -50% 0; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 10px 20px; border-radius: 16px; background: rgba(6, 14, 28, .75); border: 1px solid rgba(var(--c-rgb), .5); white-space: nowrap; }
.d-hlabel b { color: var(--c); font-size: 20px; }
.d-hlabel .mono { font-size: 13px; color: var(--muted); }

.d-tabs { position: sticky; top: 84px; z-index: 30; max-width: 1280px; margin: 0 auto; padding: 0 max(20px, 4vw); }
.d-tabs-in { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 18px; background: rgba(6, 13, 26, .78); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.d-tabs-in::-webkit-scrollbar { display: none; }
.d-tabs button { white-space: nowrap; padding: 8px 16px; border-radius: 12px; font-size: 17px; color: var(--ink-2); transition: color .3s, background .3s; }
.d-tabs button:hover { color: #fff; }
.d-tabs button.on { background: var(--c); color: var(--c-ink); font-weight: 800; }

.d-sec { padding-top: 110px; }
.d-sec .sec-num { color: var(--c); background: rgba(var(--c-rgb), .1); border-color: rgba(var(--c-rgb), .3); }
.dept .sub .ic { color: var(--c); }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.about-tx { font-size: clamp(20px, 1.7vw, 24px); line-height: 2; color: var(--ink); }
.fact { display: flex; gap: 16px; padding: 24px; border-radius: 22px; background: linear-gradient(160deg, rgba(var(--c-rgb), .16), rgba(9, 20, 38, .6)); border: 1px solid rgba(var(--c-rgb), .4); }
.fact .ic { width: 34px; height: 34px; color: var(--c); flex: none; }
.fact b { font-size: 20px; color: var(--c); }
.fact p { font-size: 17px; color: var(--ink-2); line-height: 1.8; margin-top: 4px; }
.nature { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nat { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.nat .mono { font-size: 30px; font-weight: 600; color: transparent; -webkit-text-stroke: 1px var(--c); }
.nat p { font-size: 17px; color: var(--ink-2); line-height: 1.8; margin-top: 6px; }

.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.stages.s5 { grid-template-columns: repeat(5, 1fr); }
.stage { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 20px; position: relative; }
.stage::before { content: ''; position: absolute; top: 44px; left: -15px; width: 16px; border-top: 2px dashed rgba(var(--c-rgb), .45); }
.stage:last-child::before { display: none; }
.stage-h { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.stage-n { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; font-weight: 900; background: var(--c); color: var(--c-ink); box-shadow: 0 0 24px rgba(var(--c-rgb), .4); }
.stage-h b { font-size: 21px; font-weight: 800; }
.stage li { display: flex; flex-direction: column; padding: 7px 0; border-bottom: 1px dashed rgba(130, 175, 255, .08); line-height: 1.45; }
.stage li:last-child { border: 0; }
.stage li span { font-size: 17.5px; }
.stage li em, .br em, .grad li em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

.br-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: start; }
.br-count { position: sticky; top: 160px; padding: 30px 24px; border-radius: 24px; text-align: center; background: linear-gradient(170deg, rgba(var(--c-rgb), .2), rgba(9, 20, 38, .6)); border: 1px solid rgba(var(--c-rgb), .45); }
.br-count b { display: block; font-size: 110px; font-weight: 900; line-height: 1; color: var(--c); text-shadow: 0 0 40px rgba(var(--c-rgb), .5); }
.br-count span { font-size: 19px; color: var(--ink-2); }
.br-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.br { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; transition: border-color .3s, transform .4s var(--ease); }
.br:hover { border-color: rgba(var(--c-rgb), .5); transform: translateY(-4px); }
.br-n { font-size: 12px; color: var(--c); }
.br b { display: block; font-size: 21px; font-weight: 800; line-height: 1.4; }
.br p { font-size: 16.5px; color: var(--ink-2); line-height: 1.7; margin-top: 6px; }

.grad { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grad-col { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.grad-col.phd { background: linear-gradient(170deg, rgba(var(--c-rgb), .1), var(--panel) 40%); border-color: rgba(var(--c-rgb), .3); }
.grad-h { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.grad-h .ic { width: 30px; height: 30px; color: var(--c); }
.grad-h b { font-size: 22px; font-weight: 800; flex: 1; }
.grad-h .mono { font-size: 13px; color: var(--c); padding: 3px 10px; border-radius: 8px; border: 1px solid rgba(var(--c-rgb), .35); }
.grad li { display: flex; flex-direction: column; padding: 11px 16px 11px 0; border-bottom: 1px dashed var(--line); position: relative; line-height: 1.5; }
.grad li::before { content: ''; position: absolute; right: 0; top: 20px; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.grad li:last-child { border: 0; }
.grad li span { font-size: 18px; }

.sw-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sw { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px; transition: border-color .3s, transform .4s var(--ease); }
.sw:hover { border-color: rgba(var(--c-rgb), .5); transform: translateY(-4px); }
.sw-logo { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-weight: 600; font-size: 17px; background: linear-gradient(145deg, rgba(var(--c-rgb), .3), rgba(var(--c-rgb), .08)); color: var(--c); border: 1px solid rgba(var(--c-rgb), .4); }
.sw b { display: block; font-family: var(--font); font-size: 16px; font-weight: 800; line-height: 1.3; text-align: right; }
.sw p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin-top: 2px; }

.jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.job { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); font-size: 18px; transition: border-color .3s; }
.job:hover { border-color: rgba(var(--c-rgb), .45); }
.job .ic { width: 24px; height: 24px; color: var(--c); }

.safe { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.safe-helmet { position: sticky; top: 160px; padding: 26px; border-radius: 26px; background: linear-gradient(170deg, rgba(var(--c-rgb), .16), rgba(9, 20, 38, .6)); border: 1px solid rgba(var(--c-rgb), .45); }
.safe-vis { width: 70%; margin: 0 auto 10px; animation: float 5s ease-in-out infinite; }
.safe-helmet dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 10px 0 14px; font-size: 17px; }
.safe-helmet dt { color: var(--muted); }
.safe-helmet dd { margin: 0; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.safe-helmet dd i { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.why { font-size: 16.5px; color: var(--ink-2); line-height: 1.85; border-top: 1px solid var(--line); padding-top: 14px; }
.safe-ppe .sub { margin-top: 0; }
.ppe-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ppe-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.ppe-item .ppe-ic { margin: 0; width: 50px; height: 50px; }
.ppe-item b { font-size: 18.5px; font-weight: 800; }
.ppe-item p { font-size: 15.5px; color: var(--ink-2); line-height: 1.65; }
.tip { display: flex; gap: 16px; margin-top: 16px; padding: 20px; border-radius: 18px; background: rgba(74, 222, 128, .07); border: 1px solid rgba(74, 222, 128, .3); }
.tip .ic { width: 30px; height: 30px; color: #4ade80; flex: none; }
.tip b { color: #4ade80; font-size: 19px; }
.tip p { font-size: 17px; color: var(--ink-2); line-height: 1.8; }

.engs { display: flex; flex-direction: column; gap: 22px; }
.eng { border-radius: 28px; padding: 26px; background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.eng::before { content: ''; position: absolute; top: 0; right: 0; width: 4px; height: 100%; background: linear-gradient(var(--c), transparent); }
.eng-head { display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: start; }
.eng-ph { width: 190px; aspect-ratio: 4 / 5; border-radius: 22px; box-shadow: 0 0 0 1px rgba(var(--c-rgb), .45), 0 20px 40px rgba(0, 0, 0, .35); }
.eng-ph .ph-fb { font-size: 40px; }
.eng-rank { position: absolute; top: 10px; right: 10px; z-index: 2; font-size: 13px; padding: 3px 9px; border-radius: 8px; background: rgba(4, 10, 20, .75); color: var(--c); border: 1px solid rgba(var(--c-rgb), .4); }
.eng-info h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; line-height: 1.25; }
.eng-info > em { font-style: normal; font-family: var(--mono); font-size: 13px; color: var(--c); }
.eng-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0; font-size: 16px; color: var(--muted); }
.eng-meta span { display: inline-flex; align-items: center; gap: 6px; }
.eng-meta .ic { color: var(--c); }
.eng-info p { font-size: 18px; color: var(--ink-2); line-height: 1.85; max-width: 820px; }
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.links a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 12px; font-size: 16px; border: 1px solid var(--line-2); transition: border-color .3s, color .3s, background .3s; }
.links a:hover { border-color: rgba(var(--c-rgb), .6); color: var(--c); background: rgba(var(--c-rgb), .06); }
.projs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.proj { border-radius: 20px; overflow: hidden; background: rgba(6, 14, 28, .6); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .3s, box-shadow .4s; }
.eng.in .proj { animation: projIn .9s var(--ease) both; animation-delay: calc(var(--d) + 200ms); }
@keyframes projIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.proj:hover { transform: translateY(-6px); border-color: rgba(var(--c-rgb), .5); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.proj-ph { aspect-ratio: 16 / 10; }
.proj-ph .wimg { object-position: 50% 40%; }
.proj:hover .proj-ph .wimg.ok { transform: scale(1.06); }
.proj-y { position: absolute; bottom: 10px; right: 10px; z-index: 2; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 8px; background: var(--c); color: var(--c-ink); }
.proj-b { padding: 16px 18px 14px; display: flex; flex-direction: column; flex: 1; }
.proj-b b { font-size: 20px; font-weight: 800; line-height: 1.4; }
.proj-b > em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.proj-b p { font-size: 16px; color: var(--ink-2); line-height: 1.75; margin-top: 8px; flex: 1; }
.proj-f { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14.5px; color: var(--muted); }
.proj-f span { display: inline-flex; align-items: center; gap: 6px; flex: 1; }
.proj-f .ic { color: var(--c); }
.proj-f a { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.proj-f a:hover { border-color: rgba(var(--c-rgb), .6); background: rgba(var(--c-rgb), .1); }

.pn { max-width: 1280px; margin: 0 auto; padding: 60px max(20px, 4vw) 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pn-card { display: grid; grid-template-columns: 1fr 120px; grid-template-rows: auto auto; align-items: center; gap: 4px 16px; padding: 22px 26px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); transition: border-color .4s, transform .5s var(--ease), background .4s; }
.pn-card:hover { border-color: rgba(var(--c-rgb), .6); transform: translateY(-5px); background: rgba(var(--c-rgb), .07); }
.pn-dir { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); grid-column: 1; }
.pn-h { grid-row: 1 / 3; grid-column: 2; transition: transform .6s var(--ease); }
.pn-card:hover .pn-h { transform: rotate(-10deg) scale(1.08); }
.pn-card b { font-size: 24px; font-weight: 900; color: var(--c); grid-column: 1; line-height: 1.3; }
.pn-card.nx { text-align: left; grid-template-columns: 120px 1fr; }
.pn-card.nx .pn-dir, .pn-card.nx b { grid-column: 2; justify-self: end; }
.pn-card.nx .pn-h { grid-column: 1; }

/* ─────────── ئەنیمەیشنی کڵاو لەسەرکردن ─────────── */
.drop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; cursor: pointer; }
.drop[hidden] { display: none; }
.drop-veil { position: absolute; inset: 0; background: radial-gradient(circle at 50% 42%, rgba(var(--c-rgb), .26), transparent 55%), rgba(3, 7, 14, .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; }
.drop.run .drop-veil { animation: veil .35s ease both; }
.drop.out { animation: dropOut .5s ease both; }
@keyframes veil { from { opacity: 0; } to { opacity: 1; } }
@keyframes dropOut { to { opacity: 0; } }
.drop-center { position: relative; width: min(300px, 70vw); aspect-ratio: 220 / 230; }
.drop-person { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 12px rgba(var(--c-rgb), .6)); }
.drop-person .face { stroke-width: 3; }
.drop.run .drop-person { animation: fadeUp .5s var(--ease) .1s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: .9; transform: none; } }
.drop-helmet { position: absolute; left: 50%; top: 11%; width: 60%; transform: translate(-50%, -140vh); }
.drop-helmet .helmet { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .6)); }
.drop.run .drop-helmet { animation: helmetDrop .95s cubic-bezier(.3, 1.25, .5, 1) .25s both; }
@keyframes helmetDrop {
  0% { transform: translate(-50%, -140vh) rotate(-28deg); }
  62% { transform: translate(-50%, 8px) rotate(4deg); }
  80% { transform: translate(-50%, -10px) rotate(-2deg); }
  100% { transform: translate(-50%, 0) rotate(0); }
}
.drop-ring { position: absolute; left: 50%; top: 24%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--c); transform: translate(-50%, -50%) scale(.2); opacity: 0; }
.drop.run .drop-ring { animation: ring .8s ease-out .85s both; }
@keyframes ring { 0% { opacity: .9; transform: translate(-50%, -50%) scale(.3); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.6); } }
.drop-title, .drop-sub { position: absolute; left: 50%; translate: -50% 0; white-space: nowrap; text-align: center; opacity: 0; }
.drop-title { top: 104%; font-size: clamp(26px, 4vw, 38px); font-weight: 900; color: var(--c); text-shadow: 0 0 30px rgba(var(--c-rgb), .6); }
.drop-sub { top: calc(104% + 56px); font-size: 19px; color: var(--ink-2); }
.drop.run .drop-title { animation: fadeUp .6s var(--ease) .75s both; }
.drop.run .drop-sub { animation: fadeUp .6s var(--ease) .9s both; }

/* ─────────── وەڵامدەرەوە (Responsive) ─────────── */
@media (max-width: 1180px) {
  .helmet-rail { grid-template-columns: repeat(5, 1fr); }
  .sw-grid { grid-template-columns: repeat(4, 1fr); }
  .others-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stages, .stages.s5 { grid-template-columns: repeat(2, 1fr); }
  .stage::before { display: none; }
  .nature { grid-template-columns: repeat(2, 1fr); }
  .code-grid { grid-template-columns: repeat(5, 1fr); }
  .style-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  body { font-size: 19px; }
  .nav { position: fixed; top: 84px; left: 14px; right: 14px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border-radius: 20px; background: rgba(6, 13, 26, .96); border: 1px solid var(--line-2); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
  .nav a { padding: 12px 16px; font-size: 19px; }
  body.menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-btn { display: inline-flex; }
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 10px; text-align: center; }
  .hero-tx { display: flex; flex-direction: column; align-items: center; }
  .hero-lead { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .hero-stage { max-width: 440px; order: -1; margin-top: 10px; }
  .scroll-cue { display: none; }
  .two, .about-grid, .grad, .safe { grid-template-columns: 1fr; }
  .safe-helmet, .br-count { position: static; }
  .br-wrap { grid-template-columns: 1fr; }
  .br-count { display: flex; align-items: center; gap: 16px; text-align: right; padding: 18px 24px; }
  .br-count b { font-size: 72px; }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .d-hero { grid-template-columns: 1fr; text-align: center; min-height: auto; padding-top: 120px; }
  .d-hero-tx { display: flex; flex-direction: column; align-items: center; }
  .d-en { text-align: center; }
  .d-hero .kicker { margin-inline: auto; }
  .d-chips { justify-content: center; }
  .d-hero-vis { max-width: 380px; order: -1; }
  .eng-head { grid-template-columns: 150px 1fr; }
  .eng-ph { width: 150px; }
  .projs { grid-template-columns: 1fr 1fr; }
  .sw-grid { grid-template-columns: repeat(3, 1fr); }
  .helmet-rail { grid-template-columns: repeat(4, 1fr); }
  .code-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-in { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 18px; }
  .topbar { top: 8px; left: 8px; right: 8px; }
  .brand-tx small { display: none; }
  .nav { top: 74px; left: 8px; right: 8px; }
  .sec { padding: 90px 16px 60px; }
  .sec-head { margin-bottom: 36px; }
  .hero { padding: 100px 16px 60px; }
  .hero-title { font-size: clamp(38px, 11.4vw, 60px); }
  .btn { padding: 13px 20px; font-size: 17px; }
  .stage-hint { display: none; }
  .stage-label { min-width: 0; width: max-content; max-width: 92%; padding: 10px 16px; }
  .stage-label b { font-size: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:last-child { grid-column: span 2; }
  .helmet-rail { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hchip { padding: 16px 6px 14px; }
  .hchip b { font-size: 17px; }
  .hchip small { font-size: 13px; }
  .dept-grid { grid-template-columns: 1fr; }
  .code-grid { grid-template-columns: repeat(2, 1fr); }
  .type-grid, .class-grid, .style-grid, .ppe-list, .jobs, .br-grid, .nature, .stages, .stages.s5, .qz-opts, .qz-res, .projs { grid-template-columns: 1fr; }
  .sw-grid { grid-template-columns: 1fr 1fr; }
  .sw { flex-direction: column; align-items: flex-start; }
  .others-grid { grid-template-columns: 1fr 1fr; }
  .panel { padding: 6px 18px 20px; }
  .quiz { padding: 22px 18px; border-radius: 22px; }
  .qz-res .qz-helmet { width: 42%; }
  .legs { margin-inline: -16px; }
  .d-tabs { top: 74px; padding: 0 8px; }
  .d-hero { padding: 100px 16px 30px; }
  .d-sec { padding-top: 80px; }
  .eng { padding: 18px; border-radius: 22px; }
  .eng-head { grid-template-columns: 1fr; gap: 16px; }
  .eng-ph { width: 100%; max-width: 260px; margin: 0 auto; }
  .pn { grid-template-columns: 1fr; padding: 40px 16px; }
  .pn-card, .pn-card.nx { grid-template-columns: 1fr 90px; text-align: right; }
  .pn-card.nx .pn-dir, .pn-card.nx b { grid-column: 1; justify-self: start; }
  .pn-card.nx .pn-h { grid-column: 2; }
  .bigword { font-size: 64px; }
  .drop-sub { font-size: 16px; }
}

/* جووڵەی کەم بۆ ئەو کەسانەی داوای دەکەن */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv, .split .w > span { opacity: 1; transform: none; filter: none; }
  .leg-track { animation: none; }
  .leg-row { overflow-x: auto; }
}
