/* Visual layer: hero bands, cards, the Vision 2030 line, timeline, charts, and scroll motion. */
:root {
  --hero: #0a4a3b;
  --hero-2: #0d5f4b;
  --on-hero: #ffffff;
  --on-hero-muted: #cfe6dd;
  --gold: #c9a14a;
  --p0: #178a5a;   /* مجتمع حيوي */
  --p1: #1f6aa5;   /* اقتصاد مزدهر */
  --p2: #a8741a;   /* وطن طموح */
  --f-gov: #0b6650;
  --f-proj: #1f6aa5;
  --f-admin: #9a6a14;
  --f-np: #7b4a9e;
  --card-shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 8px 24px -12px rgba(20, 30, 25, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* 8-point star lattice, white at low opacity */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.10' stroke-width='1.2'%3E%3Cpath d='M40 8l9 23 23 9-23 9-9 23-9-23-23-9 23-9z'/%3E%3Crect x='26' y='26' width='28' height='28' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 0l12 12M80 0L68 12M0 80l12-12M80 80L68 68'/%3E%3C/g%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --hero: #0c3a2f; --hero-2: #0f4a3c; --on-hero-muted: #b9d8cc;
    --p0: #4cc38e; --p1: #5aa4e0; --p2: #e0a94a;
    --f-gov: #6fcfae; --f-proj: #6fb0e8; --f-admin: #e2b35a; --f-np: #c29be0;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .6);
  }
}

.ico { width: 24px; height: 24px; flex: none; }
.ico-sm { width: 16px; height: 16px; vertical-align: -3px; }
.ico-lg { width: 36px; height: 36px; }
.ico-xl { width: 56px; height: 56px; }

/* ---------- Hero bands ---------- */
.hero, .page-hero, .cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 85% 0%, var(--hero-2) 0%, var(--hero) 60%);
  color: var(--on-hero);
}
.hero-pattern {
  position: absolute; inset: -80px; z-index: -1; background-image: var(--pattern); background-size: 80px 80px;
  animation: drift 60s linear infinite;
  mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,.5) 60%, transparent 100%);
}
@keyframes drift { to { transform: translate(80px, 80px); } }
.hero a:not(.btn), .page-hero a:not(.btn) { color: #fff; }
.hero h1, .page-hero h1, .cta-band h2 { color: #fff; }

.hero { padding-block: var(--s8) calc(var(--s8) + 24px); }
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s8); } }
.hero h1 { font-size: clamp(32px, 3vw + 18px, 52px); margin-bottom: var(--s2); }
.hero-role { font-size: 20px; color: var(--gold); font-weight: 500; margin-bottom: var(--s5); }
.hero-p { font-family: var(--read); font-size: 18px; line-height: 1.9; color: var(--on-hero-muted); max-width: 62ch; }
.hero-portrait { margin: 0; position: relative; justify-self: center; max-width: 360px; width: 100%; }
.hero-portrait::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: 14px; z-index: -1;
}
.hero-portrait img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; box-shadow: 0 24px 48px -20px rgba(0,0,0,.5); }
.hero-portrait figcaption {
  position: absolute; inset-inline-start: -16px; bottom: 20px; max-width: 85%;
  background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.5;
  padding: var(--s2) var(--s3); border-radius: 10px; box-shadow: var(--card-shadow);
}
.hero-portrait figcaption .ico { color: var(--gold); }
@media (max-width: 899px) { .hero-portrait { order: -1; max-width: 260px; } .hero-portrait figcaption { inset-inline-start: 8px; } }

.btn-light { background: #fff; color: var(--hero); border-color: #fff; font-weight: 600; }
.btn-light:hover { background: #eaf4ef; color: var(--hero); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero :focus-visible, .page-hero :focus-visible, .cta-band :focus-visible { outline-color: #fff; }

.page-hero { padding-block: var(--s7) var(--s7); }
.page-hero .page-head { padding: 0; position: relative; }
.page-hero .lead { color: var(--on-hero-muted); }
.page-hero .facts dt { color: var(--on-hero-muted); }
.page-hero-art { position: absolute; inset-inline-end: 6%; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.10); z-index: -1; }
.page-hero-art .ico { width: 220px; height: 220px; stroke-width: 1; }
@media (max-width: 700px) { .page-hero-art .ico { width: 140px; height: 140px; } }
.crumbs-light a { color: var(--on-hero-muted) !important; }
.section-top { padding-top: var(--s7); }
.section-bottom { padding-bottom: var(--s8); }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -48px; display: grid; gap: var(--s3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); gap: var(--s4); } }
.stat { background: var(--surface); border-radius: 12px; box-shadow: var(--card-shadow); padding: var(--s4) var(--s5); display: grid; grid-template-columns: auto 1fr; column-gap: var(--s3); align-items: center; }
.stat .ico { grid-row: span 2; width: 32px; height: 32px; color: var(--accent); }
.stat-n { font-size: 34px; font-weight: 600; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-l { color: var(--muted); font-size: 14px; }

/* ---------- Marquee ---------- */
.marquee { padding-block: var(--s7) var(--s4); }
.marquee-title { color: var(--muted); font-size: 14px; margin-bottom: var(--s3); }
.marquee-view { overflow: hidden; mask-image: linear-gradient(to left, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: var(--s3); width: max-content; animation: marquee 45s linear infinite; }
.marquee-view:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { white-space: nowrap; padding: var(--s2) var(--s5); border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-weight: 500; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: var(--s5);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); border-color: transparent; }
.card h3 { margin: var(--s3) 0 var(--s2); }
.card p { color: var(--muted); margin: 0; }
.card-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); transition: transform .3s var(--ease); }
.card:hover .card-ico { transform: rotate(-6deg) scale(1.06); }
.member { display: flex; gap: var(--s4); align-items: flex-start; }
.member p { color: var(--ink); }

.role-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.role-list li { display: flex; gap: var(--s3); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: var(--s3) var(--s4); }
.role-list .ico { color: var(--gold); }
.mini-guides { list-style: none; margin: var(--s4) 0 0; padding: 0; display: grid; gap: var(--s2); }
.mini-guides a { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color .15s, transform .2s var(--ease); }
.mini-guides a > .ico:first-child { color: var(--accent); }
.mini-guides a span { flex: 1; }
.mini-guides a:hover { border-color: var(--accent); transform: translateX(-4px); }
.mini-guides .go { color: var(--muted); transition: transform .2s var(--ease); }
.mini-guides a:hover .go { transform: translateX(-4px); color: var(--accent); }

.cta-band { padding-block: var(--s8); margin-top: var(--s7); }
.cta-inner { display: flex; flex-wrap: wrap; gap: var(--s5); align-items: center; justify-content: space-between; }
.cta-inner h2 { font-size: clamp(22px, 1.5vw + 14px, 30px); margin: 0; }
.site-footer { margin-top: 0; }

/* ---------- Courses ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.chip { display: inline-flex; align-items: center; gap: var(--s2); min-height: 40px; padding: 0 var(--s4); border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 15px var(--ui); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] .count { color: inherit; opacity: .8; }
.course-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.course-card { --f: var(--f-gov); position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: var(--s5); padding-top: calc(var(--s5) + 4px); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.course-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: var(--f); transform-origin: right; transition: transform .4s var(--ease); }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow); }
.course-card h2 { font-size: 19px; margin: var(--s3) 0 var(--s2); }
.course-card p { margin-bottom: var(--s3); }
.course-top { display: flex; justify-content: space-between; gap: var(--s2); flex-wrap: wrap; font-size: 13px; }
.course-field { color: var(--f); font-weight: 600; }
.course-days { color: var(--muted); background: var(--band); border-radius: 999px; padding: 0 var(--s3); }
.course-aud { display: flex; gap: var(--s2); color: var(--muted); font-size: 14px; margin: 0 !important; }
.course-aud .ico { margin-top: 5px; }
.f-gov { --f: var(--f-gov); } .f-proj { --f: var(--f-proj); } .f-admin { --f: var(--f-admin); } .f-np { --f: var(--f-np); }
.chip.f-gov .ico, .chip.f-proj .ico, .chip.f-admin .ico, .chip.f-np .ico { color: var(--f); }
.chip[aria-pressed="true"] .ico { color: inherit !important; }
.course-card.is-hidden { display: none; }
.delivered { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.delivered li { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s3); background: var(--surface); border-radius: 10px; border: 1px solid var(--line); padding: var(--s3) var(--s4); }
.d-ico { grid-row: span 2; color: var(--gold); }
.d-t { font-weight: 600; }
.d-w { color: var(--muted); font-size: 14px; }

/* ---------- Timeline ---------- */
.timeline { list-style: none; margin: var(--s5) 0 0; padding: 0; position: relative; }
.timeline-line { position: absolute; inset-block: 24px; inset-inline-start: 23px; width: 2px; background: var(--line); }
.timeline-line span { position: absolute; inset: 0 0 auto; height: 100%; background: linear-gradient(var(--accent), var(--gold)); transform-origin: top; transform: scaleY(var(--tl, 0)); }
.tl-item { position: relative; display: flex; gap: var(--s5); align-items: center; padding-block: var(--s2); }
.tl-dot { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--accent); color: var(--accent); z-index: 1; transition: background .3s, color .3s; }
.tl-item.is-in .tl-dot { background: var(--accent); color: var(--on-accent); }
.tl-card { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: var(--s3) var(--s5); transition: box-shadow .2s; }
.tl-card:hover { box-shadow: var(--card-shadow); }
.tl-card p { margin: 0; font-weight: 500; }
.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-top: var(--s5); }

/* ---------- Guide cards ---------- */
.guide-cards { display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.guide-card { --g: var(--p0); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow); }
.g-agencies { --g: var(--p1); } .g-regions { --g: var(--p2); } .g-jobs { --g: var(--f-np); }
.guide-art { position: relative; height: 150px; display: grid; place-items: center; color: #fff; background: var(--g); overflow: hidden; }
.guide-art::before { content: ''; position: absolute; inset: 0; background-image: var(--pattern); background-size: 60px 60px; opacity: .9; transition: transform .8s var(--ease); }
.guide-card:hover .guide-art::before { transform: scale(1.15) rotate(4deg); }
.guide-art .ico { position: relative; transition: transform .35s var(--ease); }
.guide-card:hover .guide-art .ico { transform: scale(1.12); }
.guide-body-t { display: grid; gap: var(--s2); padding: var(--s5); }
.guide-go { color: var(--accent); font-weight: 600; font-size: 15px; display: inline-flex; gap: var(--s2); align-items: center; }
.guide-card:hover .guide-go .ico { transform: translateX(-4px); }
.guide-go .ico { transition: transform .2s var(--ease); }

/* ---------- Vision 2030 ---------- */
.hero-vision { padding-block: var(--s7) var(--s8); }
.big-2030 { position: absolute; inset-inline-end: -2%; bottom: -8%; font-size: clamp(120px, 22vw, 340px); font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.12); z-index: -1; direction: ltr; user-select: none; }
.v-stats { display: grid; gap: var(--s3); grid-template-columns: repeat(2, 1fr); margin-top: var(--s6); max-width: 760px; }
@media (min-width: 700px) { .v-stats { grid-template-columns: repeat(4, 1fr); } }
.v-stat { border: 1px solid rgba(255,255,255,.25); border-radius: 12px; padding: var(--s3) var(--s4); display: grid; background: rgba(255,255,255,.06); }
.v-stat .stat-n { color: #fff; }
.v-stat span:last-child { color: var(--on-hero-muted); font-size: 14px; }

.vtrack { position: relative; background: var(--band); border-bottom: 1px solid var(--line); }
.vtrack-sticky { padding-block: var(--s6); }
.vtrack-head h2 { margin-bottom: var(--s1); }
.vtrack-bar { height: 6px; border-radius: 99px; background: var(--line); margin-top: var(--s4); overflow: hidden; }
.vtrack-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(to left, var(--p0), var(--p1), var(--p2)); transform-origin: right; transform: scaleX(var(--vp, 0)); }
.vtrack-rail { list-style: none; margin: 0; padding: var(--s6) var(--s4); display: flex; flex-direction: column; gap: var(--s4); position: relative; }
.vt-pillar { --pc: var(--p0); color: #fff; background: var(--pc); border-radius: 16px; padding: var(--s5); position: relative; overflow: hidden; }
.vt-pillar::before { content: ''; position: absolute; inset: 0; background-image: var(--pattern); background-size: 60px 60px; }
.vt-pillar > * { position: relative; }
.vt-pillar h3 { font-size: 26px; color: #fff; margin: var(--s3) 0 var(--s1); }
.vt-pillar p { margin: 0; opacity: .9; }
.vt-pillar-ico { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.18); }
.p-0 { --pc: var(--p0); } .p-1 { --pc: var(--p1); } .p-2 { --pc: var(--p2); }
.vt-stop { position: relative; }
.vt-dot { display: none; }
.vt-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--pc); border-radius: 12px; padding: var(--s4) var(--s5); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.vt-card h4 { font-size: 18px; margin: 0 0 var(--s2); line-height: 1.4; }
.vt-card ul { margin: 0 0 var(--s3); padding-inline-start: var(--s5); color: var(--muted); font-size: 15px; }
.vt-card li { margin-bottom: var(--s1); }
.vt-card a { font-weight: 600; font-size: 14px; }

/* Desktop: pinned, horizontal, moves with vertical scroll (enabled by vtrack.js adding .is-pinned). */
.vtrack.is-pinned .vtrack-sticky { position: sticky; top: 64px; height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: var(--s5); }
.vtrack.is-pinned .vtrack-view { overflow: visible; }
.vtrack.is-pinned .vtrack-rail { flex-direction: row; align-items: center; width: max-content; gap: var(--s6); padding: var(--s7) 8vw var(--s6); will-change: transform; transform: translateX(var(--vx, 0px)); }
.vtrack.is-pinned .vtrack-rail::before { content: ''; position: absolute; inset-inline: 0; top: 50%; height: 3px; background: var(--line-strong); z-index: 0; }
.vtrack.is-pinned .vt-pillar { width: 300px; flex: none; z-index: 1; }
.vtrack.is-pinned .vt-stop { width: 360px; flex: none; z-index: 1; }
.vtrack.is-pinned .vt-dot { display: block; position: absolute; top: -34px; inset-inline-start: 50%; width: 20px; height: 20px; margin-inline-start: -10px; border-radius: 50%; background: var(--surface); border: 4px solid var(--pc); transition: transform .3s var(--ease), background .3s; }
.vtrack.is-pinned .vt-stop.is-active .vt-dot { background: var(--pc); transform: scale(1.35); }
.vtrack.is-pinned .vt-stop.is-active .vt-card { transform: translateY(-8px); box-shadow: var(--card-shadow); }
.vtrack.is-pinned .vt-stop:not(.is-active) .vt-card { opacity: .78; }

.pillar h2 { display: inline-flex; gap: var(--s3); align-items: center; border-bottom-color: var(--pc) !important; }
.pillar h2 .ico { color: var(--pc); }
.pillar .goal > summary::before { border-color: var(--pc); }
.goal { scroll-margin-top: 90px; }

/* ---------- Agencies tiles / region bars ---------- */
.h-small { font-size: 18px; color: var(--muted); font-weight: 500; }
.tiles { display: grid; gap: var(--s2); grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin-bottom: var(--s6); }
.tile { display: grid; gap: var(--s1); padding: var(--s3); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .2s var(--ease); }
.tile:hover { border-color: var(--accent); transform: translateY(-3px); }
.tile-n { font-size: 24px; font-weight: 600; color: var(--accent); line-height: 1.2; }
.tile-l { font-weight: 500; }
.tile-bar, .bar-track { display: block; height: 6px; border-radius: 99px; background: var(--band); overflow: hidden; }
.tile-bar span, .bar-fill { display: block; height: 100%; border-radius: 99px; background: var(--accent); transform-origin: right; transform: scaleX(var(--w, 0)); transition: transform 1s var(--ease); }
.bars { list-style: none; margin: 0 0 var(--s6); padding: 0; display: grid; gap: var(--s1); }
.bar-row { display: grid; grid-template-columns: 11rem 1fr 3.5rem; gap: var(--s1) var(--s3); align-items: center; padding: var(--s2) var(--s3); border-radius: 8px; text-decoration: none; color: var(--ink); }
.bar-row:hover { background: var(--surface); }
.bar-row .bar-track { height: 14px; }
.bar-row .bar-fill { background: linear-gradient(to left, var(--accent), var(--p1)); }
.bar-l { font-weight: 500; }
.bar-n { font-weight: 600; font-variant-numeric: tabular-nums; }
.bar-g { display: none; }
@media (min-width: 900px) { .bar-row { grid-template-columns: 13rem 1fr 3.5rem 7rem; } .bar-g { display: block; color: var(--muted); font-size: 14px; } }
@media (max-width: 600px) { .bar-row { grid-template-columns: 8rem 1fr 3rem; font-size: 14px; } }
.code-group h2 .ico { color: var(--accent); }

/* ---------- Jobs / contact ---------- */
.job-results li { animation: rise .35s var(--ease) both; }
.job-results li:nth-child(n) { animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.job-form { box-shadow: var(--card-shadow); border: 0; margin-top: -40px; position: relative; z-index: 2; border-radius: 14px; }
.page-hero + .wrap .job-form { margin-top: -40px; }
.contact-cards > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: var(--s3) var(--s4); }
.contact-cards dt { display: flex; gap: var(--s2); align-items: center; }
.contact-cards dt .ico { color: var(--accent); width: 18px; height: 18px; }
.contact-form { border-radius: 14px; box-shadow: var(--card-shadow); border: 0; }

/* ---------- Scroll reveal ---------- */
.reveal-wait { opacity: 0; transform: translateY(24px); }
.reveal-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }

@media (prefers-reduced-motion: reduce) {
  .hero-pattern, .marquee-track { animation: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; }
  .marquee-track span[aria-hidden] { display: none; }
  .reveal-wait { opacity: 1; transform: none; }
  .card:hover, .course-card:hover, .guide-card:hover, .tile:hover { transform: none; }
}

/* fixes after first screenshots */
.vtrack-head { width: 100%; }
.vtrack-bar { max-width: 520px; }
@media (min-width: 900px) { .card-grid:not(.card-grid-3) { grid-template-columns: repeat(3, 1fr); } }

/* Phones / reduced width: the same line, vertical, filling as you scroll */
.vtrack:not(.is-pinned) .vtrack-rail { padding-inline-start: 44px; }
.vtrack:not(.is-pinned) .vtrack-rail::before,
.vtrack:not(.is-pinned) .vtrack-rail::after { content: ''; position: absolute; inset-inline-start: 18px; top: 48px; bottom: 48px; width: 3px; border-radius: 3px; background: var(--line-strong); }
.vtrack:not(.is-pinned) .vtrack-rail::after { background: linear-gradient(var(--p0), var(--p1), var(--p2)); transform-origin: top; transform: scaleY(var(--vp, 0)); }
.vtrack:not(.is-pinned) .vt-dot { display: block; position: absolute; inset-inline-start: -34px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--pc); z-index: 1; transition: background .3s, transform .3s var(--ease); }
.vtrack:not(.is-pinned) .vt-stop.is-active .vt-dot { background: var(--pc); transform: scale(1.3); }
@media (min-width: 900px) { .guide-cards { grid-template-columns: repeat(2, 1fr); } }

/* Contrast: text on coloured blocks uses fixed deep shades in both themes */
:root { --pb0: #147a50; --pb1: #1c5f95; --pb2: #8a5d10; --gold-text: #ecd08a; }
.hero-role { color: var(--gold-text); }
.vt-pillar.p-0 { background: var(--pb0); } .vt-pillar.p-1 { background: var(--pb1); } .vt-pillar.p-2 { background: var(--pb2); }
.guide-art { background: var(--pb0); } .g-agencies .guide-art { background: var(--pb1); } .g-regions .guide-art { background: var(--pb2); } .g-jobs .guide-art { background: #6a3f8c; }
