/* =========================================================
   Haymanot & Advocates — built from the Figma design system
   Lora (headings) + Geist (body). Tokens = Figma variables.
   ========================================================= */
:root {
	--primary: #800123;
	--primary-hover: #66011c;
	--primary-active: #4d0115;
	--navy: #082c62;
	--navy-hover: #06214a;
	--navy-900: #061733;
	--page: #f4ede7;
	--subtle: #ece4da;
	--gray-100: #f3efea;
	--tint: #f6e8eb;
	--surface: #ffffff;
	--ink: #0e1626;
	--muted: #57504a;
	--gray-500: #8f867c;
	--border: #d2cac0;
	--border-subtle: #e6e0d8;
	--serif: "Lora", Georgia, "Times New Roman", serif;
	--sans: "Geist", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1240px;
	--gutter: 24px;
	--shadow: 0 10px 40px rgba(14, 22, 38, 0.08);
	--shadow-sm: 0 2px 10px rgba(14, 22, 38, 0.06);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--overlay-navy: rgba(6, 23, 51, 0.82);
	--overlay-burgundy: rgba(92, 10, 31, 0.86);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
.hm-main { overflow-x: clip; } /* side-slide reveals must not create a horizontal scrollbar (clip keeps sticky sidebars working) */
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 16px/26px var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-hover); }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hm-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; }
.hm-skip:focus { left: 8px; color: #fff; }
.hm-ico { flex: none; }

.hm-container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.hm-narrow { max-width: calc(920px + 2 * var(--gutter)); }
.hm-center { text-align: center; }
.hm-muted { color: var(--muted); }
.hm-small { font-size: 14px; line-height: 22px; color: var(--muted); }
.hm-meta { font-size: 13px; line-height: 18px; color: var(--muted); }
.hm-lead { font-size: 18px; line-height: 30px; color: var(--muted); }
.hm-lead-serif { font: 400 22px/34px var(--serif); color: var(--ink); }

/* ---------- Type ---------- */
.hm-h1 { font: 600 clamp(32px, 4vw, 44px)/1.18 var(--serif); letter-spacing: -0.015em; }
.hm-h2 { font: 600 clamp(28px, 3.2vw, 36px)/1.22 var(--serif); letter-spacing: -0.01em; }
.hm-h3 { font: 600 clamp(22px, 2.2vw, 26px)/1.3 var(--serif); letter-spacing: -0.005em; }
.is-light { color: #fff; }
.hm-overline { font: 600 12px/16px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin: 0; }
.hm-overline.is-light { color: rgba(255,255,255,.85); }
.hm-overline.is-muted { color: var(--muted); }
.hm-serif-overline { font: 600 17px/24px var(--serif); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0; }
.hm-signature { font: 400 32px/1.2 var(--serif); color: var(--primary); margin: 12px 0 6px; }
.hm-caption { font: 500 12px/16px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0; }
.hm-bar { display: block; width: 40px; height: 3px; background: var(--primary); margin: 18px 0; }
.hm-bar.is-light { background: #fff; }
.hm-bar.is-navy { background: var(--navy); }

/* ---------- Buttons & links ---------- */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border: 1.5px solid transparent; border-radius: 4px; font: 600 14px/20px var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .15s; }
.hm-btn:active { transform: translateY(1px); }
.hm-btn--sm { padding: 8px 16px; }
.hm-btn--primary { background: var(--primary); color: #fff; }
.hm-btn--primary:hover { background: var(--primary-hover); color: #fff; }
.hm-btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.hm-btn--outline:hover { background: var(--primary); color: #fff; }
.hm-btn--light { background: #fff; color: var(--primary); }
.hm-btn--light:hover { background: var(--page); color: var(--primary-hover); }
.hm-btn--navy { background: var(--navy-900); color: #fff; }
.hm-btn .hm-ico { transition: transform .25s var(--ease); }
.hm-btn:hover .hm-ico, .hm-link:hover .hm-ico, .hm-readmore:hover .hm-ico { transform: translateX(3px); }
.hm-link { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/20px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.hm-link.is-light { color: #fff; }
.hm-link .hm-ico { transition: transform .25s var(--ease); }

/* ---------- Header ---------- */
.hm-header { position: relative; z-index: 50; }
.hm-social { display: flex; gap: 16px; align-items: center; }
.hm-social a { color: inherit; display: inline-grid; place-items: center; }
.hm-social--chips a, .hm-social--outline a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); color: #fff; }
.hm-social--outline a { width: 40px; height: 40px; border-radius: 0; }
.hm-social--chips a:hover, .hm-social--outline a:hover { background: var(--primary); border-color: var(--primary); }
.hm-logo img { width: 160px; height: auto; }
.hm-chipicon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--primary); }
.hm-menubtn { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }
.hm-nav { display: flex; }
.hm-nav > li { position: relative; }
.hm-nav a { display: block; padding: 18px 18px 15px; font: 500 15px/20px var(--sans); color: rgba(255,255,255,.82); border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.hm-nav a:hover, .hm-nav .current-menu-item > a, .hm-nav .current_page_item > a, .hm-nav .current-menu-ancestor > a { color: #fff; border-bottom-color: #fff; }
.hm-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; box-shadow: var(--shadow); padding: 8px 0; }
.hm-nav li:hover > .sub-menu, .hm-nav li:focus-within > .sub-menu { display: block; }
.hm-nav .sub-menu a { color: var(--ink); padding: 10px 18px; border: 0; }

/* ---------- Banner ---------- */
.hm-banner { position: relative; background: var(--navy-900) var(--hm-banner-img) center/cover no-repeat; color: #fff; }
.hm-banner::before { content: ""; position: absolute; inset: 0; background: rgba(6, 23, 51, 0.72); }
.hm-banner__inner { position: relative; min-height: 480px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: 130px; padding-bottom: 64px; }
.hm-banner--left .hm-banner__inner { align-items: flex-start; text-align: left; min-height: 400px; }
.hm-banner__title { font: 600 clamp(36px, 5vw, 60px)/1.1 var(--serif); color: #fff; letter-spacing: -0.02em; }
.hm-banner__sub { font: 600 12px/16px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.9); margin: 14px 0 0; }
.hm-banner--left .hm-banner__sub { font: 500 15px/22px var(--sans); letter-spacing: .04em; }
.hm-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.hm-crumbs a { color: rgba(255,255,255,.75); }
.hm-crumbs a:hover { color: #fff; }

/* ---------- Sections & headings ---------- */
.hm-section { padding: 110px 0; }
.hm-section--tight-top { padding-top: 56px; }
.hm-section--tight-bottom { padding-bottom: 40px; }
.hm-section--gray { background: var(--gray-100); }
.hm-section--subtle { background: var(--gray-100); }
.hm-shead { margin-bottom: 56px; }
.hm-shead--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hm-shead__title { font: 600 clamp(28px, 3.2vw, 36px)/1.22 var(--serif); letter-spacing: -0.01em; margin-top: 12px; }
.hm-shead--center .hm-bar { margin: 18px auto 0; }
.hm-shead--left .hm-bar { margin: 18px 0 0; }
.hm-shead.is-dark .hm-shead__title { color: #fff; }
.hm-shead.is-dark .hm-overline { color: rgba(255,255,255,.75); }
.hm-shead.is-dark .hm-bar { background: #fff; }
.hm-shead.is-navy-overline .hm-overline { color: var(--navy); }
.hm-shead.has-vbar .hm-bar { width: 3px; height: 28px; }
.hm-grid { display: grid; gap: 30px; }
.hm-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hm-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.hm-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* ---------- Cards ---------- */
.hm-pcard__link { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; color: inherit; }
.hm-pcard--card { background: #fff; box-shadow: 0 10px 30px rgba(14, 22, 38, 0.07); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hm-pcard--card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14, 22, 38, 0.12); }
.hm-pcard--card .hm-pcard__link { padding: 52px 36px 44px; }
.hm-pcard__icon { color: var(--primary); margin-bottom: 22px; }
.hm-pcard__title { font: 600 20px/28px var(--serif); margin-bottom: 14px; }
.hm-pcard__text { font-size: 14px; line-height: 22px; color: var(--muted); margin-bottom: 28px; flex: 1; max-width: 300px; }
.hm-pcard--plain .hm-pcard__link { padding: 24px 8px; }
.hm-pcard--plain .hm-pcard__title { font-size: 17px; letter-spacing: .14em; text-transform: uppercase; line-height: 24px; }
.hm-pcard--plain:hover .hm-pcard__icon { transform: translateY(-3px); }
.hm-pcard--plain .hm-pcard__icon { transition: transform .3s var(--ease); }

.hm-tcard--centered { display: flex; flex-direction: column; background: #fff; box-shadow: 0 10px 30px rgba(14, 22, 38, 0.06); height: 100%; }
.hm-tcard--centered > a:first-child { display: block; color: inherit; flex: 1; }
.hm-tcard__social { display: flex; justify-content: center; gap: 10px; padding: 0 16px 24px; }
.hm-tcard--meta .hm-tcard__social { justify-content: flex-start; padding: 0 24px 22px; }
.hm-principal__body .hm-tcard__social { justify-content: flex-start; padding: 0; margin: 0 0 20px; }
.hm-tcard__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line, #d9d1c6); color: var(--primary); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.hm-tcard__social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.hm-tcard__img { display: block; aspect-ratio: 300 / 305; overflow: hidden; background: var(--subtle); }
.hm-tcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease), filter .5s; }
.hm-tcard a:hover .hm-tcard__img img, .hm-tcard__img:hover img { transform: scale(1.04); }
.hm-tcard__body { display: block; text-align: center; padding: 24px 16px 16px; }
.hm-tcard__body h3 { font: 600 20px/28px var(--serif); }
.hm-tcard__role { display: block; font: 500 12px/16px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.is-bw .hm-tcard__img img { filter: grayscale(1) contrast(1.05); }
.is-bw .hm-tcard a:hover .hm-tcard__img img { filter: grayscale(0); }
.hm-tcard--meta { background: #fff; display: flex; flex-direction: column; }
.hm-tcard--meta .hm-tcard__img { aspect-ratio: 292 / 360; }
.hm-tcard__meta { display: flex; justify-content: space-between; gap: 12px; padding: 22px 20px 24px 24px; align-items: flex-start; }
.hm-tcard__meta h3 { font: 600 20px/28px var(--serif); }
.hm-tcard__meta h3 a { color: var(--ink); }
.hm-tcard--meta .hm-tcard__role { color: var(--primary); margin-top: 4px; }
.hm-tcard__exp { font-size: 13px; line-height: 18px; color: var(--muted); margin: 6px 0 0; }
.hm-square { flex: none; display: grid; place-items: center; width: 40px; height: 40px; background: var(--navy-900); color: #fff; transition: background .2s; }
.hm-square:hover { background: var(--primary); color: #fff; }

.hm-postcard a { display: flex; flex-direction: column; background: #fff; border-radius: 4px; overflow: hidden; color: inherit; height: 100%; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hm-postcard a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hm-postcard__img { display: block; aspect-ratio: 300 / 178; overflow: hidden; background: var(--subtle); }
.hm-postcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hm-postcard a:hover .hm-postcard__img img { transform: scale(1.05); }
.hm-postcard__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 26px; flex: 1; }
.hm-postcard__body .hm-overline { color: var(--navy); }
.hm-postcard h3 { font: 600 18px/26px var(--serif); }
.hm-postcard__meta { font-size: 13px; color: var(--muted); }

/* ---------- Help band / frames ---------- */
.hm-help, .hm-framed { position: relative; background: var(--navy-900) var(--hm-bg) center/cover no-repeat; padding: 56px 0; color: #fff; }
.hm-help::before, .hm-framed--navy::before { content: ""; position: absolute; inset: 0; background: var(--overlay-navy); }
.hm-framed--burgundy::before { content: ""; position: absolute; inset: 0; background: var(--overlay-burgundy); }
.hm-help .hm-container, .hm-framed .hm-container { position: relative; }
.hm-frame { border: 1px solid rgba(255,255,255,.35); padding: 56px 64px; text-align: center; }
.hm-help__frame { padding: 52px 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hm-help__title { font: 600 clamp(24px, 3vw, 32px)/1.3 var(--serif); color: #fff; }
.hm-help__title a { color: #fff; white-space: nowrap; }
.hm-help__meta { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 14px; margin: 0; }
.hm-help__meta a, .hm-help__meta span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.88); }
.hm-help__sub { font: 600 22px/30px var(--serif); color: #fff; margin-top: 10px; }
.hm-frame__text { text-align: left; color: rgba(255,255,255,.88); max-width: 880px; margin: 0 auto; gap: 56px; }
.hm-framed { padding: 52px 0; }
.hm-framed .hm-frame { padding: 56px 64px; }

/* ---------- Forms ---------- */
.hm-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hm-subscribe { display: flex; position: relative; flex-wrap: wrap; }
.hm-subscribe input { flex: 1; min-width: 0; border: 0; padding: 14px 18px; background: #fff; color: var(--ink); font-size: 14px; }
.hm-subscribe input:focus { outline: 2px solid var(--primary); outline-offset: -2px; }
.hm-subscribe button { flex: none; border: 0; background: var(--primary); color: #fff; padding: 14px 24px; font: 600 14px/20px var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.hm-subscribe button:hover { background: var(--primary-hover); }
.hm-subscribe .hm-error { flex-basis: 100%; }
.hm-subscribe--dark { width: 100%; max-width: 520px; }
.hm-subscribe--dark input { background: rgba(255,255,255,.1); color: #fff; }
.hm-subscribe--dark input::placeholder { color: rgba(255,255,255,.65); }
.hm-subscribe--light { max-width: 440px; box-shadow: var(--shadow); }
.hm-subscribe--footer { width: 451px; max-width: 100%; }
.hm-subscribe--stack { flex-direction: column; gap: 10px; }
.hm-subscribe--stack button { width: 100%; }
.hm-error { color: #b00020; font-size: 13px; line-height: 18px; margin: 6px 0 0; }
.hm-subscribe--dark .hm-error, .hm-consult .hm-error, .hm-darkform .hm-error { color: #ffb4c0; }
.hm-form { display: flex; flex-direction: column; gap: 20px; }
.hm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hm-form__alert { background: var(--tint); color: var(--primary); padding: 12px 16px; border-left: 3px solid var(--primary); margin: 0; font-size: 14px; }
.hm-fld { display: flex; flex-direction: column; gap: 8px; }
.hm-fld label { font: 500 13px/16px var(--sans); color: var(--ink); }
.hm-fld label span { color: var(--primary); }
.hm-fld input, .hm-fld select, .hm-fld textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 15px; line-height: 22px; border-radius: 0; transition: border-color .2s, box-shadow .2s; appearance: none; }
.hm-fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%2357504a' d='M212.24 100.24l-80 80a6 6 0 0 1-8.48 0l-80-80a6 6 0 0 1 8.48-8.48L128 167.51l75.76-75.75a6 6 0 0 1 8.48 8.48Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; padding-right: 40px; }
.hm-fld input:focus, .hm-fld select:focus, .hm-fld textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.hm-fld.has-error input, .hm-fld.has-error textarea, .hm-fld.has-error select { border-color: #b00020; }
.hm-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--muted); }
.hm-consent input { margin-top: 3px; accent-color: var(--primary); }
.hm-form__submit { align-self: flex-start; }

/* ---------- Footer ---------- */

/* ---------- Home ---------- */
.hm-hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; background: #2a0a12 var(--hm-bg) center/cover no-repeat; color: #fff; }
.hm-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hm-hero::before { content: ""; position: absolute; inset: 0; background: var(--hm-overlay-color, #420816); opacity: var(--hm-overlay-op, .55); }
.hm-hero__inner { position: relative; width: 100%; text-align: left; display: flex; flex-direction: column; align-items: flex-start; padding-top: 150px; padding-bottom: 110px; }
.hm-hero__title { font: 600 clamp(44px, 6.6vw, 88px)/1.06 var(--serif); color: #fff; margin-top: 18px; letter-spacing: -0.02em; max-width: 13em; }
.hm-hero .hm-bar { width: 64px; height: 3px; margin: 26px 0; }
.hm-hero__text { max-width: 600px; font-size: 18px; line-height: 30px; color: rgba(255,255,255,.94); margin-bottom: 30px; }
.hm-hero__scroll { position: absolute; left: 50%; bottom: 32px; margin-left: -13px; width: 26px; height: 26px; border: 2px solid rgba(255,255,255,.85); border-radius: 50%; }
.hm-hero__scroll::after { content: ""; position: absolute; inset: 7px; background: #fff; border-radius: 50%; animation: hm-pulse 2.4s var(--ease) infinite; }
@keyframes hm-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .6; } }
.hm-aboutcard-wrap { position: relative; z-index: 2; padding-top: 96px; }
.hm-aboutcard { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 20px 50px rgba(14, 22, 38, 0.12); }
.hm-aboutcard__img img { width: 100%; height: 100%; object-fit: cover; min-height: 460px; }
.hm-aboutcard__body { padding: 72px 72px 64px; display: flex; flex-direction: column; justify-content: center; }
.hm-aboutcard__body > p:not([class]) { font-size: 15px; line-height: 26px; color: var(--muted); }
.hm-aboutcard .hm-bar { margin: 22px 0 26px; }
.hm-pgrid { gap: 30px; }
.hm-split { display: grid; grid-template-columns: 1fr 1fr; }
.hm-split__panel { background: var(--primary); color: #fff; display: flex; justify-content: flex-end; }
.hm-split__inner { width: 100%; max-width: 620px; padding: 88px 72px 88px var(--gutter); }
.hm-split__title { font: 600 clamp(32px, 3.4vw, 44px)/1.2 var(--serif); color: #fff; }
.hm-feature { display: flex; gap: 22px; margin-top: 8px; padding: 16px 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); transition: transform .3s var(--ease); }
.hm-feature:hover { color: #fff; transform: translateX(6px); }
.hm-feature > span { color: #fff; padding-top: 4px; }
.hm-feature h3 { display: flex; align-items: center; gap: 10px; font: 500 22px/30px var(--serif); color: #fff; margin-bottom: 4px; }
.hm-feature h3 .hm-ico { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s var(--ease); }
.hm-feature:hover h3 .hm-ico { opacity: 1; transform: none; }
.hm-split__all { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; color: #fff; font: 600 14px/20px var(--sans); letter-spacing: .06em; }
.hm-split__all:hover { color: #fff; gap: 12px; }
.hm-feature p { color: rgba(255,255,255,.88); font-size: 14px; line-height: 22px; margin: 0; }
.hm-split__img img { width: 100%; height: 100%; object-fit: cover; min-height: 600px; }
.hm-statband { background: var(--navy-900); padding: 84px 0; }
.hm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.hm-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hm-stat__num { font: 500 52px/56px var(--serif); color: #fff; letter-spacing: -0.02em; }
.hm-stat__label { font-size: 15px; color: rgba(255,255,255,.82); }
.hm-stats--circles { margin-top: 72px; }
.hm-stats--circles .hm-stat__num { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--gray-100); color: var(--ink); font-size: 46px; }
.hm-stats--circles .hm-stat__label { color: var(--primary); margin-top: 10px; }
.hm-teamband { position: relative; padding: 120px 0 100px; }
.hm-teamband__bg { position: absolute; left: 0; right: 0; top: 0; height: 555px; background: var(--navy-900) var(--hm-bg) center/cover no-repeat; }
.hm-teamband__bg::before { content: ""; position: absolute; inset: 0; background: rgba(6, 23, 51, 0.86); }
.hm-teamband .hm-container { position: relative; }
.hm-teamband .hm-shead .hm-link { margin-top: 14px; }
.hm-teamband .hm-shead .hm-link .hm-ico { color: var(--primary); }
.hm-sectors { position: relative; }
.hm-carousel__track.hm-sectors__track { gap: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / 5); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hm-sectors__track::-webkit-scrollbar { display: none; }
.hm-sector { position: relative; display: block; aspect-ratio: 288 / 300; overflow: hidden; scroll-snap-align: start; color: #fff; }
.hm-sectors .hm-sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hm-sector__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px; background: rgba(128, 1, 35, 0.82); opacity: 0; transition: opacity .4s var(--ease); }
.hm-sector__label b { font: 500 24px/1.25 var(--serif); }
.hm-sector:hover .hm-sector__label, .hm-sector:focus-visible .hm-sector__label { opacity: 1; }
.hm-sector:hover img { transform: scale(1.06); }
.hm-consult-wrap { padding: 0 0 110px; }
.hm-consult { position: relative; max-width: 800px; margin: 0 auto; padding: 72px 80px; background: var(--navy-900) var(--hm-bg) center/cover no-repeat; color: #fff; text-align: center; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); }
.hm-consult::before { content: ""; position: absolute; inset: 0; background: rgba(6, 23, 51, 0.9); }
.hm-consult > * { position: relative; }
.hm-consult h2 { font: 600 clamp(32px, 4vw, 44px)/1.2 var(--serif); color: #fff; }
.hm-consult > p { color: rgba(255,255,255,.82); font-size: 15px; line-height: 26px; margin: 14px 0 40px; }
.hm-form--consult { text-align: left; gap: 16px; }
.hm-form--consult .hm-form__row { gap: 16px; }
.hm-form--consult .hm-fld label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hm-form--consult .hm-fld input, .hm-form--consult .hm-fld select, .hm-form--consult .hm-fld textarea { border-color: transparent; }
.hm-form--consult .hm-form__submit { align-self: stretch; }
.hm-form--consult .hm-form__alert { background: rgba(255,255,255,.1); color: #fff; border-color: #ffb4c0; }
.hm-testimonial .hm-frame { display: flex; flex-direction: column; align-items: center; }
.hm-testimonial__q { color: #fff; margin: 4px 0 18px; }
.hm-testimonial__item { margin: 0; max-width: 680px; }
.hm-testimonial blockquote { margin: 0 0 18px; font: italic 400 20px/32px var(--serif); color: rgba(255,255,255,.92); }
.hm-testimonial figcaption { font: 600 16px/22px var(--serif); color: #fff; }
.hm-dots { display: flex; gap: 8px; margin-top: 18px; }
.hm-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hm-dots button.is-active { background: #fff; }
.hm-articles { position: relative; background: var(--gray-100); }
.hm-articles::before { content: ""; position: absolute; inset: 0; background: var(--hm-bg) center/cover no-repeat; opacity: .08; }
.hm-articles .hm-container { position: relative; }
.hm-articles .hm-center { margin-top: 56px; }
.hm-contactsplit { display: grid; grid-template-columns: 1fr 1fr; background: var(--gray-100); }
.hm-contactsplit__img img { width: 100%; height: 100%; object-fit: cover; min-height: 560px; }
.hm-contactsplit__body { padding: 96px var(--gutter) 96px 90px; max-width: 640px; }
.hm-contactsplit__body h2 { font: 600 clamp(32px, 3.4vw, 44px)/1.2 var(--serif); }
.hm-callnow { font: 400 24px/32px var(--sans); color: var(--primary); margin-bottom: 26px; }
.hm-callnow a { color: inherit; }
.hm-iconlist { display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; font-size: 15px; }
.hm-iconlist li { display: flex; gap: 14px; align-items: center; color: var(--muted); }
.hm-iconlist .hm-ico { color: var(--primary); }
.hm-iconlist a { color: var(--muted); }
.hm-iconlist a:hover { color: var(--primary); }

/* ---------- Carousel ---------- */
.hm-carousel__track { display: grid; grid-auto-flow: column; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 30px; padding: 6px 2px 20px; }
.hm-carousel__track::-webkit-scrollbar { display: none; }
.hm-carousel__track--4 { grid-auto-columns: calc((100% - 90px) / 4); }
.hm-carousel__track > * { scroll-snap-align: start; }
.hm-arrows { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.hm-arrows button { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: var(--gray-100); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.hm-arrows button:hover { background: var(--primary); color: #fff; }
.hm-arrows button[disabled] { opacity: .45; cursor: default; background: var(--gray-100); color: var(--ink); }
.hm-section--gray .hm-arrows button, .hm-section--subtle .hm-arrows button { background: #fff; }

/* ---------- About ---------- */
.hm-history { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hm-history__media img { width: 100%; aspect-ratio: 640 / 480; object-fit: cover; border-radius: 4px; }
.hm-history__body .hm-bar { margin: 0 0 18px; }
.hm-history__body .hm-h2 { margin: 14px 0 22px; }
.hm-history__body > p:not([class]) { color: var(--muted); }
.hm-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; padding: 56px 48px; }
.hm-principles > div { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hm-principles h2 { font: 600 20px/28px var(--serif); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hm-principles p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 26px; margin: 0; max-width: 320px; }
.hm-faqband { position: relative; background: var(--navy-900) var(--hm-bg) center/cover no-repeat; padding: 110px 0; color: #fff; }
.hm-faqband::before { content: ""; position: absolute; inset: 0; background: rgba(6, 23, 51, 0.9); }
.hm-faqband .hm-container { position: relative; }
.hm-faqband .hm-bar { margin: 18px 0 40px; }
.hm-faq { display: flex; flex-direction: column; }
.hm-acc { border-bottom: 1px solid var(--border-subtle); }
.hm-acc summary { display: flex; gap: 16px; align-items: center; padding: 20px 0; cursor: pointer; list-style: none; font: 600 18px/26px var(--serif); color: var(--ink); }
.hm-acc summary::-webkit-details-marker { display: none; }
.hm-acc__sign { position: relative; flex: none; width: 16px; height: 16px; }
.hm-acc__sign::before, .hm-acc__sign::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.hm-acc__sign::after { transform: rotate(90deg); }
.hm-acc[open] .hm-acc__sign::after { transform: rotate(0); }
.hm-acc__body p { color: var(--muted); font-size: 15px; line-height: 26px; padding: 0 0 22px 32px; margin: 0; }
.hm-faq:not(.is-dark) .hm-acc summary { justify-content: space-between; flex-direction: row-reverse; font-size: 17px; }
.hm-faq:not(.is-dark) .hm-acc__sign { color: var(--primary); }
.hm-faq:not(.is-dark) .hm-acc__body p { padding-left: 0; }
.hm-faq.is-dark .hm-acc { border-color: rgba(255,255,255,.14); }
.hm-faq.is-dark summary { color: #fff; }
.hm-faq.is-dark .hm-acc__body p { color: rgba(255,255,255,.78); }

/* ---------- Layout with sidebar ---------- */
.hm-withside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; align-items: start; }
.hm-withside--left { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
.hm-widget { margin-bottom: 48px; }
.hm-widget__title { font: 600 20px/28px var(--serif); }
.hm-widget .hm-bar { margin: 14px 0 20px; }

/* Practice detail */
.hm-pside { display: flex; flex-direction: column; gap: 40px; position: sticky; top: 24px; }
.hm-pnav .hm-bar { margin: 10px 0 16px; }
.hm-pnav ul { display: flex; flex-direction: column; gap: 4px; }
.hm-pnav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 18px 14px 20px; background: var(--gray-100); color: var(--ink); font-size: 14px; line-height: 20px; transition: background .2s, color .2s; }
.hm-pnav a .hm-ico { color: var(--muted); }
.hm-pnav a:hover, .hm-pnav .is-active a { background: var(--primary); color: #fff; }
.hm-pnav a:hover .hm-ico, .hm-pnav .is-active a .hm-ico { color: #fff; }
.hm-helpcard { background: var(--navy-900); color: #fff; padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.hm-helpcard h2 { font: 600 26px/34px var(--serif); color: #fff; }
.hm-helpcard p { color: rgba(255,255,255,.8); font-size: 14px; line-height: 22px; margin: 0; }
.hm-helpcard__phone { font: 600 20px/28px var(--serif); color: #fff; }
.hm-helpcard__row { display: flex; gap: 10px; align-items: center; }
.hm-helpcard__row a { color: rgba(255,255,255,.85); }
.hm-dlbtn { display: flex; align-items: center; gap: 12px; padding: 18px 24px; background: var(--primary); color: #fff; font: 600 14px/20px var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.hm-dlbtn:hover { background: var(--primary-hover); color: #fff; }
.hm-pmain { display: flex; flex-direction: column; gap: 28px; }
.hm-pmain__hero { width: 100%; aspect-ratio: 900 / 460; object-fit: cover; border-radius: 4px; }
.hm-pmain > .hm-overline { margin-bottom: -16px; }
.hm-prose { color: var(--muted); }
.hm-prose p { margin-bottom: 18px; }
.hm-prose h2 { font: 600 28px/1.25 var(--serif); margin: 40px 0 16px; }
.hm-prose h3 { font: 600 22px/1.3 var(--serif); margin: 32px 0 12px; }
.hm-prose h4 { font: 600 18px/1.4 var(--serif); margin: 24px 0 10px; }
.hm-prose ul, .hm-prose ol { padding-left: 22px; margin-bottom: 18px; }
.hm-prose ul { list-style: disc; }
.hm-prose ol { list-style: decimal; }
.hm-prose li { margin-bottom: 8px; }
.hm-prose a { text-decoration: underline; text-underline-offset: 3px; }
.hm-prose blockquote { margin: 28px 0; padding: 28px 32px; background: var(--tint); border-left: 3px solid var(--primary); font: 400 20px/32px var(--serif); color: var(--primary); }
.hm-prose table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.hm-prose th, .hm-prose td { border: 1px solid var(--border-subtle); padding: 10px 12px; text-align: left; }
.hm-prose th { background: var(--gray-100); color: var(--ink); }
.hm-prose img { border-radius: 4px; margin: 24px 0; }
.hm-prose strong { color: var(--ink); }
.hm-prose--article { font-size: 17px; line-height: 30px; }
.hm-prose--article > p:first-child { font: 400 22px/34px var(--serif); color: var(--ink); }
.hm-pfeature { display: grid; grid-template-columns: 400px 1fr; gap: 40px; align-items: center; padding-top: 8px; }
.hm-pfeature img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.hm-pfeature > div { display: flex; flex-direction: column; gap: 14px; }
.hm-pfeature p { color: var(--muted); margin: 0; }
.hm-accent { color: var(--primary); }
.hm-services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hm-service { display: flex; gap: 20px; padding: 28px; background: var(--tint); color: var(--primary); }
.hm-service.is-alt { background: var(--gray-100); }
.hm-service h4 { font: 600 20px/28px var(--serif); color: var(--ink); margin-bottom: 8px; }
.hm-service p { font-size: 14px; line-height: 22px; color: var(--muted); margin: 0; }

/* Team listing / profile */
.hm-principal { display: grid; grid-template-columns: 520px 1fr; gap: 80px; align-items: center; }
.hm-principal__photo { position: relative; padding: 0 80px 80px 0; }
.hm-principal__block { position: absolute; right: 0; bottom: 0; width: calc(100% - 80px); height: calc(100% - 80px); background: var(--primary); }
.hm-principal__photo img { position: relative; width: 100%; aspect-ratio: 440 / 520; object-fit: cover; }
.hm-principal__body .hm-h1 { margin: 12px 0 0; }
.hm-principal__body .hm-bar { width: 60px; margin: 22px 0; }
.hm-principal__body .hm-iconlist { margin: 18px 0 26px; gap: 10px; }
.hm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.hm-tags li { padding: 7px 14px; background: var(--tint); color: var(--primary); font-size: 14px; line-height: 20px; }
.hm-tags--lg li { padding: 10px 18px; }
.hm-joinband { background: var(--primary); color: #fff; padding: 72px 0; }
.hm-joinband__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.hm-joinband .hm-h2 { color: #fff; }
.hm-joinband p { color: rgba(255,255,255,.85); font-size: 18px; margin: 10px 0 0; }
.hm-profile { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: start; }
.hm-profilecard { background: var(--navy-900); color: #fff; position: sticky; top: 24px; }
.hm-profilecard img { width: 100%; aspect-ratio: 400 / 480; object-fit: cover; }
.hm-profilecard__info { padding: 36px 36px 40px; display: flex; flex-direction: column; gap: 14px; }
.hm-profilecard__info h2 { font: 600 26px/34px var(--serif); color: #fff; }
.hm-profilecard__role { font: 600 12px/16px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin: 0; }
.hm-profilecard .hm-bar { margin: 2px 0; height: 2px; }
.hm-profilecard ul { display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.hm-profilecard li { display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.85); }
.hm-profilecard li a { color: rgba(255,255,255,.85); word-break: break-all; }
.hm-profilecard .hm-social { margin-top: 8px; gap: 10px; }
.hm-profilecard__vcard { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 18px; background: var(--primary); color: #fff; font: 600 14px/20px var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.hm-profilecard__vcard:hover { background: var(--primary-hover); color: #fff; }
.hm-profilebody { display: flex; flex-direction: column; gap: 56px; }
.hm-profilebody section { display: flex; flex-direction: column; gap: 18px; }
.hm-profilebody p { margin: 0; }
.hm-dashhead { display: flex; align-items: center; gap: 16px; font: 600 12px/16px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.hm-dashhead::before { content: ""; width: 28px; height: 2px; background: var(--primary); }
.hm-dashhead--h3 { font: 600 26px/34px var(--serif); letter-spacing: -0.005em; text-transform: none; color: var(--ink); }
.hm-checks { display: flex; flex-direction: column; gap: 14px; }
.hm-checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.hm-checks .hm-ico { color: var(--primary); margin-top: 3px; }
.hm-linked { font-size: 14px; color: var(--muted); }
.hm-quals li { display: flex; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--border); }
.hm-quals .hm-ico { color: var(--primary); }
.hm-quals b { font: 600 20px/28px var(--serif); }
.hm-touch { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 40px; background: var(--gray-100); flex-wrap: wrap; }
.hm-touch p { margin: 6px 0 0; }

/* ---------- Insights ---------- */
.hm-filters { background: var(--gray-100); padding: 44px 0 36px; }
.hm-filters .hm-container { display: flex; flex-direction: column; gap: 22px; }
.hm-filters__controls { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.hm-filters__field { display: flex; flex-direction: column; gap: 8px; width: 250px; }
.hm-filters__field--grow { flex: 1; min-width: 260px; }
.hm-filters__field--sort { width: 200px; }
.hm-filters__field label { font: 600 12px/16px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hm-filters__input { display: flex; align-items: center; gap: 12px; padding: 0 18px; background: #fff; border: 1px solid var(--border); color: var(--primary); }
.hm-filters__input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.hm-filters__input input { flex: 1; border: 0; padding: 15px 0; font-size: 14px; background: none; min-width: 0; }
.hm-filters__input input:focus { outline: none; }
.hm-filters select { width: 100%; padding: 15px 40px 15px 18px; border: 1px solid var(--border); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%2357504a' d='M212.24 100.24l-80 80a6 6 0 0 1-8.48 0l-80-80a6 6 0 0 1 8.48-8.48L128 167.51l75.76-75.75a6 6 0 0 1 8.48 8.48Z'/%3E%3C/svg%3E") no-repeat right 14px center/14px; font-size: 14px; appearance: none; cursor: pointer; }
.hm-filters select.is-active { border: 1.5px solid var(--primary); }
.hm-filters select:disabled { opacity: .55; cursor: not-allowed; }
.hm-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; background: #fff; color: var(--ink); font-size: 14px; line-height: 20px; transition: background .2s, color .2s; }
.hm-chip b { padding: 2px 8px; background: var(--gray-100); color: var(--muted); font: 400 13px/18px var(--sans); }
.hm-chip:hover { color: var(--primary); }
.hm-chip.is-active { background: var(--primary); color: #fff; }
.hm-chip.is-active b { background: rgba(255,255,255,.18); color: #fff; }
.hm-resultsbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--border); min-height: 42px; }
.hm-resultsbar__count { margin: 0; color: var(--ink); }
.hm-activechip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 14px; background: var(--tint); color: var(--primary); font-size: 13px; }
.hm-clearall { font: 600 14px/20px var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.hm-results { min-width: 0; transition: opacity .25s; }
.hm-results.is-loading { opacity: .45; pointer-events: none; }
.hm-iloop { display: flex; flex-direction: column; gap: 72px; }
.hm-ipost { display: flex; flex-direction: column; gap: 22px; }
.hm-ipost__img { position: relative; display: block; aspect-ratio: 840 / 440; overflow: hidden; background: var(--subtle); }
.hm-ipost__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hm-ipost:hover .hm-ipost__img img { transform: scale(1.04); }
.hm-tag { position: absolute; top: 24px; left: 24px; padding: 10px 16px; background: var(--primary); color: #fff; font: 600 12px/16px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
a.hm-tag:hover { color: #fff; background: var(--primary-hover); }
.hm-datebadge { position: absolute; left: 24px; bottom: 24px; display: flex; flex-direction: column; align-items: center; padding: 14px 18px; background: var(--navy-900); color: #fff; font: 400 13px/18px var(--sans); text-transform: uppercase; }
.hm-datebadge b { font: 600 26px/34px var(--serif); }
.hm-ipost__meta { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; font-size: 13px; color: var(--muted); }
.hm-ipost__meta span { display: inline-flex; gap: 8px; align-items: center; }
.hm-ipost__meta .hm-ico { color: var(--primary); }
.hm-ipost__title { font: 600 clamp(24px, 2.6vw, 36px)/1.22 var(--serif); letter-spacing: -0.01em; }
.hm-ipost__title a { color: var(--ink); }
.hm-ipost__title a:hover { color: var(--primary); }
.hm-ipost__excerpt { color: var(--muted); margin: 0; }
.hm-readmore { align-self: flex-start; display: inline-flex; gap: 10px; align-items: center; padding-bottom: 6px; border-bottom: 2px solid var(--primary); font: 600 14px/20px var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.hm-pages { display: flex; gap: 8px; margin-top: 72px; flex-wrap: wrap; }
.hm-pages .page-numbers { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 8px; background: var(--gray-100); color: var(--ink); font: 600 14px/20px var(--sans); transition: background .2s, color .2s; }
.hm-pages a.page-numbers:hover { background: var(--tint); color: var(--primary); }
.hm-pages .current { background: var(--primary); color: #fff; }
.hm-pages .dots { background: none; }
.hm-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 40px; background: #fff; border: 1px solid var(--border-subtle); }
.hm-empty h2 { font: 600 26px/34px var(--serif); margin: 18px 0 10px; }
.hm-empty p { color: var(--muted); max-width: 440px; }
.hm-empty__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--tint); color: var(--primary); }
.hm-empty__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hm-empty--inline { align-items: flex-start; text-align: left; padding: 32px 40px; margin-bottom: 24px; }
.hm-empty--inline h2 { margin-top: 0; }
.hm-recent { display: flex; flex-direction: column; gap: 18px; }
.hm-recent a { display: flex; gap: 16px; align-items: center; color: inherit; }
.hm-recent img { width: 80px; height: 80px; object-fit: cover; flex: none; }
.hm-recent b { display: block; font: 600 16px/22px var(--serif); color: var(--ink); transition: color .2s; }
.hm-recent a:hover b { color: var(--primary); }
.hm-recent small { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.hm-catlist a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); color: var(--ink); }
.hm-catlist b { padding: 2px 10px; background: var(--subtle); color: var(--muted); font: 400 13px/18px var(--sans); }
.hm-catlist a:hover, .hm-catlist .is-active a { color: var(--primary); }
.hm-catlist .is-active b { background: var(--primary); color: #fff; }
.hm-tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.hm-tagcloud a { padding: 8px 14px; border: 1px solid var(--border); color: var(--ink); font-size: 13px; line-height: 18px; transition: background .2s, color .2s, border-color .2s; }
.hm-tagcloud a:hover { border-color: var(--primary); color: var(--primary); }
.hm-widget--newsletter { background: var(--navy-900); color: #fff; padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.hm-widget--newsletter h2 { font: 600 26px/34px var(--serif); color: #fff; }
.hm-widget--newsletter p { color: rgba(255,255,255,.8); font-size: 14px; line-height: 22px; margin: 0; }
.hm-sidebar { position: sticky; top: 24px; }

/* Single post */
.hm-postbanner { position: relative; background: var(--navy-900) var(--hm-bg) center/cover no-repeat; }
.hm-postbanner::before { content: ""; position: absolute; inset: 0; background: var(--overlay-navy); backdrop-filter: grayscale(1); }
.hm-postbanner__inner { position: relative; min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding-top: 64px; padding-bottom: 64px; }
.hm-postbanner .hm-tag { position: static; }
.hm-postbanner__title { font: 600 clamp(30px, 4vw, 44px)/1.2 var(--serif); color: #fff; max-width: 900px; letter-spacing: -0.015em; }
.hm-postbanner__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; margin: 0; font-size: 13px; color: rgba(255,255,255,.85); }
.hm-postbanner__meta span { display: inline-flex; gap: 8px; align-items: center; }
.hm-article { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hm-article__img img { width: 100%; aspect-ratio: 840 / 460; object-fit: cover; border-radius: 4px; }
.hm-disclaimer { font-size: 14px; color: var(--muted); opacity: .85; margin: 0; }
.hm-tagshare { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.hm-tagshare__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--primary); }
.hm-tagshare__tags a, .hm-tagshare__tags span { padding: 8px 14px; background: var(--gray-100); color: var(--ink); font-size: 13px; line-height: 18px; }
.hm-share { display: flex; align-items: center; gap: 8px; }
.hm-share span { font: 600 12px/16px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.hm-share a { display: grid; place-items: center; width: 40px; height: 40px; background: var(--navy-900); color: #fff; transition: background .2s; }
.hm-share a:hover { background: var(--primary); color: #fff; }
.hm-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hm-prevnext a { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; background: var(--gray-100); color: var(--ink); transition: background .2s; }
.hm-prevnext a:hover { background: var(--tint); }
.hm-prevnext b { font: 600 20px/28px var(--serif); }
.hm-prevnext .is-next { text-align: right; align-items: flex-end; }
.hm-authorbox { display: flex; gap: 24px; align-items: center; padding: 32px; background: var(--navy-900); color: #fff; }
.hm-authorbox__mark { flex: none; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--primary); font: 600 26px/1 var(--serif); }
.hm-authorbox p { margin: 0; }
.hm-authorbox .hm-overline { color: rgba(255,255,255,.6); }
.hm-authorbox__name { font: 600 26px/34px var(--serif); margin-top: 6px !important; }
.hm-authorbox__sub { font-size: 14px; color: rgba(255,255,255,.8); }

/* News */
.hm-newsfeature { display: grid; grid-template-columns: 680px 1fr; background: var(--navy-900); color: #fff; margin-bottom: 80px; }
.hm-newsfeature__img img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.hm-newsfeature__body { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 40px 56px; }
.hm-newsfeature__top { display: flex; align-items: center; gap: 12px; }
.hm-newsfeature__top .hm-tag { position: static; padding: 8px 14px; }
.hm-newsfeature__top small { color: rgba(255,255,255,.7); font-size: 13px; }
.hm-newsfeature .hm-h2 { color: #fff; }
.hm-newsfeature__body > span:not([class]) { color: rgba(255,255,255,.8); }
.hm-newsfeature:hover { color: #fff; }
.hm-pullquote { display: flex; gap: 24px; padding: 36px; background: var(--tint); color: var(--primary); margin: 0; }
.hm-pullquote blockquote { margin: 0 0 10px; font: 400 22px/34px var(--serif); }
.hm-pullquote figcaption { font-size: 13px; color: var(--muted); }
.hm-mediacontact { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; background: var(--navy-900); color: #fff; }
.hm-mediacontact p { margin: 0; color: rgba(255,255,255,.8); font-size: 14px; }
.hm-mediacontact .hm-overline { color: rgba(255,255,255,.6); margin-bottom: 6px; }
.hm-mediacontact__name { font: 600 20px/28px var(--serif); color: #fff !important; }

/* Careers */
.hm-split2 { display: grid; grid-template-columns: 1fr 560px; gap: 90px; align-items: center; }
.hm-split2 .hm-h1 { margin-top: 18px; }
.hm-split2 .hm-bar { width: 60px; }
.hm-offsetimg { position: relative; padding: 0 80px 80px 0; }
.hm-offsetimg span { position: absolute; right: 0; bottom: 0; width: calc(100% - 80px); height: calc(100% - 80px); background: var(--primary); }
.hm-offsetimg--navy span { background: var(--navy-900); }
.hm-offsetimg img { position: relative; width: 100%; aspect-ratio: 480 / 420; object-fit: cover; }
.hm-offer { background: var(--primary); color: #fff; padding: 90px 0; }
.hm-offer__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hm-offer__grid > div { display: flex; flex-direction: column; gap: 14px; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.2); }
.hm-offer h3 { font: 600 20px/28px var(--serif); color: #fff; }
.hm-offer p { color: rgba(255,255,255,.82); font-size: 14px; line-height: 22px; margin: 0; }
.hm-jobs { display: flex; flex-direction: column; gap: 16px; }
.hm-job { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px 28px 30px 40px; background: var(--gray-100); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s; }
.hm-job:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.hm-job__body { display: flex; flex-direction: column; gap: 8px; }
.hm-job__body b { font: 600 26px/34px var(--serif); }
.hm-job__meta { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; color: var(--muted); }
.hm-job__meta span { display: inline-flex; gap: 8px; align-items: center; }
.hm-job__meta .hm-ico { color: var(--primary); }
.hm-job.is-featured { background: var(--navy-900); color: #fff; }
.hm-job.is-featured:hover { color: #fff; }
.hm-job.is-featured .hm-job__meta, .hm-job.is-featured .hm-job__meta .hm-ico { color: rgba(255,255,255,.8); }
.hm-openapp { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 44px 48px; background: var(--tint); margin-top: 40px; }
.hm-openapp p { margin: 8px 0 0; }
.hm-jobmeta { background: var(--navy-900); color: #fff; }
.hm-jobmeta__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hm-jobmeta__grid > div { display: flex; gap: 16px; align-items: center; padding: 32px 28px; border-left: 1px solid rgba(255,255,255,.12); }
.hm-jobmeta small { display: block; font: 600 12px/16px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hm-jobmeta b { display: block; font: 600 20px/28px var(--serif); margin-top: 4px; }
.hm-jobbody { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.hm-jobbody section { display: flex; flex-direction: column; gap: 18px; }
.hm-applyform { display: flex; flex-direction: column; gap: 20px; padding: 40px; background: var(--subtle); }
.hm-upload { position: relative; display: flex; gap: 16px; align-items: center; padding: 22px 20px; background: #fff; border: 1px dashed var(--primary); color: var(--primary); flex-wrap: wrap; }
.hm-upload label { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.hm-upload label b { font: 600 18px/24px var(--serif); color: var(--ink); }
.hm-upload label small { font-size: 12px; color: var(--muted); }
.hm-upload input { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.hm-upload input::file-selector-button { border: 0; background: var(--primary); color: #fff; padding: 8px 14px; margin-right: 12px; font: 600 12px/16px var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.hm-upload.has-error { border-color: #b00020; }
.hm-jobside { display: flex; flex-direction: column; gap: 32px; position: sticky; top: 24px; }
.hm-applycard { display: flex; flex-direction: column; gap: 16px; padding: 40px 36px; background: var(--primary); color: #fff; }
.hm-applycard h2 { font: 600 26px/34px var(--serif); color: #fff; }
.hm-applycard p { color: rgba(255,255,255,.85); font-size: 14px; line-height: 22px; margin: 0; }
.hm-firmcard { padding: 32px; background: var(--navy-900); color: #fff; }
.hm-firmcard h2 { font: 600 20px/28px var(--serif); color: #fff; margin-bottom: 12px; }
.hm-firmcard p { color: rgba(255,255,255,.85); font-size: 14px; line-height: 22px; margin: 0; }
.hm-others { padding: 32px 32px 24px; background: var(--gray-100); }
.hm-others h2 { font: 600 20px/28px var(--serif); margin-bottom: 4px; }
.hm-others a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--border); color: var(--ink); }
.hm-others b { display: block; font-weight: 400; }
.hm-others small { display: block; font-size: 13px; color: var(--muted); }

/* Contact */
.hm-contactcols { display: grid; grid-template-columns: repeat(3, 1fr); }
.hm-contactcol { display: flex; flex-direction: column; gap: 14px; padding: 48px 44px; }
.hm-contactcol h2 { font: 600 26px/34px var(--serif); }
.hm-contactcol p { font-size: 14px; line-height: 22px; margin: 0; }
.hm-contactcol .hm-bar { margin: 4px 0; width: 40px; height: 2px; }
.hm-contactcol a, .hm-contactcol__val { font: 600 20px/28px var(--serif); }
.hm-contactcol.is-burgundy { background: var(--primary); color: #fff; }
.hm-contactcol.is-navy { background: var(--navy-900); color: #fff; }
.hm-contactcol.is-burgundy h2, .hm-contactcol.is-navy h2, .hm-contactcol.is-burgundy a, .hm-contactcol.is-navy a { color: #fff; }
.hm-contactcol.is-burgundy p, .hm-contactcol.is-navy p { color: rgba(255,255,255,.8); }
.hm-contactcol.is-burgundy .hm-bar, .hm-contactcol.is-navy .hm-bar { background: rgba(255,255,255,.35); }
.hm-contactcol.is-cream { background: var(--subtle); color: var(--ink); }
.hm-contactcol.is-cream .hm-ico { color: var(--primary); }
.hm-contactcol.is-cream p { color: var(--muted); }
.hm-contactform .hm-shead { margin-bottom: 12px; }
.hm-contactform > p { margin-bottom: 40px; }
.hm-darkform { max-width: 820px; margin: 0 auto; padding: 48px; background: var(--navy-900); }
.hm-darkform .hm-fld label { color: rgba(255,255,255,.8); }
.hm-darkform .hm-fld label span { color: #ffb4c0; }
.hm-darkform .hm-fld input, .hm-darkform .hm-fld select, .hm-darkform .hm-fld textarea { background-color: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }
.hm-darkform .hm-fld select option { color: var(--ink); }
.hm-darkform .hm-fld input::placeholder, .hm-darkform .hm-fld textarea::placeholder { color: rgba(255,255,255,.5); }
.hm-darkform .hm-fld input:focus, .hm-darkform .hm-fld textarea:focus, .hm-darkform .hm-fld select:focus { border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.hm-darkform .hm-consent { color: rgba(255,255,255,.75); }
.hm-darkform .hm-consent a { color: #fff; text-decoration: underline; }
.hm-darkform .hm-form__alert { background: rgba(255,255,255,.08); color: #fff; }
.hm-map { position: relative; height: 480px; background: var(--subtle); overflow: hidden; }
.hm-map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.hm-map__wrap { position: relative; height: 100%; display: flex; align-items: flex-end; padding-bottom: 32px; pointer-events: none; }
.hm-map__pin { display: inline-flex; gap: 14px; align-items: center; padding: 18px 26px 18px 22px; background: #fff; box-shadow: 0 16px 40px rgba(2, 15, 38, 0.18); pointer-events: auto; }
.hm-map__icon { display: grid; place-items: center; width: 48px; height: 48px; background: var(--primary); color: #fff; }
.hm-map__pin b { display: block; font: 600 20px/28px var(--serif); }
.hm-map__pin small { display: block; font-size: 14px; color: var(--muted); }
.hm-map__pin a { font: 600 13px/20px var(--sans); letter-spacing: .06em; text-transform: uppercase; }

/* Search / 404 */
.hm-searchhead { position: relative; background: var(--navy-900) var(--hm-bg) center/cover no-repeat; padding: 90px 0; }
.hm-searchhead::before { content: ""; position: absolute; inset: 0; background: rgba(6, 23, 51, .86); }
.hm-searchhead__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hm-bigsearch { display: flex; width: 100%; max-width: 760px; }
.hm-bigsearch > span { flex: 1; display: flex; align-items: center; gap: 14px; padding: 0 24px; background: #fff; color: var(--primary); }
.hm-bigsearch input { flex: 1; border: 0; padding: 22px 0; font-size: 16px; min-width: 0; color: var(--ink); }
.hm-bigsearch input:focus { outline: none; }
.hm-bigsearch button { border: 0; padding: 0 32px; background: var(--primary); color: #fff; font: 600 14px/20px var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.hm-bigsearch button:hover { background: var(--primary-hover); }
.hm-bigsearch--navy button { background: var(--navy-900); }
.hm-tabs { background: var(--subtle); }
.hm-tabs__inner { display: flex; gap: 36px; overflow-x: auto; }
.hm-tabs a { display: inline-flex; gap: 8px; align-items: baseline; padding: 22px 0 19px; border-bottom: 3px solid transparent; color: var(--ink); font: 600 14px/20px var(--sans); letter-spacing: .04em; white-space: nowrap; }
.hm-tabs a small { font: 400 13px/18px var(--sans); color: var(--muted); }
.hm-tabs a.is-active { color: var(--primary); border-bottom-color: var(--primary); }
.hm-tabs a.is-empty { opacity: .45; }
.hm-sresults { display: flex; flex-direction: column; margin-top: 8px; }
.hm-sresult { display: flex; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--border-subtle); color: inherit; }
.hm-sresult__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; background: var(--tint); color: var(--primary); }
.hm-sresult__icon.is-solid { background: var(--primary); color: #fff; }
.hm-sresult__body { display: flex; flex-direction: column; gap: 8px; }
.hm-sresult__body .hm-h3 { color: var(--ink); transition: color .2s; }
.hm-sresult:hover .hm-h3 { color: var(--primary); }
.hm-sresult mark { background: none; color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.hm-sresult small { font-size: 13px; color: var(--muted); opacity: .7; }
.hm-stillhelp { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 36px 40px; background: var(--subtle); margin-top: 40px; }
.hm-stillhelp p { margin: 6px 0 0; }
.hm-404 { position: relative; background: var(--primary) var(--hm-bg) center/cover no-repeat; color: #fff; }
.hm-404::before { content: ""; position: absolute; inset: 0; background: rgba(92, 0, 23, 0.9); }
.hm-404__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; padding-top: 130px; padding-bottom: 130px; }
.hm-404__code { font: 600 clamp(120px, 18vw, 200px)/1 var(--serif); margin: 0; color: #fff; letter-spacing: -0.02em; }
.hm-404 h1 { font-size: 13px; }
.hm-404__text { font-size: 18px; color: rgba(255,255,255,.85); margin: 0; }
.hm-popcard { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; background: var(--subtle); color: var(--ink); height: 100%; transition: transform .3s var(--ease); }
.hm-popcard .hm-ico:first-child { color: var(--primary); }
.hm-popcard b { font: 600 20px/28px var(--serif); }
.hm-popcard > span:not(.hm-link) { font-size: 14px; line-height: 22px; color: var(--muted); flex: 1; }
.hm-popcard:hover { transform: translateY(-3px); color: var(--ink); }

/* Legal */
.hm-toc { position: sticky; top: 24px; padding: 28px; background: var(--subtle); }
.hm-toc ol { margin: 14px 0 0; }
.hm-toc ol a { display: flex; gap: 12px; padding: 12px 14px; color: var(--ink); font-size: 14px; line-height: 20px; border-left: 3px solid transparent; }
.hm-toc ol a span { color: var(--muted); font-size: 13px; }
.hm-toc ol a:hover, .hm-toc ol a.is-active { color: var(--primary); border-left-color: var(--primary); }
.hm-toc__switch { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.hm-toc__switch a { padding: 8px 12px; background: #fff; color: var(--ink); font-size: 13px; }
.hm-toc__switch a.is-active { background: var(--primary); color: #fff; }
.hm-legal__text h2 { display: flex; gap: 16px; align-items: baseline; scroll-margin-top: 24px; }
.hm-legal__num { font: 600 20px/28px var(--serif); color: var(--primary); }
.hm-legal__contact { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; background: var(--subtle); margin-top: 40px; }
.hm-legal__contact b { font: 600 20px/28px var(--serif); color: var(--ink); }
.hm-note { display: flex; gap: 12px; align-items: center; padding: 14px 20px; background: var(--tint); color: var(--primary); font-size: 14px; }

/* Thank you */
.hm-success { background: var(--subtle); padding: 120px 0 100px; }
.hm-success__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hm-success__check { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--primary); color: #fff; }
.hm-success .hm-lead { max-width: 640px; margin: 0; }
.hm-steps { display: grid; grid-template-columns: repeat(3, 320px); margin-top: 30px; text-align: left; }
.hm-steps li { display: flex; flex-direction: column; gap: 10px; padding: 28px 32px; background: #fff; border: 1px solid var(--border-subtle); }
.hm-steps b { font: 600 36px/44px var(--serif); color: var(--primary); }
.hm-steps h2 { font: 600 20px/28px var(--serif); }
.hm-steps p { font-size: 14px; color: var(--muted); margin: 0; }
.hm-success__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding-top: 20px; }

/* Elementor pages */
.hm-elementor-content { min-height: 40vh; }

/* ---------- Elementor wrappers (sections sit flush, like the Figma pages) ---------- */
.hm-elementor-content .e-con, .hm-header .e-con, .hm-elementor-footer .e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; }
.hm-elementor-content .elementor-widget:not(:last-child), .hm-header .elementor-widget:not(:last-child) { margin-block-end: 0; }
.hm-header .elementor, .hm-header .e-con, .hm-header .elementor-widget, .hm-header .elementor-widget-container { position: static; }

.elementor .hm-tcard__img img, .elementor .hm-postcard__img img, .elementor .hm-aboutcard__img img, .elementor .hm-split__img img, .elementor .hm-contactsplit__img img { height: 100%; }
.elementor .hm-history__media img { height: auto; }

/* Side-by-side photos fill their column without driving its height */
.hm-aboutcard__img, .hm-split__img, .hm-contactsplit__img { position: relative; min-height: 460px; }
.hm-split__img { min-height: 600px; }
.hm-contactsplit__img { min-height: 560px; }
.hm-aboutcard__img img, .hm-split__img img, .hm-contactsplit__img img, .elementor .hm-aboutcard__img img, .elementor .hm-split__img img, .elementor .hm-contactsplit__img img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
@media (max-width: 1024px) { .hm-aboutcard__img, .hm-contactsplit__img { min-height: 320px; } .hm-split__img { min-height: 360px; } }

/* ---------- Mega menu ---------- */
.hm-nav > li.has-mega { position: static; }
.hm-nav > li.has-mega > a { display: flex; align-items: center; gap: 6px; }
.hm-caret { display: inline-flex; transition: transform .25s var(--ease); }
.hm-nav > li.has-mega:hover .hm-caret, .hm-nav > li.has-mega:focus-within .hm-caret { transform: rotate(180deg); }
.hm-mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: #fff; border-top: 3px solid var(--primary); box-shadow: 0 28px 56px rgba(6, 23, 51, 0.16); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
.hm-nav > li.has-mega:hover > .hm-mega, .hm-nav > li.has-mega:focus-within > .hm-mega { opacity: 1; visibility: visible; transform: none; transition-delay: .06s, .06s, 0s; }
.hm-mega__inner { display: grid; grid-template-columns: 270px minmax(0, 1fr) 290px; gap: 48px; padding-top: 40px; padding-bottom: 44px; }
.hm-mega__title { font: 600 24px/32px var(--serif); color: var(--ink); margin: 12px 0; }
.hm-mega__text { font-size: 14px; line-height: 22px; color: var(--muted); margin: 0 0 20px; }
.hm-mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 12px; align-content: start; }
.hm-nav .hm-mega a { border-bottom: 0; }
.hm-nav .hm-mega__grid a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; color: var(--ink); font: 500 14px/20px var(--sans); transition: background .2s, color .2s; }
.hm-nav .hm-mega__grid a:hover, .hm-nav .hm-mega__grid a:focus-visible { background: var(--tint); color: var(--primary); }
.hm-mega__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--primary); transition: background .2s, color .2s; }
.hm-mega__grid a:hover .hm-mega__icon { background: var(--primary); color: #fff; }
.hm-nav .hm-mega .hm-link { padding: 0; color: var(--primary); font: 600 14px/20px var(--sans); letter-spacing: .06em; }
.hm-mega__promo { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; background: var(--navy-900); color: #fff; }
.hm-mega__promo-title { font: 600 20px/28px var(--serif); color: #fff; margin: 0; }
.hm-mega__promo p { margin: 0; font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .8); }
.hm-nav .hm-mega .hm-mega__phone { display: inline-flex; align-items: center; gap: 8px; padding: 0; color: #fff; font: 600 18px/26px var(--serif); }
.hm-nav .hm-mega .hm-btn { padding: 10px 16px; color: #fff; font: 600 13px/20px var(--sans); letter-spacing: .06em; margin-top: 4px; }
.hm-nav .hm-mega .hm-btn:hover { color: #fff; }
@media (max-width: 1200px) { .hm-mega__inner { grid-template-columns: 240px minmax(0, 1fr); } .hm-mega__promo { display: none; } }
@media (max-width: 1024px) { .hm-mega, .hm-caret { display: none; } }

/* =========================================================
   Motion (modelled on Attorna: slider text entrance, parallax,
   zoom + overlay on hover, counters, sticky menu, autoplay)
   ========================================================= */
@keyframes hm-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Hero / banner text entrance */
.hm-hero__inner > *, .hm-banner__inner > *, .hm-postbanner__inner > *, .hm-404__inner > *, .hm-searchhead__inner > *, .hm-success__inner > * { animation: hm-rise 1s var(--ease) both; }
.hm-hero__inner > :nth-child(2), .hm-banner__inner > :nth-child(2), .hm-postbanner__inner > :nth-child(2), .hm-404__inner > :nth-child(2), .hm-searchhead__inner > :nth-child(2), .hm-success__inner > :nth-child(2) { animation-delay: .15s; }
.hm-hero__inner > :nth-child(3), .hm-banner__inner > :nth-child(3), .hm-postbanner__inner > :nth-child(3), .hm-404__inner > :nth-child(3), .hm-searchhead__inner > :nth-child(3), .hm-success__inner > :nth-child(3) { animation-delay: .3s; }
.hm-hero__inner > :nth-child(4), .hm-banner__inner > :nth-child(4), .hm-404__inner > :nth-child(4), .hm-success__inner > :nth-child(4) { animation-delay: .45s; }
.hm-hero__inner > :nth-child(n+5), .hm-404__inner > :nth-child(n+5), .hm-success__inner > :nth-child(n+5) { animation-delay: .6s; }

/* Parallax layer (added by JS on desktop) */
.hm-has-parallax { isolation: isolate; overflow: hidden; }
.hm-parallax { position: absolute; left: 0; right: 0; top: -18%; height: 136%; z-index: -1; background: center / cover no-repeat; will-change: transform; pointer-events: none; }
.hm-teamband__bg.hm-has-parallax { position: absolute; }

/* Zoom on hover for feature images */
.hm-aboutcard__img, .hm-history__media, .hm-split__img, .hm-contactsplit__img, .hm-newsfeature__img, .hm-article__img { overflow: hidden; }
.hm-aboutcard__img img, .hm-history__media img, .hm-split__img img, .hm-contactsplit__img img, .hm-newsfeature__img img, .hm-article__img img { transition: transform 1.2s var(--ease); }
.hm-aboutcard:hover .hm-aboutcard__img img, .hm-history__media:hover img, .hm-split:hover .hm-split__img img, .hm-contactsplit:hover .hm-contactsplit__img img, .hm-newsfeature:hover .hm-newsfeature__img img, .hm-article__img:hover img { transform: scale(1.06); }

/* Overlay with centred arrow (team + article cards) */
.hm-tcard__img, .hm-postcard__img, .hm-ipost__img { position: relative; }
.hm-tcard__img::after, .hm-postcard__img::after { content: ""; position: absolute; inset: 0; background: rgba(128, 1, 35, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23fff' d='M220.24 132.24l-72 72a6 6 0 0 1-8.48-8.48L201.51 134H40a6 6 0 0 1 0-12h161.51l-61.75-61.76a6 6 0 0 1 8.48-8.48l72 72a6 6 0 0 1 0 8.48Z'/%3E%3C/svg%3E") center / 0 no-repeat; opacity: 0; transition: opacity .45s var(--ease), background-size .45s var(--ease); }
.hm-tcard a:hover .hm-tcard__img::after, .hm-tcard__img:hover::after, .hm-postcard a:hover .hm-postcard__img::after { opacity: 1; background-size: 36px; }
.hm-tcard--meta .hm-square .hm-ico { transition: transform .3s var(--ease); }
.hm-tcard--meta:hover .hm-square { background: var(--primary); }
.hm-tcard--meta:hover .hm-square .hm-ico { transform: translateX(3px); }
.hm-tcard--meta .hm-tcard__img img { transition: transform .8s var(--ease); }
.hm-tcard--meta:hover .hm-tcard__img img { transform: scale(1.05); }

/* Practice cards: icon lift + bar sweep */
.hm-pcard--card { position: relative; overflow: hidden; }
.hm-pcard--card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.hm-pcard--card:hover::after { transform: scaleX(1); }
.hm-pcard__icon { transition: transform .4s var(--ease); }
.hm-pcard:hover .hm-pcard__icon { transform: translateY(-4px); }

/* Buttons: fill sweep */
.hm-btn--primary, .hm-btn--outline, .hm-btn--light { position: relative; overflow: hidden; z-index: 0; }
.hm-btn--primary::before, .hm-btn--light::before, .hm-btn--outline::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.hm-btn--primary::before { background: var(--navy-900); }
.hm-btn--light::before { background: var(--page); }
.hm-btn--outline::before { background: var(--primary); }
.hm-btn--primary:hover::before, .hm-btn--light:hover::before, .hm-btn--outline:hover::before { transform: scaleX(1); transform-origin: left; }
.hm-btn--primary:hover { background: var(--primary); }
.hm-btn--outline:hover { background: transparent; }

/* Sticky menu bar */

/* Back to top */
.hm-totop { position: fixed; right: 24px; bottom: 24px; z-index: 80; display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: var(--primary); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .35s, transform .35s var(--ease), visibility 0s .35s, background .2s; }
.hm-totop.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hm-totop:hover { background: var(--navy-900); }
.hm-totop .hm-ico { transform: rotate(-90deg); }

.hm-stat__num { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) { .hm-parallax { transform: none !important; } }

/* ---------- More motion: scroll reveals, image wipes, bars, nav underline ---------- */
@keyframes hm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hm-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes hm-cascade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hm-js body, body.hm-ready { animation: hm-fade .6s ease both; }

/* Scroll reveal (classes added by JS, so nothing is hidden without it) */
.hm-reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--hm-d, 0s); }
.hm-reveal.is-in { opacity: 1; transform: none; }
.hm-reveal--left { transform: translateX(-48px); }
.hm-reveal--right { transform: translateX(48px); }
.hm-reveal--zoom { transform: scale(.94); }

/* Image wipe reveal */
.hm-wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease); transition-delay: var(--hm-d, 0s); }
.hm-wipe img { transform: scale(1.15); transition: transform 1.6s var(--ease); }
.hm-wipe.is-in { clip-path: inset(0 0 0 0); }
.hm-wipe.is-in img { transform: scale(1); }
.hm-wipe.is-in:hover img { transform: scale(1.06); }

/* Accent bars draw in */
.hm-js .hm-shead .hm-bar, .hm-js .hm-history__body .hm-bar, .hm-js .hm-split__inner .hm-bar, .hm-js .hm-contactsplit__body .hm-bar, .hm-js .hm-aboutcard .hm-bar, .hm-js .hm-faqband .hm-bar { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .35s; }
.hm-js .hm-shead--center .hm-bar { transform-origin: center; }
.hm-js .hm-shead.has-vbar .hm-bar { transform: scaleY(0); transform-origin: top; }
.hm-js .is-in .hm-bar, .hm-js .hm-bar.is-in { transform: none !important; }

/* Hero photo slow zoom (Ken Burns) */
.hm-hero .hm-parallax { animation: hm-kenburns 9s cubic-bezier(.25, .1, .25, 1) backwards; }
.hm-hero .hm-parallax { transform-origin: center 40%; }

/* Menu: sliding underline instead of a static border */
.hm-nav > li > a { position: relative; border-bottom-color: transparent !important; }
.hm-nav > li > a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: #fff; transform: scaleX(0); transition: transform .35s var(--ease); }
.hm-nav > li > a:hover::after, .hm-nav > li.current-menu-item > a::after, .hm-nav > li.current_page_item > a::after, .hm-nav > li.current-menu-ancestor > a::after, .hm-nav > li.has-mega:hover > a::after { transform: scaleX(1); }

/* Mega menu items cascade in */
.hm-nav > li.has-mega:hover .hm-mega__grid li, .hm-nav > li.has-mega:focus-within .hm-mega__grid li { animation: hm-cascade .45s var(--ease) both; }
.hm-mega__grid li:nth-child(3n+2) { animation-delay: .04s !important; }
.hm-mega__grid li:nth-child(3n) { animation-delay: .08s !important; }
.hm-mega__grid li:nth-child(n+4) { animation-delay: .1s; }
.hm-mega__grid li:nth-child(n+7) { animation-delay: .14s; }
.hm-mega__grid li:nth-child(n+10) { animation-delay: .18s; }
.hm-mega__grid li:nth-child(n+13) { animation-delay: .22s; }

/* Small hover touches */
.hm-feature > span, .hm-contactcol > .hm-ico, .hm-principles .hm-ico, .hm-offer__grid .hm-ico { transition: transform .4s var(--ease); }
.hm-feature:hover > span, .hm-contactcol:hover > .hm-ico, .hm-principles > div:hover .hm-ico, .hm-offer__grid > div:hover .hm-ico { transform: translateY(-4px) rotate(-4deg); }
.hm-job .hm-btn .hm-ico { transition: transform .3s var(--ease); }
.hm-job:hover .hm-btn .hm-ico { transform: translateX(4px); }
.hm-recent img { transition: transform .5s var(--ease); }
.hm-recent a:hover img { transform: scale(1.06); }
.hm-catlist a, .hm-pnav a, .hm-footer a { transition: color .2s, background .2s, padding-left .3s var(--ease); }
.hm-catlist a:hover, .hm-footer ul a:hover { padding-left: 4px; }

@media (prefers-reduced-motion: reduce) {
	.hm-reveal, .hm-wipe, .hm-wipe img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.hm-js .hm-bar { transform: none !important; }
}

/* Reveal on scroll */
.hm-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hm-js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.hm-js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
	.hm-grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.hm-principal { grid-template-columns: 420px 1fr; gap: 56px; }
	.hm-newsfeature { grid-template-columns: 1fr 1fr; }
	.hm-pfeature { grid-template-columns: 300px 1fr; }
	.hm-split2 { grid-template-columns: 1fr 460px; gap: 56px; }
	.hm-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
	:root { --gutter: 20px; }
	.hm-section { padding: 80px 0; }
	.hm-menubtn { display: block; }
	.hm-navbar { display: none; }
	.hm-navbar.is-open { display: block; }
	.hm-navbar__inner { flex-direction: column; align-items: stretch; padding-top: 8px; padding-bottom: 16px; }
	.hm-nav { flex-direction: column; }
	.hm-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.12); }
	.hm-nav a:hover, .hm-nav .current-menu-item > a { border-bottom-color: rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
	.hm-nav .sub-menu { position: static; display: block; box-shadow: none; background: transparent; padding-left: 16px; }
	.hm-nav .sub-menu a { color: rgba(255,255,255,.8); }
	.hm-grid--3, .hm-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hm-withside, .hm-withside--left, .hm-profile, .hm-principal, .hm-history, .hm-split2, .hm-newsfeature, .hm-aboutcard, .hm-split, .hm-contactsplit { grid-template-columns: 1fr; }
	.hm-sidebar, .hm-pside, .hm-profilecard, .hm-jobside, .hm-toc { position: static; }
	.hm-profilecard { max-width: 520px; }
	.hm-aboutcard__body { padding: 48px 32px; }
	.hm-split__panel { justify-content: flex-start; }
	.hm-split__inner { max-width: none; padding: 72px var(--gutter); }
	.hm-split__img img { min-height: 360px; }
	.hm-contactsplit__img img { min-height: 320px; }
	.hm-contactsplit__body { padding: 64px var(--gutter); max-width: none; }
	.hm-carousel__track--4 { grid-auto-columns: calc((100% - 60px) / 3); }
	.hm-carousel__track.hm-sectors__track { grid-auto-columns: calc(100% / 3); }
	.hm-offer__grid, .hm-jobmeta__grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
	.hm-contactcols { grid-template-columns: 1fr; }
	.hm-principles { grid-template-columns: 1fr; gap: 40px; }
	.hm-pfeature { grid-template-columns: 1fr; }
	.hm-hero__inner { padding-top: 120px; padding-bottom: 96px; }
	.hm-principal__photo { max-width: 460px; }
}

@media (max-width: 767px) {
	.hm-hide-sm { display: none !important; }
	.hm-section { padding: 64px 0; }
	.hm-shead { margin-bottom: 36px; }
	.hm-logo img { width: 130px; }
	.hm-banner__inner { min-height: 280px; }
	.hm-grid--3, .hm-grid--4, .hm-cols-2, .hm-form__row, .hm-services, .hm-stats, .hm-prevnext, .hm-steps, .hm-offer__grid, .hm-jobmeta__grid { grid-template-columns: 1fr; }
	.hm-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-stats { row-gap: 36px; }
	.hm-carousel__track--4 { grid-auto-columns: 85%; gap: 16px; }
	.hm-carousel__track.hm-sectors__track { grid-auto-columns: 75%; }
	.hm-sector__label { opacity: 1; background: linear-gradient(transparent 40%, rgba(128, 1, 35, .85)); justify-content: flex-end; }
	.hm-frame, .hm-framed .hm-frame { padding: 40px 22px; }
	.hm-frame__text { gap: 0; }
	.hm-consult { padding: 48px 22px; }
	.hm-darkform, .hm-applyform { padding: 28px 20px; }
	.hm-subscribe input, .hm-subscribe button { flex-basis: 100%; }
	.hm-filters__field, .hm-filters__field--sort { width: 100%; }
	.hm-job { flex-direction: column; align-items: flex-start; padding: 24px; }
	.hm-job__body b { font-size: 22px; line-height: 30px; }
	.hm-aboutcard-wrap { padding-top: 56px; }
	.hm-pcard--card .hm-pcard__link { padding: 40px 24px 36px; }
	.hm-ipost__title { font-size: 24px; }
	.hm-iloop { gap: 56px; }
	.hm-tag { top: 14px; left: 14px; }
	.hm-datebadge { left: 14px; bottom: 14px; padding: 10px 14px; }
	.hm-bigsearch { flex-direction: column; }
	.hm-bigsearch button { padding: 16px; }
	.hm-sresult { gap: 16px; }
	.hm-sresult__icon { width: 44px; height: 44px; }
	.hm-touch, .hm-openapp, .hm-stillhelp { padding: 28px 22px; }
	.hm-help__title a { white-space: normal; }
	.hm-principal__photo, .hm-offsetimg { padding: 0 32px 32px 0; }
	.hm-principal__block, .hm-offsetimg span { width: calc(100% - 32px); height: calc(100% - 32px); }
	.hm-map { height: 360px; }
	.hm-map__pin { margin: 0 16px; }
	.hm-postbanner__inner { min-height: 360px; }
}

/* =========================================================
   Header: logo + menu, transparent over the first section
   ========================================================= */
.hm-header { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: transparent; transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.admin-bar .hm-header { top: 32px; }
.hm-siteheader { position: relative; }
.hm-siteheader__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 96px; transition: min-height .35s var(--ease); }
.hm-logo { display: inline-block; flex: none; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.hm-logo img { display: block; width: 160px; height: auto; filter: brightness(0) invert(1); transition: filter .35s var(--ease), width .35s var(--ease); }
.hm-logo:hover, .hm-logo:focus-visible { transform: translateY(-3px) scale(1.14); }
.hm-logo:hover img, .hm-logo:focus-visible img { filter: brightness(0) invert(1) drop-shadow(0 8px 16px rgba(6, 23, 51, .45)); }
.hm-nav { display: flex; align-items: center; }
.hm-nav a { padding: 12px 16px; color: #fff; border-bottom: 0 !important; transition: color .25s; }
.hm-nav a:hover, .hm-nav .current-menu-item > a, .hm-nav .current_page_item > a, .hm-nav .current-menu-ancestor > a { color: #fff; }
.hm-nav > li > a::after { left: 16px; right: 16px; bottom: 4px; height: 2px; background: currentColor; }
.hm-menubtn { color: #fff; }

/* Solid state: after scrolling, while the mega menu is open, and on pages without a dark top section. */
.hm-scrolled .hm-header, .hm-header:has(.has-mega:hover), .hm-header:has(.has-mega:focus-within), body:not(:has(.hm-hero, .hm-banner, .hm-postbanner, .hm-searchhead, .hm-404)) .hm-header { background: #fff; box-shadow: 0 8px 28px rgba(6, 23, 51, .1); }
.hm-scrolled .hm-siteheader__inner { min-height: 76px; }
.hm-scrolled .hm-logo img, .hm-header:has(.has-mega:hover) .hm-logo img, .hm-header:has(.has-mega:focus-within) .hm-logo img, body:not(:has(.hm-hero, .hm-banner, .hm-postbanner, .hm-searchhead, .hm-404)) .hm-logo img { filter: none; width: 140px; }
.hm-scrolled .hm-logo:hover img, .hm-header:has(.has-mega:hover) .hm-logo:hover img, body:not(:has(.hm-hero, .hm-banner, .hm-postbanner, .hm-searchhead, .hm-404)) .hm-logo:hover img { filter: drop-shadow(0 8px 14px rgba(128, 1, 35, .3)); }
.hm-scrolled .hm-nav > li > a, .hm-header:has(.has-mega:hover) .hm-nav > li > a, .hm-header:has(.has-mega:focus-within) .hm-nav > li > a, body:not(:has(.hm-hero, .hm-banner, .hm-postbanner, .hm-searchhead, .hm-404)) .hm-nav > li > a { color: var(--ink); }
.hm-scrolled .hm-nav > li > a:hover, .hm-scrolled .hm-nav > li.current-menu-item > a, .hm-scrolled .hm-nav > li.current_page_item > a, .hm-header:has(.has-mega:hover) .hm-nav > li > a:hover, body:not(:has(.hm-hero, .hm-banner, .hm-postbanner, .hm-searchhead, .hm-404)) .hm-nav > li > a:hover { color: var(--primary); }
.hm-scrolled .hm-menubtn, body:not(:has(.hm-hero, .hm-banner, .hm-postbanner, .hm-searchhead, .hm-404)) .hm-menubtn { color: var(--ink); }
body:not(:has(.hm-hero, .hm-banner, .hm-postbanner, .hm-searchhead, .hm-404)) .hm-main { padding-top: 96px; }
.hm-searchhead { padding-top: 150px; }
.hm-postbanner__inner { padding-top: 130px; }
.hm-404__inner { padding-top: 170px; }

@media (max-width: 1024px) {
	.hm-siteheader__inner { min-height: 80px; }
	.hm-logo img { width: 130px; }
	.hm-navbar { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-900); box-shadow: 0 16px 32px rgba(6, 23, 51, .3); }
	.hm-nav { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; }
	.hm-header .hm-nav > li > a, .hm-scrolled .hm-header .hm-nav > li > a { color: #fff !important; padding: 12px 0; }
	.hm-nav > li > a::after { display: none; }
}
@media (max-width: 782px) { .admin-bar .hm-header { top: 46px; } }

/* =========================================================
   Footer: burgundy band, navy body, moving accent line
   ========================================================= */
@keyframes hm-footer-line { from { background-position: 0 0; } to { background-position: 200% 0; } }
.hm-footer { color: rgba(255,255,255,.76); font-size: 14px; line-height: 22px; }
.hm-footer__band { position: relative; overflow: hidden; background: var(--primary); }
.hm-footer__band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 34px); pointer-events: none; }
.hm-footer__band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(8, 44, 98, .75), transparent 70%); pointer-events: none; }
.hm-footer__news { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.hm-footer__news h2 { font: 600 clamp(26px, 3vw, 36px)/1.2 var(--serif); color: #fff; }
.hm-footer__news p { margin: 6px 0 0; color: rgba(255,255,255,.88); font-size: 15px; }
.hm-footer a.hm-footer__cta { display: inline-flex; align-items: center; gap: 10px; flex: none; background: #fff; color: var(--primary); }
.hm-footer a.hm-footer__cta:hover { background: var(--navy-900); color: #fff; }
.hm-footer__band .hm-btn--primary { background: var(--navy-900); }
.hm-footer__band .hm-btn--primary:hover { background: var(--navy); }
.hm-footer__main { position: relative; background: var(--navy-900); padding: 72px 0 56px; }
.hm-footer__main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--primary), #d9a5b2, var(--navy), var(--primary)); background-size: 200% 100%; animation: hm-footer-line 9s linear infinite; }
.hm-footer__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.hm-footer__logo { display: inline-block; margin-bottom: 18px; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.hm-footer__logo:hover { transform: translateY(-3px) scale(1.06); }
.hm-footer__logo img { display: block; width: 180px; height: auto; filter: brightness(0) invert(1); }
.hm-footer__brand p { margin: 0 0 22px; max-width: 360px; }
.hm-footer__head { position: relative; font: 600 13px/18px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; padding-bottom: 12px; margin-bottom: 20px; }
.hm-footer__head::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--primary); transition: width .4s var(--ease); }
.hm-footer__cols > :hover .hm-footer__head::after { width: 64px; }
.hm-footer ul { display: flex; flex-direction: column; gap: 12px; }
.hm-footer a { color: rgba(255,255,255,.82); }
.hm-footer a:hover { color: #fff; }
.hm-footer__all { color: #e7c3cc !important; font-weight: 500; }
.hm-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.hm-footer__chip { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; transition: transform .3s var(--ease); }
.hm-footer__contact li:hover .hm-footer__chip { transform: scale(1.1); }
.hm-footer__contact li > a, .hm-footer__contact li > span:last-child { padding-top: 5px; }
.hm-footer__legal { background: #040f22; padding: 20px 0; font-size: 13px; }
.hm-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.hm-footer__bottom p { margin: 0; }
.hm-footer__bottom ul { flex-direction: row; flex-wrap: wrap; gap: 24px; }
@media (max-width: 1100px) { .hm-footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
	.hm-footer__news { flex-direction: column; align-items: flex-start; padding-top: 36px; padding-bottom: 36px; }
	.hm-footer__cols { grid-template-columns: 1fr; gap: 36px; }
}

/* Three-column Why Us text */
.hm-cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.hm-cols-3 p { margin: 0; }
.hm-cols-3.hm-frame__text { max-width: none; gap: 40px; font-size: 15px; line-height: 26px; }

/* Recognition */
.hm-recognition { background: var(--gray-100); padding: 88px 0; }
.hm-recognition__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: center; }
.hm-recognition__head .hm-h2 { margin-top: 10px; }
.hm-recognition__head .hm-bar { margin-top: 18px; }
.hm-recognition__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hm-award { position: relative; display: flex; gap: 20px; align-items: flex-start; padding: 32px 28px; background: #fff; border-top: 3px solid var(--primary); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hm-award:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(14, 22, 38, .14); }
.hm-award__icon { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #fff; }
.hm-award__by { margin: 0; font: 600 12px/16px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.hm-award__name { font: 600 26px/32px var(--serif); margin: 6px 0 8px; }
.hm-award__text { margin: 0; font-size: 14px; line-height: 22px; color: var(--muted); }

/* Practice areas page: image tiles */
.hm-sectorgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hm-sectorgrid .hm-sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hm-sectorgrid .hm-sector__label { opacity: 1; justify-content: flex-end; align-items: flex-start; text-align: left; padding: 20px; background: linear-gradient(transparent 35%, rgba(6, 23, 51, .88)); transition: background .4s var(--ease); }
.hm-sectorgrid .hm-sector__label b { font: 500 21px/1.25 var(--serif); }
.hm-sector__text { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 13px; line-height: 20px; transition: max-height .45s var(--ease), opacity .35s; }
.hm-sectorgrid .hm-sector:hover .hm-sector__label, .hm-sectorgrid .hm-sector:focus-visible .hm-sector__label { background: rgba(128, 1, 35, .9); }
.hm-sectorgrid .hm-sector:hover .hm-sector__text, .hm-sectorgrid .hm-sector:focus-visible .hm-sector__text { max-height: 140px; opacity: 1; }

/* Laptop (1025px to 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
	:root { --wrap: 1120px; --gutter: 32px; }
	.hm-section { padding: 80px 0; }
	.hm-section--tight-top { padding-top: 48px; }
	.hm-siteheader__inner { min-height: 84px; }
	.hm-logo img { width: 140px; }
	.hm-nav a { padding: 10px 11px; font-size: 14px; }
	.hm-nav > li > a::after { left: 11px; right: 11px; }
	.hm-hero__title { font-size: clamp(44px, 5.4vw, 72px); }
	.hm-hero__text { font-size: 17px; line-height: 28px; }
	.hm-hero__inner { padding-top: 120px; padding-bottom: 88px; }
	.hm-banner__inner { min-height: 400px; padding-top: 110px; }
	.hm-aboutcard-wrap { padding-top: 72px; }
	.hm-split__inner { padding: 64px 48px 64px var(--gutter); }
	.hm-feature { padding: 12px 0; gap: 18px; }
	.hm-feature h3 { font-size: 20px; line-height: 28px; }
	.hm-feature p { font-size: 13px; line-height: 20px; }
	.hm-split__img { min-height: 520px; }
	.hm-carousel__track--4 { gap: 20px; grid-auto-columns: calc((100% - 60px) / 4); }
	.hm-tcard__body h3, .hm-tcard__meta h3 { font-size: 18px; line-height: 26px; }
	.hm-grid--4 { gap: 20px; }
	.hm-carousel__track.hm-sectors__track { grid-auto-columns: 25%; }
	.hm-recognition { padding: 64px 0; }
	.hm-recognition__inner { gap: 40px; }
	.hm-award { padding: 26px 22px; gap: 16px; }
	.hm-award__icon { width: 52px; height: 52px; }
	.hm-award__name { font-size: 23px; line-height: 30px; }
	.hm-sectorgrid .hm-sector__label b { font-size: 18px; }
	.hm-footer__cols { gap: 36px; }
	.hm-footer__main { padding: 56px 0 44px; }
}
@media (max-width: 1024px) {
	.hm-cols-3 { grid-template-columns: 1fr; gap: 20px; }
	.hm-recognition__inner { grid-template-columns: 1fr; gap: 32px; }
	.hm-sectorgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.hm-recognition { padding: 56px 0; }
	.hm-recognition__cards { grid-template-columns: 1fr; }
	.hm-sectorgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hm-sectorgrid .hm-sector__label b { font-size: 17px; }
	.hm-sector__text { display: none; }
}

.hm-principal__qual { margin: 0; font-size: 12px; color: var(--muted); }

/* Why Us: three raised cards on the photo band */
.hm-framed .hm-frame.hm-principles { border: 0; background: none; padding: 24px 0 0; gap: 28px; counter-reset: why; align-items: stretch; }
.hm-principles > div { counter-increment: why; position: relative; align-items: flex-start; text-align: left; gap: 18px; padding: 44px 36px 40px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-top: 4px solid var(--primary); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 24px 48px -24px rgba(0,0,0,.55); transition: transform .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease); }
.hm-principles > div::after { content: "0" counter(why); position: absolute; top: 18px; right: 26px; font: 600 64px/1 var(--serif); color: rgba(255,255,255,.12); }
.hm-principles > div:hover { transform: translateY(-10px); background: rgba(255,255,255,.12); box-shadow: 0 36px 60px -24px rgba(0,0,0,.65); }
.hm-principles .hm-ico { box-sizing: content-box; padding: 16px; background: var(--primary); color: #fff; width: 32px; height: 32px; box-shadow: 0 12px 24px -8px rgba(0,0,0,.5); }
.hm-principles h2 { font: 600 20px/28px var(--serif); letter-spacing: .08em; }
.hm-principles h2::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 14px; background: var(--primary); box-shadow: 0 0 0 1px rgba(255,255,255,.0); }
.hm-principles p { max-width: none; color: rgba(255,255,255,.9); }
@media (max-width: 1024px) { .hm-framed .hm-frame.hm-principles { grid-template-columns: 1fr; } }
/* On the burgundy band the burgundy accents disappear: use white ones. */
.hm-framed--burgundy .hm-principles > div { border-top-color: #fff; background: rgba(255,255,255,.09); }
.hm-framed--burgundy .hm-principles .hm-ico { background: #fff; color: var(--primary); }
.hm-framed--burgundy .hm-principles h2::after { background: #fff; }

/* Recognition: the framed award images */
.hm-awardimg { margin: 0; transition: transform .4s var(--ease), filter .4s var(--ease); filter: drop-shadow(0 18px 28px rgba(14, 22, 38, .18)); }
.hm-awardimg img { display: block; width: 100%; height: auto; }
.hm-awardimg:hover { transform: translateY(-8px) rotate(-.6deg); filter: drop-shadow(0 28px 38px rgba(14, 22, 38, .26)); }

/* Team member without a photo yet: initials on a tinted panel */
.hm-noimg { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; background: linear-gradient(160deg, var(--tint), #fff 120%); color: var(--primary); }
.hm-noimg b { font: 600 clamp(44px, 6vw, 84px)/1 var(--serif); letter-spacing: .04em; opacity: .55; }
.hm-profilecard > .hm-noimg, .hm-principal__photo > .hm-noimg { position: relative; aspect-ratio: 400 / 480; height: auto; }
.hm-principal__photo > .hm-noimg { aspect-ratio: 440 / 520; }

/* Recognition with three or more award images: heading on top, images in a row. */
.hm-recognition--wide .hm-recognition__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.hm-recognition--wide .hm-recognition__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 767px) { .hm-recognition--wide .hm-recognition__cards { grid-template-columns: minmax(0, 1fr); } }
