@font-face {
  font-family: Inter;
  src: url("/assets/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: Inter;
  src: url("/assets/inter-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #111827;
  --surface: #151f30;
  --raised: #1b2638;
  --input: #1d2738;
  --border: #303d53;
  --subtle-border: #263248;
  --text: #f9fafb;
  --secondary: #c0c6d3;
  --muted: #a0adc2;
  --blue: #6baaff;
  --button: #3267ed;
  --focus: #87baff;
  --radius: 15px;
  font: 16px/1.55 Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
img, svg { display: block; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; overflow-wrap: anywhere; }
section[id], nav[id], article[id] { scroll-margin-top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 9; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; background: var(--button); border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }

.site-header { background: #111a2a; border-bottom: 1px solid #243047; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; line-height: 1; font-size: 19px; font-weight: 750; letter-spacing: -.045em; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; display: grid; flex: none; place-items: center; color: #fff; border: 1px solid #6a99ff; border-radius: 10px; background: linear-gradient(145deg,#4d86ff,#2959ee); box-shadow: 0 3px 12px #102b79a8, inset 0 1px 0 #ffffff2b; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 550; color: var(--secondary); }
.site-nav a { padding: 8px 0; border-radius: 4px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); }
.site-nav .nav-videos { display: flex; align-items: center; gap: 7px; }
.nav-videos svg { color: var(--blue); }

.hero { position: relative; isolation: isolate; text-align: center; background: radial-gradient(ellipse 62% 92% at 50% 28%, #1b2c4d 0%, #142035 42%, var(--bg) 77%); }
.hero-pattern { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
.hero-pattern::before {
  content: ""; position: absolute; inset: 0; opacity: .38;
  background-image: linear-gradient(#35538757 1px, transparent 1px), linear-gradient(90deg, #35538757 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top;
  mask-image: radial-gradient(ellipse 60% 63% at center 27%, #000 6%, transparent 95%);
}
.hero-pattern span { position: absolute; top: 31%; left: 16%; width: 19px; aspect-ratio: 1; background: #6baaff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .48; }
.hero-pattern span + span { top: 49%; left: auto; right: 17%; width: 13px; opacity: .28; }
.hero-inner { padding-top: 78px; padding-bottom: 57px; }
.hero h1 { font-size: clamp(45px, 6.1vw, 78px); font-weight: 820; line-height: 1.065; letter-spacing: -.066em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-copy { max-width: 570px; margin: 23px auto 0; color: var(--secondary); font-size: 17px; line-height: 1.62; text-wrap: balance; }
.search-box { width: min(704px, 100%); min-height: 64px; display: flex; align-items: center; gap: 12px; margin: 30px auto 0; padding: 5px 5px 5px 18px; border: 1px solid #485b79; border-radius: 14px; background: #1e293b; box-shadow: 0 10px 30px #0a112a42, 0 0 0 5px #51669312; text-align: start; }
.search-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #5c92ff28; }
.search-icon { flex: none; color: #9aacca; }
.search-box input { min-width: 0; flex: 1; background: transparent; color: var(--text); border: 0; outline: 0; padding: 6px 0; }
.search-box input::placeholder { color: #a5b1c7; opacity: 1; }
.search-box button { min-height: 51px; flex: none; padding: 0 27px; font-size: 15px; font-weight: 700; color: white; background: var(--button); border: 1px solid #5b88ff; border-radius: 10px; box-shadow: 0 1px 1px #ffffff30 inset, 0 2px 5px #182f7f; transition: background .16s; }
.search-box button:hover, .button-primary:hover { background: #3d74f7; }
.categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 8px; max-width: 900px; margin: 27px auto 0; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 7px 13px; border: 1px solid #37465f; border-radius: 100px; background: #1c273a; color: #e5eaf5; font-size: 13px; font-weight: 560; line-height: 1.3; max-width: 100%; overflow-wrap: anywhere; transition: background .16s, border-color .16s; }
.pill span { flex: none; }
.pill:hover { background: #263653; border-color: #5c7293; }
.pill.selected { color: #d9eaff; border-color: #598fe5; background: #203858; }
.tone-blue { color: #86b0ff; }
.tone-cyan { color: #71d8ee; }
.tone-violet { color: #b1a4ff; }
.tone-green { color: #6cddaf; }
.tone-pink { color: #f6a4d4; }
.tone-orange { color: #ffb565; }

.catalog { padding: 31px 0 48px; border-top: 1px solid #29364b; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 21px; }
.section-head > div { min-width: 0; }
.section-head h2, .related-items h2 { font-size: clamp(23px, 2.35vw, 30px); letter-spacing: -.045em; font-weight: 750; }
.result-count { color: var(--muted); font-size: 14px; margin-top: 5px; overflow-wrap: anywhere; }
.section-tools { display: flex; align-items: center; justify-content: flex-end; gap: 13px; flex-wrap: wrap; flex: none; }
.reset-link, .detail-link { color: var(--blue); font-weight: 600; font-size: 13px; }
.reset-link:hover, .detail-link:hover { color: #b2d1ff; }
.detail-link { display: inline-flex; align-items: center; gap: 6px; }
.sort { display: inline-flex; align-items: center; position: relative; color: #a8b7d0; }
.sort > svg { position: absolute; left: 11px; pointer-events: none; }
.sort .sort-chevron { right: 10px; left: auto; }
.sort select { appearance: none; min-height: 40px; min-width: 116px; padding: 6px 31px 6px 33px; color: #e3eaf7; background: var(--raised); border: 1px solid var(--border); border-radius: 9px; font-size: 13px; font-weight: 550; }
.empty-state { display: grid; place-items: center; align-content: center; min-height: 205px; padding: 25px; text-align: center; border: 1px dashed #35445d; border-radius: var(--radius); background: #141f30; }
.empty-icon { display: grid; place-items: center; margin-bottom: 14px; height: 52px; width: 52px; border: 1px solid #355175; border-radius: 13px; background: #1a2d49; color: #95bfff; }
.empty-state h3 { font-size: 17px; font-weight: 700; letter-spacing: -.025em; }
.empty-state p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.empty-state .button { margin-top: 14px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 7px 13px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 650; line-height: 1.25; color: var(--text); text-align: center; transition: background .16s, border-color .16s; }
.button svg { flex: none; }
.button-primary { background: var(--button); border-color: #648aff; color: white; }
.button-secondary { background: #253653; border-color: #3d5475; color: #deebff; }
.button-secondary:hover { background: #30456a; }
.button-quiet { background: var(--raised); border-color: var(--border); color: var(--secondary); }
.button-quiet:hover { background: #253349; border-color: #4a5d7a; color: var(--text); }
.item-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.item-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); transition: border-color .16s, box-shadow .16s; }
.item-card:hover { border-color: #567296; box-shadow: 0 7px 20px #080e1e5c; }
.card-media, .video-facade { display: block; position: relative; }
.card-media:focus-visible { outline-offset: -4px; }
.media-cover { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% 50%, #253550, #1a2435 75%); }
.media-placeholder { color: #8498b9; }
.media-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-overlay { display: grid; place-items: center; position: absolute; bottom: 12px; left: 12px; height: 38px; width: 38px; color: white; background: #0d1828df; border: 1px solid #8a9cbd; border-radius: 50%; }
.card-media:hover .play-overlay, .video-facade:hover .play-overlay { background: var(--button); border-color: #8eb0ff; }
.play-overlay svg { transform: translateX(1px); }
.card-body { padding: 17px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.category-label { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.category-label svg { flex: none; }
.category-label:hover { text-decoration: underline; }
.card-body h3, .card-body h2 { font-size: 21px; letter-spacing: -.035em; margin-top: 6px; }
.card-body h3 a:hover, .card-body h2 a:hover { color: var(--blue); }
.maker, .card-body time { color: var(--muted); font-size: 13px; margin-top: 4px; overflow-wrap: anywhere; }
.card-description { color: var(--secondary); font-size: 14px; margin: 9px 0 12px; overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; list-style: none; gap: 5px; padding: 0; margin: 0; }
.tags li { border-radius: 5px; padding: 2px 7px; font-size: 11px; border: 1px solid var(--border); background: #19263a; color: #bfcee4; overflow-wrap: anywhere; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; width: 100%; padding-top: 14px; margin-top: auto; }
.icon-link { display: grid; min-width: 36px; min-height: 36px; place-items: center; margin-left: auto; color: var(--muted); border-radius: 6px; }
.icon-link:hover { color: var(--blue); background: var(--raised); }
.pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 24px; color: var(--muted); font-size: 14px; }

.detail-page { padding: 32px 0 60px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); margin-bottom: 24px; font-size: 13px; overflow-wrap: anywhere; }
.breadcrumb a { color: var(--blue); display: flex; gap: 7px; align-items: center; }
.breadcrumb a:hover { text-decoration: underline; }
.item-heading { margin-bottom: 28px; }
.item-heading h1, .videos-page h1, .error-page h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.055em; font-weight: 800; }
.item-categories { display: flex; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 8px; }
.item-maker { color: var(--muted); font-size: 16px; margin-top: 7px; overflow-wrap: anywhere; }
.item-heading .tags { margin-top: 14px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: start; gap: 22px; }
.presentations h2, .item-about h2 { font-size: 21px; letter-spacing: -.032em; margin-bottom: 14px; }
.video-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.video-screen { aspect-ratio: 16/9; background-color: #0c1320; }
.video-screen video, .video-screen iframe, .video-facade { width: 100%; height: 100%; border: 0; padding: 0; color: inherit; }
.video-facade:focus-visible { outline-offset: -4px; }
.video-facade .play-overlay { top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; }
.video-info { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 13px; }
.video-info h3 { font-size: 15px; }
.video-info time { font-size: 12px; color: var(--muted); }
.video-info .detail-link { flex: none; }
.item-about { background: var(--surface); padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); overflow-wrap: anywhere; }
.full-description { color: var(--secondary); white-space: pre-wrap; }
.facts { font-size: 14px; margin: 18px 0; }
.facts div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--subtle-border); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.item-about h3 { font-size: 16px; }
.features { padding-left: 20px; margin: 9px 0 16px; color: var(--secondary); font-size: 14px; }
.features li + li { margin-top: 4px; }
.related-items { margin-top: 36px; }
.related-items h2 { margin-bottom: 15px; }
.videos-page .section-head { margin-bottom: 26px; }
.video-card .detail-link { margin-top: 8px; }
.error-page { padding: 50px 0; }
.error-page .button { margin-top: 20px; }

.site-footer { border-top: 1px solid var(--subtle-border); background: #111a2a; }
.footer-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer-inner .brand { font-size: 14px; font-weight: 650; color: #b4c1d7; }
.footer-inner .brand-mark { width: 26px; height: 26px; border-radius: 7px; opacity: .82; }
.footer-inner .brand-mark svg { width: 17px; height: 17px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 12px 19px; font-size: 13px; color: var(--muted); }
.footer-inner a:hover { color: var(--text); }

@media (max-width: 920px) {
  .hero-pattern span { left: 10%; }
  .hero-pattern span + span { right: 10%; }
  .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; gap: 10px; }
  .brand { font-size: 16px; gap: 7px; }
  .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
  .brand-mark svg { width: 19px; height: 19px; }
  .site-nav { font-size: 12px; gap: 13px; }
  .site-nav .nav-videos { gap: 4px; }
  .nav-videos svg { width: 13px; height: 13px; }
  .hero-inner { padding: 51px 0 35px; }
  .hero h1 { font-size: clamp(31px, 9.8vw, 55px); line-height: 1.1; letter-spacing: -.067em; }
  .hero h1 span { display: inline-block; }
  .hero-pattern::before { background-size: 34px 34px; }
  .hero-pattern span { display: none; }
  .hero-copy { margin-top: 16px; font-size: 14px; }
  .search-box { min-height: 56px; padding-left: 12px; gap: 8px; margin-top: 21px; border-radius: 12px; }
  .search-box input { font-size: 16px; }
  .search-icon { width: 19px; }
  .search-box button { min-height: 43px; padding: 0 15px; font-size: 13px; border-radius: 8px; }
  .categories { gap: 7px; margin-top: 19px; }
  .pill { padding: 7px 10px; gap: 5px; min-height: 35px; font-size: 12px; }
  .pill svg { width: 15px; height: 15px; }
  .catalog { padding: 23px 0 36px; }
  .section-head { align-items: flex-start; gap: 9px; margin-bottom: 15px; }
  .section-tools { gap: 7px; }
  .reset-link { order: 1; }
  .sort select { min-height: 37px; font-size: 12px; min-width: 101px; padding-left: 29px; padding-right: 26px; }
  .sort > svg { left: 8px; width: 14px; }
  .sort .sort-chevron { right: 7px; }
  .empty-state { min-height: 175px; padding: 17px; }
  .empty-state p { font-size: 13px; }
  .detail-page { padding-top: 23px; }
  .detail-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .videos-page .section-head { flex-wrap: wrap; }
  .video-info { flex-wrap: wrap; }
}

@media (max-width: 500px) {
  .item-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head:has(.reset-link) .section-tools { flex-direction: column; align-items: flex-end; }
}
@media (max-width: 370px) {
  .brand { font-size: 14px; gap: 5px; }
  .brand-mark { width: 27px; height: 27px; }
  .site-nav { gap: 9px; font-size: 11px; }
  .site-nav .nav-videos svg { display: none; }
}
@media (max-width: 315px) {
  .header-inner { flex-wrap: wrap; justify-content: center; padding: 8px 0; gap: 4px 10px; }
  .hero h1 { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
