.work-section { overflow: hidden; }
.work-heading { align-items: end; }
.work-video-card { min-width: 0; }
.work-watch { display: block; text-decoration: none; color: inherit; height: 100%; }
.work-poster { aspect-ratio: 16 / 9; position: relative; background: #111825; overflow: hidden; }
.work-video-card .work-poster { min-height: 200px; }
.work-poster iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.work-video-card.is-playing .work-poster::after { display: none; }
.work-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease-out, ease); }
.work-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #070b1455, transparent 55%); pointer-events: none; }
.work-play { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; display: grid; place-items: center; padding-left: 3px; border: 1px solid #ffffffb0; border-radius: 50%; background: #080e19a8; color: #fff; font-size: 17px; transition: background 180ms ease; }
.work-duration { position: absolute; z-index: 1; bottom: 12px; right: 12px; color: #fff; background: #080e19d9; padding: 5px 7px; font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.work-card-copy { padding: 20px 0 0; }
.work-kicker { font-size: 9px; letter-spacing: 1.6px; color: #4d5a6d; margin-bottom: 12px; }
.work-card-copy h4 { font: 600 23px/1.15 Barlow, Arial, sans-serif; letter-spacing: -.02em; margin: 0 0 10px; }
.work-video-name { font-size: 13px; line-height: 1.5; color: #485463; }
.work-watch-label { display: inline-flex; align-items: center; gap: 24px; font-size: 10px; text-transform: uppercase; letter-spacing: 1.1px; margin-top: 18px; border-bottom: 1px solid #8d99aa; padding-bottom: 7px; }
.work-card-actions { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.work-watch-label[hidden], .work-stop[hidden] { display: none; }
.work-stop { display: inline-flex; align-items: center; gap: 18px; background: none; border: 0; border-bottom: 1px solid #8d99aa; padding: 10px 0 7px; margin-top: 8px; min-height: 44px; font: 500 10px Barlow, Arial, sans-serif; color: #101622; text-transform: uppercase; letter-spacing: 1.1px; cursor: pointer; }
.work-youtube { color: #485463; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.work-lessons-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin: 64px 0 30px; }
.work-lessons-heading h3 { font-size: clamp(38px, 4.5vw, 64px); line-height: .94; margin-top: 18px; }
.work-lessons-heading > p { font-size: 14px; line-height: 1.6; color: #485463; }
.work-library-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #aeb6c2; margin-bottom: 30px; min-height: 52px; }
.work-filters { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.work-filters[hidden] { display: none; }
.work-filters button { position: relative; background: none; border: 0; color: #485463; padding: 16px 0; min-height: 48px; font: 500 12px Barlow, Arial, sans-serif; cursor: pointer; white-space: nowrap; }
.work-filters button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #162dae; transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease-out, ease); }
.work-filters button[aria-pressed="true"] { color: #122594; }
.work-filters button[aria-pressed="true"]::after { transform: scaleX(1); }
#work-result-count { color: #485463; font-size: 11px; white-space: nowrap; margin-left: auto; }
.work-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 26px; }
.work-video-card[hidden] { display: none; }
.work-channel { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; color: #485463; font-size: 12px; }
.work-plan { border-top: 1px solid #aeb6c2; margin-top: 52px; padding-top: 8px; }
.work-plan summary { display: flex; align-items: center; gap: 32px; padding: 24px 0; cursor: pointer; list-style: none; }
.work-plan summary::-webkit-details-marker { display: none; }
.work-plan summary > span:first-child { font-size: 9px; letter-spacing: 1.4px; color: #485463; }
.work-plan summary strong { font: 600 23px Barlow, Arial, sans-serif; }
.work-plan-icon { margin-left: auto; font-size: 26px; transition: transform 180ms ease; }
.work-plan[open] .work-plan-icon { transform: rotate(45deg); }
.work-plan-body { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; padding: 28px 0 0; }
.work-plan-body h3 { font-size: clamp(36px, 4vw, 58px); line-height: 1; margin-bottom: 24px; }
.work-plan-body > div > p { color: #485463; font-size: 15px; line-height: 1.7; }
@media (hover: hover) and (pointer: fine) {
  .work-watch:hover .work-poster img { transform: scale(1.025); }
  .work-watch:hover .work-play { background: #1630ac; }
}
@media (max-width: 1000px) {
  .work-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-lessons-heading { align-items: start; flex-direction: column; gap: 16px; }
}
@media (max-width: 600px) {
  .work-lessons-heading { margin-top: 42px; }
  .work-library-bar { display: block; padding-bottom: 14px; }
  .work-filters { gap: 0 20px; }
  #work-result-count { margin-top: 12px; }
  .work-video-grid { grid-template-columns: 1fr; gap: 30px; }
  .work-channel { align-items: start; flex-direction: column; gap: 18px; }
  .work-plan summary { flex-wrap: wrap; gap: 14px; }
  .work-plan summary > span:first-child { flex-basis: 100%; }
  .work-plan-body { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .work-poster img, .work-play, .work-filters button::after, .work-plan-icon { transition: none; }
  .work-watch:hover .work-poster img { transform: none; }
}
html[data-input="keyboard"] .work-filters button::after { transition: none; }
