/*
 * Talents Hub (مركز الكفاءات), talents.iraqnomx.com. Colours and fonts from the Talents Hub brand identity
 * (D:\MyProjects\branding\TalensHub): deep navy, royal blue, vibrant teal, aqua, warm gold; Montserrat and Cairo.
 */
:root {
  --navy: #0A2540;
  --navy-2: #0B3C5D;
  --royal: #1D4ED8;
  --royal-deep: #1E3A8A;
  --teal: #0D9488;
  --aqua: #06B6D4;
  --gold: #F59E0B;
  --gold-light: #FBBF24;
  --ink: #0F1E33;
  --ink-soft: #33435A;
  --muted: #4E5D72;
  --line: #E1E7EF;
  --bg: #F5F7FB;
  --card: #FFFFFF;
  --tint: #EEF4FF;
  --ok-bg: #E2F6F3;
  --ok-ink: #0B6B63;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 8px 24px rgba(10, 37, 64, .06);
  --shadow-lg: 0 18px 48px rgba(10, 37, 64, .14);
  --font-en: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --bar-h: 72px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: calc(var(--bar-h) + 12px); }
body { background: var(--bg); color: var(--ink); font-family: var(--font-en); font-size: 15px; line-height: 1.6; overflow-x: hidden; }
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.75; }
a { color: var(--royal); }
button { font: inherit; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.eyebrow { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }

/* ---- buttons: pills ---- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  border: 1.5px solid transparent; border-radius: 999px; padding: 12px 24px;
  font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.pill.light { background: #fff; color: var(--navy); }
.pill.light:hover { background: var(--gold-light); }
.pill.glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(8px); }
.pill.glass:hover { background: rgba(255, 255, 255, .24); border-color: #fff; }
.pill.gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); }
.pill.gold:hover { box-shadow: 0 8px 22px rgba(245, 158, 11, .35); }
.pill.solid { background: var(--royal); color: #fff; }
.pill.solid:hover { background: var(--royal-deep); }
.pill.line { background: var(--card); color: var(--navy); border-color: var(--navy); }
.pill.line:hover { background: var(--navy); color: #fff; }
.pill.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.pill.ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.pill[disabled] { opacity: .65; cursor: progress; box-shadow: none; }

/* ---- the bar and the moving logo ---- */
.bar { position: fixed; inset: 0 0 auto; z-index: 30; height: var(--bar-h); transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.bar.solid { background: rgba(10, 37, 64, .92); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(10, 37, 64, .25); }
.bar-in { height: 100%; width: min(1240px, 100%); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* The layout never mirrors (as on iraqnomx.com): logo top left and the language switch top right in both languages. */
/* Where the logo lands; app.js reads its box. */
.bar-slot { width: 150px; height: 54px; flex: none; }
.bar-links { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.by { color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 600; text-decoration: none; }
.by:hover { color: #fff; text-decoration: underline; }
/* The IRAQNOMX language switch, the same as on iraqnomx.com (tracker/web/styles.css .lang): a white pill,
   "Eng" and "عربي", the chosen one filled dark. */
.lang { display: inline-flex; flex: none; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; box-shadow: var(--shadow); }
.lang button { border: 0; background: none; padding: 4px 14px; border-radius: 999px; cursor: pointer; font-size: 14px; color: var(--ink-soft); }
.lang button[lang="en"] { font-family: var(--font-en); }
.lang button[lang="ar"] { font-family: var(--font-ar); }
.lang button[aria-pressed="true"] { background: var(--navy); color: #fff; font-weight: 600; }
.bar-cta { padding: 9px 18px; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity .3s, background-color .2s; }
.scrolled .bar-cta { opacity: 1; pointer-events: auto; }
.mark { position: fixed; top: 0; left: 0; z-index: 31; width: 1200px; transform-origin: 0 0; will-change: transform; display: block; }
.mark img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .35)); }
.scrolled .mark img { filter: none; }

/* ---- hero: a video card, logo in the middle, copy at the bottom ---- */
.hero { padding: 10px; height: 100svh; min-height: 600px; max-height: 1000px; }
.hero-card { position: relative; height: 100%; border-radius: 26px; overflow: hidden; color: #fff; isolation: isolate; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
/* Shown until (or instead of) the video: the brand colours drifting, with the symbol turning slowly. */
.hero-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(60% 70% at 15% 20%, rgba(6, 182, 212, .55), transparent 60%),
    radial-gradient(55% 60% at 85% 30%, rgba(29, 78, 216, .7), transparent 60%),
    radial-gradient(50% 55% at 70% 90%, rgba(13, 148, 136, .6), transparent 60%),
    radial-gradient(40% 40% at 30% 85%, rgba(245, 158, 11, .35), transparent 60%),
    linear-gradient(160deg, #0B3C5D, #0A2540 60%, #071A2E);
  background-size: 140% 140%; animation: drift 24s ease-in-out infinite alternate;
}
.hero-fallback img { width: min(110vh, 1100px); height: auto; opacity: .07; animation: turn 120s linear infinite; }
@keyframes drift { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }
@keyframes turn { to { rotate: 360deg; } }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-media video.on { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 46, .45) 0%, rgba(7, 26, 46, .05) 35%, rgba(7, 26, 46, .25) 55%, rgba(7, 26, 46, .85) 100%); }
.hero-copy { width: min(1200px, 100%); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px) clamp(28px, 6vh, 56px); }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(28px, 4vw, 50px); line-height: 1.12; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
html[lang="ar"] .hero h1 { line-height: 1.45; letter-spacing: 0; font-weight: 800; }
.hero-sub { margin: 14px 0 0; max-width: 620px; font-size: clamp(15.5px, 1.6vw, 18px); color: rgba(255, 255, 255, .86); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-for { margin: 12px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .7); }

/* ---- sections ---- */
.block { padding-top: 72px; }
.block-head { margin-bottom: 24px; }
.block-head h2 { margin: 0; font-size: clamp(23px, 2.8vw, 32px); color: var(--navy); font-weight: 800; letter-spacing: -.01em; }
html[lang="ar"] .block-head h2 { letter-spacing: 0; }
.block-head p { margin: 8px 0 0; color: var(--ink-soft); max-width: 720px; }
.block-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }

/* ---- verification: on the brand teal ---- */
.verify { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 28px 48px; align-items: center; background: linear-gradient(150deg, #0FA597, var(--teal) 55%, #0B7F75); color: #fff; border-radius: 22px; padding: clamp(26px, 4vw, 44px); position: relative; overflow: hidden; }
.verify::after { content: ''; position: absolute; width: 520px; height: 520px; inset-block-start: -260px; inset-inline-end: -160px; background: url('/brand/talents-symbol-256.png?v=1') center / contain no-repeat; opacity: .1; filter: brightness(0) invert(1); pointer-events: none; }
.verify .eyebrow { color: #CCFBF1; }
.verify h2 { margin: 0; font-size: clamp(23px, 2.8vw, 32px); font-weight: 800; }
.verify header p { margin: 8px 0 0; color: #E6FFFB; }
.verify ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; position: relative; z-index: 1; }
.verify li { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); border-radius: var(--radius); padding: 18px; }
.verify .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--teal); font-weight: 800; font-family: var(--font-en); }
.verify strong { display: block; margin-top: 12px; font-size: 15.5px; }
.verify li p { margin: 4px 0 0; font-size: 13.5px; color: #E6FFFB; }

/* ---- tracks: full-width sections, the headline card grows to fill the screen (after titan.com) ---- */
.track-sec { --c1: var(--navy); --c2: var(--royal-deep); --acc: var(--aqua); position: relative; margin-top: 40px; }
.track-sec.t2 { --c1: #064E4A; --c2: var(--teal); --acc: var(--gold-light); margin-top: 0; }
.ts-stage { --p: 0; height: 200vh; }
.ts-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* The collage around the card: fades and drifts outward as the card grows. */
.ts-tiles { position: absolute; inset: 0; opacity: calc(1 - var(--p) * 2.2); }
.tile { position: absolute; border-radius: 22px; overflow: hidden; object-fit: cover; box-shadow: var(--shadow); width: 18vw; max-width: 280px; }
.tile.a { left: 4vw; top: 16vh; height: 38vh; transform: translateX(calc(var(--p) * -14vw)); }
.tile.b { left: 4vw; bottom: 8vh; height: 30vh; transform: translateX(calc(var(--p) * -14vw)); }
.tile.c { right: 4vw; top: 16vh; height: 30vh; transform: translateX(calc(var(--p) * 14vw)); }
.tile.d { right: 4vw; bottom: 8vh; height: 38vh; transform: translateX(calc(var(--p) * 14vw)); }
.tile.brand { display: grid; place-items: center; background: linear-gradient(150deg, #FFF7E6, #FDEBC4); }
.tile.brand img { width: 55%; height: auto; }
/* The globe (canvas, app.js) and the Iraq map (inline SVG, animated here). */
.tile.globe { display: block; background: radial-gradient(70% 60% at 50% 45%, #0E3A66, var(--navy) 75%); }
.tile.globe canvas { display: block; width: 100%; height: 100%; }
.tile.map { display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 40%, #0B6B63, #053F3A 80%); }
.tile.map svg { width: 88%; height: auto; overflow: visible; }
.iq-fill { fill: rgba(204, 251, 241, .1); animation: iq-fill 8s ease-in-out infinite; }
.iq-line { fill: none; stroke: #5EEAD4; stroke-width: 1.6; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: iq-draw 8s ease-in-out infinite; }
.iq-links path { fill: none; stroke: rgba(251, 191, 36, .7); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; animation: iq-link 8s ease-out infinite; animation-delay: calc(1.6s + var(--i) * .08s); }
.iq-dots circle { fill: #fff; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: iq-dot 8s ease-out infinite; animation-delay: calc(1.2s + var(--i) * .08s); }
.iq-dots .cap { fill: var(--gold-light); }
@keyframes iq-draw { 0% { stroke-dashoffset: 1; } 25%, 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes iq-fill { 0%, 20% { fill-opacity: 0; } 35%, 88% { fill-opacity: 1; } 100% { fill-opacity: 0; } }
@keyframes iq-link { 0% { stroke-dashoffset: 1; } 15%, 75% { stroke-dashoffset: 0; opacity: 1; } 85%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes iq-dot { 0% { transform: scale(0); } 6% { transform: scale(1.6); } 10%, 76% { transform: scale(1); opacity: 1; } 86%, 100% { transform: scale(1); opacity: 0; } }
.tile.glow { background: radial-gradient(80% 70% at 30% 20%, var(--acc), transparent 70%), linear-gradient(160deg, var(--c2), var(--c1)); }
/* The card: clip-path opens from a centred card (p = 0) to the whole screen (p ≥ .55). */
.ts-card {
  --q: min(var(--p) / .55, 1);
  position: absolute; inset: 0; color: #fff; display: grid; place-items: center; text-align: center;
  background: radial-gradient(60% 60% at 80% 10%, color-mix(in srgb, var(--acc) 35%, transparent), transparent 70%), linear-gradient(155deg, var(--c2), var(--c1));
  clip-path: inset(calc((1 - var(--q)) * 14vh) calc((1 - var(--q)) * 26vw) round calc((1 - var(--q)) * 26px));
}
.ts-head { --w0: 48; width: min(760px, calc((var(--w0) + (100 - var(--w0)) * var(--q)) * 1vw)); padding: 0 24px; transform: scale(calc(.82 + var(--q) * .18)); }
.ts-tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
html[lang="ar"] .ts-tag { letter-spacing: 0; font-size: 14px; }
.ts-head h2 { margin: 0; font-size: clamp(30px, 4.6vw, 64px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
html[lang="ar"] .ts-head h2 { line-height: 1.35; letter-spacing: 0; }
.ts-head p { margin: 16px auto 0; max-width: 560px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .82); opacity: calc((var(--p) - .45) * 4); }
/* The services follow on the same colour, so the full-screen headline runs straight into them. */
.ts-body { background: var(--c1); color: #fff; padding: 8px 0 96px; margin-top: -1px; }
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.svc { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 24px; }
.svc .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--acc); }
.svc .ic svg { width: 22px; height: 22px; }
.svc h3 { margin: 16px 0 0; font-size: 18px; line-height: 1.35; }
.svc p { margin: 6px 0 0; font-size: 14.5px; color: rgba(255, 255, 255, .78); }
.svc .mini { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.svc .mini li { font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .88); }
.req svg { width: 14px; height: 14px; flex: none; }
.req { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--navy); background: var(--gold-light); padding: 3px 10px; border-radius: 6px; }
.track-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; justify-content: center; }
.track-sec .pill.solid { background: #fff; color: var(--navy); }
.track-sec .pill.solid:hover { background: var(--gold-light); }
.track-sec .pill.line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.track-sec .pill.line:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.svc-grid .reveal:nth-child(2) { transition-delay: .08s; }
.svc-grid .reveal:nth-child(3) { transition-delay: .16s; }
.svc-grid .reveal:nth-child(4) { transition-delay: .24s; }

/* ---- journey: from brief to hire (after titan.com "Your journey") ---- */
.journey { padding: 120px 0 40px; }
.j-title { margin: 0; text-align: center; font-size: clamp(30px, 4.4vw, 54px); font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
html[lang="ar"] .j-title { letter-spacing: 0; }
.j-sub { margin: 14px auto 0; max-width: 620px; text-align: center; color: var(--ink-soft); font-size: 16.5px; }
.j-steps { --j: 0; position: relative; list-style: none; margin: 88px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
/* The dashed rail through the numbers, and the solid line that fills it as you scroll (from the reading start). */
.j-line { position: absolute; top: 15px; inset-inline: 0; height: 0; border-top: 1.5px dashed #C3CEDD; }
.j-line span { position: absolute; top: -1.5px; inset-inline-start: 0; height: 2px; width: calc(var(--j) * 100%); background: linear-gradient(90deg, var(--royal), var(--aqua)); }
[dir="rtl"] .j-line span { background: linear-gradient(270deg, var(--royal), var(--aqua)); }
.j-step { position: relative; opacity: 0; transform: translateY(16px); transition: opacity .6s ease calc(var(--i) * .12s), transform .6s ease calc(var(--i) * .12s); }
.j-steps.on .j-step { opacity: 1; transform: none; }
.j-n { position: relative; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: 1.5px solid #C3CEDD; color: var(--muted); font-size: 13.5px; font-weight: 700; transition: background-color .4s, border-color .4s, color .4s; }
.j-steps.on .j-n { border-color: var(--royal); color: var(--royal); }
.j-step h3 { margin: 26px 0 0; font-size: clamp(19px, 1.9vw, 24px); font-weight: 600; color: var(--navy); }
.j-step p { margin: 10px 0 0; color: var(--ink-soft); font-size: 15px; max-width: 260px; }
@media (max-width: 860px) {
  .j-steps { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 56px; padding-inline-start: 52px; }
  .j-line { top: 0; bottom: 0; inset-inline: 15px auto; height: auto; width: 0; border-top: 0; border-inline-start: 1.5px dashed #C3CEDD; }
  .j-line span { top: 0; inset-inline-start: -1.75px; width: 2px; height: calc(var(--j) * 100%); background: linear-gradient(180deg, var(--royal), var(--aqua)); }
  [dir="rtl"] .j-line span { background: linear-gradient(180deg, var(--royal), var(--aqua)); }
  .j-n { position: absolute; inset-inline-start: -52px; top: 0; }
  .j-step h3 { margin-top: 2px; }
}

/* ---- roles ---- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters label { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
select, input, textarea { font: inherit; font-size: 15px; padding: 9px 12px; border: 1px solid #CBD5E1; border-radius: 10px; background: var(--card); color: var(--ink); max-width: 100%; }
.filters select { min-width: 200px; }
select:focus, input:focus, textarea:focus { outline: 2px solid var(--royal); outline-offset: 0; border-color: var(--royal); }
.count { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.role { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.role:hover { border-color: #A9BCD6; box-shadow: var(--shadow-lg); }
.role .head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.sector { font-size: 12px; font-weight: 700; color: var(--royal); }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ok-ink); background: var(--ok-bg); padding: 3px 10px 3px 8px; border-radius: 999px; white-space: nowrap; }
.badge svg { width: 14px; height: 14px; }
.role h3 { margin: 2px 0 0; font-size: 17px; line-height: 1.35; color: var(--ink); }
.role .alt { margin: 0; font-size: 14px; color: var(--muted); }
.role .alt[lang="ar"] { font-family: var(--font-ar); }
.role .alt[lang="en"] { font-family: var(--font-en); }
.role .emp { margin: 0; font-weight: 600; color: var(--ink-soft); font-size: 14.5px; }
.role .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.role .meta li { display: inline-flex; align-items: center; gap: 5px; }
.role .meta svg { width: 14px; height: 14px; }
.role .foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.role .ver { font-size: 12px; color: var(--muted); }
.link-btn { border: 0; background: none; padding: 4px 0; cursor: pointer; color: var(--royal); font-weight: 700; font-size: 13.5px; }
.link-btn:hover { color: var(--navy); text-decoration: underline; }
.role.skel-card { min-height: 210px; }
.skel { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #E9EEF5 0%, #F5F7FB 50%, #E9EEF5 100%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
.skel.w40 { width: 40%; }
.skel.w60 { width: 60%; }
.skel.w80 { width: 80%; height: 18px; }
.skel.w30 { width: 30%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.state { grid-column: 1 / -1; background: var(--card); border: 1px dashed #CBD5E1; border-radius: var(--radius); padding: 36px 20px; text-align: center; color: var(--ink-soft); }
.state p { margin: 0 0 12px; }
.note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }

/* ---- career fair ---- */
.fair {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center;
  background: linear-gradient(135deg, #FFF7E6 0%, #FFFBF2 55%, #FFFFFF 100%);
  border: 1px solid #F6DFAE; border-radius: 22px; padding: 36px 38px;
}
.fair .eyebrow { color: #B45309; }
.fair h2 { margin: 0; font-size: clamp(21px, 2.4vw, 28px); color: var(--navy); }
.fair p { margin: 10px 0 0; color: var(--ink-soft); max-width: 720px; }
.chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #fff; border: 1px solid #F6DFAE; color: var(--navy); }
.fair-ctas { display: flex; flex-direction: column; gap: 10px; }

/* ---- FAQ (after titan.com): a centred title and plain rows that open ---- */
.faq { padding: 110px 0 20px; }
.narrow { width: min(920px, 100%); }
.faq h2 { margin: 0 0 40px; text-align: center; font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
html[lang="ar"] .faq h2 { letter-spacing: 0; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: clamp(16px, 1.5vw, 18px); font-weight: 600; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--royal); }
.qa i { position: relative; flex: none; width: 14px; height: 14px; }
.qa i::before, .qa i::after { content: ''; position: absolute; inset: 6px 0 auto; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s; }
.qa i::after { transform: rotate(90deg); }
.qa[open] i::after { transform: rotate(0); }
.qa p { margin: -6px 4px 22px; max-width: 760px; color: var(--ink-soft); font-size: 15.5px; }

/* ---- closing call to action: big and centred ---- */
.closer { padding: 90px 10px 0; }
.close-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; border-radius: 28px; padding: clamp(64px, 10vw, 120px) 24px;
  background: radial-gradient(600px 320px at 85% 0%, rgba(6, 182, 212, .35), transparent 60%), radial-gradient(520px 300px at 10% 100%, rgba(245, 158, 11, .25), transparent 60%), linear-gradient(140deg, var(--royal-deep), var(--navy)); }
.close-mark { position: absolute; z-index: -1; width: min(70vw, 620px); height: auto; left: 50%; top: 50%; translate: -50% -50%; opacity: .07; }
.close-band h2 { margin: 0 auto; max-width: 820px; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
html[lang="ar"] .close-band h2 { line-height: 1.4; letter-spacing: 0; }
.close-band p { margin: 18px auto 0; max-width: 560px; color: #C6D3E3; font-size: 17px; }
.close-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* ---- footer ---- */
.site-foot { background: var(--navy); color: #B9C8DA; margin-top: 72px; padding: 22px 0; font-size: 13.5px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.site-foot p { margin: 0; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; }
.foot-brand img { width: 28px; height: 28px; }
.flinks { display: flex; gap: 20px; flex-wrap: wrap; }
.flinks a { color: #B9C8DA; text-decoration: none; }
.flinks a:hover { color: #fff; text-decoration: underline; }

/* ---- request modal ---- */
.modal { border: 0; padding: 0; border-radius: 20px; width: min(720px, calc(100% - 24px)); max-height: calc(100% - 24px); box-shadow: 0 24px 64px rgba(7, 26, 46, .4); color: var(--ink); background: var(--card); }
.modal::backdrop { background: rgba(7, 26, 46, .6); backdrop-filter: blur(3px); }
.modal-in { position: relative; padding: 28px 30px 24px; }
.modal h2 { margin: 0; font-size: 22px; color: var(--navy); }
.modal-sub { margin: 4px 0 18px; color: var(--muted); font-size: 14px; }
.x { position: absolute; top: 12px; inset-inline-end: 14px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); padding: 4px 9px; border-radius: 10px; }
.x:hover { background: var(--bg); color: var(--ink); }
.track-pick { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.track-pick legend { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin-bottom: 8px; padding: 0; }
#track-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opt { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.opt:hover { border-color: #A9BCD6; }
.opt input { margin: 4px 0 0; accent-color: var(--royal); flex: none; }
.opt strong { display: block; font-size: 14px; line-height: 1.35; }
.opt small { display: block; font-size: 12px; color: var(--muted); }
.opt:has(input:checked) { border-color: var(--royal); background: var(--tint); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.f { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ink-soft); min-width: 0; }
.f.wide { grid-column: 1 / -1; }
.f input, .f select, .f textarea { width: 100%; font-weight: 400; }
.f input[dir="ltr"] { text-align: left; }
.f textarea { resize: vertical; min-height: 76px; }
.err { font-style: normal; font-size: 12.5px; color: #B42318; font-weight: 600; }
.err:empty { display: none; }
.f.bad input, .f.bad textarea { border-color: #D92D20; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #FEF3F2; color: #B42318; font-size: 14px; font-weight: 600; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.privacy { margin: 0; font-size: 12.5px; color: var(--muted); flex: 1 1 220px; }
.modal-foot .pill { min-width: 180px; }
.done { text-align: center; padding: 26px 8px 6px; }
.done .tick { width: 60px; height: 60px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok-ink); font-size: 28px; font-weight: 800; }
.done p { color: var(--ink-soft); margin: 8px auto 20px; max-width: 460px; }
.ref { font-family: var(--font-en); font-weight: 700; color: var(--ink); }

/* ---- small screens ---- */
@media (max-width: 860px) {
  .verify { grid-template-columns: minmax(0, 1fr); }
  .ts-card { clip-path: inset(calc((1 - var(--q)) * 18vh) calc((1 - var(--q)) * 8vw) round calc((1 - var(--q)) * 22px)); }
  .ts-tiles { display: none; }
  .ts-head { --w0: 84; }
  .fair { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .fair-ctas { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  :root { --bar-h: 60px; }
  .bar-slot { width: 112px; height: 40px; }
  .by { display: none; }
  .bar-cta { display: none; }
  .lang button { padding: 4px 11px; font-size: 13px; }
  .hero { padding: 6px; }
  .hero-card { border-radius: 20px; }
  .ctas .pill, .close-ctas .pill { flex: 1 1 100%; white-space: normal; }
  .verify ol, .roles { grid-template-columns: minmax(0, 1fr); }
  .filters { width: 100%; }
  .filters label { flex: 1 1 140px; }
  .filters select { min-width: 0; width: 100%; }
  .ts-stage { height: 170vh; }
  .modal-in { padding: 22px 16px 18px; }
  #track-options, .fields { grid-template-columns: minmax(0, 1fr); }
  .modal-foot .pill { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .ts-stage { height: auto; }
  .ts-sticky { position: relative; height: 80vh; }
  .ts-tiles { display: none; }
  .reveal, .j-step { opacity: 1; transform: none; }
  .iq-line, .iq-links path { stroke-dashoffset: 0; }
  .iq-dots circle { transform: none; }
}
