/* Work / Upwork portfolio — shared by work.html, sv/work.html and the home "Latest work" section */
.lg-wk { padding: 72px 20px; background: #1a1d26; color: #e7e7ea; font-family: 'Open Sans', sans-serif; }
.lg-wk-wrap { max-width: 1180px; margin: 0 auto; }
#latest-work, #work { scroll-margin-top: 90px; }
.lg-wk-eyebrow { display: block; text-align: center; color: #b9a8ff; font-size: .8rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 10px; }
.lg-wk-title { text-align: center; color: #fff; font-size: 2.2rem; line-height: 1.2; margin: 0 0 10px; font-family: 'Archivo Black', sans-serif; font-weight: 400; }
.lg-wk-sub { text-align: center; color: #a8acba; margin: 0 auto 30px; max-width: 640px; font-size: 1.05rem; line-height: 1.6; }
.lg-wk-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 30px; color: #a8acba; font-size: .92rem; }
.lg-wk-stats b { color: #fff; font-size: 1.15rem; margin-right: 4px; }
.lg-wk-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.lg-wk-chip { appearance: none; cursor: pointer; font: 600 .92rem 'Open Sans', sans-serif; color: #cfd2dc; background: #232733; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 9px 18px; transition: background .2s, color .2s, border-color .2s; }
.lg-wk-chip:hover { color: #fff; border-color: rgba(152,128,255,.6); }
.lg-wk-chip[aria-pressed="true"] { background: #9880ff; border-color: #9880ff; color: #fff; }
.lg-wk-chip span { opacity: .7; font-weight: 400; margin-left: 4px; }
.lg-wk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.lg-wk-card { position: relative; display: flex; flex-direction: column; text-align: left; cursor: pointer; padding: 0; margin: 0; color: inherit; font: inherit; background: #232733; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.lg-wk-card:hover, .lg-wk-card:focus-visible { transform: translateY(-4px); border-color: rgba(152,128,255,.55); box-shadow: 0 14px 34px rgba(0,0,0,.35); outline: none; }
.lg-wk-card[hidden] { display: none; }
.lg-wk-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #15171e; }
.lg-wk-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.lg-wk-card:hover .lg-wk-media img { transform: scale(1.04); }
.lg-wk-tag { position: absolute; top: 12px; left: 12px; background: rgba(18,19,26,.82); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; backdrop-filter: blur(6px); }
.lg-wk-play { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: #9880ff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(152,128,255,.45); }
.lg-wk-play::before { content: ""; margin-left: 3px; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #fff; }
.lg-wk-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lg-wk-name { color: #fff; font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin: 0; }
.lg-wk-role { color: #9aa0b3; font-size: .86rem; margin: 0; }
.lg-wk-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.lg-wk-btn { display: inline-block; font-weight: 700; padding: 13px 24px; border-radius: 8px; text-decoration: none; border: 1px solid rgba(152,128,255,.55); color: #d6ccff; background: transparent; transition: background .2s, color .2s; }
.lg-wk-btn:hover { background: rgba(152,128,255,.14); color: #fff; }
.lg-wk-btn.is-primary { background: #9880ff; border-color: #9880ff; color: #fff; }
.lg-wk-btn.is-primary:hover { background: #7c63ff; }
.lg-wk-hero { padding-top: 56px; }
.lg-wk-hero .lg-wk-title { font-size: 2.6rem; }

/* viewer */
.lg-wv { position: fixed; inset: 0; z-index: 10000; display: none; background: rgba(10,11,16,.92); backdrop-filter: blur(4px); overflow-y: auto; }
.lg-wv.is-open { display: block; }
body.lg-wv-lock { overflow: hidden; }
.lg-wv-box { position: relative; max-width: 1100px; margin: 40px auto; background: #1d2029; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; overflow: hidden; color: #e7e7ea; font-family: 'Open Sans', sans-serif; }
.lg-wv-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0,0,0,.55); color: #fff; font-size: 22px; line-height: 40px; }
.lg-wv-close:hover { background: #9880ff; }
.lg-wv-stage { position: relative; background: #0f1015; display: grid; place-items: center; min-height: 240px; }
.lg-wv-stage img, .lg-wv-stage video { display: block; max-width: 100%; max-height: 72vh; width: auto; height: auto; margin: 0 auto; }
.lg-wv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(0,0,0,.55); color: #fff; font-size: 22px; }
.lg-wv-nav:hover { background: #9880ff; }
.lg-wv-prev { left: 12px; } .lg-wv-next { right: 12px; }
.lg-wv-count { position: absolute; bottom: 10px; right: 14px; font-size: .8rem; color: #cfd2dc; background: rgba(0,0,0,.5); padding: 3px 9px; border-radius: 6px; }
.lg-wv-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 14px; background: #15171e; }
.lg-wv-thumbs button { flex: 0 0 auto; width: 84px; height: 60px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: #232733; opacity: .65; }
.lg-wv-thumbs button[aria-current="true"] { border-color: #9880ff; opacity: 1; }
.lg-wv-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lg-wv-thumbs .is-video { display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 700; }
.lg-wv-info { padding: 24px 28px 28px; display: grid; gap: 10px; }
.lg-wv-info > h3, .lg-wv-info > p { margin: 0 !important; padding: 0; }
.lg-wv-info > .lg-wv-role { margin-top: -4px !important; }
.lg-wv-info h3 { margin: 0; color: #fff; font-size: 1.45rem; line-height: 1.3; }
.lg-wv-role { margin: 0; color: #b9a8ff; font-size: .9rem; font-weight: 600; }
.lg-wv-desc { margin: 0; color: #c9ccd6; line-height: 1.7; }
.lg-wv-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 700px) {
  .lg-wk { padding: 52px 16px; }
  .lg-wk-title, .lg-wk-hero .lg-wk-title { font-size: 1.7rem; }
  .lg-wk-grid { grid-template-columns: 1fr; }
  .lg-wv-box { margin: 0; border-radius: 0; min-height: 100%; }
  .lg-wv-info { padding: 20px 16px 28px; }
  .lg-wv-nav { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { .lg-wk-card, .lg-wk-media img { transition: none; } }

/* YouTube channels (home block + youtube.html) */
.lg-yt { border-top: 1px solid rgba(255,255,255,.06); }
.lg-yt-chs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.lg-yt-ch { background: #232733; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.lg-yt-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 12px; }
.lg-yt-av { width: 52px; height: 52px; border-radius: 50%; flex: 0 0 52px; object-fit: cover; background: #15171e; }
.lg-yt-nm { color: #fff; font-weight: 700; font-size: 1.02rem; line-height: 1.25; margin: 0; }
.lg-yt-hd { color: #9aa0b3; font-size: .82rem; }
.lg-yt-grp { display: inline-block; margin: 0 16px 10px; color: #b9a8ff; font-size: .72rem; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.lg-yt-desc { margin: 0 16px 14px; color: #b9bdc9; font-size: .9rem; line-height: 1.55; }
.lg-yt-vid { position: relative; aspect-ratio: 16 / 9; background: #0f1015; }
.lg-yt-vid.is-short { aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; }
.lg-yt-play { all: unset; box-sizing: border-box; position: absolute; inset: 0; cursor: pointer; display: block; }
.lg-yt-play img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lg-yt-play::after { content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 44px; transform: translate(-50%,-50%); border-radius: 12px; background: #ff0033 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center/26px no-repeat; box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .2s; }
.lg-yt-play:hover::after, .lg-yt-play:focus-visible::after { transform: translate(-50%,-50%) scale(1.1); }
.lg-yt-play:focus-visible { outline: 3px solid #9880ff; outline-offset: -3px; }
.lg-yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lg-yt-vt { margin: 0; padding: 12px 16px 4px; color: #fff; font-size: .92rem; font-weight: 600; line-height: 1.4; }
.lg-yt-date { padding: 0 16px; color: #9aa0b3; font-size: .8rem; }
.lg-yt-sub { margin: auto 16px 16px; padding-top: 14px; }
.lg-yt-sub a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; text-decoration: none; color: #fff; background: #ff0033; padding: 9px 16px; border-radius: 999px; }
.lg-yt-sub a:hover { background: #d9002b; }
.lg-yt-h3 { color: #fff; font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.5rem; margin: 54px 0 8px; text-align: center; }
.lg-yt-note { text-align: center; color: #9aa0b3; margin: 0 0 24px; font-size: .95rem; }
.lg-yt-longs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.lg-yt-longs .lg-yt-card, .lg-yt-shorts .lg-yt-card { background: #232733; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; padding-bottom: 14px; }
.lg-yt-shorts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.lg-yt-shorts .lg-yt-vid.is-short { border-radius: 0; }
.lg-yt-sched { max-width: 760px; margin: 0 auto; width: 100%; border-collapse: collapse; background: #232733; border-radius: 12px; overflow: hidden; }
.lg-yt-sched th, .lg-yt-sched td { text-align: left; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.07); color: #d8dbe3; font-size: .95rem; vertical-align: top; }
.lg-yt-sched th { color: #fff; background: #2a2f3d; font-weight: 700; }
.lg-yt-sched tr:last-child td { border-bottom: 0; }
.lg-yt-sched td:first-child { color: #fff; font-weight: 700; white-space: nowrap; }
.lg-yt-offer { margin-top: 56px; background: linear-gradient(135deg, #2a2445 0%, #232733 60%); border: 1px solid rgba(152,128,255,.35); border-radius: 16px; padding: 36px 32px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.lg-yt-offer h3 { color: #fff; font-family: 'Archivo Black', sans-serif; font-weight: 400; font-size: 1.7rem; line-height: 1.2; margin: 0 0 10px; }
.lg-yt-offer p { color: #c9ccd6; margin: 0 0 18px; line-height: 1.65; }
.lg-yt-offer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lg-yt-offer li { color: #e2e4ea; padding-left: 26px; position: relative; line-height: 1.45; }
.lg-yt-offer li::before { content: "\2713"; position: absolute; left: 0; color: #9880ff; font-weight: 800; }
.lg-yt-offer .lg-wk-actions { justify-content: flex-start; margin-top: 0; }
@media (max-width: 800px) { .lg-yt-offer { grid-template-columns: 1fr; padding: 26px 20px; } .lg-yt-longs { grid-template-columns: 1fr; } .lg-yt-shorts { grid-template-columns: repeat(2, 1fr); } }

.lg-yt-ch, .lg-yt-card, .lg-yt-offer, .lg-yt-offer h3, .lg-yt-offer p { text-align: left; }
.lg-yt-ch .lg-yt-sub { text-align: left; }
.lg-yt-nm, .lg-yt-vt, .lg-yt-desc { margin-top: 0 !important; }
.lg-yt-nm { margin-bottom: 2px !important; }

/* Hire us on Upwork (home) */
.lg-up { border-top: 1px solid rgba(255,255,255,.06); }
.lg-up-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lg-up-card { text-align: left; background: #232733; border: 1px solid rgba(255,255,255,.08); border-top: 3px solid #6fda44; border-radius: 12px; padding: 24px 22px; }
.lg-up-card h3 { margin: 0 0 8px !important; color: #fff; font-size: 1.15rem; line-height: 1.35; }
.lg-up-card p { margin: 0 !important; color: #b9bdc9; line-height: 1.6; font-size: .95rem; }
.lg-wk-btn.lg-up-btn { background: #14a800; border-color: #14a800; }
.lg-wk-btn.lg-up-btn:hover { background: #108a00; }
@media (max-width: 800px) { .lg-up-grid { grid-template-columns: 1fr; } }
