/* Main page only. Shared colours/layout/navigation belong to site.css. */
.home-page *{box-sizing:border-box}.home-page a{color:inherit;text-decoration:none}.home-page button{font:inherit;cursor:pointer}.home-page img{display:block;max-width:100%}.home-page h1,.home-page h2,.home-page h3,.home-page p{margin:0}.home-page h1,.home-page h2,.home-page h3{line-height:1.2;letter-spacing:-.045em}.home-page p{color:var(--muted)}.home-page .section{padding:64px 0}.home-page .btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 30px;font-size:15px;font-weight:650;line-height:1.5}
.home-page .hero{position:relative;isolation:isolate;overflow:hidden;height:clamp(400px,31vw,480px);background:var(--db-hero-fallback);--hero-copy-top:clamp(42px,4vw,62px);--hero-title-size:clamp(40px,4.2vw,59px)}.home-page .hero>picture{position:absolute;inset:0;z-index:-2}.home-page .hero>picture>img{width:100%;height:100%;object-fit:cover;object-position:center}.home-page .hero::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,var(--db-hero-wash-start),var(--db-hero-wash-end) 38%,transparent 53%)}.home-page .hero.is-lighthouse::after{background:linear-gradient(90deg,var(--db-lighthouse-wash-start),var(--db-lighthouse-wash-end) 30%,transparent 56%)}.home-page .hero:is(.is-lighthouse,.is-ship)::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,var(--db-hero-edge-start),var(--db-hero-edge-light) 8%,var(--db-hero-edge-faint) 15%,transparent 24%,transparent 77%,var(--db-hero-edge-right-faint) 85%,var(--db-hero-edge-right-light) 93%,var(--db-hero-edge-end))}
.home-page .hero-content{position:relative;z-index:2;padding-top:var(--hero-copy-top)}.home-page .hero-content h1,.home-page .faculty-copy h2{font-size:var(--hero-title-size);font-weight:780;line-height:1.2;letter-spacing:-.055em;color:var(--ink)}.home-page .hero-content h1 em{color:var(--accent);font-style:normal}.home-page .hero-content>p,.home-page .faculty-copy>p{font-size:18px;line-height:1.55;color:var(--db-text-secondary);margin:23px 0}.home-page .hero .btn.accent{color:var(--db-on-action);background:linear-gradient(145deg,var(--db-glass-highlight),var(--db-glass-clear)),var(--db-hero-action);border:1px solid var(--db-glass-border);border-radius:12px;backdrop-filter:blur(14px) saturate(1.1);box-shadow:inset 0 1px var(--db-glass-inset),0 5px 16px var(--db-glass-shadow)}.home-page .hero .btn.accent:hover{background-color:var(--db-hero-action-hover)}.home-page .hero .btn.accent span{display:none}
.home-page .hero-switch{position:absolute;z-index:3;left:50%;transform:translateX(-50%);bottom:12px;display:flex;align-items:center;gap:9px}.home-page .hero-switch button{position:relative;min-width:24px;height:30px;border:0;padding:0;background:transparent;color:var(--db-hero-indicator-active);text-shadow:0 1px 3px var(--db-hero-indicator-shadow)}.home-page .hero-switch button[data-hero]::after{content:"";display:block;width:24px;height:3px;border-radius:2px;background:var(--db-hero-indicator);box-shadow:0 1px 3px var(--db-hero-indicator-shadow)}.home-page .hero-switch button[data-hero][aria-pressed=true]::after{width:40px;background:var(--db-hero-indicator-active)}.home-page .hero-switch .hero-pause{font-size:12px}
.home-page .faculty-slide{position:absolute;inset:0;background:var(--db-faculty-fallback) url('/assets/theme/faculty-studio-backdrop-v1.webp') center/cover no-repeat;visibility:hidden;opacity:0}.home-page .hero.is-faculty .faculty-slide{visibility:visible;opacity:1}.home-page .hero.is-faculty .hero-content{visibility:hidden}.home-page .hero.is-faculty::after{background:none}.home-page .faculty-slide>.wrap{position:relative;height:100%;padding-top:var(--hero-copy-top)}.home-page .faculty-copy{position:relative;z-index:2;width:48%}.home-page .faculty-copy h2 em{font-style:normal;color:var(--ink)}.home-page .faculty-copy .faculty-keyword{color:var(--accent)}.home-page .faculty-art{position:absolute;right:-1%;bottom:0;width:59%;height:100%;overflow:hidden}.home-page .faculty-people{position:absolute;inset:4% 0 0}.home-page .faculty-people img{position:absolute;height:auto;max-width:none;filter:saturate(.84) contrast(1.035) drop-shadow(10px 8px 12px var(--db-portrait-shadow))}.home-page .hero .faculty-left{top:12%;left:-9%;width:60%;z-index:1}.home-page .hero .faculty-center{top:5%;left:18.5%;width:70%;z-index:3}.home-page .hero .faculty-right{top:13%;right:-7%;width:56%;z-index:2}
.home-page .countdown{background:var(--db-countdown-bg)}.home-page .countdown .wrap{display:flex;align-items:center;justify-content:center;gap:26px;min-height:66px;padding:12px 0}.home-page .countdown .label{font-size:20px;font-weight:750;line-height:1.3;white-space:nowrap}.home-page .countdown .label b{font-weight:400;color:var(--db-muted);margin-left:10px}.home-page .countdown i{width:1px;height:26px;background:var(--db-line)}.home-page .countdown #days{font-size:32px;font-weight:750;color:var(--db-urgent);line-height:1.2}.home-page .countdown .clock{font-size:32px;font-weight:650;line-height:1.2;color:var(--accent);letter-spacing:-.6px;white-space:nowrap;font-variant-numeric:tabular-nums;border-left:1px solid var(--db-line);padding-left:26px}
.home-page .course-tabs{display:flex;flex-wrap:wrap;gap:9px}.home-page .course-tabs button{border:1px solid var(--line);border-radius:999px;background:var(--db-surface);color:var(--db-muted);box-shadow:none}.home-page .course-tabs button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:var(--db-on-action);font-weight:700}.home-page .pass-card{color:var(--db-ink)}.home-page .empty-state{padding:24px 0;color:var(--muted);font-size:14px}.home-page .portrait-original .lecture-portrait-photo{position:static;width:100%;height:100%;object-fit:cover}
.home-page .study-duo{padding:40px 0;background:var(--bg)}.home-page .duo-heading{margin-bottom:22px}.home-page .duo-heading h2{font-size:32px;line-height:1.3;font-weight:750;letter-spacing:-.04em}.home-page .duo-mobile-break{display:none}.home-page .duo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.home-page .duo-panel{position:relative;isolation:isolate;display:grid;grid-template-columns:40% 60%;min-height:260px;height:260px;border:1px solid var(--db-line);border-radius:10px;background:var(--db-panel);overflow:hidden}.home-page .duo-panel-head{position:relative;align-self:center;grid-column:1;grid-row:1;padding:26px 0 12px 28px;z-index:2}.home-page .duo-product{position:absolute;top:22px;left:28px;font-size:12px;font-weight:650;letter-spacing:.02em}.home-page .duo-panel-head .duo-product{position:absolute;top:-28px;left:28px}.home-page .duo-panel h3{font-size:26px;line-height:1.3;font-weight:700;word-break:keep-all}.home-page .duo-dbt-link,.home-page .duo-book-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 14px;border:1px solid var(--db-border-strong);border-radius:999px;font-size:12px;font-weight:650;line-height:1.4;color:var(--db-text-secondary);margin-top:18px}.home-page .duo-dbt-link:hover,.home-page .duo-book-link:hover{background:var(--db-accent-soft)}.home-page .duo-static-stage{grid-column:2;grid-row:1;align-self:center;min-width:0;margin:0 12px 0 -30px;padding:10px 0 0}.home-page .duo-static-stage img{display:block;width:100%;height:auto}.home-page .duo-model-stage{grid-column:2;grid-row:1;min-width:0;height:100%;padding:4px 9px 8px 0}.home-page .duo-model-stage iframe{display:block;width:100%;height:100%;border:0;background:transparent}.home-page .duo-controls{position:absolute;bottom:0;left:28px;right:22px;display:flex;justify-content:space-between;align-items:center;height:40px;z-index:3}.home-page .duo-book-tabs{display:flex;gap:16px}.home-page .duo-book-tabs button{border:0;border-bottom:2px solid transparent;padding:8px 4px;background:none;color:var(--db-subtle);font-size:11px;font-weight:650}.home-page .duo-book-tabs button[aria-pressed=true]{color:var(--accent);border-bottom-color:var(--accent)}.home-page .duo-book-pause{width:28px;height:28px;padding:0;border:1px solid var(--db-line);border-radius:50%;background:var(--db-control-glass);color:var(--db-icon-muted);font-size:10px}
.home-page #news{padding-top:64px;padding-bottom:64px;border-top:1px solid var(--db-line);margin-top:16px}.home-page .news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:56px}.home-page .news{min-width:0}.home-page .news-heading{display:flex;align-items:flex-start;gap:14px;border-bottom:1px solid var(--line)}.home-page .news-tabs{display:flex;align-items:center;gap:22px;margin-bottom:-1px;min-width:0}.home-page .news-tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--db-subtle);font-size:22px;font-weight:550;line-height:1.4;letter-spacing:-.04em;white-space:nowrap;padding:0 0 13px;min-height:45px}.home-page .news-tabs button[aria-selected=true]{color:var(--accent);font-weight:750;border-bottom-color:var(--accent)}.home-page .news-all{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;margin-left:auto;font-size:17px}.home-page .news-list{min-height:245px}.home-page .list-row{display:flex;align-items:center;gap:12px;min-height:49px;padding:11px 0;border-bottom:1px solid var(--db-line);line-height:1.55}.home-page .news-chip{flex:none;border-radius:4px;background:var(--db-accent-soft);color:var(--accent);font-size:12px;font-weight:650;padding:1px 5px}.home-page .news-title{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;color:var(--db-ink)}.home-page .news-list time{flex:none;font-size:13px;color:var(--db-muted)}.home-page .list-row:hover .news-title{color:var(--accent);text-decoration:underline}
@media(max-width:1100px) and (min-width:681px){.home-page .hero.is-lighthouse>picture>img{object-position:80% center}.home-page .duo-panel-head{padding-left:20px}.home-page .duo-panel-head .duo-product{left:20px}.home-page .duo-panel h3{font-size:22px}.home-page .duo-controls{left:20px}}
@media(max-width:980px){.home-page #news{padding-block:48px}.home-page .news-grid{gap:32px}.home-page .news-tabs{gap:16px}.home-page .news-tabs button{font-size:19px}}
@media(max-width:800px){.home-page .news-grid{grid-template-columns:1fr;gap:36px}.home-page .news-list{min-height:0}}
@media(max-width:680px){.home-page .hero{height:clamp(390px,105vw,430px);--hero-copy-top:24px;--hero-title-size:32px}.home-page .hero>picture>img{object-position:center bottom}.home-page .hero.is-lighthouse::after{background:linear-gradient(180deg,var(--db-mobile-wash-start),var(--db-mobile-wash-end) 35%,transparent 58%)}.home-page .hero:is(.is-lighthouse,.is-ship)::before{background:linear-gradient(90deg,var(--db-hero-edge-light),transparent 18%,transparent 80%,var(--db-mobile-edge-end))}.home-page .hero-content>p,.home-page .faculty-copy>p{font-size:13px;line-height:1.55;margin:14px 0}.home-page .hero .btn{font-size:12px;min-height:40px;padding:9px 18px;border-radius:9px}.home-page .faculty-copy{width:80%}.home-page .faculty-copy h2{font-size:30px}.home-page .faculty-art{height:65%;width:110%;right:-5%}.home-page .faculty-people{inset:2% 0 0}.home-page .hero .faculty-left{left:-5%;top:12%;width:57%}.home-page .hero .faculty-center{left:22%;top:4%;width:65%}.home-page .hero .faculty-right{right:-5%;top:13%;width:53%}.home-page .countdown .wrap{min-height:84px;flex-wrap:wrap;gap:8px 18px;padding:12px 0}.home-page .countdown .label{width:100%;font-size:16px;text-align:center}.home-page .countdown i{display:none}.home-page .countdown #days,.home-page .countdown .clock{font-size:27px}.home-page .countdown .clock{padding-left:18px}.home-page .study-duo{padding:36px 0}.home-page .duo-heading h2{font-size:25px}.home-page .duo-grid{grid-template-columns:1fr;gap:18px}.home-page .duo-panel{height:234px;min-height:234px;grid-template-columns:43% 57%}.home-page .duo-panel-head{padding:26px 0 12px 20px}.home-page .duo-panel-head .duo-product{left:20px;top:-23px;font-size:11px}.home-page .duo-panel h3{font-size:23px}.home-page .duo-static-stage{margin-left:-12px;margin-right:6px}.home-page .duo-model-stage{padding:10px 5px 8px 0}.home-page .duo-controls{left:20px;right:15px}.home-page #news{padding-block:38px}.home-page .news-tabs button{font-size:19px}.home-page .list-row{gap:8px;min-height:48px}.home-page .news-title{font-size:14px}.home-page .news-list time{font-size:11px}}

/* Existing popup module keeps its cookies and admin configuration. */
.home-page #popup_m{display:none}.home-page #popup img{max-width:100%;height:auto}@media(max-width:680px){.home-page #popup{display:none}.home-page #popup_m{display:block}}

/* Compact mobile composition; desktop remains unchanged. */
@media(max-width:680px){
 .home-page .hero{height:clamp(320px,90vw,360px);--hero-copy-top:22px;--hero-title-size:30px}
 .home-page .hero-content>p,.home-page .faculty-copy>p{display:none}
 .home-page .hero .btn{margin-top:16px;min-height:44px}
 .home-page .hero>picture>img{object-position:center bottom}
 .home-page .hero.is-ship>.hero-ship-art>img{object-position:center calc(100% + 24px)}
 .home-page .faculty-art{height:72%}
 .home-page .countdown .wrap{min-height:50px;flex-wrap:nowrap;gap:14px;padding:10px 0}
 .home-page .countdown .label{width:auto;font-size:14px}
 .home-page .countdown .label b{margin-left:6px}
 .home-page .countdown i{display:block;height:18px;flex:none}
 .home-page .countdown #days{font-size:23px;white-space:nowrap}
 .home-page .countdown .clock{display:none}
 .home-page .study-duo{padding:28px 0}
 .home-page #news{padding-block:28px}
}

/* Scale the complete portrait composition together, preserving the desktop alignment. */
.home-page .faculty-art{container-type:size;overflow:visible}
.home-page .faculty-people{inset:auto;left:50%;bottom:0;width:max(100%,146cqh);height:auto;aspect-ratio:1.6;transform:translateX(-50%)}
@media(max-width:680px){.home-page .faculty-people{width:max(100%,154cqh)}}

.home-page .faculty-slide{overflow:clip}

/* Use the wide ship composition on unfolded phones and tablets. */
@media(min-width:681px) and (max-width:1100px){.home-page .hero.is-ship>.hero-ship-art>img{object-position:70% center}}

/* Mobile readability and touch targets. Keep desktop composition intact. */
@media(max-width:680px){
 .home-page .hero-switch{bottom:5px;gap:4px}
 .home-page .hero-switch button{display:grid;place-items:center;min-width:44px;height:44px}
 .home-page .duo-dbt-link,.home-page .duo-book-link{min-height:44px;font-size:13px;padding:9px 14px}
 .home-page .duo-panel-head .duo-product{font-size:12px}
 .home-page .duo-controls{height:48px}
 .home-page .duo-book-tabs{gap:12px}
 .home-page .duo-book-tabs button{min-width:44px;min-height:44px;font-size:12px}
 .home-page .duo-book-pause{width:44px;height:44px;flex:none;font-size:12px}
 .home-page .news-all{width:44px;height:44px}
 .home-page .news-list time{font-size:12px}
}
