/* KBP Legal — Home (SiteHome.dc.html, heroFade: fade). Mobile = max-width 760px. */

.hm {
	--hm-sec: 104px;   /* z.c60x104 */
	--hm-sec-sm: 84px; /* z.c48x84 */
	--hm-h2: 46px;     /* z.c28x46 */
	--hm-h2s: 41px;    /* z.c26x41 */
	background: #FFFFFF;
	color: #0B1418;
}
@media (max-width: 760px) {
	.hm { --hm-sec: 52px; --hm-sec-sm: 41px; --hm-h2: 24px; --hm-h2s: 22px; }
}

/* ---------- Shared ---------- */
.hm .hm-sec { max-width: 1280px; margin: 0 auto; padding: var(--hm-sec) var(--pad); }
.hm .hm-sec--sm { padding: var(--hm-sec-sm) var(--pad); }
.hm .hm-eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.hm .hm-eyebrow--light { color: #7CC3CF; }
.hm .hm-eyebrow--pale { color: #DDEBEE; }
.hm .hm-kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #4A5759; }
.hm .hm-h2 { margin: 12px 0 0; font-size: var(--hm-h2); line-height: 1.05; letter-spacing: -0.025em; font-weight: 600; }
.hm .hm-h2--narrow { max-width: 760px; }
.hm .hm-white { color: #FFFFFF; }
.hm .hm-h2s { margin: 12px 0 0; font-size: var(--hm-h2s); line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; }
.hm .hm-accent { color: var(--accent); }
.hm .hm-more { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 600; padding: 8px 0; }
.hm .hm-cover { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hm .hm-dark { background: #0B1418; color: #E6EBEA; }
.hm .hm-grey { background: #F2F4F3; }

/* ---------- Hero ---------- */
.hm .hm-hero { position: relative; overflow: hidden; background: #040B12; color: #E6EBEA; }
.hm .hm-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 50%; pointer-events: none; }
.hm .hm-hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4, 11, 18, 0.72) 0%, rgba(4, 11, 18, 0.38) 50%, rgba(4, 11, 18, 0.12) 100%); }
.hm .hm-hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 240px; pointer-events: none; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.18) 35%, rgba(255, 255, 255, 0.7) 72%, #FFFFFF 100%); }
.hm .hm-hero__in { position: relative; max-width: 1280px; margin: 0 auto; box-sizing: border-box; padding: 205px 48px 250px; }
.hm .hm-hero__eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #C9D3D4; }
.hm .hm-hero__title { margin: 20px 0 0; max-width: 860px; font-size: 53px; line-height: 1.05; letter-spacing: -0.04em; font-weight: 700; color: #FFFFFF; }
.hm .hm-hero__sub { margin: 26px 0 0; max-width: 560px; font-size: 19px; line-height: 1.55; color: #C9D3D4; }
.hm .hm-hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hm .hm-hbtn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 26px; text-decoration: none; font-weight: 600; font-size: 15px; }
.hm .hm-hbtn--solid, .hm .hm-hbtn--solid:hover { background: #FFFFFF; color: #0B1418; }
.hm .hm-hbtn--line, .hm .hm-hbtn--line:hover { border: 1px solid #FFFFFF; color: #FFFFFF; }
.hm .hm-feat { margin-top: 88px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.22); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.hm .hm-feat__label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #7CC3CF; }
.hm .hm-feat__title, .hm .hm-feat__title:hover { color: #FFFFFF; text-decoration: none; font-size: 17px; line-height: 1.4; font-weight: 500; padding: 6px 0; max-width: 780px; }
.hm .hm-feat__date { font-size: 13px; color: #7CC3CF; }

@media (max-width: 760px) {
	.hm .hm-hero__img { object-position: 72% 50%; }
	.hm .hm-hero__fade { height: 129px; }
	.hm .hm-hero__in { padding: 150px 18px 150px; }
	.hm .hm-hero__title { font-size: 28px; }
	.hm .hm-hero__sub { font-size: 15px; }
	.hm .hm-hbtn { min-height: 40px; padding: 0 16px; font-size: 13px; }
	.hm .hm-feat { margin-top: 45px; }
	.hm .hm-feat__label { font-size: 11px; }
	.hm .hm-feat__title { font-size: 14px; }
	.hm .hm-feat__date { font-size: 12px; }
}

/* ---------- About + who we have advised ---------- */
.hm .hm-about { max-width: 1280px; margin: 0 auto; padding: 24px var(--pad) var(--hm-sec); }
.hm .hm-about__row { display: flex; flex-wrap: wrap; gap: 26px 70px; align-items: center; }
.hm .hm-about__col { flex: 1 1 400px; min-width: 0; }
.hm .hm-about__p { margin: 0; font-size: 15px; line-height: 1.65; color: #4A5759; }
.hm .hm-about__p--2 { margin-top: 14px; }
.hm .hm-adv-head { margin-top: 52px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hm .hm-swipe { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

.hm .hm-pins { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 8px; }
.hm .hm-pin, .hm .hm-pin:hover { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 370px; box-sizing: border-box; padding: 26px 24px; background: #1A2328; color: #FFFFFF; text-decoration: none; }
.hm .hm-pin__ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 7, 8, 0.72) 0%, rgba(5, 7, 8, 0.15) 50%, rgba(5, 7, 8, 0.66) 100%); }
.hm .hm-pin__title { position: relative; font-size: 21px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.hm .hm-pin__tag { position: relative; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #E6EBEA; }

.hm .hm-pins-m { margin: 14px -18px 0 0; padding: 0 18px 6px 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hm .hm-pins-m::-webkit-scrollbar { display: none; }
.hm .hm-pin-m, .hm .hm-pin-m:hover { position: relative; overflow: hidden; flex: 0 0 80%; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; box-sizing: border-box; padding: 10px; background: #1A2328; color: #FFFFFF; text-decoration: none; }
.hm .hm-pin-m__title { font-size: 16px; line-height: 1.3; font-weight: 500; }

/* Mobile "glass" caption used on pin, sector and news cards */
.hm .hm-glass { position: relative; display: flex; flex-direction: column; padding: 12px 14px; background: rgba(4, 11, 18, 0.74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-left: 3px solid #7CC3CF; }
.hm .hm-glass--pin { gap: 6px; padding: 13px 14px; }
.hm .hm-glass--sector { gap: 4px; }
.hm .hm-glass--news { gap: 5px; }
.hm .hm-glass__tag { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #9FD3DC; }
.hm .hm-glass__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.hm .hm-glass__h { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.hm .hm-glass__arrow { font-size: 15px; color: #9FD3DC; }
.hm .hm-glass__text { font-size: 13px; line-height: 1.45; color: #C9D3D4; }
.hm .hm-glass__meta { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #9FD3DC; }
.hm .hm-glass__meta span { color: #C9D3D4; font-weight: 500; letter-spacing: 0; }
.hm .hm-glass__nt { font-size: 15px; line-height: 1.35; font-weight: 600; }

.hm .hm-stack { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.hm .hm-mcard, .hm .hm-mcard:hover { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; box-sizing: border-box; padding: 10px; background: #1E2C33; color: #FFFFFF; text-decoration: none; }
.hm .hm-mcard--sector { min-height: 170px; }
.hm .hm-mcard--news { min-height: 200px; }

@media (max-width: 760px) {
	.hm .hm-adv-head { margin-top: 36px; }
}

/* ---------- Sectors ---------- */
.hm .hm-sectors { margin-top: 42px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.hm .hm-sector, .hm .hm-sector:hover { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; box-sizing: border-box; padding: 22px; background: #1E2C33; color: #FFFFFF; text-decoration: none; }
.hm .hm-sector__ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 20, 24, 0.94) 0%, rgba(11, 20, 24, 0.6) 36%, rgba(11, 20, 24, 0) 60%); }
.hm .hm-sector__body { position: relative; display: block; }
.hm .hm-sector__title { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.hm .hm-sector__text { display: block; margin-top: 8px; font-size: 14px; line-height: 1.5; color: #C9D3D4; }
.hm .hm-sector__more { display: block; margin-top: 16px; font-size: 14px; font-weight: 600; }

/* ---------- Practice areas ---------- */
.hm .hm-practice__sub { margin: 16px 0 0; max-width: 560px; font-size: 15px; line-height: 1.6; color: #4A5759; }
.hm .hm-groups { margin-top: 46px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 42px 34px; }
.hm .hm-group__title { margin: 0; padding-bottom: 13px; border-bottom: 2px solid #0B1418; font-size: 18px; font-weight: 600; }
.hm .hm-group__note { margin: 11px 0 6px; font-size: 13px; color: #4A5759; }
.hm .hm-group__link, .hm .hm-group__link:hover { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid #C9D3D4; color: #0B1418; text-decoration: none; font-size: 15px; font-weight: 500; }

/* ---------- Mission / how we work ---------- */
.hm .hm-mission { display: flex; flex-wrap: wrap; gap: 42px 70px; }
.hm .hm-mission__l { flex: 1 1 400px; min-width: 0; }
.hm .hm-mission__r { flex: 999 1 480px; min-width: 0; }
.hm .hm-quote { display: block; margin-top: 18px; font-size: 84px; line-height: 0.6; font-weight: 700; color: var(--accent); }
.hm .hm-mission__title { margin: 6px 0 0; font-size: 51px; line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.hm .hm-mission__text { margin: 22px 0 0; max-width: 460px; font-size: 15px; line-height: 1.65; color: #4A5759; }
.hm .hm-how__label { margin: 0 0 13px; }
.hm .hm-how { list-style: none; margin: 0; padding: 0; border-top: 1px solid #0B1418; }
.hm .hm-how li { display: flex; flex-wrap: wrap; gap: 6px 30px; padding: 22px 0; border-bottom: 1px solid #D5DBDA; }
.hm .hm-how__n { flex: 0 0 44px; font-size: 14px; font-weight: 600; color: var(--accent); }
.hm .hm-how__body { flex: 1 1 300px; min-width: 0; }
.hm .hm-how__title { margin: 0; font-size: 19px; font-weight: 600; }
.hm .hm-how__text { margin: 7px 0 0; font-size: 15px; line-height: 1.6; color: #4A5759; }
@media (max-width: 760px) {
	.hm .hm-mission__title { font-size: 27px; }
}

/* ---------- People carousel ---------- */
.hm [data-hm-people] { --hm-vis: 4; }
@media (max-width: 760px) { .hm [data-hm-people] { --hm-vis: 2; } }
.hm .hm-people__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 40px; }
.hm .hm-people__intro { flex: 1 1 340px; min-width: 0; }
.hm .hm-people__ctrl { display: flex; align-items: center; gap: 8px; }
.hm .hm-people__count { font-size: 14px; letter-spacing: 0.06em; color: #4A5759; margin-right: 6px; }
.hm .hm-arrow { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #0B1418; border-radius: 0; padding: 0; cursor: pointer; }
.hm .hm-arrow--prev { background: #FFFFFF; color: #0B1418; }
.hm .hm-arrow--next { background: #0B1418; color: #FFFFFF; }
.hm .hm-arrow:disabled { opacity: 0.35; }
.hm .hm-people__viewport { margin-top: 34px; overflow: hidden; }
.hm .hm-people__track { display: flex; gap: 20px; transition: transform 450ms ease; }
.hm .hm-person { flex: 0 0 calc((100% - (var(--hm-vis) - 1) * 20px) / var(--hm-vis)); min-width: 0; }
.hm .hm-person__link, .hm .hm-person__link:hover { display: block; color: #0B1418; text-decoration: none; }
.hm .hm-person__img { display: block; width: 100%; aspect-ratio: 4 / 5; box-sizing: border-box; object-fit: cover; object-position: 50% 0%; }
.hm .hm-person__role { display: block; margin-top: 15px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.hm .hm-person__name { display: block; margin-top: 4px; font-size: 21px; font-weight: 600; }
.hm .hm-more--people { margin-top: 26px; }
@media (prefers-reduced-motion: reduce) { .hm .hm-people__track { transition: none; } }

/* ---------- Honorary counsel / careers bands ---------- */
.hm .hm-hon { background: #0B1418; color: #FFFFFF; border-top: 4px solid var(--accent); }
.hm .hm-hon__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 26px 60px; }
.hm .hm-hon__col { flex: 1 1 480px; min-width: 0; }
.hm .hm-band__text { margin: 15px 0 0; max-width: 560px; font-size: 15px; line-height: 1.6; color: #C9D3D4; }
.hm .hm-careers { background: var(--accent); color: #FFFFFF; }
.hm .hm-careers__title { max-width: 800px; }
.hm .hm-careers__text { max-width: 540px; color: #DDEBEE; }
.hm .hm-careers__text a, .hm .hm-careers__text a:hover { color: #FFFFFF; }

/* ---------- News ---------- */
.hm .hm-news__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px 40px; }
.hm .hm-news__all { font-size: 15px; font-weight: 600; padding: 10px 0; }
.hm .hm-chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px; }
.hm .hm-chip, .hm .hm-chip:hover { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid #C9D3D4; background: #FFFFFF; color: #0B1418; text-decoration: none; font-size: 14px; font-weight: 500; }
.hm .hm-chip.is-all, .hm .hm-chip.is-all:hover { border-color: #0B1418; background: #0B1418; color: #FFFFFF; }
.hm .hm-news { margin-top: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 34px 26px; }
.hm .hm-news__link, .hm .hm-news__link:hover { display: block; color: #0B1418; text-decoration: none; }
.hm .hm-news__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #E3E8E7; }
.hm .hm-news__meta { margin: 17px 0 0; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.hm .hm-news__meta span { color: #4A5759; font-weight: 500; letter-spacing: 0; }
.hm .hm-news__title { margin: 9px 0 0; font-size: 19px; line-height: 1.35; font-weight: 600; }
.hm .hm-pubs { margin-top: 60px; padding-top: 24px; border-top: 1px solid #0B1418; }
.hm .hm-pubs__grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px 34px; }
.hm .hm-pub, .hm .hm-pub:hover { display: block; color: #0B1418; text-decoration: none; }
.hm .hm-pub__name { display: block; font-size: 18px; font-weight: 600; }
.hm .hm-pub__text { display: block; margin-top: 5px; font-size: 14px; line-height: 1.55; color: #4A5759; }

/* ---------- Contact ---------- */
.hm .hm-contact { display: flex; flex-wrap: wrap; gap: 42px 70px; }
.hm .hm-contact__l { flex: 999 1 480px; min-width: 0; }
.hm .hm-contact__title { margin: 12px 0 0; font-size: 56px; line-height: 1.02; letter-spacing: -0.03em; font-weight: 600; }
.hm .hm-contact__text { margin: 22px 0 0; max-width: 500px; font-size: 17px; line-height: 1.55; color: #4A5759; }
.hm .hm-contact__btn, .hm .hm-contact__btn:hover { display: inline-flex; align-items: center; min-height: var(--bh); margin-top: 30px; padding: 0 var(--bp); background: var(--accent); color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: var(--bf); }
.hm .hm-office { flex: 1 1 300px; min-width: 0; border: 1px solid #D5DBDA; padding: 26px; }
.hm .hm-office__addr { margin: 13px 0 0; font-size: 17px; line-height: 1.5; }
.hm .hm-office__lines { margin: 15px 0 0; font-size: 15px; line-height: 1.9; }
.hm .hm-office__lines a, .hm .hm-office__lines a:hover { color: #0B1418; }
.hm .hm-more--dir { margin-top: 10px; }
@media (max-width: 760px) {
	.hm .hm-contact__title { font-size: 28px; }
}
