/* Full-banner edition, layered over the existing editorial architecture. */
body.hklaw-programme .hero { display:block; position:relative; isolation:isolate; min-height:780px; height:94svh; max-height:1080px; background:#101e30; color:#fff; overflow:clip; }
body.hklaw-programme .hero-image { position:absolute; inset:0; width:100%!important; max-width:100%; height:100%!important; min-width:0; min-height:0; margin:0; z-index:-1; animation:banner-enter 1100ms cubic-bezier(.22,1,.36,1) 150ms both; }
body.hklaw-programme .hero-image>img { width:100%; height:100%!important; object-fit:cover; object-position:65% 50%; filter:none; animation:banner-settle 1100ms cubic-bezier(.22,1,.36,1) 150ms both; }
body.hklaw-programme .hero-image:after { inset:0; background:linear-gradient(90deg,rgba(8,19,33,.86),rgba(8,19,33,.65) 38%,rgba(8,19,33,.08) 73%),linear-gradient(0deg,rgba(8,19,33,.5),transparent 40%); }
body.hklaw-programme .hero-copy { position:relative; z-index:2; width:min(720px,56%); height:100%; display:flex; flex-direction:column; justify-content:center; padding:50px 38px 64px max(48px,calc((100vw - 1240px)/2)); }
body.hklaw-programme .hero .kicker { color:#ead2a6; }
body.hklaw-programme .hero .edition { color:#b5c2cf; }
body.hklaw-programme .hero h1 { font-size:clamp(40px,4vw,65px); margin:27px 0 22px; }
body.hklaw-programme .hero h1:after { background:#c44149; margin-top:22px; }
body.hklaw-programme .hero-sub { font-size:22px!important; margin-bottom:20px!important; animation:banner-copy 600ms cubic-bezier(.22,1,.36,1) 700ms both; }
.hero-line-mask { display:block; overflow:clip; }
.hero-line { display:block; animation:banner-copy 650ms cubic-bezier(.22,1,.36,1) 350ms both; }
.hero-line-mask:nth-child(2) .hero-line { animation-delay:470ms; }
body.hklaw-programme .hero .intro { font-size:13px; line-height:1.9; color:#e2e7ec; animation:banner-copy 600ms cubic-bezier(.22,1,.36,1) 850ms both; }
body.hklaw-programme .hero .actions { margin-top:25px; animation:banner-copy 600ms cubic-bezier(.22,1,.36,1) 900ms both; }
body.hklaw-programme .hero .actions:focus-within { animation:none; }
body.hklaw-programme .hero .micro { color:#bdc7d0; font-size:11px; animation:banner-copy 600ms cubic-bezier(.22,1,.36,1) 1100ms both; }
body.hklaw-programme .hero-image figcaption { left:auto; right:48px; width:35%; bottom:38px; border-top-color:#ffffff50; animation:banner-copy 600ms cubic-bezier(.22,1,.36,1) 1100ms both; }
body.hklaw-programme .hero-image figcaption span { font-size:22px; }
body.hklaw-programme .photo-number { color:#fff; background:none; border-top:1px solid #ffffff70; top:32px; right:48px; }
@keyframes banner-enter { from { clip-path:inset(0 100% 0 0); } to { clip-path:inset(0); } }
@keyframes banner-settle { from { transform:scale(1.025); } to { transform:scale(1); } }
@keyframes banner-copy { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
body.hklaw-programme .stage-one .photo img,body.hklaw-programme .stage-two .photo img { aspect-ratio:auto; height:auto!important; object-fit:contain; filter:none; }
.stage-one .photo img { object-position:50% 42%; }
.stage-two .photo img { object-position:50% 48%; }
body.hklaw-programme .faculty-person img { height:auto!important; aspect-ratio:auto; object-fit:contain; background:#fff; }
.faculty-person img[src*="zheng-headroom"] { object-position:50% 16%; }
.faculty-person img[src*="yang-headroom"] { object-position:50% 18%; }
.faculty-person img[src*="ouyang-headroom"] { object-position:50% 12%; }
.faculty-person img[src*="yao-headroom"] { object-position:50% 14%; }
.faculty-person img[src*="wang-headroom"] { object-position:50% 10%; }
.faculty-person img[src*="fang-headroom"] { object-position:50% 15%; }
body.hklaw-programme .student-layout img { height:auto!important; aspect-ratio:auto; object-fit:contain; object-position:50% 18%; }
body.hklaw-programme .memory img { height:auto!important; aspect-ratio:auto; object-fit:contain; object-position:50% 8%; }
.history .section-top { margin-bottom:38px; }
.history-layout { gap:48px; align-items:start; }
.history-note { padding-top:20px; }
.timeline { gap:0; margin-top:45px; border-top:2px solid #a8a497; }
.timeline>div { position:relative; padding:25px 24px 0; border-right:1px solid #bcb8aa; }
.timeline>div:first-child { padding-left:0; }
.timeline>div:last-child { border:0; }
.timeline>div:before { content:""; position:absolute; width:7px; height:7px; background:var(--red); top:-4px; left:24px; }
.timeline>div:first-child:before { left:0; }
body.hklaw-programme .timeline img { width:100%; height:auto!important; aspect-ratio:auto; object-fit:contain; }
.timeline b { margin-bottom:14px; }
.timeline p { font-size:12px; margin-top:12px; }
body.hklaw-programme .total strong { display:flex; gap:8px; align-items:baseline; font-size:clamp(88px,9vw,130px); }
body.hklaw-programme .total strong span { position:static; font:28px var(--serif); }
.total strong em { font:22px var(--serif); font-style:normal; }
.tuition-amount { text-align:right; }
.tuition-amount>small { display:block; font-size:11px; color:var(--muted); line-height:1.9; margin-top:12px; }
body.hklaw-programme .tuition-amount strong { display:block; white-space:nowrap; }
.thank-you-shell { min-height:75svh; padding:80px 24px; background:var(--paper); }
.thank-you-content { width:min(740px,100%); margin:0 auto; border-top:3px solid var(--red); padding:42px 0; }
.thank-you-content h1 { font-size:clamp(32px,5vw,52px); line-height:1.4; margin:20px 0 28px!important; }
.thank-you-content p { max-width:610px; }
body.hklaw-programme .mobile-conversion a { color:#fff!important; }
@media(max-width:1100px) and (min-width:761px) {
 body.hklaw-programme .hero-copy { width:62%; padding-left:36px; padding-right:26px; }
 body.hklaw-programme .hero h1 { font-size:42px; }
 body.hklaw-programme .hero-image figcaption { width:30%; right:30px; }
}
@media(max-width:760px) {
 body.hklaw-programme .hero { height:auto; min-height:0; padding-bottom:360px; }
 body.hklaw-programme .hero-copy { width:100%; height:auto; padding:42px 20px 26px; }
 body.hklaw-programme .hero h1 { font-size:clamp(32px,7.7vw,45px); }
 body.hklaw-programme .hero-sub { font-size:20px!important; }
 body.hklaw-programme .hero-image { animation-duration:950ms; }
 body.hklaw-programme .hero-image>img { top:auto; bottom:0; height:360px!important; width:100%; object-position:74% 50%; animation-duration:950ms; }
 body.hklaw-programme .hero-image:after { background:linear-gradient(0deg,rgba(8,19,33,.38),transparent 25%,#101e30 360px); }
 body.hklaw-programme .hero-image figcaption { left:20px; right:20px; width:auto; bottom:25px; }
 body.hklaw-programme .hero-image figcaption span { font-size:19px; }
 body.hklaw-programme .photo-number { display:none; }
 .hero-line,body.hklaw-programme .hero-sub,body.hklaw-programme .hero .intro,body.hklaw-programme .hero .actions,body.hklaw-programme .hero .micro,body.hklaw-programme .hero-image figcaption { animation-duration:500ms; }
 @keyframes banner-copy { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
 .history-note { padding-top:0; }
 .timeline { row-gap:25px; }
 .timeline>div { padding:20px 15px 0; }
 .timeline>div:nth-child(2) { border-right:0; }
 .timeline>div:nth-child(3) { padding-left:0; }
 .timeline>div:before { left:15px; }
 .timeline>div:nth-child(3):before { left:0; }
 .tuition-amount { grid-column:2; text-align:left; }
 body.hklaw-programme .total strong { font-size:100px; }
 .thank-you-shell { padding:40px 20px; }
}
@media(prefers-reduced-motion:reduce) {
 body.hklaw-programme .hero-image,body.hklaw-programme .hero-image>img,.hero-line,body.hklaw-programme .hero-sub,body.hklaw-programme .hero .intro,body.hklaw-programme .hero .actions,body.hklaw-programme .hero .micro,body.hklaw-programme .hero-image figcaption { animation:none!important; opacity:1; transform:none; clip-path:none; }
}
