/* Home hero shares the application-page brand tokens and type scale. */
.af-home-hero { position:relative; width:100%; height:clamp(480px,37.5vw,680px); background:#061c2c; overflow:hidden; }
.af-home-hero .af-hero-slide { position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity .5s ease,visibility .5s; pointer-events:none; }
.af-home-hero .af-hero-slide.is-active { opacity:1; visibility:visible; pointer-events:auto; }
.af-home-hero .af-hero-slide img { display:block; width:100%; height:100%; object-fit:cover; }
.af-home-hero .af-hero-slide::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,22,39,.6),rgba(0,22,39,.08) 80%); }
.af-home-hero .af-hero-copy { position:absolute; z-index:1; top:50%; left:6%; width:min(66%,920px); transform:translateY(-50%); color:white; }
.af-home-hero .af-hero-copy * { font-family:var(--af-font) !important; }
.af-home-hero .af-hero-eyebrow { color:#fff; font-size:var(--af-small-size) !important; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin:0 0 20px; border-left:3px solid var(--af-red); padding-left:12px; }
.af-home-hero .af-hero-copy :is(h1,h2) { color:white; font-size:var(--af-hero-size) !important; line-height:1.25; font-weight:600; margin:0 0 32px; text-transform:none; }
.af-home-hero .af-hero-copy em { color:#fff; font-style:normal; }
.af-home-hero .af-hero-actions { display:flex; flex-wrap:wrap; gap:16px; }
.af-home-hero .af-hero-actions a { display:inline-flex; justify-content:center; align-items:center; padding:12px 24px; min-height:48px; background:var(--af-blue); border:1px solid var(--af-blue); color:white; font-size:var(--af-button-size); font-weight:600; text-transform:uppercase; text-decoration:none; }
.af-home-hero .af-hero-actions a:hover { background:var(--af-blue-hover); }
.af-home-hero .af-hero-actions a.af-hero-outline { background:rgba(17,18,62,.3); border-color:white; }
.af-home-hero a:focus-visible,.af-home-hero button:focus-visible { outline:3px solid #fff; outline-offset:4px; }
.af-home-hero .af-hero-controls { position:absolute; z-index:2; right:4%; bottom:24px; display:flex; align-items:center; gap:12px; }
.af-home-hero .af-hero-controls button { color:white; background:var(--af-blue-hover); border:1px solid rgba(255,255,255,.7); padding:4px 12px; cursor:pointer; font:var(--af-small-size)/1.5 var(--af-font) !important; min-height:36px; }
.af-home-hero .af-hero-dots { display:flex; gap:4px; }
.af-home-hero .af-hero-dots button { min-height:36px; width:28px; border:0; background:transparent; padding:8px; }
.af-home-hero .af-hero-dots button::after { content:""; display:block; width:10px; height:10px; border:1px solid white; border-radius:50%; }
.af-home-hero .af-hero-dots button[aria-current="true"]::after { background:var(--af-red); }
@media(max-width:640px) {
 .af-home-hero { height:590px; }
 .af-home-hero .af-hero-slide img { object-position:70% center; }
 .af-home-hero .af-hero-slide::after { background:rgba(0,22,39,.65); }
 .af-home-hero .af-hero-copy { left:7%; width:86%; }
 .af-home-hero .af-hero-actions { gap:10px; }
}
@media(prefers-reduced-motion:reduce) { .af-home-hero .af-hero-slide { transition:none; } }

.af-home-hero [data-hero-pause] { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; padding:8px; }
.af-home-hero [data-hero-pause] svg { width:18px; height:18px; fill:currentColor; flex-shrink:0; }
.af-home-hero [data-hero-pause][data-paused="false"] .af-hero-play-icon,
.af-home-hero [data-hero-pause][data-paused="true"] .af-hero-pause-icon { display:none; }

.af-home-hero .af-hero-controls button:hover { border-color:#fff; }
html:lang(zh-TW) .af-home-hero .af-hero-eyebrow,
html:lang(ja) .af-home-hero .af-hero-eyebrow { letter-spacing:.02em; }
