/*=============== HOME COURSE CARDS: an illustration per course ===============*/
/* Each card sets its own colours; the illustration panel is a dark "screen"
   that looks right in both themes. Labels inside it stay in English (they are
   decoration, marked data-i18n-skip). */
.course-card { --c: #4da3ff; --c2: #9ad0ff; padding: 0 1.5rem 1.5rem; overflow: hidden; }
.course-card--upwork { --c: #14a800; --c2: #6fd3a3; }
.course-card--video { --c: #ff5d73; --c2: #ffb35c; }
.course-card--drone { --c: #38bdf8; --c2: #a5f3fc; }
.course-card--marketing { --c: #E8A33D; --c2: #ff7a59; }
.course-card--ai { --c: #22d3ee; --c2: #818cf8; }
.course-card--n8n { --c: #a77bff; --c2: #ff6d5a; }
.course-card--design { --c: #4da3ff; --c2: #ff7ab6; }
.course-card--scholar { --c: #d9b44a; --c2: #6fd3a3; }
.course-card--poultry { --c: #f59e0b; --c2: #fde68a; }
.course-card--agri { --c: #84cc16; --c2: #facc15; }
.course-card--idea { --c: #facc15; --c2: #fb923c; }
.course-card--launch { --c: #f97316; --c2: #f472b6; }
.course-card--lead { --c: #2dd4bf; --c2: #e3e35a; }
.course-card--team { --c: #60a5fa; --c2: #34d399; }
.course-card--circle { --c: #f472b6; --c2: #a78bfa; }
.course-card--resilience { --c: #34d399; --c2: #38bdf8; }
.course-card:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: 0 22px 44px -16px color-mix(in srgb, var(--c) 45%, transparent); }

.course-art {
    position: relative; direction: ltr;
    width: calc(100% + 3rem); height: 200px; margin: 0 -1.5rem 1.2rem;
    display: grid; place-items: center; overflow: hidden; color: #eef3ef;
    background:
        radial-gradient(circle at 18% 15%, color-mix(in srgb, var(--c) 38%, transparent), transparent 60%),
        radial-gradient(circle at 90% 95%, color-mix(in srgb, var(--c2) 30%, transparent), transparent 55%),
        #0e1814;
    font-family: 'Poppins', sans-serif;
}
.course-art::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.4px); background-size: 16px 16px; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%); }
.course-art > * { position: relative; }
.course-art .product__badge { position: absolute; z-index: 3; }
.course-card--soon .course-art { filter: saturate(.75); }

.course-card__kicker { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.course-card__kicker i { font-size: 1rem; }
.course-card__kicker { flex-wrap: wrap; row-gap: .3rem; }
.course-card__et { margin-inline-start: .35rem; padding: .15rem .55rem; border-radius: 99rem; font-size: .62rem; letter-spacing: .04em; color: #fff; background: linear-gradient(135deg, #009639, #b8a200 55%, #DA020E); text-shadow: 0 1px 1px rgba(0, 0, 0, .35); }
.course-card__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.course-card__chips li { padding: .25rem .65rem; border-radius: 99rem; font-size: .72rem; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.course-card .product__button { background: var(--c); color: #0f1a15; }
.course-card .product__button:hover { background: color-mix(in srgb, var(--c) 85%, #fff); color: #0f1a15; }
.course-card .product__button--soon { background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
/* On the light theme, a few colours need to be darker to read as text. */
body:not(.dark-theme) .course-card--poultry { --c: #b45309; }
body:not(.dark-theme) .course-card--agri { --c: #4d7c0f; }
body:not(.dark-theme) .course-card--idea { --c: #a16207; }
body:not(.dark-theme) .course-card--lead, body:not(.dark-theme) .course-card--resilience { --c: #0f766e; }
body:not(.dark-theme) .course-card--drone, body:not(.dark-theme) .course-card--ai { --c: #0891b2; }
body:not(.dark-theme) .course-card--marketing { --c: #c27a12; }
body:not(.dark-theme) .course-card--scholar { --c: #a78516; }
body:not(.dark-theme) .course-card--upwork { --c: #128a00; }
body:not(.dark-theme) .course-card .product__button { color: #fff; }

/* ---------- Upwork: profile + hiring feed ---------- */
.course-art--upwork { grid-template-columns: auto auto; gap: 1rem; align-content: center; justify-content: center; }
.course-art__profile { display: grid; justify-items: center; gap: .45rem; padding: .9rem .8rem; border-radius: 1rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.course-art__avatar { width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #14a800, #6fd3a3); font-size: 1.45rem; }
.course-art__lines { display: grid; gap: .3rem; justify-items: center; }
.course-art__lines b { display: block; height: .35rem; border-radius: 99rem; background: rgba(255, 255, 255, .25); width: 4rem; }
.course-art__lines b + b { width: 2.6rem; }
.course-art__badge { display: inline-flex; align-items: center; gap: .25rem; padding: .18rem .5rem; border-radius: 99rem; background: #14a800; font-size: .6rem; font-weight: 700; }
.course-art__feed { display: grid; gap: .4rem; }
.course-art__feed span { display: flex; align-items: center; gap: .35rem; padding: .4rem .65rem; border-radius: .7rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: .68rem; font-weight: 600; animation: ca-feed 6s ease-in-out infinite both; }
.course-art__feed span i { color: #6fd3a3; }
.course-art__feed span:nth-child(2) { animation-delay: .6s; }
.course-art__feed span:nth-child(3) { animation-delay: 1.2s; }
.course-art__feed .is-win { background: #14a800; border-color: transparent; }
.course-art__feed .is-win i { color: #fff; }
@keyframes ca-feed { 0%, 4% { opacity: 0; transform: translateX(.8rem); } 12%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* ---------- Video: monitor + timeline ---------- */
.course-art--video { place-items: stretch; padding: .9rem 1.6rem; grid-template-rows: 1fr auto; gap: .6rem; }
.course-art__monitor { border-radius: .55rem; background: linear-gradient(135deg, #2a1418, #1a1012 60%, #3a2216); border: 1px solid rgba(255, 255, 255, .1); display: grid; place-items: center; }
.course-art__rec { position: absolute; left: .55rem; top: .4rem; font-size: .58rem; font-weight: 700; letter-spacing: .1em; display: flex; align-items: center; gap: .3rem; }
.course-art__rec i { width: .42rem; height: .42rem; border-radius: 50%; background: #ff4d4d; animation: ca-blink 1.2s steps(2) infinite; }
@keyframes ca-blink { 50% { opacity: .2; } }
.course-art__playbtn { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #111; font-size: 1.2rem; }
.course-art__tc { position: absolute; right: .55rem; bottom: .35rem; font-size: .58rem; font-variant-numeric: tabular-nums; color: #ffb35c; }
.course-art__timeline { position: relative; display: grid; gap: .22rem; padding: .35rem; border-radius: .45rem; background: rgba(0, 0, 0, .35); }
.course-art__track { position: relative; height: .8rem; }
.course-art__track b { position: absolute; left: var(--x); width: var(--w); top: 0; bottom: 0; border-radius: .22rem; background: linear-gradient(90deg, #ff5d73, #ff8a5c); }
.course-art__track--t b { background: rgba(255, 179, 92, .25); border: 1px solid #ffb35c; }
.course-art__track--a b { background: repeating-linear-gradient(90deg, rgba(111, 211, 163, .7) 0 2px, transparent 2px 4px); }
.course-art__head { position: absolute; top: .1rem; bottom: .1rem; left: 6%; width: 2px; background: #fff; box-shadow: 0 0 .5rem #fff; animation: ca-playhead 6s linear infinite; }
@keyframes ca-playhead { to { left: 94%; } }

/* ---------- Drone: hovering with spinning rotors ---------- */
.course-art__hud { position: absolute; bottom: .7rem; left: .8rem; right: .8rem; display: flex; justify-content: space-between; font-size: .6rem; font-weight: 600; letter-spacing: .06em; color: #a5f3fc; }
.course-art__drone { width: 8.5rem; height: 5rem; animation: ca-hover 3.2s ease-in-out infinite; }
@keyframes ca-hover { 50% { transform: translateY(-.6rem) rotate(-1.5deg); } }
.course-art__body { position: absolute; left: 50%; top: 50%; width: 3.6rem; height: 2rem; translate: -50% -50%; display: grid; place-items: center; border-radius: .8rem; background: linear-gradient(180deg, #e2e8f0, #94a3b8); color: #0e1814; font-size: 1rem; box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .45); }
.course-art__body::before, .course-art__body::after { content: ''; position: absolute; top: 50%; height: 3px; width: 7.6rem; left: 50%; translate: -50% -50%; background: #94a3b8; border-radius: 3px; z-index: -1; }
.course-art__body::after { width: 6rem; rotate: 0deg; top: 30%; opacity: 0; }
.course-art__rotor { position: absolute; width: 2.6rem; height: .5rem; border-radius: 50%; background: rgba(165, 243, 252, .55); box-shadow: 0 0 .6rem rgba(165, 243, 252, .6); animation: ca-rotor .25s linear infinite; }
.course-art__rotor:nth-child(1) { left: -.3rem; top: .6rem; } .course-art__rotor:nth-child(2) { right: -.3rem; top: .6rem; }
.course-art__rotor:nth-child(3) { left: -.3rem; bottom: .6rem; } .course-art__rotor:nth-child(4) { right: -.3rem; bottom: .6rem; }
@keyframes ca-rotor { 50% { transform: scaleX(.35); } }
.course-art__ground { position: absolute; bottom: 1.2rem; left: 50%; width: 6rem; height: .7rem; translate: -50% 0; border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, .55), transparent 70%); animation: ca-shadow 3.2s ease-in-out infinite; }
@keyframes ca-shadow { 50% { transform: scale(.8); opacity: .6; } }

/* ---------- Marketing: growth dashboard ---------- */
.course-art--marketing { place-items: stretch; padding: .9rem 1.2rem; }
.course-art__kpis { display: flex; gap: .4rem; align-self: start; z-index: 2; }
.course-art__kpis span { padding: .22rem .55rem; border-radius: 99rem; background: rgba(255, 255, 255, .08); font-size: .62rem; font-weight: 600; }
.course-art__chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; z-index: 1; }
.course-art__line { fill: none; stroke: #E8A33D; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: ca-draw 6s ease-in-out infinite; }
.course-art__area { fill: rgba(232, 163, 61, .25); animation: ca-fade 6s ease-in-out infinite; }
@keyframes ca-draw { 0% { stroke-dashoffset: 400; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes ca-fade { 0%, 25% { opacity: 0; } 45%, 85% { opacity: 1; } 100% { opacity: 0; } }
.course-art__bars { position: absolute; left: 0; right: 0; bottom: 0; height: 72%; display: flex; align-items: flex-end; gap: 6%; padding: 0 2%; opacity: .35; }
.course-art__bars i { flex: 1; height: var(--h); border-radius: .2rem .2rem 0 0; background: #ff7a59; }

/* ---------- Intro to AI: a neural network firing ---------- */
.course-art__net { width: 78%; max-width: 15rem; overflow: visible; }
.course-art__edges path { fill: none; stroke: rgba(129, 140, 248, .5); stroke-width: 1.4; stroke-dasharray: 4 6; animation: ca-flow 1.6s linear infinite; }
@keyframes ca-flow { to { stroke-dashoffset: -20; } }
.course-art__nodes circle { fill: #0e1814; stroke: #22d3ee; stroke-width: 2.5; animation: ca-pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.course-art__nodes circle:nth-child(n+4) { stroke: #818cf8; animation-delay: .6s; }
.course-art__nodes circle:nth-child(n+7) { stroke: #e3e35a; animation-delay: 1.2s; }
@keyframes ca-pulse { 50% { fill: currentColor; transform: scale(1.15); } }
.course-art__nodes { color: rgba(34, 211, 238, .45); }

/* ---------- n8n: a workflow running ---------- */
.course-art__flow { display: flex; align-items: center; width: 100%; max-width: 19rem; padding: 0 1rem; }
.course-art__node { flex: 0 0 auto; display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: .75rem; background: #1b2620; border: 2px solid #3a4a41; font-size: 1.25rem; color: #c9a3ff; animation: ca-node 6s linear infinite; }
.course-art__node:nth-child(1) { color: #ff8a5c; } .course-art__node:nth-child(5) { color: #5fd08a; } .course-art__node:nth-child(7) { color: #5ab8f5; }
.course-art__node--ai { width: 3.3rem; height: 3.3rem; font-size: 1.55rem; }
.course-art__node:nth-child(3) { animation-delay: 1.2s; } .course-art__node:nth-child(5) { animation-delay: 2.4s; } .course-art__node:nth-child(7) { animation-delay: 3.6s; }
@keyframes ca-node { 0%, 4% { border-color: #3a4a41; box-shadow: none; } 8% { border-color: #e3e35a; box-shadow: 0 0 1.1rem rgba(227, 227, 90, .5); } 20%, 100% { border-color: #a77bff; box-shadow: none; } }
.course-art__wire { position: relative; flex: 1; height: 2px; background: #3a4a41; }
.course-art__wire::after { content: ''; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #e3e35a; box-shadow: 0 0 .6rem #e3e35a; animation: ca-wire 6s linear infinite; }
.course-art__wire:nth-child(4)::after { animation-delay: 1.2s; } .course-art__wire:nth-child(6)::after { animation-delay: 2.4s; }
@keyframes ca-wire { 0% { left: 0; opacity: 0; } 2% { opacity: 1; } 16% { left: calc(100% - 8px); opacity: 1; } 18%, 100% { left: calc(100% - 8px); opacity: 0; } }

/* ---------- Graphic design: an artboard ---------- */
.course-art__board { width: 13.5rem; height: 8.6rem; border-radius: .3rem; background: #f7f5ef; border: 2px solid #4da3ff; box-shadow: 0 1rem 2rem rgba(0, 0, 0, .45); }
.course-art__board::before, .course-art__board::after { content: ''; position: absolute; width: .55rem; height: .55rem; background: #fff; border: 2px solid #4da3ff; }
.course-art__board::before { left: -.35rem; top: -.35rem; }
.course-art__board::after { right: -.35rem; bottom: -.35rem; }
.course-art__logo { position: absolute; left: .9rem; top: .9rem; width: 2.7rem; height: 2.7rem; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #2C5E48, #6fd3a3); color: #e3e35a; font-size: 1.35rem; }
.course-art__type { position: absolute; left: 4.2rem; top: .55rem; font-family: Georgia, serif; font-style: italic; font-size: 2.4rem; line-height: 1; color: #1b2a22; }
.course-art__swatches { position: absolute; left: .9rem; bottom: .9rem; display: flex; gap: .3rem; }
.course-art__swatches i { width: 1.15rem; height: 1.15rem; border-radius: .28rem; animation: ca-swatch 4s ease-in-out infinite; }
.course-art__swatches i:nth-child(1) { background: #2C5E48; } .course-art__swatches i:nth-child(2) { background: #6fd3a3; animation-delay: .15s; }
.course-art__swatches i:nth-child(3) { background: #e3e35a; animation-delay: .3s; } .course-art__swatches i:nth-child(4) { background: #ff7ab6; animation-delay: .45s; }
@keyframes ca-swatch { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-.25rem); } }
.course-art__pen { position: absolute; right: .5rem; bottom: .7rem; width: 6.2rem; overflow: visible; }
.course-art__pen path { fill: none; stroke: #4da3ff; stroke-width: 2; stroke-dasharray: 260; stroke-dashoffset: 260; animation: ca-pen 5s ease-in-out infinite; }
.course-art__pen circle { fill: #fff; stroke: #4da3ff; stroke-width: 1.5; }
@keyframes ca-pen { 0% { stroke-dashoffset: 260; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.course-art__cursor { position: absolute; right: -1.1rem; bottom: -1.1rem; font-size: 1.4rem; color: #fff; filter: drop-shadow(0 .2rem .3rem rgba(0, 0, 0, .6)); animation: ca-cursor 5s ease-in-out infinite; }
@keyframes ca-cursor { 0%, 100% { translate: 0 0; } 40% { translate: -2.8rem -2rem; } 70% { translate: -1rem -3.6rem; } }

/* ---------- Scholarships: an acceptance letter ---------- */
.course-art--scholar { grid-template-columns: auto auto; gap: 1.1rem; justify-content: center; align-content: center; }
.course-art__letter { width: 8.5rem; padding: .9rem .8rem 1.1rem; border-radius: .5rem; background: #fbf8f0; box-shadow: 0 1rem 2rem rgba(0, 0, 0, .45); display: grid; gap: .35rem; rotate: -4deg; }
.course-art__seal { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: #2C5E48; color: #e3e35a; font-size: 1.1rem; margin-bottom: .2rem; }
.course-art__letter b { display: block; height: .3rem; border-radius: 99rem; background: #d6d0c0; }
.course-art__letter b:nth-of-type(2) { width: 80%; } .course-art__letter b:nth-of-type(3) { width: 60%; }
.course-art__stamp { position: absolute; right: -.6rem; bottom: .2rem; padding: .15rem .45rem; border: 2px solid #16a34a; border-radius: .3rem; color: #16a34a; font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; rotate: -12deg; background: rgba(251, 248, 240, .9); animation: ca-stamp 5s ease-in-out infinite; }
@keyframes ca-stamp { 0%, 30% { opacity: 0; transform: scale(1.6); } 40%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.course-art__checks { display: grid; gap: .5rem; }
.course-art__checks span { width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: .6rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #6fd3a3; font-size: 1.05rem; animation: ca-check 5s ease-in-out infinite both; }
.course-art__checks span:nth-child(2) { animation-delay: .4s; } .course-art__checks span:nth-child(3) { animation-delay: .8s; }
@keyframes ca-check { 0%, 5% { opacity: .2; } 15%, 90% { opacity: 1; } 100% { opacity: .2; } }

/* ---------- Poultry: eggs, one hatching ---------- */
.course-art--poultry { grid-template-rows: auto auto; gap: 1rem; align-content: center; }
.course-art__eggs { display: flex; gap: .55rem; align-items: flex-end; }
.course-art__eggs i { width: 1.9rem; height: 2.4rem; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; background: linear-gradient(160deg, #fffaf0, #f5deb3); box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .35); }
.course-art__eggs i:nth-child(2), .course-art__eggs i:nth-child(4) { background: linear-gradient(160deg, #f8e7cf, #d9a066); }
.course-art__eggs .is-hatch { width: 2.3rem; height: 2.9rem; animation: ca-wobble 2.4s ease-in-out infinite; transform-origin: bottom center; background: linear-gradient(160deg, #fff7d6, #fbbf24); }
@keyframes ca-wobble { 0%, 60%, 100% { rotate: 0deg; } 70% { rotate: -9deg; } 80% { rotate: 8deg; } 90% { rotate: -4deg; } }
.course-art__stats { display: flex; gap: .4rem; }
.course-art__stats span { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .55rem; border-radius: 99rem; background: rgba(255, 255, 255, .08); font-size: .62rem; font-weight: 600; }
.course-art__stats i { color: #fbbf24; }

/* ---------- Agribusiness: farm to market ---------- */
.course-art--agri { grid-template-rows: auto auto; gap: 1rem; align-content: center; }
.course-art__chain { display: flex; align-items: center; width: 16rem; }
.course-art__stop { flex: 0 0 auto; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: .9rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 1.45rem; color: #a3e635; }
.course-art__stop + .course-art__road + .course-art__stop { color: #facc15; }
.course-art__road { position: relative; flex: 1; height: 3px; margin: 0 .3rem; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 8px, transparent 8px 14px); }
.course-art__road i { position: absolute; top: 50%; left: 0; translate: 0 -55%; font-size: 1.4rem; color: #eef3ef; animation: ca-drive 4s ease-in-out infinite; }
@keyframes ca-drive { 0% { left: 0; } 80%, 100% { left: calc(100% - 1.4rem); } }
.course-art__price { justify-self: center; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: 99rem; background: rgba(132, 204, 22, .2); color: #d9f99d; font-size: .66rem; font-weight: 700; }

/* ---------- Entrepreneurship: the idea and its canvas ---------- */
.course-art__canvas { display: grid; grid-template-columns: repeat(3, 2.6rem); grid-auto-rows: 1.9rem; gap: .35rem; padding: .6rem; border-radius: .8rem; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.course-art__canvas i { border-radius: .35rem; background: rgba(255, 255, 255, .08); animation: ca-fill 6s ease-in-out infinite; }
.course-art__canvas i:nth-child(2) { animation-delay: .5s; } .course-art__canvas i:nth-child(3) { animation-delay: 1s; } .course-art__canvas i:nth-child(4) { animation-delay: 1.5s; } .course-art__canvas i:nth-child(5) { animation-delay: 2s; } .course-art__canvas i:nth-child(6) { animation-delay: 2.5s; }
@keyframes ca-fill { 0%, 10% { background: rgba(255, 255, 255, .08); } 20%, 85% { background: color-mix(in srgb, #facc15 55%, transparent); } 100% { background: rgba(255, 255, 255, .08); } }
.course-art__bulb { position: absolute; right: 18%; top: 14%; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%; background: #facc15; color: #1a1408; font-size: 1.7rem; box-shadow: 0 0 2rem rgba(250, 204, 21, .6); animation: ca-glow 2.4s ease-in-out infinite; }
@keyframes ca-glow { 50% { box-shadow: 0 0 3.2rem rgba(250, 204, 21, .9); transform: scale(1.06); } }

/* ---------- Launch Lab: a rocket taking off ---------- */
.course-art__milestones { position: absolute; left: 1rem; top: 1rem; bottom: 1rem; display: flex; flex-direction: column-reverse; justify-content: space-between; }
.course-art__milestones span { display: flex; align-items: center; gap: .4rem; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fed7aa; }
.course-art__milestones span::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: #f97316; box-shadow: 0 0 0 .2rem rgba(249, 115, 22, .25); }
.course-art__rocket { font-size: 2.8rem; color: #fff; rotate: -45deg; animation: ca-launch 3s ease-in-out infinite; filter: drop-shadow(0 .4rem .8rem rgba(249, 115, 22, .6)); }
@keyframes ca-launch { 0% { translate: 0 2.2rem; } 60%, 100% { translate: 0 -2.2rem; } }
.course-art__trail { position: absolute; left: 50%; top: 50%; width: .5rem; height: 5rem; translate: -50% 0; border-radius: 99rem; background: linear-gradient(to bottom, #f97316, transparent); filter: blur(2px); animation: ca-trail 3s ease-in-out infinite; }
@keyframes ca-trail { 0% { opacity: 0; transform: scaleY(.3); } 40%, 60% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ---------- Personal leadership: climbing the steps ---------- */
.course-art__stairs { position: absolute; left: 50%; bottom: 1.4rem; width: 12rem; height: 6.5rem; translate: -50% 0; display: flex; align-items: flex-end; gap: .25rem; }
.course-art__stairs i { flex: 1; border-radius: .35rem .35rem 0 0; background: linear-gradient(180deg, rgba(45, 212, 191, .55), rgba(45, 212, 191, .12)); }
.course-art__stairs i:nth-child(1) { height: 25%; } .course-art__stairs i:nth-child(2) { height: 50%; } .course-art__stairs i:nth-child(3) { height: 75%; } .course-art__stairs i:nth-child(4) { height: 100%; }
.course-art__climber { position: absolute; left: calc(50% - 5.4rem); bottom: 3.2rem; font-size: 1.6rem; color: #e3e35a; animation: ca-climb 5s ease-in-out infinite; }
@keyframes ca-climb { 0% { translate: 0 0; } 25% { translate: 3rem -1.6rem; } 50% { translate: 6rem -3.2rem; } 75%, 100% { translate: 9rem -4.8rem; } }
.course-art__flag { position: absolute; left: calc(50% + 4.3rem); top: 1.2rem; font-size: 1.4rem; color: #2dd4bf; animation: ca-wave 1.6s ease-in-out infinite; transform-origin: bottom left; }
@keyframes ca-wave { 50% { rotate: 8deg; } }

/* ---------- Leading teams: a hub and its people ---------- */
.course-art__orbit { position: relative; width: 9.5rem; height: 9.5rem; border-radius: 50%; border: 1px dashed rgba(96, 165, 250, .5); animation: ca-spin 24s linear infinite; }
@keyframes ca-spin { to { rotate: 360deg; } }
.course-art__hub { position: absolute; inset: 0; margin: auto; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%; background: #60a5fa; color: #0b1220; font-size: 1.6rem; animation: ca-spin 24s linear infinite reverse; box-shadow: 0 0 1.6rem rgba(96, 165, 250, .55); }
.course-art__member { position: absolute; left: 50%; top: 50%; width: 1.7rem; height: 1.7rem; margin: -.85rem; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #e0f2fe 0 28%, transparent 30%), radial-gradient(circle at 50% 100%, #e0f2fe 0 46%, transparent 48%), #34d399; transform: rotate(var(--a)) translateY(-4.75rem); box-shadow: 0 0 .8rem rgba(52, 211, 153, .45); }

/* ---------- Equity & belonging: a circle with everyone in it ---------- */
.course-art__ring { position: relative; width: 9rem; height: 9rem; }
.course-art__ring > i { position: absolute; left: 50%; top: 50%; width: 1.5rem; height: 1.5rem; margin: -.75rem; border-radius: 50%; background: hsl(var(--h) 75% 60%); transform: rotate(var(--a)) translateY(-3.8rem); animation: ca-beat 2.4s ease-in-out infinite; }
.course-art__ring > i:nth-child(odd) { animation-delay: .3s; }
@keyframes ca-beat { 50% { box-shadow: 0 0 0 .3rem rgba(255, 255, 255, .12); } }
.course-art__ring::after { content: ''; position: absolute; inset: .95rem; border-radius: 50%; border: 2px solid rgba(244, 114, 182, .35); }
.course-art__heart { position: absolute; inset: 0; margin: auto; width: 3rem; height: 3rem; display: grid; place-items: center; font-size: 2.2rem; color: #f472b6; animation: ca-glow-pink 1.6s ease-in-out infinite; }
@keyframes ca-glow-pink { 50% { transform: scale(1.12); filter: drop-shadow(0 0 .8rem rgba(244, 114, 182, .8)); } }

/* ---------- Resilience: down, then back up ---------- */
.course-art--resilience { place-items: stretch; }
.course-art__wave { position: absolute; left: 0; right: 0; top: 18%; width: 100%; height: 62%; }
.course-art__wave path { fill: none; stroke: #34d399; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: ca-draw 6s ease-in-out infinite; filter: drop-shadow(0 0 .4rem rgba(52, 211, 153, .6)); }
.course-art__compass { position: absolute; right: 1rem; top: .8rem; font-size: 1.8rem; color: #38bdf8; animation: ca-needle 4s ease-in-out infinite; }
@keyframes ca-needle { 0%, 100% { rotate: -20deg; } 50% { rotate: 25deg; } }
.course-art__adapt { position: absolute; left: 1rem; bottom: .8rem; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #a7f3d0; }

@media screen and (max-width: 359px) {
    .course-card { padding: 0 1.1rem 1.2rem; }
    .course-art { width: calc(100% + 2.2rem); margin: 0 -1.1rem 1rem; height: 180px; }
    .course-art--upwork, .course-art--scholar { gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
    .course-art *, .course-art *::before, .course-art *::after { animation: none !important; }
    .course-art__line, .course-art__pen path { stroke-dashoffset: 0; }
}
