:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #202c3e; background: #f5f7fb; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #175ca4; }
header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px max(24px, calc((100% - 1280px) / 2)); background: #fff; border-bottom: 1px solid #dce3ec; }
.brand { color: #202c3e; font-size: 21px; font-weight: 750; text-decoration: none; }
header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 22px; }
.back, .series { text-decoration: none; font-weight: 600; }
main { max-width: 1328px; margin: auto; padding: 48px 24px; }
.intro { max-width: 770px; }
.eyebrow { color: #175ca4; font-weight: 700; letter-spacing: .13em; font-size: 12px; }
h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -.04em; margin: 12px 0; line-height: 1.1; }
.intro > p:not(.eyebrow) { line-height: 1.6; }
.note { color: #58667b; font-size: 14px; }
.filters { display: flex; gap: 16px; padding: 22px 0 8px; }
.filters > div { display: flex; flex-direction: column; gap: 8px; }
.search { flex: 1; }
label { font-size: 14px; font-weight: 600; }
input, select { font: inherit; color: inherit; border: 1px solid #bac6d5; border-radius: 8px; background: white; padding: 12px; min-height: 46px; }
:focus-visible { outline: 3px solid #2d76d2; outline-offset: 3px; }
#sample-count { color: #58667b; font-size: 14px; margin: 18px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.card { background: white; border: 1px solid #dce3ec; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 3px 14px #182e4a06; }
.card[hidden] { display: none; }
.preview { position: relative; aspect-ratio: 16 / 9; background: #080b12; }
.preview img, .preview video { display: block; width: 100%; height: 100%; object-fit: contain; }
.preview [hidden] { display: none; }
.play { position: absolute; bottom: 12px; left: 12px; border: 1px solid #ffffff66; border-radius: 24px; background: #17263ee8; color: white; padding: 10px 15px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.details { padding: 20px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.language { margin: 0; color: #58667b; font-size: 12px; font-weight: 650; letter-spacing: .04em; }
h2 { font-size: 19px; line-height: 1.35; margin: 9px 0 18px; }
.load { display: inline-block; margin-top: auto; text-decoration: none; background: #edf4ff; padding: 11px 14px; border-radius: 7px; font-size: 14px; font-weight: 650; }
.load:hover { background: #dceaff; }
.watch { margin: -6px 0 16px; font-size: 14px; line-height: 1.45; text-decoration: none; }
.watch:hover { text-decoration: underline; }
.preview-error { color: #9d2f2f; font-size: 13px; line-height: 1.5; }
footer { max-width: 1328px; padding: 0 24px 36px; margin: auto; color: #58667b; font-size: 14px; }
/* Phones: get the first sample on screen without scrolling. */
@media (max-width: 600px) {
  main { padding: 16px 16px 28px; } header { padding: 14px 16px; } .brand { font-size: 19px; }
  .eyebrow, .intro .note:not(:last-child) { display: none; }
  h1 { font-size: 28px; margin: 4px 0 8px; } .intro > p:not(.eyebrow) { margin: 8px 0; line-height: 1.5; }
  .filters { gap: 10px; padding-top: 10px; } .filters > div { gap: 6px; min-width: 0; }
  .filters > div:last-child { flex: 0 0 42%; } input, select { padding: 10px; width: 100%; }
  #sample-count { margin: 12px 0; } .grid { grid-template-columns: 1fr; gap: 20px; }
}
