/* Illustrated lecture library; shared across the ten localized indexes. */
body.lecture-home{--bg:#0b1420;--bg-card:#101f2a;--border:#a0decb30;--text:#f3e9cf;--text-muted:#c4ceca;--teal:#a0decb;--purple:#ff9675;background:#0b1420!important;color:#f3e9cf}
body.lecture-home::before{display:none}
body.lecture-home .header{position:relative;isolation:isolate;display:block;text-align:start;width:calc(100% - 64px);max-width:1280px!important;margin:0 auto;padding:76px 0 58px!important;min-height:0;border:0;border-radius:0;background:none}
body.lecture-home .lecture-home-backdrop{position:absolute;inset:62px 0 auto;height:max(900px,100svh);contain:paint;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#0b1420f7,#0b1420db 38%,#0b142076 78%),linear-gradient(0deg,#0b1420 0%,transparent 75%),url('/lecture/assets/product-eye-art/possibilities-v1.webp') right top/cover no-repeat}
body.lecture-home.portfolio-secondary-page::before,body.lecture-home.portfolio-secondary-page::after{display:none!important}
.lecture-home-copy{max-width:900px}
body.lecture-home .header .badge{color:#eac887;background:none;border:0;padding:0;border-radius:0;font:550 16px/1.5 Inter,system-ui;letter-spacing:.12em;margin-bottom:20px}
body.lecture-home .header h1{font:750 clamp(44px,4.6vw,68px)/1.09 Inter,system-ui!important;letter-spacing:-.04em!important;color:#f3e9cf;background:none;-webkit-text-fill-color:currentColor;margin-bottom:28px;text-wrap:balance;overflow-wrap:normal}
body.lecture-home .header p{font:450 22px/1.6 Inter,system-ui!important;color:#f3e9cf;max-width:670px!important;margin:0!important;overflow-wrap:normal}
body.lecture-home .lecture-home-copy>p:not(.lecture-home-signature){color:var(--teal)}
body.lecture-home .grid{max-width:1280px!important;width:calc(100% - 64px);padding:0!important;gap:32px!important;align-items:stretch}
body.lecture-home .card{display:flex;flex-direction:column;position:relative;isolation:isolate;padding:32px!important;border:1px solid #a0decb38;border-radius:6px!important;background:#101f2a!important;backdrop-filter:none;transition:border-color .2s,box-shadow .2s}
body.lecture-home .card::before{display:none}
body.lecture-home .card:hover,body.lecture-home .card:focus-within{transform:none;border-color:#a0decb95;box-shadow:0 12px 40px #0003}
.lecture-card-art{margin:-32px -32px 30px;overflow:hidden;aspect-ratio:1.9;background:#162833}
.lecture-card-art img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s}
.card:hover .lecture-card-art img{transform:scale(1.025)}
body.lecture-home .card-top{align-items:flex-start;gap:16px;margin-bottom:20px}
body.lecture-home .num{width:auto;height:auto;border-radius:0;background:none!important;color:#eac887;font:500 17px/1.5 'Fira Code',monospace;padding-top:5px}
body.lecture-home .card-info h2{font:650 29px/1.25 Inter,system-ui!important;letter-spacing:-.03em!important;color:#f3e9cf;overflow-wrap:normal;margin-bottom:10px}
body.lecture-home .card-date{font:450 15px/1.5 Inter,system-ui;color:#b8c8c2}
body.lecture-home .card-desc{font:450 19px/1.65 Inter,system-ui;color:#cbd5d0;overflow-wrap:normal;margin-bottom:24px}
body.lecture-home .tags{gap:8px;margin-bottom:28px}
body.lecture-home .tag{font:450 13px/1.4 Inter,system-ui;border:0;border-radius:3px;background:#a0decb0d;color:#c3d8ce;padding:5px 9px}
body.lecture-home .card-links{margin-top:auto;gap:12px}
body.lecture-home .card-link{font:600 17px/1.4 Inter,system-ui;min-height:48px;padding:12px 18px;color:#a0decb;background:#a0decb0b;border:1px solid #a0decb66;border-radius:5px;text-decoration:underline;text-decoration-color:#a0decb55;text-underline-offset:4px;transition:background .18s,border-color .18s}
body.lecture-home .card-link:hover{background:#a0decb20;border-color:#a0decb;text-decoration-color:currentColor}
body.lecture-home .card-link.secondary{color:#ffad91;background:#ff967509;border-color:#ff967555;text-decoration-color:#ff967555}
body.lecture-home a:focus-visible,body.lecture-home button:focus-visible{outline:3px solid #ff9675;outline-offset:5px}
body.lecture-home .coming-soon{padding:60px 24px 72px}
body.lecture-home .coming-soon p{font:450 17px/1.6 Inter,system-ui;opacity:1;color:#bdcfc7;letter-spacing:0}
body.lecture-home footer .inner{max-width:1280px}
/* Daylight theme keeps the same page art behind readable paper-colored content. */
html[data-theme=light] body.lecture-home{background:#f3eddf!important;color:#182c32;--text:#182c32;--text-muted:#415b5b;--teal:#22665b}
html[data-theme=light] body.lecture-home .card{background:#fffaf0!important;border-color:#c8cfbf}
html[data-theme=light] body.lecture-home .card-info h2{color:#182c32!important}
html[data-theme=light] body.lecture-home .card-desc{color:#415b5b!important}
html[data-theme=light] body.lecture-home .card-date,html[data-theme=light] body.lecture-home .tag,html[data-theme=light] body.lecture-home .coming-soon p{color:#415b5b}
html[data-theme=light] body.lecture-home .num{color:#86532c}
html[data-theme=light] body.lecture-home .card-link{color:#22665b;border-color:#22665b70;background:#22665b09;text-decoration-color:#22665b70}
html[data-theme=light] body.lecture-home .card-link.secondary{color:#8e422d;border-color:#8e422d70}
@media(max-width:820px){
 body.lecture-home .header{max-width:none!important;width:calc(100% - 32px);margin:0 auto;padding:48px 6px 38px!important;min-height:0}
 .lecture-home-copy{max-width:none;padding:0}
 body.lecture-home .header h1{font-size:48px!important;margin-bottom:18px}
 body.lecture-home .header p{font-size:21px!important;max-width:600px!important}
 body.lecture-home .header .badge{margin-bottom:12px}
 body.lecture-home .grid{width:calc(100% - 32px);max-width:none!important;gap:24px!important}
 body.lecture-home .card{padding:26px!important}
 .lecture-card-art{margin:-26px -26px 26px}
 body.lecture-home .card-info h2{font-size:27px!important}
}
@media(max-width:420px){body.lecture-home .header h1{font-size:37px!important}.lecture-home-copy{padding:0}body.lecture-home .card{padding:22px!important}.lecture-card-art{margin:-22px -22px 24px}body.lecture-home .card-info h2{font-size:25px!important}body.lecture-home .header p{font-size:20px!important}body.lecture-home .card-links{align-items:stretch;flex-direction:column}body.lecture-home .card-link{justify-content:center}}
@media(prefers-reduced-motion:reduce){body.lecture-home .card,body.lecture-home .lecture-card-art img{transition:none;transform:none!important}}
/* Keep the legacy page-level nav rules out of the shared site header. */
body.lecture-home .secondary-shell-links,body.lecture-home .secondary-shell-mobile-links{position:static;padding:0;background:transparent;border:0;backdrop-filter:none;-webkit-backdrop-filter:none}

/* Every language uses the same responsive title scale. */
body.lecture-home-topic .header .lecture-home-signature{margin-top:24px!important;color:#eac887;font-size:16px!important;letter-spacing:.025em}

html[data-theme=light] body.lecture-home .lecture-home-backdrop{background:linear-gradient(90deg,#f3eddfef,#f3eddfce 45%,#f3eddf8c),linear-gradient(0deg,#f3eddf,transparent 75%),url('/lecture/assets/product-eye-art/possibilities-v1.webp') right top/cover no-repeat}
html[data-theme=light] body.lecture-home .header h1{color:#182c32}
html[data-theme=light] body.lecture-home .header p{color:#415b5b}
html[data-theme=light] body.lecture-home .lecture-home-copy>p:not(.lecture-home-signature){color:var(--teal)}
html[data-theme=light] body.lecture-home .header .lecture-home-signature{color:#86532c}
@media(max-width:820px){body.lecture-home .lecture-home-backdrop{background-position:68% top}.lecture-home-copy{max-width:700px}}
@media(max-width:820px){
 body.lecture-home .lecture-home-backdrop{background:linear-gradient(90deg,#0b1420ed,#0b1420c9),linear-gradient(0deg,#0b1420,transparent 75%),url('/lecture/assets/product-eye-art/possibilities-v1.webp') 68% top/cover no-repeat}
 html[data-theme=light] body.lecture-home .lecture-home-backdrop{background:linear-gradient(90deg,#f3eddfed,#f3eddfcf),linear-gradient(0deg,#f3eddf,transparent 75%),url('/lecture/assets/product-eye-art/possibilities-v1.webp') 68% top/cover no-repeat}
}
@media(min-width:1380px){body.lecture-home .secondary-shell-more:hover .secondary-shell-more-menu,body.lecture-home .secondary-shell-more:focus-within .secondary-shell-more-menu{display:contents}}
/* Mobile dropdown must float below its trigger, outside the header grid. */
body.lecture-home .secondary-shell-mobile-links{position:absolute;padding:10px;background:var(--shell-bg);border:1px solid var(--shell-border)}
body.lecture-home .secondary-shell-mobile-group>summary{width:auto}
@media(max-width:820px){body.lecture-home .header h1{overflow-wrap:anywhere;hyphens:auto}}
@media(max-width:380px){
 body.lecture-home .secondary-shell-inner{gap:8px}
 body.lecture-home .secondary-shell-controls{gap:6px}
 body.lecture-home .secondary-shell-select{width:68px}
}

/* A scrolling art layer avoids viewport repainting at the bottom edge. */
body.lecture-home footer.portfolio-footer{backdrop-filter:none;-webkit-backdrop-filter:none}

/* Learning order follows the exercises: solve, review, build, then observe users. */
body.lecture-home .lecture-path-intro{width:calc(100% - 64px);max-width:1280px;margin:0 auto 32px;padding:28px 0 0;border-top:1px solid #a0decb38}
body.lecture-home .lecture-path-label{color:#eac887;font:550 14px/1.5 Inter,system-ui;margin-bottom:12px}
body.lecture-home .lecture-path-intro h2{max-width:850px;font:650 clamp(26px,3vw,38px)/1.2 Inter,system-ui;letter-spacing:-.025em;text-wrap:balance;margin-bottom:18px;color:#f3e9cf}
body.lecture-home .lecture-path-explanation{max-width:850px;font:450 19px/1.65 Inter,system-ui;color:#cbd5d0;margin-bottom:14px}
body.lecture-home .lecture-path-guidance{max-width:850px;font:450 16px/1.6 Inter,system-ui;color:#b8c8c2}
body.lecture-home .lecture-path-courses{list-style:none}
body.lecture-home .lecture-path-stop{display:flex;min-width:0}
body.lecture-home .lecture-path-stop>.card{width:100%}
body.lecture-home .lecture-path-stage{font:550 14px/1.5 Inter,system-ui;color:#eac887;margin:0 0 8px}
body.lecture-home .lecture-path-outcome{margin:0 0 24px;padding-inline-start:16px;border-inline-start:2px solid #a0decb66;color:#e2e8dd;font:450 17px/1.6 Inter,system-ui}
body.lecture-home .lecture-path-outcome>span{display:block;color:#a0decb;font:550 13px/1.5 Inter,system-ui;margin-bottom:6px}
@media(max-width:820px){body.lecture-home .lecture-path-intro{width:calc(100% - 40px)}body.lecture-home .lecture-path-explanation{font-size:18px}}
html[data-theme=light] body.lecture-home .lecture-path-intro{border-color:#52796b55}
html[data-theme=light] body.lecture-home .lecture-path-intro h2{color:#182c32}
html[data-theme=light] body.lecture-home .lecture-path-label,html[data-theme=light] body.lecture-home .lecture-path-stage{color:#86532c}
html[data-theme=light] body.lecture-home .lecture-path-explanation,html[data-theme=light] body.lecture-home .lecture-path-guidance,html[data-theme=light] body.lecture-home .lecture-path-outcome{color:#415b5b}
html[data-theme=light] body.lecture-home .lecture-path-outcome>span{color:#315f4a}
/* Library hierarchy: account action in the hero, optional detail, task-based topics. */
.lecture-home .library-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px 20px;margin-top:26px}
.lecture-home .library-hero-actions .library-join{min-height:48px;padding:12px 22px;background:#eac887;color:#25271e;border:1px solid #eac887;border-radius:8px;font:650 16px/1.4 Inter,system-ui;text-decoration:none;box-shadow:0 5px 24px #0002;transition:background .18s,box-shadow .18s}
.lecture-home .library-hero-actions .library-join:hover{background:#f5dba6;box-shadow:0 6px 28px #eac88726}
.lecture-home .library-hero-actions .library-join:focus-visible{outline:3px solid var(--teal);outline-offset:4px}
@media(prefers-reduced-motion:reduce){.lecture-home .library-hero-actions .library-join{transition:none}}
.lecture-home .library-hero-actions>p{margin:0!important;color:var(--text-muted)!important;font:400 15px/1.6 Inter,system-ui!important;max-width:32ch}
.lecture-home .lecture-home-copy .library-hero-actions>p{font-size:15px!important;line-height:1.6!important;max-width:32ch!important;letter-spacing:normal!important}
html[data-theme=light] .lecture-home .library-hero-actions .library-join{color:#25271e}
.lecture-home .library-audience-guide{margin-block:20px 30px;border:1px solid var(--border);border-radius:10px;padding:18px 22px;background:#a0decb05}
.lecture-home .library-audience-guide>summary{font:550 18px/1.5 Inter,system-ui;color:var(--teal);cursor:pointer;min-height:28px}
.lecture-home .library-audience-guide[open] .lecture-library-guidance{margin-top:24px}
.lecture-home .library-course-details{margin:4px 0 24px;padding-top:16px;border-top:1px solid var(--border)}
.lecture-home .library-course-details>summary{cursor:pointer;color:var(--teal);font:550 16px/1.5 Inter,system-ui;min-height:32px}
.lecture-home .library-course-details[open]>summary{margin-bottom:14px}
@media(max-width:600px){.lecture-home .library-hero-actions{align-items:flex-start;gap:10px;margin-top:22px}.lecture-home .library-hero-actions>p{max-width:32ch}.lecture-home .library-audience-guide{padding:16px}}
