/* ==========================================================================
   Horizon Group 2026 – main stylesheet
   ========================================================================== */

/* Poppins (SIL OFL 1.1) – bundled with the theme, no external requests */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--hg-orange: #ef7b17;
	--hg-orange-2: #e2680a;
	--hg-orange-light: #f59a45;
	--hg-link: #b85a06;
	--hg-link-hover: #8f4504;
	--hg-ink: #2e2e2e;
	--hg-text: #4a4a4a;
	--hg-muted: #5e5e5e;
	--hg-bg: #f5f3f4;
	--hg-cream: #fff6ee;
	--hg-tint: #fff0e2;
	--hg-dark: #2b2b2b;
	--hg-line: #e6e1dd;
	--hg-white: #fff;
	--hg-radius: 12px;
	--hg-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--hg-container: 1288px;
	--hg-gutter: 24px;
	--hg-section: clamp(64px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--hg-font); font-size: 16px; line-height: 1.6; color: var(--hg-ink); background: var(--hg-bg); }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--hg-link); }
a:hover { color: var(--hg-link-hover); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; color: inherit; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--hg-orange); outline-offset: 2px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hg-skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--hg-ink); color: #fff; padding: 10px 16px; border-radius: 4px; }
.hg-skip:focus { top: 12px; color: #fff; }

.hg-container { width: 100%; max-width: var(--hg-container); margin-inline: auto; padding-inline: var(--hg-gutter); }
.hg-section { padding-block: var(--hg-section); }
.hg-section--white { background: var(--hg-white); }
.hg-section--cream { background: var(--hg-cream); }
.hg-eyebrow { display: block; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hg-link); margin-bottom: 12px; }
.hg-h2 { font-size: clamp(30px, 3.6vw, 44px); }
.hg-h2--sm { font-size: clamp(26px, 3vw, 36px); }
.hg-lead { font-size: 17px; line-height: 1.65; color: var(--hg-text); max-width: 640px; }
.hg-prose { font-size: 16px; line-height: 1.8; color: var(--hg-text); }
.hg-prose > * + * { margin-top: 18px; }
.hg-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }

/* Buttons ---------------------------------------------------------------- */
.hg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 4px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.hg-btn--primary { background: linear-gradient(90deg, var(--hg-orange) 0%, var(--hg-orange-2) 100%); color: #fff; }
.hg-btn--primary:hover { background: var(--hg-orange-2); color: #fff; }
.hg-btn--outline { border-color: var(--hg-ink); color: var(--hg-ink); background: transparent; }
.hg-btn--outline:hover { background: var(--hg-ink); color: #fff; }
.hg-btn--light { border-color: #fff; color: #fff; background: transparent; }
.hg-btn--light:hover { background: #fff; color: var(--hg-ink); }
.hg-btn--dark { background: var(--hg-ink); color: #fff; }
.hg-btn--dark:hover { background: #000; color: #fff; }
.hg-btn--pill { min-height: 32px; padding: 0 14px; border-radius: 999px; font-size: 13px; }
.hg-btn--lg { min-height: 52px; padding: 0 28px; }
.hg-link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }

/* Header ------------------------------------------------------------------ */
.hg-header { position: sticky; top: 0; z-index: 100; background: var(--hg-bg); border-bottom: 1px solid #a3a3a3; }
.admin-bar .hg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .hg-header { top: 0; } }
.hg-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.hg-logo img { height: 56px; width: auto; }
.hg-nav { display: flex; align-items: center; flex: 1; justify-content: space-between; gap: 32px; }
.hg-nav__menu { flex: 1; display: flex; justify-content: center; }
.hg-menu, .hg-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.hg-menu { display: flex; align-items: center; gap: 30px; }
.hg-menu > li { position: relative; display: flex; align-items: center; }
.hg-menu > li > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hg-ink); text-decoration: none; font-size: 15px; font-weight: 400; border-bottom: 2px solid transparent; padding-top: 2px; }
.hg-menu > li > a:hover { color: var(--hg-orange-2); }
.hg-menu > li.current-menu-item > a, .hg-menu > li.current-menu-ancestor > a, .hg-menu > li.current-menu-parent > a, .hg-menu > li.current_page_item > a { border-bottom-color: var(--hg-orange); font-weight: 500; }
.hg-sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 44px; padding: 0; margin-left: 2px; border: 0; background: none; cursor: pointer; color: var(--hg-ink); }
.hg-sub-toggle .hg-icon { transition: transform .2s; }
.hg-menu .sub-menu { position: absolute; top: 100%; left: -16px; min-width: 230px; padding: 10px 0; background: #fff; border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 10; }
.hg-menu .sub-menu a { display: block; padding: 10px 18px; color: var(--hg-ink); text-decoration: none; font-size: 14px; }
.hg-menu .sub-menu a:hover, .hg-menu .sub-menu .current-menu-item > a { background: var(--hg-cream); color: var(--hg-link); }
@media (min-width: 1081px) {
	.hg-menu > li:hover > .sub-menu, .hg-menu > li:focus-within > .sub-menu, .hg-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.hg-menu > li:hover > .hg-sub-toggle .hg-icon, .hg-menu > li.is-open > .hg-sub-toggle .hg-icon { transform: rotate(180deg); }
}
.hg-nav-toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid #cfc9c4; border-radius: 8px; background: #fff; cursor: pointer; color: var(--hg-ink); }
.hg-nav-toggle__close { display: none; }

@media (max-width: 1080px) {
	.hg-nav-toggle { display: inline-flex; }
	.hg-nav { position: fixed; inset: 84px 0 0 0; background: var(--hg-bg); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px; padding: 16px var(--hg-gutter) 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
	.admin-bar .hg-nav { top: 130px; }
	.hg-nav.is-open { transform: none; visibility: visible; }
	.hg-nav-toggle[aria-expanded="true"] .hg-nav-toggle__open { display: none; }
	.hg-nav-toggle[aria-expanded="true"] .hg-nav-toggle__close { display: inline-flex; }
	.hg-nav__menu { display: block; flex: none; }
	.hg-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.hg-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--hg-line); }
	.hg-menu > li > a { flex: 1; min-height: 56px; font-size: 17px; border-bottom: 0; }
	.hg-menu > li.current-menu-item > a { color: var(--hg-link); }
	.hg-sub-toggle { width: 48px; height: 56px; }
	.hg-menu .sub-menu { position: static; display: none; width: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 12px 12px; }
	.hg-menu > li.is-open > .sub-menu { display: block; }
	.hg-menu > li.is-open > .hg-sub-toggle .hg-icon { transform: rotate(180deg); }
	.hg-header__cta { align-self: flex-start; }
	body.hg-nav-open { overflow: hidden; }
}
@media (max-width: 600px) { .hg-logo img { height: 46px; } .hg-header__inner { min-height: 72px; } .hg-nav { top: 72px; } }

/* Home hero slider ------------------------------------------------------- */
.hg-hero { position: relative; overflow: hidden; background: var(--hg-bg); }
.hg-hero__track { position: relative; }
.hg-slide { display: none; }
.hg-slide.is-active { display: block; animation: hgFade .6s ease; }
@keyframes hgFade { from { opacity: 0; } to { opacity: 1; } }
.hg-slide__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px; min-height: 560px; padding-block: 56px 72px; }
.hg-slide__title { font-size: clamp(34px, 3.4vw, 46px); font-weight: 600; line-height: 1.2; white-space: pre-line; margin-bottom: 26px; max-width: 480px; }
.hg-slide__text { font-size: 15px; line-height: 1.75; color: var(--hg-ink); max-width: 560px; margin-bottom: 34px; }
.hg-slide__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hg-slide__media { position: relative; display: flex; justify-content: flex-end; }
.hg-slide__media img { width: 100%; max-width: 640px; max-height: 520px; object-fit: contain; }
.hg-hero__dots { position: absolute; left: 0; right: 0; bottom: 34px; pointer-events: none; }
.hg-hero__dots .hg-container { display: flex; justify-content: flex-end; }
.hg-hero__dots-inner { display: flex; gap: 4px; pointer-events: auto; width: min(640px, 50%); justify-content: center; }
.hg-dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hg-dot::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: #d9d6d7; transition: background .2s; }
.hg-dot[aria-current="true"]::before { background: var(--hg-orange); }
@media (max-width: 900px) {
	.hg-slide__inner { grid-template-columns: 1fr; gap: 32px; min-height: 0; padding-block: 40px 80px; }
	.hg-slide__media { justify-content: center; }
	.hg-hero__dots-inner { width: 100%; }
}

/* Who we are --------------------------------------------------------------- */
.hg-who { display: grid; grid-template-columns: 1fr 1fr; background: var(--hg-cream); }
.hg-who__text { padding: var(--hg-section) var(--hg-gutter); padding-left: max(var(--hg-gutter), calc((100vw - var(--hg-container)) / 2 + var(--hg-gutter))); padding-right: clamp(24px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.hg-who__text h2 { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 24px; }
.hg-who__text p { font-size: 15px; line-height: 1.75; color: var(--hg-ink); max-width: 560px; }
.hg-checklist { list-style: none; margin: 22px 0 32px; padding: 0; display: grid; gap: 14px; max-width: 520px; }
.hg-checklist li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 15px; line-height: 1.6; }
.hg-checklist .hg-icon { margin-top: 2px; }
.hg-who__media { position: relative; min-height: 520px; }
.hg-who__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hg-who { grid-template-columns: 1fr; } .hg-who__media { min-height: 360px; } }

/* Businesses tabs (home) -------------------------------------------------- */
.hg-biz { position: relative; color: #fff; background: #1c1d22; overflow: hidden; }
.hg-biz__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(3px); transform: scale(1.03); opacity: .55; }
.hg-biz::after { content: ""; position: absolute; inset: 0; background: rgba(18, 20, 28, .55); }
.hg-biz__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.hg-biz__list { padding-block: 72px; padding-right: clamp(24px, 12vw, 170px); }
.hg-biz__list h2 { font-size: clamp(32px, 3.6vw, 44px); font-weight: 600; margin: 0 0 40px; padding-left: max(var(--hg-gutter), calc((100vw - var(--hg-container)) / 2 + var(--hg-gutter))); }
.hg-biz__tabs { display: grid; gap: 16px; max-width: 520px; margin-left: auto; }
.hg-biz__tab { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 48px; padding: 0 20px 0 max(var(--hg-gutter), calc((100vw - var(--hg-container)) / 2 + var(--hg-gutter))); background: rgba(255,255,255,0); border: 1.5px solid #fff; border-left: 0; color: #fff; font-size: 15px; font-weight: 500; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.hg-biz__tabs { margin-left: 0; max-width: none; padding-right: 0; }
.hg-biz__tab span { flex: 1; }
.hg-biz__tab:hover { background: rgba(255,255,255,.08); }
.hg-biz__tab[aria-selected="true"] { background: linear-gradient(90deg, var(--hg-orange) 0%, var(--hg-orange-2) 100%); border-color: var(--hg-orange); }
.hg-biz__panels { border-left: 1px solid rgba(255,255,255,.25); padding: 72px max(var(--hg-gutter), calc((100vw - var(--hg-container)) / 2 + var(--hg-gutter))) 72px clamp(24px, 4vw, 48px); }
.hg-biz__panel { display: none; }
.hg-biz__panel.is-active { display: block; animation: hgFade .4s ease; }
.hg-biz__panel[hidden] { display: none; }
.hg-biz__logo { display: inline-flex; align-items: center; background: #fff; padding: 14px 24px; margin: 0 0 28px calc(-1 * clamp(24px, 4vw, 48px)); min-height: 66px; }
.hg-biz__logo img { max-height: 48px; width: auto; }
.hg-biz__panel h3 { font-size: 26px; font-weight: 600; margin-bottom: 16px; }
.hg-biz__text { font-size: 14px; line-height: 1.75; color: #f1f1f1; }
.hg-biz__text p + p { margin-top: 14px; }
.hg-biz__visit { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: #fff; font-weight: 500; text-decoration: none; border-bottom: 1px solid #fff; padding-bottom: 2px; min-height: 32px; }
.hg-biz__visit:hover { color: var(--hg-orange-light); border-color: var(--hg-orange-light); }
@media (max-width: 900px) {
	.hg-biz__inner { grid-template-columns: 1fr; }
	.hg-biz__list { padding: 56px 0 24px; }
	.hg-biz__list h2 { padding-left: var(--hg-gutter); }
	.hg-biz__tabs { padding-right: var(--hg-gutter); }
	.hg-biz__tab { padding-left: var(--hg-gutter); }
	.hg-biz__panels { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding: 40px var(--hg-gutter) 56px; }
	.hg-biz__logo { margin-left: 0; }
}

/* Stats -------------------------------------------------------------------- */
.hg-stats { position: relative; overflow: hidden; color: #fff; background: linear-gradient(90deg, #e6c197 0%, #a98564 35%, #5b4636 65%, #3b2e25 100%); }
.hg-stats__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.hg-stats__media { position: relative; display: flex; align-items: flex-end; justify-content: center; padding-top: 56px; }
.hg-stats__media img { width: auto; max-height: 600px; }
.hg-stats__content { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; text-align: right; padding-block: 72px; gap: 8px; }
.hg-stats__title { font-size: clamp(30px, 3.4vw, 40px); font-weight: 600; border-bottom: 2px solid #fff; padding-bottom: 4px; }
.hg-stats__subtitle { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; border-bottom: 2px solid #fff; padding-bottom: 2px; margin-bottom: 36px; }
.hg-stats__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.hg-stat { display: flex; flex-direction: column; align-items: flex-end; }
.hg-stat__value { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; line-height: 1.1; }
.hg-stat__label { font-size: clamp(17px, 1.8vw, 22px); }
@media (max-width: 900px) {
	.hg-stats__inner { grid-template-columns: 1fr; }
	.hg-stats__content { order: -1; align-items: flex-start; text-align: left; padding-bottom: 0; }
	.hg-stat { align-items: flex-start; }
	.hg-stats__media img { max-height: 380px; }
}

/* Partners ------------------------------------------------------------------ */
.hg-partners { padding-block: 72px 80px; text-align: center; overflow: hidden; }
.hg-partners h2 { font-size: clamp(28px, 3vw, 36px); font-weight: 600; margin-bottom: 40px; }
.hg-marquee { background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.06); overflow: hidden; }
.hg-marquee__track { display: flex; width: max-content; animation: hgMarquee 40s linear infinite; }
.hg-marquee:hover .hg-marquee__track, .hg-marquee:focus-within .hg-marquee__track { animation-play-state: paused; }
.hg-marquee__group { display: flex; align-items: center; gap: 72px; padding: 18px 36px; }
.hg-marquee__item { display: flex; align-items: center; justify-content: center; height: 60px; }
.hg-marquee__item img { max-height: 54px; max-width: 160px; width: auto; }
@keyframes hgMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hg-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .hg-marquee__group[aria-hidden="true"] { display: none; } }

/* News (home) ---------------------------------------------------------------- */
.hg-news { padding-block: 24px var(--hg-section); }
.hg-news__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; }
.hg-news__main { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.hg-news__main > :first-child { grid-column: 1 / -1; }
.hg-media-card { position: relative; display: block; overflow: hidden; background: #222; color: var(--hg-ink); text-decoration: none; aspect-ratio: 16 / 9.5; }
.hg-news__main > :not(:first-child) { aspect-ratio: 1 / .96; }
.hg-media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hg-media-card:hover img { transform: scale(1.04); }
.hg-media-card__label { position: absolute; left: 0; right: 0; top: 50%; padding: 16px 20px; background: rgba(255,255,255,.88); font-size: 16px; font-weight: 500; text-align: center; color: var(--hg-ink); }
.hg-news__main > :first-child .hg-media-card__label { top: 38%; font-size: 18px; }
.hg-news__main > :not(:first-child) .hg-media-card__label { top: auto; bottom: 14%; }
.hg-play { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: rgba(46,46,46,.75); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 1; }
.hg-media-card:hover .hg-play { background: var(--hg-orange); }
.hg-news__side { background: #ebe8e9; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.hg-mini { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; background: #fff; padding: 10px; text-decoration: none; color: var(--hg-ink); border-radius: 4px; transition: box-shadow .2s; }
.hg-mini:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); color: var(--hg-ink); }
.hg-mini img { width: 72px; height: 72px; object-fit: cover; }
.hg-mini time { display: block; font-size: 12px; color: var(--hg-muted); margin-bottom: 4px; }
.hg-mini strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
@media (max-width: 960px) { .hg-news__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .hg-news__main { grid-template-columns: 1fr; } .hg-news__main > * { aspect-ratio: 4 / 3 !important; } }

/* How we work ----------------------------------------------------------------- */
.hg-how { position: relative; overflow: hidden; background: #333; color: #fff; text-align: center; }
.hg-how__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .5; }
.hg-how__inner { position: relative; padding-block: var(--hg-section); display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hg-how h2 { font-size: clamp(34px, 4vw, 48px); font-weight: 600; border-bottom: 2px solid #fff; padding-bottom: 4px; margin-bottom: 40px; }
.hg-how h3 { font-size: clamp(28px, 3vw, 36px); font-weight: 600; }
.hg-how__text { font-size: clamp(19px, 2vw, 25px); font-weight: 600; line-height: 1.45; max-width: 820px; margin-bottom: 64px; }
.hg-how__text:last-child { margin-bottom: 0; }
.hg-how__text .w { color: rgba(255,255,255,.45); transition: color .25s; }
.hg-how__text .w.on { color: #fff; }
.no-js .hg-how__text .w { color: #fff; }

/* Inner page heroes ------------------------------------------------------------ */
.hg-page-hero { position: relative; overflow: hidden; background: #1a1a1a; color: #fff; }
.hg-page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hg-page-hero__inner { position: relative; padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 18px; }
.hg-page-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 600; max-width: 820px; }
.hg-page-hero__text { font-size: 18px; line-height: 1.6; max-width: 640px; color: #f3f3f3; }
.hg-page-hero .hg-btn { align-self: flex-start; margin-top: 8px; }
.hg-page-header { padding-block: 72px 32px; }
.hg-page-header h1 { font-size: clamp(36px, 5vw, 56px); margin: 18px 0; }
.hg-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--hg-muted); }
.hg-breadcrumb a { color: inherit; text-decoration: none; }
.hg-breadcrumb a:hover { text-decoration: underline; }
.hg-breadcrumb [aria-current] { color: var(--hg-ink); }
.hg-page-hero .hg-breadcrumb, .hg-page-hero .hg-breadcrumb [aria-current] { color: #f1e6da; }

/* Split layout + cards -------------------------------------------------------- */
.hg-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hg-split > * { flex: 1 1 440px; min-width: 0; }
.hg-split--top { align-items: flex-start; }
.hg-rounded-img { border-radius: 16px; overflow: hidden; }
.hg-rounded-img img { width: 100%; height: 100%; object-fit: cover; }
.hg-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.hg-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.hg-card { background: #fff; border-radius: var(--hg-radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.hg-card--line { border: 1px solid var(--hg-line); }
.hg-card h3 { font-size: 20px; font-weight: 600; }
.hg-card p { font-size: 15px; line-height: 1.7; color: var(--hg-text); }
.hg-card__icon { width: 52px; height: 52px; border-radius: 10px; background: var(--hg-cream); color: #d96a0c; display: flex; align-items: center; justify-content: center; }
.hg-card__icon--round { border-radius: 50%; background: var(--hg-orange); color: #fff; }

.hg-band { background: var(--hg-dark); color: #fff; }
.hg-band__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding-block: 56px; }
.hg-band__value { display: block; font-size: 44px; font-weight: 700; color: var(--hg-orange-light); line-height: 1.15; }
.hg-band__label { font-size: 15px; color: #e2e2e2; }

.hg-quote-mark { color: var(--hg-orange); }
.hg-chair blockquote { margin: 18px 0 22px; font-size: clamp(19px, 2vw, 24px); line-height: 1.55; font-weight: 500; }
.hg-chair cite { font-style: normal; display: flex; flex-direction: column; }
.hg-chair cite strong { font-size: 18px; }
.hg-chair cite span { color: var(--hg-muted); font-size: 15px; }

.hg-dark-section { position: relative; overflow: hidden; background: #1e1e1e; color: #fff; }
.hg-dark-section__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.hg-dark-section .hg-container { position: relative; }
.hg-glass { background: rgba(20,20,20,.72); border: 1px solid rgba(255,255,255,.18); border-radius: var(--hg-radius); padding: 40px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.hg-glass h3 { font-size: 28px; font-weight: 600; }
.hg-glass p { font-size: 17px; line-height: 1.7; color: #ededed; }

.hg-biz-card { display: flex; align-items: center; gap: 16px; min-height: 96px; padding: 20px 24px; background: #fff; border: 1px solid var(--hg-line); border-radius: var(--hg-radius); color: var(--hg-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.hg-biz-card:hover { border-color: var(--hg-orange); box-shadow: 0 10px 24px rgba(0,0,0,.06); color: var(--hg-ink); }
.hg-biz-card__icon { flex: none; width: 56px; height: 56px; border-radius: 10px; background: var(--hg-cream); color: #d96a0c; display: flex; align-items: center; justify-content: center; }
.hg-biz-card strong { display: block; font-size: 17px; font-weight: 600; }
.hg-biz-card small { display: block; font-size: 13px; color: var(--hg-muted); }

.hg-cta { background: linear-gradient(90deg, var(--hg-orange) 0%, var(--hg-orange-2) 100%); color: #fff; }
.hg-cta .hg-container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 64px; }
.hg-cta h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 600; }
.hg-cta p { margin-top: 6px; font-size: 17px; color: #fff6ec; }

/* Business single ----------------------------------------------------------- */
.hg-subnav { background: var(--hg-dark); }
.hg-subnav__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: thin; list-style: none; margin: 0; padding: 0; }
.hg-subnav__list a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px; color: #cfcfcf; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; border-bottom: 3px solid transparent; }
.hg-subnav__list a:hover { color: #fff; }
.hg-subnav__list a[aria-current="page"] { color: #fff; font-weight: 600; border-bottom-color: var(--hg-orange); }
.hg-biz-hero { padding-block: 72px 96px; }
.hg-biz-hero__text { display: flex; flex-direction: column; gap: 22px; }
.hg-biz-hero__logo { height: 54px; width: auto; align-self: flex-start; }
.hg-biz-hero h1 { font-size: clamp(34px, 4.2vw, 50px); }
.hg-biz-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hg-biz-hero__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hg-biz-hero__media > img { width: 100%; height: 440px; object-fit: cover; border-radius: 14px; }
.hg-biz-hero__media--single > img { grid-column: 1 / -1; }
.hg-biz-hero__stack { display: flex; flex-direction: column; gap: 16px; }
.hg-biz-hero__stack img { width: 100%; height: 252px; object-fit: cover; border-radius: 14px; }
.hg-stat-tile { flex: 1; background: #3f4440; color: #fff; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.hg-stat-tile strong { font-size: 38px; color: var(--hg-orange-light); line-height: 1.1; }
@media (max-width: 600px) { .hg-biz-hero__media > img { height: 300px; } .hg-biz-hero__stack img { height: 160px; } }

/* Post cards / listing --------------------------------------------------------- */
.hg-post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--hg-radius); overflow: hidden; color: var(--hg-ink); text-decoration: none; transition: box-shadow .2s, transform .2s; }
.hg-post-card:hover { color: var(--hg-ink); box-shadow: 0 14px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.hg-post-card__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; }
.hg-post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.hg-post-card__body { padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.hg-post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: var(--hg-muted); }
.hg-post-card__title { font-size: 19px; font-weight: 600; line-height: 1.35; }
.hg-tag { display: inline-flex; padding: 4px 10px; background: var(--hg-tint); color: #a24f05; font-size: 13px; font-weight: 600; border-radius: 4px; }
.hg-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; list-style: none; padding: 0; }
.hg-filter a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid #c9c3be; color: var(--hg-ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.hg-filter a:hover { border-color: var(--hg-ink); }
.hg-filter a[aria-current="page"] { background: var(--hg-ink); border-color: var(--hg-ink); color: #fff; font-weight: 600; }
.hg-featured { display: flex; flex-wrap: wrap; background: #fff; border-radius: 16px; overflow: hidden; color: var(--hg-ink); text-decoration: none; }
.hg-featured:hover { color: var(--hg-ink); }
.hg-featured__img { flex: 1.3 1 520px; min-height: 380px; position: relative; }
.hg-featured__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hg-featured__body { flex: 1 1 360px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.hg-featured__body h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.hg-featured__body p { color: var(--hg-text); line-height: 1.7; }
.hg-pagination { margin-top: 48px; }
.hg-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hg-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border-radius: 6px; color: var(--hg-ink); text-decoration: none; }
.hg-pagination .page-numbers.current { background: var(--hg-orange); color: #fff; font-weight: 600; }
.hg-pagination .page-numbers.dots { background: transparent; }
.hg-empty { padding: 48px; text-align: center; background: #fff; border-radius: var(--hg-radius); color: var(--hg-muted); }
.hg-videos { background: var(--hg-dark); color: #fff; }
.hg-video-card { position: relative; display: block; border-radius: var(--hg-radius); overflow: hidden; background: #1a1a1a; color: #fff; text-decoration: none; aspect-ratio: 16 / 10; }
.hg-video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.hg-video-card .hg-play { background: var(--hg-orange); width: 72px; height: 72px; top: 50%; }
.hg-video-card__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; background: rgba(15,15,15,.82); font-size: 17px; font-weight: 600; }
.hg-video-card:hover { color: #fff; }

/* Single article ------------------------------------------------------------- */
.hg-article__head { max-width: 900px; margin-inline: auto; padding: 64px var(--hg-gutter) 40px; display: flex; flex-direction: column; gap: 18px; }
.hg-article__head h1 { font-size: clamp(32px, 4.4vw, 50px); }
.hg-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--hg-muted); }
.hg-article__excerpt { font-size: 19px; line-height: 1.65; color: var(--hg-text); }
.hg-article__hero { max-width: 1200px; margin-inline: auto; padding-inline: var(--hg-gutter); }
.hg-article__hero img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 16px; }
.hg-article__hero .hg-embed { border-radius: 16px; overflow: hidden; }
.hg-article__layout { max-width: 1200px; margin-inline: auto; padding: 56px var(--hg-gutter) 88px; display: flex; flex-wrap: wrap; gap: 48px; }
.hg-share { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hg-share__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hg-muted); }
.hg-share a, .hg-share button { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--hg-ink); border: 0; cursor: pointer; }
.hg-share a:hover, .hg-share button:hover { background: var(--hg-orange); color: #fff; }
.hg-article__body { flex: 1 1 560px; max-width: 760px; min-width: 0; }
@media (max-width: 700px) { .hg-share { flex-direction: row; flex-basis: 100%; order: 2; } }
.hg-entry { font-size: 17px; line-height: 1.85; color: #3a3a3a; }
.hg-entry > * + * { margin-top: 22px; }
.hg-entry h2 { font-size: 28px; line-height: 1.3; font-weight: 600; color: var(--hg-ink); margin-top: 40px; }
.hg-entry h3 { font-size: 22px; line-height: 1.35; font-weight: 600; color: var(--hg-ink); margin-top: 32px; }
.hg-entry img { border-radius: 10px; }
.hg-entry blockquote { margin-inline: 0; padding: 8px 0 8px 24px; border-left: 3px solid var(--hg-orange); font-size: 21px; line-height: 1.6; font-weight: 500; color: var(--hg-ink); }
.hg-entry ul, .hg-entry ol { padding-left: 1.3em; }
.hg-entry figure { margin-inline: 0; }
.hg-entry figcaption { font-size: 14px; color: var(--hg-muted); margin-top: 8px; }
.hg-entry .wp-block-gallery { gap: 14px; }
.hg-entry iframe { width: 100%; }
.hg-entry .alignwide { margin-inline: calc(-1 * min(120px, 6vw)); max-width: none; }
.hg-entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hg-entry th, .hg-entry td { border: 1px solid var(--hg-line); padding: 10px 12px; text-align: left; }
.hg-article__tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; margin-top: 40px; border-top: 1px solid #ddd6d0; }
.hg-article__tags a { padding: 6px 14px; background: #fff; border-radius: 999px; font-size: 13px; color: var(--hg-ink); text-decoration: none; }
.hg-article__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 28px; }
.hg-article__nav a { display: flex; flex-direction: column; gap: 4px; color: var(--hg-ink); text-decoration: none; max-width: 48%; }
.hg-article__nav a span { font-size: 13px; color: var(--hg-muted); }
.hg-article__nav a strong { font-weight: 600; }
.hg-article__nav .next { text-align: right; margin-left: auto; }
.hg-embed { position: relative; aspect-ratio: 16 / 9; background: #000; }
.hg-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Careers / jobs ------------------------------------------------------------- */
.hg-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hg-job { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; background: var(--hg-bg); border-radius: 10px; }
.hg-job h3 { font-size: 18px; font-weight: 600; }
.hg-job__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--hg-muted); margin-top: 6px; }
.hg-job[hidden] { display: none; }
.hg-select-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--hg-text); }

/* Forms ------------------------------------------------------------------------ */
.hg-form-card { background: #fff; border-radius: 14px; padding: clamp(24px, 3vw, 40px); }
.hg-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.hg-form__title { grid-column: 1 / -1; font-size: 28px; font-weight: 600; margin-bottom: 4px; }
.hg-form .hg-notice, .hg-form .hg-btn { grid-column: 1 / -1; }
.hg-form .hg-btn { justify-self: start; min-height: 50px; padding: 0 28px; }
.hg-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.hg-field--full { grid-column: 1 / -1; }
.hg-field input, .hg-field select, .hg-field textarea, .hg-select-label select { min-height: 46px; padding: 0 14px; border: 1px solid #b9b2ac; border-radius: 6px; background: #fff; font-size: 15px; font-weight: 400; width: 100%; }
.hg-field textarea { padding: 12px 14px; resize: vertical; }
.hg-field input[type="file"] { padding: 10px 14px; border-style: dashed; }
.hg-field input:focus, .hg-field select:focus, .hg-field textarea:focus { border-color: var(--hg-orange); outline: 2px solid rgba(239,123,23,.25); outline-offset: 0; }
.hg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hg-notice { padding: 14px 18px; border-radius: 8px; font-size: 15px; }
.hg-notice--success { background: #e7f6e7; color: #1d5e1d; }
.hg-notice--error { background: #fdecea; color: #8a1c13; }
@media (max-width: 600px) { .hg-form { grid-template-columns: 1fr; } }

/* Contact ---------------------------------------------------------------------- */
.hg-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.hg-contact-card { background: #fff; border-radius: var(--hg-radius); padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.hg-contact-card__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--hg-tint); color: #d96a0c; display: flex; align-items: center; justify-content: center; }
.hg-contact-card h2 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.hg-contact-card p, .hg-contact-card a { font-size: 15px; color: var(--hg-text); text-decoration: none; line-height: 1.6; }
.hg-contact-card a:hover { color: var(--hg-link); }
.hg-contact-card .hg-link-arrow { min-height: 0; margin-top: 6px; font-size: 14px; color: var(--hg-link); }
.hg-contact-layout { display: flex; flex-wrap: wrap; gap: 24px; }
.hg-contact-layout > .hg-form-card { flex: 1.2 1 520px; }
.hg-map { flex: 1 1 420px; min-height: 480px; border-radius: 14px; overflow: hidden; background: #dcd6d0; }
.hg-map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }

/* Footer ------------------------------------------------------------------------ */
.hg-footer { background: linear-gradient(90deg, #fbf1e6 0%, #f7f4f5 100%); font-size: 14px; color: var(--hg-ink); }
.hg-footer__inner { display: flex; flex-wrap: wrap; gap: 40px 96px; padding-block: 64px 40px; }
.hg-footer__about { flex: 1 1 300px; max-width: 360px; display: flex; flex-direction: column; gap: 14px; }
.hg-logo--footer img { height: 62px; }
.hg-footer__address { margin-top: 10px; line-height: 1.6; }
.hg-footer__address strong { font-weight: 500; }
.hg-footer__directions { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; color: var(--hg-link); align-self: flex-start; min-height: 32px; }
.hg-footer__contact { line-height: 1.75; }
.hg-footer__contact a { color: var(--hg-ink); text-decoration: none; }
.hg-footer__contact a:hover { color: var(--hg-link); }
.hg-footer__col { flex: 0 1 180px; padding-top: 86px; }
.hg-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hg-footer__menu a { color: var(--hg-ink); text-decoration: none; }
.hg-footer__menu a:hover { color: var(--hg-link); }
.hg-footer__bar { border-top: 1px solid #eadfd3; font-size: 13px; color: var(--hg-muted); }
.hg-footer__bar .hg-container { padding-block: 18px; }
@media (max-width: 700px) { .hg-footer__col { padding-top: 0; } }

/* Generic page / 404 ---------------------------------------------------------- */
.hg-page-body { max-width: 860px; margin-inline: auto; padding: 56px var(--hg-gutter) 96px; }
.hg-404 { text-align: center; padding: 120px var(--hg-gutter); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hg-404 strong { font-size: 96px; color: var(--hg-orange); line-height: 1; }
.search-form { display: flex; gap: 8px; max-width: 480px; width: 100%; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; min-height: 46px; padding: 0 14px; border: 1px solid #b9b2ac; border-radius: 6px; }
.search-form .search-submit { min-height: 46px; padding: 0 20px; border: 0; border-radius: 6px; background: var(--hg-orange); color: #fff; font-weight: 600; cursor: pointer; }

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: 14px; color: var(--hg-muted); }

/* Cards sitting on white sections */
.hg-section--white .hg-post-card, .hg-section--white .hg-card:not(.hg-card--line) { background: var(--hg-bg); }

/* ==========================================================================
   Motion system – clean, consistent transitions across the site
   ========================================================================== */
:root { --hg-ease: cubic-bezier(.22, .8, .2, 1); --hg-ease-io: cubic-bezier(.65, 0, .35, 1); }

/* Smooth page-to-page fade in browsers that support it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: var(--hg-ease-io); }

/* Scroll reveal (classes are added by main.js; content stays visible without JS) */
.js .hg-rv { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--hg-ease), transform 1s var(--hg-ease); transition-delay: calc(var(--rv-i, 0) * 80ms); }
.js .hg-rv--img { transform: scale(1.04); }
.js .hg-rv.is-in { opacity: 1; transform: none; }

/* Entrance on page load: inner-page headers */
@keyframes hgUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hgZoomOut { from { transform: scale(1.08); } to { transform: scale(1); } }
.hg-page-hero__bg { animation: hgZoomOut 1.8s var(--hg-ease) both; }
.hg-page-hero__inner > *, .hg-page-header .hg-container > *, .hg-biz-hero__text > *, .hg-article__head > * { animation: hgUp .9s var(--hg-ease) both; }
.hg-page-hero__inner > :nth-child(2), .hg-page-header .hg-container > :nth-child(2), .hg-biz-hero__text > :nth-child(2), .hg-article__head > :nth-child(2) { animation-delay: .08s; }
.hg-page-hero__inner > :nth-child(3), .hg-page-header .hg-container > :nth-child(3), .hg-biz-hero__text > :nth-child(3), .hg-article__head > :nth-child(3) { animation-delay: .16s; }
.hg-page-hero__inner > :nth-child(4), .hg-page-header .hg-container > :nth-child(4), .hg-biz-hero__text > :nth-child(4), .hg-article__head > :nth-child(4) { animation-delay: .24s; }
.hg-page-hero__inner > :nth-child(n+5), .hg-page-header .hg-container > :nth-child(n+5), .hg-biz-hero__text > :nth-child(n+5), .hg-article__head > :nth-child(n+5) { animation-delay: .32s; }
.hg-biz-hero__media, .hg-article__hero { animation: hgUp 1.1s var(--hg-ease) .15s both; }

/* Header: soft shadow once the page scrolls */
.hg-header { transition: box-shadow .35s var(--hg-ease), background-color .35s; }
.hg-header.is-scrolled { box-shadow: 0 10px 30px rgba(20, 20, 20, .07); border-bottom-color: transparent; background: rgba(245, 243, 244, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Main menu: underline that grows from the left */
@media (min-width: 1081px) {
	.hg-menu > li > a { position: relative; border-bottom: 0 !important; }
	.hg-menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--hg-orange); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--hg-ease); }
	.hg-menu > li > a:hover::after { transform: scaleX(1); transform-origin: left; }
	.hg-menu > li.current-menu-item > a::after, .hg-menu > li.current-menu-ancestor > a::after, .hg-menu > li.current-menu-parent > a::after, .hg-menu > li.current_page_item > a::after { transform: scaleX(1); }
	.hg-menu .sub-menu { transition: opacity .25s var(--hg-ease), transform .35s var(--hg-ease), visibility .25s; }
	.hg-menu .sub-menu a { transition: background .2s, color .2s, padding-left .25s var(--hg-ease); }
	.hg-menu .sub-menu a:hover { padding-left: 24px; }
}
.hg-nav { transition: transform .45s var(--hg-ease), visibility .45s; }

/* Buttons & links */
.hg-btn { transition: background .25s, color .25s, border-color .25s, box-shadow .3s var(--hg-ease), transform .3s var(--hg-ease); }
.hg-btn:hover { transform: translateY(-2px); }
.hg-btn--primary:hover { box-shadow: 0 10px 24px rgba(226, 104, 10, .28); }
.hg-btn .hg-icon, .hg-link-arrow .hg-icon, .hg-biz-card .hg-icon { transition: transform .35s var(--hg-ease); }
.hg-btn:hover .hg-icon--arrow-right, .hg-btn:hover .hg-icon--external, .hg-link-arrow:hover .hg-icon { transform: translateX(3px); }
.hg-btn:active { transform: translateY(0); }

/* Cards */
.hg-post-card__img img, .hg-featured__img img { transition: transform .9s var(--hg-ease); }
.hg-post-card:hover .hg-post-card__img img, .hg-featured:hover .hg-featured__img img { transform: scale(1.05); }
.hg-post-card, .hg-card, .hg-contact-card, .hg-job { transition: box-shadow .35s var(--hg-ease), transform .35s var(--hg-ease); }
.hg-card:hover, .hg-contact-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .07); }
.hg-job:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .06); }
.hg-biz-card { transition: border-color .3s, box-shadow .35s var(--hg-ease), transform .35s var(--hg-ease); }
.hg-biz-card:hover { transform: translateY(-3px); }
.hg-biz-card__icon, .hg-card__icon { transition: background .3s, color .3s; }
.hg-biz-card:hover .hg-biz-card__icon { background: var(--hg-orange); color: #fff; }
.hg-mini { transition: box-shadow .3s, transform .35s var(--hg-ease); }
.hg-mini:hover { transform: translateX(4px); }
.hg-filter a { transition: background .25s, border-color .25s, color .25s; }

/* Home hero slider: cross-fade with staggered text */
.hg-hero__track { display: grid; }
.hg-slide, .hg-slide.is-active { display: block; grid-area: 1 / 1; animation: none; }
.hg-slide { opacity: 0; visibility: hidden; transition: opacity .9s var(--hg-ease-io), visibility 0s linear .9s; }
.hg-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--hg-ease-io), visibility 0s; }
.hg-slide__text-col > * { opacity: 0; transform: translateY(22px); transition: opacity .5s, transform .7s var(--hg-ease); }
.hg-slide.is-active .hg-slide__text-col > * { opacity: 1; transform: none; transition: opacity .8s var(--hg-ease), transform 1s var(--hg-ease); }
.hg-slide.is-active .hg-slide__text-col > :nth-child(1) { transition-delay: .2s; }
.hg-slide.is-active .hg-slide__text-col > :nth-child(2) { transition-delay: .3s; }
.hg-slide.is-active .hg-slide__text-col > :nth-child(3) { transition-delay: .4s; }
.hg-slide__media img { opacity: 0; transform: translateX(40px) scale(.97); transition: opacity .6s, transform .8s var(--hg-ease); }
.hg-slide.is-active .hg-slide__media img { opacity: 1; transform: none; transition: opacity 1s var(--hg-ease) .1s, transform 1.4s var(--hg-ease) .1s; }
.hg-dot::before { transition: width .45s var(--hg-ease), background .3s; border-radius: 999px; }
.hg-dot { width: 34px; }
.hg-dot[aria-current="true"]::before { width: 26px; }

/* Business page: tab bar underline + in-place content swap */
.hg-subnav__list a { position: relative; border-bottom: 0; transition: color .3s; }
.hg-subnav__list a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: var(--hg-orange); transform: scaleX(0); transition: transform .45s var(--hg-ease); }
.hg-subnav__list a[aria-current="page"]::after { transform: scaleX(1); }
.hg-subnav__list a[aria-current="page"] { border-bottom-color: transparent; }
.hg-subnav { position: sticky; top: 84px; z-index: 50; }
.admin-bar .hg-subnav { top: 116px; }
@media (max-width: 782px) { .admin-bar .hg-subnav { top: 84px; } }
@media (max-width: 600px) { .hg-subnav { top: 72px; } }
.hg-swap { transition: opacity .35s var(--hg-ease-io), transform .5s var(--hg-ease); }
.hg-swap.is-leaving { opacity: 0; transform: translateY(14px); }
.hg-swap.is-entering { opacity: 0; transform: translateY(-10px); transition: none; }
.hg-swap.is-loading { cursor: progress; }
@media (min-width: 901px) { .hg-biz-hero > .hg-split { min-height: 470px; } }

/* ==========================================================================
   Home – Our Businesses (scroll-locked)
   ========================================================================== */
.hg-pin-wrap { position: relative; background: #121214; color: #fff; --hg-pin-top: 84px; }
.hg-pin { position: sticky; top: var(--hg-pin-top); height: calc(100vh - var(--hg-pin-top)); min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hg-pin__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.hg-pin__eyebrow { color: var(--hg-orange-light); }
.hg-pin__title { font-size: clamp(32px, 3.4vw, 46px); font-weight: 600; line-height: 1.12; margin: 10px 0 30px; white-space: pre-line; }
.hg-pin__list-wrap { position: relative; }
.hg-pin__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.hg-pin__list li { border-bottom: 1px solid rgba(255,255,255,.12); }
.hg-pin__list button { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; display: flex; align-items: baseline; gap: 20px; padding: 14px 0; font-family: var(--hg-font); font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; color: rgba(255,255,255,.4); transition: color .5s var(--hg-ease), padding-left .5s var(--hg-ease); }
.hg-pin__list button small { width: 24px; font-size: 12px; color: rgba(255,255,255,.35); transition: color .5s var(--hg-ease); }
.hg-pin__list button:hover { color: rgba(255,255,255,.75); }
.hg-pin__list button[aria-current="true"] { color: #fff; padding-left: 14px; }
.hg-pin__list button[aria-current="true"] small { color: var(--hg-orange-light); }
.hg-pin__list button:focus-visible { outline: 3px solid var(--hg-orange); outline-offset: -3px; }
.hg-pin__marker { position: absolute; left: 0; top: 0; width: 3px; height: 30px; background: var(--hg-orange); border-radius: 2px; transition: transform .6s var(--hg-ease), height .6s var(--hg-ease); pointer-events: none; }
.hg-pin__progress { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.hg-pin__bar { flex: 1; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.hg-pin__bar span { display: block; height: 100%; background: var(--hg-orange); transform-origin: left; transform: scaleX(0); }
.hg-pin__stage { position: relative; height: min(calc(100vh - var(--hg-pin-top) - 120px), 600px); min-height: 460px; border-radius: 22px; overflow: hidden; background: #000; isolation: isolate; }
.hg-pin__photo { position: absolute; inset: 0; opacity: 0; transform: scale(1.12); transition: opacity 1s var(--hg-ease-io), transform 1.6s var(--hg-ease); }
.hg-pin__photo img { width: 100%; height: 100%; object-fit: cover; }
.hg-pin__photo.is-on { opacity: 1; transform: scale(1); }
.hg-pin__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 28%, rgba(0,0,0,.86) 100%); pointer-events: none; }
.hg-pin__info { position: absolute; left: 40px; right: 40px; bottom: 40px; z-index: 2; }
.hg-pin__item { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 14px; pointer-events: none; }
.hg-pin__item.is-on { position: relative; pointer-events: auto; }
.hg-pin__item > * { opacity: 0; transform: translateY(18px); transition: opacity .4s var(--hg-ease), transform .6s var(--hg-ease); }
.hg-pin__item.is-on > * { opacity: 1; transform: none; }
.hg-pin__item.is-on > :nth-child(2) { transition-delay: .06s; }
.hg-pin__item.is-on > :nth-child(3) { transition-delay: .12s; }
.hg-pin__item.is-on > :nth-child(4) { transition-delay: .18s; }
.hg-pin__item.is-on > :nth-child(5) { transition-delay: .24s; }
.hg-pin__logo { align-self: flex-start; background: #fff; border-radius: 10px; padding: 10px 16px; min-height: 52px; display: flex; align-items: center; }
.hg-pin__logo img { height: 32px; width: auto; }
.hg-pin__tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #f1e6da; }
.hg-pin__item h3 { font-size: clamp(24px, 2.3vw, 32px); font-weight: 600; }
.hg-pin__item p { font-size: 15px; line-height: 1.7; color: #e8e8e8; max-width: 580px; }
.hg-pin__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hg-pin__hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); transition: opacity .4s; }
.hg-pin__hint i { width: 1px; height: 26px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.6)); animation: hgDrip 1.8s var(--hg-ease) infinite; }
@keyframes hgDrip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hg-pin-wrap.is-started .hg-pin__hint { opacity: 0; }
.js .hg-pin-rv { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--hg-ease), transform 1s var(--hg-ease); }
.hg-pin-wrap.is-in .hg-pin-rv { opacity: 1; transform: none; }
.hg-pin-wrap.is-in .hg-pin__head > :nth-child(2) { transition-delay: .08s; }
.hg-pin-wrap.is-in .hg-pin__head > :nth-child(3) { transition-delay: .16s; }
.hg-pin-wrap.is-in .hg-pin__head > :nth-child(4) { transition-delay: .24s; }
.hg-pin-wrap.is-in .hg-pin__stage { transition-delay: .12s; }
@media (max-width: 900px) {
	.hg-pin-wrap { height: auto !important; }
	.hg-pin { position: relative; top: 0; height: auto; min-height: 0; padding: 72px 0; }
	.hg-pin__grid { grid-template-columns: 1fr; gap: 24px; }
	.hg-pin__title { margin-bottom: 18px; }
	.hg-pin__list { display: flex; gap: 8px; overflow-x: auto; border: 0; padding-bottom: 6px; scrollbar-width: none; }
	.hg-pin__list::-webkit-scrollbar { display: none; }
	.hg-pin__list li { border: 0; flex: none; }
	.hg-pin__list button { padding: 10px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 14px; }
	.hg-pin__list button small { display: none; }
	.hg-pin__list button[aria-current="true"] { padding-left: 16px; background: var(--hg-orange); border-color: var(--hg-orange); }
	.hg-pin__marker, .hg-pin__progress, .hg-pin__hint { display: none; }
	.hg-pin__stage { height: 540px; min-height: 0; }
	.hg-pin__info { left: 22px; right: 22px; bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.js .hg-rv, .js .hg-pin-rv { opacity: 1; transform: none; }
	@view-transition { navigation: none; }
}
.hg-pin__grid > * { min-width: 0; }

/* Our Businesses (pinned): fit any laptop screen height – sizes scale with the viewport height */
.hg-pin { min-height: 0; padding-block: clamp(16px, 3vh, 40px); align-items: safe center; }
.hg-pin__title { font-size: clamp(26px, min(3.4vw, 5.4vh), 46px); margin: clamp(6px, 1.2vh, 10px) 0 clamp(12px, 3vh, 30px); }
.hg-pin__eyebrow { font-size: clamp(11px, 1.6vh, 14px); }
.hg-pin__list button { padding: clamp(6px, 1.5vh, 14px) 0; font-size: clamp(15px, min(1.6vw, 2.7vh), 22px); }
.hg-pin__progress { margin-top: clamp(10px, 2.6vh, 26px); }
.hg-pin__stage { height: min(calc(100vh - var(--hg-pin-top) - clamp(32px, 6vh, 80px)), 620px); min-height: 0; }
.hg-pin__item p { font-size: clamp(13px, 1.9vh, 15px); }
.hg-pin__item h3 { font-size: clamp(20px, min(2.3vw, 3.8vh), 32px); }
.hg-pin__logo { min-height: 0; padding: clamp(6px, 1.2vh, 10px) 14px; }
.hg-pin__logo img { height: clamp(22px, 4vh, 32px); }
.hg-pin__info { bottom: clamp(20px, 4vh, 40px); }
@media (max-height: 640px) { .hg-pin__hint { display: none; } }
/* Very short windows: don't lock scrolling, show the section normally */
.hg-pin-wrap.is-static { height: auto !important; }
.hg-pin-wrap.is-static .hg-pin { position: relative; top: 0; height: auto; padding-block: 72px; }
.hg-pin-wrap.is-static .hg-pin__stage { height: 520px; }
.hg-pin-wrap.is-static .hg-pin__progress, .hg-pin-wrap.is-static .hg-pin__hint { display: none; }
@media (max-width: 900px) { .hg-pin__stage { height: 540px; } .hg-pin__list button { padding: 10px 16px; font-size: 14px; } .hg-pin { padding-block: 72px; } }

/* Home hero slider – responsive layout + autoplay progress on the active dot */
.hg-slide__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); min-height: 0; padding-block: clamp(40px, 5vw, 64px) clamp(80px, 8vw, 100px); }
.hg-slide__title { font-size: clamp(30px, 3.4vw, 48px); }
.hg-slide__media { width: 100%; max-width: 620px; aspect-ratio: 6 / 5; justify-self: end; display: flex; align-items: center; justify-content: center; }
.hg-slide__media img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
.hg-hero__dots { bottom: clamp(28px, 3vw, 40px); }
.hg-hero__dots-inner { width: min(620px, 50%); gap: 2px; }
.hg-dot { position: relative; width: 40px; }
.hg-dot[aria-current="true"]::before { width: 30px; background: #e2dedf; }
.hg-dot::after { content: ""; position: absolute; left: 5px; top: 50%; width: 30px; height: 11px; margin-top: -5.5px; border-radius: 999px; background: var(--hg-orange); transform: scaleX(0); transform-origin: left; opacity: 0; }
.hg-dot[aria-current="true"]::after { opacity: 1; animation: hgDotFill var(--hg-slide-delay, 4.5s) linear forwards; }
.hg-hero.is-paused .hg-dot[aria-current="true"]::after { animation-play-state: paused; }
@keyframes hgDotFill { to { transform: scaleX(1); } }
@media (max-width: 1100px) { .hg-slide__text { font-size: 14px; } }
@media (max-width: 900px) {
	.hg-slide__inner { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 80px; }
	.hg-slide__text { max-width: none; }
	.hg-slide__media { justify-self: center; max-width: 540px; }
	.hg-hero__dots-inner { width: 100%; }
}
@media (max-width: 600px) {
	.hg-slide__inner { padding-block: 28px 72px; gap: 22px; }
	.hg-slide__title { font-size: 30px; margin-bottom: 14px; }
	.hg-slide__text { font-size: 14.5px; margin-bottom: 22px; }
	.hg-slide__actions { gap: 10px; }
	.hg-slide__actions .hg-btn { flex: 1 1 140px; }
	.hg-slide__media { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hg-dot[aria-current="true"]::after { animation: none; transform: scaleX(1); } }
.hg-who__media, .hg-stats__media { overflow: hidden; }
html, body { overflow-x: clip; }
@media (max-width: 600px) { .hg-slide__actions .hg-btn { flex: 1 1 auto; white-space: nowrap; padding-inline: 16px; } }

/* Our Leadership page */
.hg-leaders { display: grid; gap: clamp(64px, 9vw, 120px); }
.hg-leader { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hg-leader--flip .hg-leader__photo { order: 2; }
.hg-leader__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: linear-gradient(150deg, #fff3e6 0%, #f3e3d1 100%); }
.hg-leader__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--hg-ease); }
.hg-leader:hover .hg-leader__photo img { transform: scale(1.03); }
.hg-leader__monogram { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: clamp(64px, 9vw, 120px); font-weight: 600; letter-spacing: .04em; color: rgba(217, 106, 12, .55); }
.hg-leader__badge { position: absolute; left: 20px; bottom: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; color: var(--hg-ink); }
.hg-leader__name { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; margin-bottom: 26px; }
.hg-leader__quote { position: relative; margin: 0 0 26px; padding: 4px 0 4px 28px; border-left: 3px solid var(--hg-orange); }
.hg-leader__quote .hg-quote-mark { color: var(--hg-orange); opacity: .2; position: absolute; left: 24px; top: -14px; }
.hg-leader__quote p { position: relative; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; font-weight: 500; color: var(--hg-ink); }
.hg-leader__bio { font-size: 16px; line-height: 1.8; color: var(--hg-text); max-width: 640px; }
.hg-leader__bio p + p { margin-top: 16px; }
@media (max-width: 860px) {
	.hg-leader { grid-template-columns: 1fr; }
	.hg-leader--flip .hg-leader__photo { order: 0; }
	.hg-leader__photo { max-width: 420px; aspect-ratio: 1 / 1; }
}
@media (min-width: 861px) { .hg-leader--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

/* Awards page */
.hg-awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 28px; }
.hg-award { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.hg-award__frame { all: unset; box-sizing: border-box; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; aspect-ratio: 3 / 4; padding: 22px; background: #fff; border-radius: 16px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.05); cursor: zoom-in; overflow: hidden; transition: transform .45s var(--hg-ease), box-shadow .45s var(--hg-ease); }
.hg-award__frame img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--hg-ease); }
.hg-award__frame:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(0,0,0,.1); }
.hg-award__frame:hover img { transform: scale(1.03); }
.hg-award__frame:focus-visible { outline: 3px solid var(--hg-orange); outline-offset: 3px; }
.hg-award__zoom { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--hg-orange); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--hg-ease); }
.hg-award__frame:hover .hg-award__zoom, .hg-award__frame:focus-visible .hg-award__zoom { opacity: 1; transform: none; }
.hg-award__frame--empty { cursor: default; color: #d4a379; background: linear-gradient(160deg, #fffaf4, #f6eadc); border: 1.5px dashed #e6cdb3; box-shadow: none; font-size: 13px; font-weight: 500; }
.hg-award__frame--empty:hover { transform: none; box-shadow: none; }
.hg-award figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: baseline; }
.hg-award__num { grid-row: span 2; font-size: 13px; font-weight: 600; color: var(--hg-orange); }
.hg-award figcaption strong { font-size: 16px; font-weight: 600; line-height: 1.35; }
.hg-award figcaption small { font-size: 13px; color: var(--hg-muted); }
.hg-lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 92vh; overflow: visible; }
.hg-lightbox::backdrop { background: rgba(10, 10, 12, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hg-lightbox[open] { animation: hgUp .45s var(--hg-ease); }
.hg-lightbox img { display: block; max-width: 100%; max-height: 88vh; border-radius: 12px; background: #fff; }
.hg-lightbox__close { position: absolute; top: -18px; right: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--hg-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25); }

/* Worldwide presence page */
.hg-presence { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
.hg-offices { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hg-office { background: #fff; border-radius: 14px; border: 1.5px solid transparent; transition: border-color .35s, box-shadow .35s var(--hg-ease); }
.hg-office.is-active { border-color: var(--hg-orange); box-shadow: 0 14px 34px rgba(0,0,0,.07); }
.hg-office__head { all: unset; box-sizing: border-box; width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; color: var(--hg-ink); font-family: var(--hg-font); }
.hg-office__head:focus-visible { outline: 3px solid var(--hg-orange); outline-offset: 2px; border-radius: 14px; }
.hg-office__head > .hg-icon { margin-left: auto; color: #c9c3be; transition: color .3s; flex: none; }
.hg-office.is-active .hg-office__head > .hg-icon { color: var(--hg-orange); }
.hg-office__code { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--hg-cream); color: #b85a06; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; letter-spacing: .04em; transition: background .3s, color .3s; }
.hg-office.is-active .hg-office__code { background: var(--hg-orange); color: #fff; }
.hg-office__title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hg-office__title strong { font-size: 17px; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hg-office__title small { font-size: 13px; color: var(--hg-muted); }
.hg-office__hq { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--hg-tint); color: #a24f05; }
.hg-office__body { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows .5s var(--hg-ease); }
.hg-office__body > * { min-height: 0; }
.hg-office.is-active .hg-office__body { grid-template-rows: 1fr; }
.hg-office__body { padding: 0 20px 0 82px; }
.hg-office__body-inner { overflow: hidden; }
.hg-office__body p { font-size: 15px; line-height: 1.65; color: var(--hg-text); }
.hg-office__body p a { color: var(--hg-text); text-decoration: none; }
.hg-office__body p a:hover { color: var(--hg-link); }
.hg-office__body .hg-link-arrow { min-height: 0; margin: 8px 0 18px; font-size: 14px; }
.hg-presence__map { position: sticky; top: 110px; border-radius: 18px; overflow: hidden; background: #dcd6d0; aspect-ratio: 4 / 3; box-shadow: 0 14px 34px rgba(0,0,0,.07); }
.hg-presence__map iframe { width: 100%; height: 100%; border: 0; display: block; transition: opacity .35s var(--hg-ease-io); }
.hg-presence__map.is-loading iframe { opacity: .25; }
@media (max-width: 900px) {
	.hg-presence { grid-template-columns: 1fr; }
	.hg-presence__map { position: relative; top: 0; order: -1; aspect-ratio: 16 / 11; }
	.hg-office__body { padding-left: 20px; }
}

/* Worldwide presence – dotted world map hero */
.hg-globe { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 60% 30%, #1d2230 0%, #101218 55%, #0b0c10 100%); padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 72px); }
.hg-globe::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 40% at 64% 52%, rgba(239,123,23,.16), transparent 70%); pointer-events: none; }
.hg-globe .hg-container { position: relative; }
.hg-globe__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "crumb crumb" "title facts" "intro facts"; column-gap: 48px; row-gap: 14px; align-items: end; margin-bottom: clamp(24px, 4vw, 48px); }
.hg-globe__head .hg-breadcrumb { grid-area: crumb; color: rgba(255,255,255,.6); }
.hg-globe__head .hg-breadcrumb [aria-current] { color: #fff; }
.hg-globe__head h1 { grid-area: title; font-size: clamp(36px, 5vw, 60px); font-weight: 600; line-height: 1.05; }
.hg-globe__intro { grid-area: intro; max-width: 560px; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,.75); }
.hg-globe__facts { grid-area: facts; list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 3vw, 44px); }
.hg-globe__facts li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 1px solid rgba(255,255,255,.18); }
.hg-globe__facts strong { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; color: #fff; line-height: 1.1; }
.hg-globe__facts span { font-size: 13px; color: rgba(255,255,255,.6); }
.hg-globe__map { position: relative; aspect-ratio: 2000 / 788; }
.hg-globe__dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .16; }
.hg-globe__arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hg-globe__arc { fill: none; stroke: rgba(245,154,69,.55); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke .3s, stroke-width .3s; }
.hg-globe__arc.is-hot { stroke: var(--hg-orange-light); stroke-width: 2.5; }
.hg-globe__flow { fill: none; stroke: #ffd2a6; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: .05 .95; stroke-dashoffset: 1; opacity: 0; }
.hg-globe.is-in .hg-globe__arc { animation: hgDraw 1.6s var(--hg-ease) var(--d, 0s) forwards; }
.hg-globe.is-in .hg-globe__flow { animation: hgFlow 3.2s linear var(--d, 0s) infinite; }
@keyframes hgDraw { to { stroke-dashoffset: 0; } }
@keyframes hgFlow { 0% { stroke-dashoffset: 1; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.hg-pin-dot { all: unset; position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--hg-orange); box-shadow: 0 0 0 4px rgba(239,123,23,.25), 0 0 18px rgba(239,123,23,.8); cursor: pointer; opacity: 0; transform: scale(.3); transition: opacity .5s var(--hg-ease), transform .6s var(--hg-ease), box-shadow .3s; transition-delay: var(--d, 0s); z-index: 2; }
.hg-globe.is-in .hg-pin-dot { opacity: 1; transform: none; }
.hg-pin-dot--hq { width: 18px; height: 18px; margin: -9px 0 0 -9px; background: #fff; box-shadow: 0 0 0 5px rgba(239,123,23,.55), 0 0 24px rgba(239,123,23,.9); }
.hg-pin-dot:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hg-pin-dot__ring { position: absolute; inset: -10px; border-radius: 50%; border: 1.5px solid rgba(245,154,69,.7); animation: hgPulse 2.4s var(--hg-ease) infinite; animation-delay: var(--d, 0s); }
@keyframes hgPulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.hg-pin-dot__label { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap; display: flex; flex-direction: column; padding: 7px 12px; border-radius: 10px; background: rgba(17,19,25,.78); border: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 11px; color: rgba(255,255,255,.65); line-height: 1.35; transition: background .3s, border-color .3s, transform .4s var(--hg-ease); }
.hg-pin-dot__label strong { font-size: 13px; font-weight: 600; color: #fff; }
.hg-pin-dot--left .hg-pin-dot__label { left: auto; right: 22px; }
.hg-pin-dot.is-hot .hg-pin-dot__label, .hg-pin-dot:hover .hg-pin-dot__label { background: var(--hg-orange); border-color: var(--hg-orange); color: #fff; }
.hg-pin-dot.is-hot, .hg-pin-dot:hover { box-shadow: 0 0 0 7px rgba(239,123,23,.35), 0 0 28px rgba(239,123,23,1); }

/* Office cards */
.hg-office-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.hg-office-card { position: relative; background: #fff; border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 10px; border: 1.5px solid transparent; transition: border-color .35s, transform .45s var(--hg-ease), box-shadow .45s var(--hg-ease); }
.hg-office-card:hover, .hg-office-card.is-hot { border-color: var(--hg-orange); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.hg-office-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.hg-office-card__code { width: 46px; height: 46px; border-radius: 12px; background: var(--hg-cream); color: #b85a06; display: flex; align-items: center; justify-content: center; font-weight: 700; letter-spacing: .04em; transition: background .3s, color .3s; }
.hg-office-card:hover .hg-office-card__code, .hg-office-card.is-hot .hg-office-card__code, .hg-office-card--hq .hg-office-card__code { background: var(--hg-orange); color: #fff; }
.hg-office-card__hq { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--hg-tint); color: #a24f05; }
.hg-office-card h3 { font-size: 20px; font-weight: 600; }
.hg-office-card__city { font-size: 13px; color: var(--hg-muted); margin-bottom: 6px; }
.hg-office-card__line { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 14.5px; line-height: 1.6; color: var(--hg-text); }
.hg-office-card__line .hg-icon { margin-top: 3px; color: #d96a0c; }
.hg-office-card__line a { color: var(--hg-text); text-decoration: none; }
.hg-office-card__line a:hover { color: var(--hg-link); }
.hg-office-card__dir { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; text-decoration: none; }
.hg-office-card__dir .hg-icon { transition: transform .35s var(--hg-ease); }
.hg-office-card__dir:hover .hg-icon { transform: translate(2px, -2px); }
@media (max-width: 900px) {
	.hg-globe__head { grid-template-columns: 1fr; grid-template-areas: "crumb" "title" "intro" "facts"; }
	.hg-globe__facts { margin-top: 10px; }
	.hg-pin-dot__label { display: none; }
	.hg-pin-dot.is-hot .hg-pin-dot__label { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
	.hg-globe__arc { stroke-dashoffset: 0; } .hg-globe__flow { display: none; } .hg-pin-dot { opacity: 1; transform: none; } .hg-pin-dot__ring { animation: none; display: none; }
}
.hg-pin-dot--below .hg-pin-dot__label { left: 50%; top: 26px; transform: translateX(-50%); }
@media (max-width: 600px) {
	.hg-globe__map { width: 175%; margin-left: -48%; }
	.hg-globe__dots { opacity: .22; }
	.hg-globe__facts { flex-wrap: wrap; gap: 16px 20px; }
}

/* Worldwide presence – light version that matches the rest of the site */
.hg-globe { background: var(--hg-bg); color: var(--hg-ink); padding: var(--hg-section) 0; }
.hg-globe::before { display: none; }
.hg-globe__head { display: flex; grid-template-columns: none; grid-template-areas: none; margin-bottom: clamp(24px, 4vw, 40px); }
.hg-globe__facts li { border-left-color: var(--hg-line); }
.hg-globe__facts strong { color: var(--hg-ink); }
.hg-globe__facts span { color: var(--hg-muted); }
.hg-globe__map { background: #fff; border-radius: 22px; padding: clamp(16px, 3vw, 40px); box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 14px 40px rgba(0,0,0,.05); aspect-ratio: auto; }
.hg-globe__canvas { position: relative; aspect-ratio: 2000 / 788; }
.hg-globe__dots { filter: brightness(0); opacity: .14; }
.hg-globe__arc { stroke: rgba(239,123,23,.6); }
.hg-globe__flow { stroke: var(--hg-orange); }
.hg-pin-dot { box-shadow: 0 0 0 4px rgba(239,123,23,.2); }
.hg-pin-dot--hq { background: var(--hg-orange); box-shadow: 0 0 0 5px rgba(239,123,23,.28); }
.hg-pin-dot__ring { border-color: rgba(239,123,23,.55); }
.hg-pin-dot__label { background: #fff; border: 1px solid var(--hg-line); color: var(--hg-muted); box-shadow: 0 8px 22px rgba(0,0,0,.08); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hg-pin-dot__label strong { color: var(--hg-ink); }
.hg-pin-dot.is-hot .hg-pin-dot__label, .hg-pin-dot:hover .hg-pin-dot__label { color: #fff; }
.hg-pin-dot.is-hot .hg-pin-dot__label strong, .hg-pin-dot:hover .hg-pin-dot__label strong { color: #fff; }
.hg-pin-dot.is-hot, .hg-pin-dot:hover { box-shadow: 0 0 0 7px rgba(239,123,23,.28); }
.hg-section--white .hg-office-card { background: var(--hg-bg); }
@media (max-width: 600px) { .hg-globe__map { overflow: hidden; } .hg-globe__dots { opacity: .2; } }
@media (max-width: 600px) { .hg-globe__map { width: auto; margin-left: 0; padding: 12px; } .hg-globe__canvas { width: 175%; margin-left: -48%; } }

/* Manpower services page */
.hg-mp-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); }
.hg-mp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hg-mp-hero__text { display: flex; flex-direction: column; gap: 20px; }
.hg-mp-hero__text h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1.12; }
.hg-mp-hero__text p { font-size: 15.5px; line-height: 1.8; color: var(--hg-text); max-width: 600px; }
.hg-mp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hg-mp-hero__text > * { animation: hgUp .9s var(--hg-ease) both; }
.hg-mp-hero__text > :nth-child(2) { animation-delay: .08s; } .hg-mp-hero__text > :nth-child(3) { animation-delay: .16s; } .hg-mp-hero__text > :nth-child(4) { animation-delay: .24s; }
.hg-mp-hero__media { display: flex; flex-direction: column; gap: 12px; }
.hg-mp-hero__main { aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: linear-gradient(150deg, #fff3e6, #f1e2d1); animation: hgUp 1.1s var(--hg-ease) .15s both; }
.hg-mp-hero__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hg-mp-hero__thumb { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: linear-gradient(150deg, #fff3e6, #f1e2d1); animation: hgUp 1s var(--hg-ease) var(--d, .3s) both; }
.hg-mp-hero__main img, .hg-mp-hero__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--hg-ease); }
.hg-mp-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #d4a379; font-size: 13px; font-weight: 500; }
.hg-mp-facts li { border-left-color: var(--hg-line); }
.hg-mp-facts strong { color: var(--hg-ink); }
.hg-mp-facts span { color: var(--hg-muted); }
.hg-mp-list { border-top: 1px solid var(--hg-line); }
.hg-mp-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: 28px 0; border-bottom: 1px solid var(--hg-line); align-items: start; }
.hg-mp-row__cat { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-items: center; }
.hg-mp-row__icon { grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; background: var(--hg-cream); color: #d96a0c; display: flex; align-items: center; justify-content: center; }
.hg-mp-row__cat h3 { font-size: 19px; font-weight: 600; }
.hg-mp-row__count { font-size: 13px; color: var(--hg-muted); }
.hg-mp-row__roles { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hg-mp-row__roles li { padding: 7px 14px; border-radius: 999px; background: var(--hg-bg); border: 1px solid var(--hg-line); font-size: 14px; color: var(--hg-ink); }
.hg-mp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding: 26px 30px; border-radius: 16px; background: var(--hg-cream); }
.hg-mp-foot p { font-size: 16px; font-weight: 500; }
@media (max-width: 900px) {
	.hg-mp-hero__grid { grid-template-columns: 1fr; }
	.hg-mp-row { grid-template-columns: 1fr; gap: 16px; padding: 24px 4px; }
}

/* Manpower rows: entrance sequence (divider draws, category slides in, role tags cascade) */
.hg-mp-list { border-top: 0; }
.hg-mp-row { position: relative; border-bottom: 0; }
.hg-mp-row::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hg-line); transform-origin: left; }
.hg-mp-list::before { content: ""; display: block; height: 1px; background: var(--hg-line); }
.js .hg-mp-row::after { transform: scaleX(0); transition: transform 1.1s var(--hg-ease); }
.js .hg-mp-row__icon { opacity: 0; transform: scale(.6); transition: opacity .5s var(--hg-ease), transform .7s cubic-bezier(.34, 1.56, .64, 1); }
.js .hg-mp-row__cat h3, .js .hg-mp-row__count { opacity: 0; transform: translateX(-18px); transition: opacity .6s var(--hg-ease), transform .8s var(--hg-ease); }
.js .hg-mp-row__count { transition-delay: .1s; }
.js .hg-mp-row__roles li { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--hg-ease), transform .6s var(--hg-ease); transition-delay: calc(.25s + var(--i, 0) * 60ms); }
.hg-mp-row.is-in::after { transform: scaleX(1); }
.hg-mp-row.is-in .hg-mp-row__icon, .hg-mp-row.is-in .hg-mp-row__cat h3, .hg-mp-row.is-in .hg-mp-row__count, .hg-mp-row.is-in .hg-mp-row__roles li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .hg-mp-row::after, .js .hg-mp-row__icon, .js .hg-mp-row__cat h3, .js .hg-mp-row__count, .js .hg-mp-row__roles li { opacity: 1; transform: none; transition: none; }
}

/* Manpower rows: hover = orange line sweeps the divider, icon redraws itself, role tags light up in a wave */
.hg-mp-row::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hg-orange); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--hg-ease); z-index: 1; }
.hg-mp-row.is-in .hg-mp-row__icon { transition: opacity .5s var(--hg-ease), transform .7s cubic-bezier(.34, 1.56, .64, 1), color .4s; }
.hg-mp-row__icon .hg-icon * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hg-mp-row.is-in .hg-mp-row__roles li { transition: opacity .45s var(--hg-ease), transform .6s var(--hg-ease), border-color .3s, color .3s; transition-delay: 0s; }
@media (hover: hover) {
	.hg-mp-row:hover::before { transform: scaleX(1); transform-origin: left; }
	.hg-mp-row:hover .hg-mp-row__icon .hg-icon * { animation: hgIconDraw .9s var(--hg-ease) both; }
	.hg-mp-row.is-in:hover .hg-mp-row__roles li { border-color: rgba(239, 123, 23, .55); transition-delay: calc(var(--i, 0) * 45ms); }
}
@keyframes hgIconDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .hg-mp-row:hover .hg-mp-row__icon .hg-icon * { animation: none; } }

/* Manpower rows: subtle hover – thin line sweep only */
.hg-mp-row::before { height: 1px; background: rgba(239, 123, 23, .7); transition: transform .7s var(--hg-ease); }
.hg-mp-row:hover .hg-mp-row__icon .hg-icon * { animation: none !important; }
.hg-mp-row.is-in:hover .hg-mp-row__roles li { border-color: var(--hg-line) !important; }
.hg-mp-row__cat h3 { transition: color .4s var(--hg-ease); }
@media (hover: hover) { .hg-mp-row.is-in:hover .hg-mp-row__cat h3 { color: #b85a06; } }
.hg-pin-dot--left .hg-pin-dot__label { left: auto; right: 22px; top: 50%; transform: translateY(-50%); }
.hg-pin-dot--above .hg-pin-dot__label { left: 50%; top: auto; bottom: 26px; transform: translateX(-50%); }

/* ===== Live-site content (v1.2) ===== */
.hg-post-card__logo { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 8px; padding: 8px 12px; box-shadow: 0 4px 14px rgba(0,0,0,.12); display: flex; align-items: center; max-width: 60%; }
.hg-post-card__logo img { width: auto !important; height: 32px !important; max-width: 100%; object-fit: contain; transform: none !important; }
.hg-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.hg-gallery__item { display: block; padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #e9e6e7; cursor: zoom-in; }
.hg-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hg-ease), opacity .3s; }
.hg-gallery__item:hover img { transform: scale(1.04); }
.hg-gallery__item:focus-visible { outline: 3px solid var(--hg-orange); outline-offset: 2px; }
.hg-lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--hg-ink); display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.hg-lightbox.has-nav .hg-lightbox__nav { display: flex; }
.hg-lightbox__nav--prev { left: max(12px, calc(50vw - 520px)); }
.hg-lightbox__nav--next { right: max(12px, calc(50vw - 520px)); }
.hg-lightbox__nav:hover { background: var(--hg-orange); color: #fff; }
.hg-video-grid { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }
.hg-video-card.is-playing, .hg-media-card.is-playing { background: #000; }
.hg-yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hg-job h3 a { color: inherit; text-decoration: none; }
.hg-job h3 a:hover { color: var(--hg-link); }
.hg-job-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hg-job-chips li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--hg-line, #e4e1e2); font-size: 14px; font-weight: 500; }
.hg-social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; }
.hg-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #d9d5d6; display: flex; align-items: center; justify-content: center; color: var(--hg-ink); transition: background .25s, color .25s, border-color .25s; }
.hg-social a:hover { background: var(--hg-orange); border-color: var(--hg-orange); color: #fff; }
.hg-admin-note { padding: 12px 16px; border-radius: 8px; background: #fff7e6; border: 1px dashed #e0a43a; font-size: 14px; }
.hg-job-chips--skills li { background: var(--hg-cream, #fff6ee); border-color: transparent; color: #8a4508; }
/* Pinned businesses: the list scales down when there are more than 7 businesses so it always fits the screen. */
@media (min-width: 901px) {
	.hg-pin-wrap--many .hg-pin__list button { padding: clamp(4px, calc(10.5vh / var(--hg-pin-steps)), 14px) 0; font-size: clamp(14px, min(1.6vw, calc(18.9vh / var(--hg-pin-steps))), 21px); }
	.hg-pin-wrap--many .hg-pin__title { margin-bottom: clamp(10px, 2.2vh, 26px); }
}
