/* Hero */
.cas.hero { position: relative; isolation: isolate; color: #fff; min-height: min(78vh, 760px); display: flex; align-items: flex-end; background: var(--ca-navy); overflow: hidden; }
.cas .hero__media, .cas .hero__img { position: absolute; inset: 0; }
.cas .hero__media { z-index: -1; }
.cas .hero__img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity 900ms var(--ca-ease); }
.cas .hero__img.is-on { opacity: 1; }
.cas .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(12 22 46 / .82) 0%, rgb(12 22 46 / .45) 45%, rgb(12 22 46 / 0) 75%), linear-gradient(0deg, rgb(12 22 46 / .7) 0%, rgb(12 22 46 / 0) 45%); }
.cas .hero__in { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding-top: 80px; padding-bottom: 120px; }
.cas .hero__copy { max-width: 640px; }
.cas .hero__tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 16px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgb(255 255 255 / .16); font-size: .9rem; }
.cas .hero__tag.is-urgent { background: oklch(0.5 0.19 25 / .92); }
.cas .hero__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.cas .hero__tag[hidden] { display: none; }
.cas .hero__title { font-size: var(--ca-s4); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; color: #fff; }
.cas .hero__lede { font-size: var(--ca-s1); margin-top: 18px; max-width: 34ch; color: rgb(255 255 255 / .92); }
.cas .hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cas .hero__ctas [hidden] { display: none; }
.cas .hero__switch { list-style: none; margin: 0; padding: 10px 16px; display: flex; flex-direction: column; gap: 6px; width: 240px; background: rgb(12 22 46 / .62); backdrop-filter: blur(8px); border-radius: var(--ca-r); }
.cas .hero__switch button { display: block; width: 100%; text-align: left; background: none; border: 0; color: rgb(255 255 255 / .72); font-weight: 700; font-size: 1rem; padding: 8px 0 8px 18px; cursor: pointer; position: relative; line-height: 1.3; }
.cas .hero__switch small { display: block; font-weight: 400; font-size: .85rem; }
.cas .hero__bar { position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: rgb(255 255 255 / .3); overflow: hidden; }
.cas .hero__bar::after { content: ""; position: absolute; inset: 0; background: var(--ca-gold); transform: scaleY(0); transform-origin: top; }
.cas .hero__switch button.is-on { color: #fff; }
.cas .hero__switch button.is-on .hero__bar::after { transform: scaleY(1); }
.cas.hero[data-auto="1"] .hero__switch button.is-on .hero__bar::after { transform: scaleY(0); animation: ca-hero-fill 7s linear forwards; }
.cas .hero__switch button:hover { color: #fff; }
@keyframes ca-hero-fill { to { transform: scaleY(1); } }
@keyframes ca-hero-fill-x { to { transform: scaleX(1); } }

@media (max-width: 1180px) and (min-width: 721px) {
	.cas .hero__switch { width: 200px; }
}
@media (max-width: 720px) {
	.cas.hero { min-height: 0; display: block; }
	.cas .hero__media { position: relative; height: 62vw; min-height: 240px; }
	.cas .hero__media::after { background: linear-gradient(0deg, var(--ca-navy) 0%, rgb(20 35 70 / 0) 55%); }
	.cas .hero__in { grid-template-columns: 1fr; padding-top: 0; padding-bottom: 96px; margin-top: -48px; position: relative; gap: 22px; }
	.cas .hero__lede { max-width: none; }
	.cas .hero__ctas .btn { flex: 1; padding: 0 14px; }
	.cas .hero__switch { flex-direction: row; width: auto; gap: 14px; padding: 0; background: none; backdrop-filter: none; }
	.cas .hero__switch li { flex: 1; }
	.cas .hero__switch small { display: none; }
	.cas .hero__switch button { padding: 12px 0 0; font-size: .88rem; }
	.cas .hero__bar { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 3px; }
	.cas .hero__bar::after { transform: scaleX(0); transform-origin: left; }
	.cas .hero__switch button.is-on .hero__bar::after { transform: scaleX(1); }
	.cas.hero[data-auto="1"] .hero__switch button.is-on .hero__bar::after { transform: scaleX(0); animation-name: ca-hero-fill-x; }
}
