/**
 * Honarbaan — complete gallery / cultural institution UI.
 */

:root {
	--bg: #f7f3ec;
	--sand: #efe6d8;
	--surface: #ffffff;
	--ink: #171311;
	--ink-soft: #5d554d;
	--line: #e2d6c8;
	--accent: #ce9d3a;
	--accent-dark: #a67e2f;
	--navy: #1b3544;
	--gold: #ce9d3a;
	--max: 1160px;
	--font: "Vazirmatn", "Segoe UI", sans-serif;
	--radius: 16px;
	--paper: var(--surface);
	--stone: var(--bg);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	min-height: 100%;
	background: #12252f;
}

html:has(body.home) {
	scroll-snap-type: y proximity;
}

body.honarbaan-theme {
	margin: 0;
	min-height: 100%;
	min-height: 100dvh;
	min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
	display: flex;
	flex-direction: column;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: #12252f;
}

.hb-header,
.hb-main {
	flex-shrink: 0;
}

.hb-main {
	flex: 1 0 auto;
	width: 100%;
	background: var(--bg);
	padding-top: 88px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.hb-wrap {
	width: min(100% - 2.75rem, var(--max));
	margin-inline: auto;
}

.hb-wrap--wide {
	width: min(100% - 2.75rem, 1240px);
}

.hb-proj-page {
	padding: 1.25rem 0 3.5rem;
	background: #f7f3ec;
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.hb-eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}
.hb-eyebrow--light { color: var(--gold); }

.hb-text-link {
	display: inline-block;
	margin-top: 1rem;
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--accent);
	border-bottom: 1px solid currentColor;
}

/* Header */
.hb-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 243, 236, 0.94);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--line);
}

.hb-header--overlay {
	position: fixed;
	inset-inline: 0;
	top: 0;
	background: linear-gradient(180deg, rgba(12, 10, 9, 0.55) 0%, transparent 100%);
	border-bottom: 0;
	backdrop-filter: none;
	transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}

.hb-header--overlay.hb-header--solid,
.hb-header--overlay:hover,
.hb-header--overlay:focus-within {
	background: rgba(15, 13, 11, 0.92);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hb-header__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
	min-height: 76px;
}

.hb-header--overlay .hb-header__inner {
	min-height: 88px;
}

.hb-header__inner > .hb-logo {
	justify-self: start;
	flex-shrink: 0;
}

.hb-logo--mark {
	padding: 0;
	background: none;
	box-shadow: none;
	border-radius: 0;
}

.hb-logo--mark:hover {
	transform: none;
	box-shadow: none;
	opacity: 0.92;
}

.hb-logo--mark img {
	width: 52px;
	height: 52px;
}

.hb-header--overlay .hb-nav__list > .hb-nav__item > a {
	color: rgba(255, 255, 255, 0.92);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: none;
}

.hb-header--overlay .hb-nav__list > .hb-nav__item > a:hover,
.hb-header--overlay .hb-nav__list > .hb-nav__item:hover > a,
.hb-header--overlay .hb-nav__list > .hb-nav__item.is-current > a,
.hb-header--overlay .hb-nav__list > .hb-nav__item.current-menu-item > a,
.hb-header--overlay .hb-nav__list > .hb-nav__item.current-menu-parent > a {
	background: var(--accent);
	color: #fff;
	font-size: 1.05rem;
}

.hb-header--overlay .hb-icon-btn {
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.hb-header--overlay .hb-langs span,
.hb-header--overlay .hb-langs a {
	color: rgba(255, 255, 255, 0.85);
}

.hb-header--overlay .hb-burger {
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.06);
}

.hb-header--overlay .hb-burger i {
	background: #fff;
}

.hb-logo--pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.45rem 1.05rem 0.45rem 0.85rem;
	background: var(--accent);
	border-radius: 999px;
	color: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hb-logo--pill:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
	color: #fff;
}

.hb-logo--pill img {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.hb-logo--pill strong {
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.hb-logo--pill small {
	font-size: 0.48rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.88);
}

.hb-logo {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	flex-shrink: 0;
	color: var(--ink);
}
.hb-logo img { width: 40px; height: 40px; object-fit: contain; }
.hb-logo span { display: flex; flex-direction: column; line-height: 1.15; }
.hb-logo strong { font-size: 0.98rem; }
.hb-logo small {
	font-size: 0.58rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

.hb-nav { justify-self: center; }
.hb-nav__list {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: nowrap;
}
.hb-nav__item { position: relative; }
.hb-nav__item > a {
	display: block;
	padding: 0.52rem 0.9rem;
	border-radius: 999px;
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--ink-soft);
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease, font-size 0.2s ease;
}
.hb-nav__item--has-sub > a::after {
	content: "";
	display: inline-block;
	width: 0;
	height: 0;
	margin-inline-start: 0.42em;
	border-inline-start: 4px solid transparent;
	border-inline-end: 4px solid transparent;
	border-top: 4px solid currentColor;
	vertical-align: middle;
	opacity: 0.72;
}
.hb-nav__item > a:hover,
.hb-nav__item:hover > a,
.hb-nav__item.is-current > a,
.hb-nav__item.current-menu-item > a,
.hb-nav__item.current-menu-parent > a,
.hb-nav__item.current-menu-ancestor > a {
	background: var(--accent);
	color: #fff;
	font-size: 1.12rem;
}

.hb-nav__dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 260px;
	margin: 0;
	padding: 0.55rem 0;
	list-style: none;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(23, 19, 17, 0.1);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: 0.18s ease;
	z-index: 40;
}
.hb-nav__item--wide > .hb-nav__dropdown {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-width: 400px;
}
.hb-nav__item--drop-end > .hb-nav__dropdown,
.hb-nav__list > li:last-child > .hb-nav__dropdown {
	right: auto;
	left: 0;
	min-width: 280px;
}
.hb-nav__item:hover > .hb-nav__dropdown,
.hb-nav__item:focus-within > .hb-nav__dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}
.hb-nav__dropdown a {
	display: block;
	padding: 0.55rem 1.05rem;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ink);
	white-space: nowrap;
}
.hb-nav__dropdown a:hover,
.hb-nav__dropdown .is-current > a,
.hb-nav__dropdown .current-menu-item > a,
.hb-nav__dropdown a[aria-current="page"] {
	color: var(--accent);
	background: var(--sand);
}

/* Flyouts remain adjacent to their parent so pointer travel stays inside. */
.hb-nav__dropdown li { position: relative; }
.hb-nav .hb-nav__dropdown .hb-nav__dropdown {
	top: -0.55rem;
	right: auto;
	left: auto;
	inset-inline-start: 100%;
	min-width: 270px;
}
.hb-nav .hb-nav__dropdown .hb-nav__item--flip > .hb-nav__dropdown {
	inset-inline-start: auto;
	inset-inline-end: 100%;
}
.hb-nav__dropdown li:hover > .hb-nav__dropdown,
.hb-nav__dropdown li:focus-within > .hb-nav__dropdown,
.hb-nav__item.is-expanded > .hb-nav__dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}
.hb-nav__dropdown .hb-nav__item > a,
.hb-nav__dropdown .hb-nav__item:hover > a {
	padding: 0.55rem 1.05rem;
	font-size: 0.95rem;
	border-radius: 0;
	color: var(--ink);
}
.hb-nav__dropdown .hb-nav__item:hover > a { background: var(--sand); color: var(--accent); }
.hb-nav__dropdown .hb-nav__item--has-sub > a::after {
	border: 0;
	width: 6px;
	height: 6px;
	border-inline-end: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	float: inline-end;
	margin-block-start: 0.5em;
}
.hb-nav__toggle {
	display: none;
	position: absolute;
	inset-inline-end: 0;
	top: 0;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.hb-nav__toggle::after {
	content: '';
	display: inline-block;
	width: 7px;
	height: 7px;
	border-inline-end: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}
.hb-nav__toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
.hb-nav__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.hb-offer-children { margin-block: 2rem; }
.hb-offer-children ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0; list-style: none; }
.hb-offer-children li { padding: 1.2rem; border: 1px solid var(--line); border-radius: 12px; }
.hb-offer-children a { font-size: 1.1rem; font-weight: 700; color: var(--accent); }
.hb-offer-children p { margin-block-end: 0; line-height: 1.9; }
.hb-offer-table { margin-block: 2rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.hb-offer-table table { width: 100%; min-width: 480px; border-collapse: collapse; text-align: start; line-height: 1.9; }
.hb-offer-table th, .hb-offer-table td { padding: 1rem 1.2rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.hb-offer-table th { background: var(--sand); font-weight: 700; }
.hb-offer-table th:first-child, .hb-offer-table td:first-child { width: 33%; }
.hb-offer-table tr:last-child td { border-bottom: 0; }
.hb-offer-table:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.hb-header--overlay .hb-nav__dropdown,
.hb-header--overlay .hb-nav__item .hb-nav__dropdown {
	background: #fff;
	border-color: var(--line);
	color: var(--ink);
}

.hb-header--overlay .hb-nav__dropdown a,
.hb-header--overlay .hb-nav__item .hb-nav__dropdown a,
.hb-header--overlay .hb-nav__list .hb-nav__dropdown a {
	color: var(--ink);
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	background: transparent;
}

.hb-header--overlay .hb-nav__dropdown a:hover,
.hb-header--overlay .hb-nav__item .hb-nav__dropdown a:hover,
.hb-header--overlay .hb-nav__list .hb-nav__dropdown a:hover,
.hb-header--overlay .hb-nav__dropdown .is-current > a,
.hb-header--overlay .hb-nav__dropdown .current-menu-item > a,
.hb-header--overlay .hb-nav__dropdown a[aria-current="page"] {
	background: var(--sand);
	color: var(--accent);
}

.hb-header__tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.7rem;
	flex-shrink: 0;
	justify-self: end;
}
.hb-icon-btn {
	width: 38px; height: 38px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	cursor: pointer;
	display: grid;
	place-items: center;
}
.hb-langs { display: flex; gap: 0.4rem; font-size: 0.8rem; font-weight: 700; }
.hb-langs span { color: var(--accent); }
.hb-langs a { color: var(--ink-soft); }
.hb-burger {
	display: none;
	width: 38px; height: 38px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	cursor: pointer;
}
.hb-burger i { display: block; width: 16px; height: 1.5px; margin: 4px auto; background: var(--ink); }

.hb-search {
	position: fixed; inset: 0; z-index: 80;
	background: rgba(23, 19, 17, 0.4);
	display: grid; place-items: start center;
	padding-top: 12vh;
}
.hb-search[hidden] { display: none; }
.hb-search__form {
	display: flex; gap: 0.5rem; align-items: center;
	width: min(92vw, 540px);
	background: #fff;
	padding: 0.7rem;
	border-radius: 999px;
}
.hb-search__form input {
	flex: 1; border: 0; font: inherit; outline: none; padding: 0.4rem 0.8rem;
}
.hb-search__form button[type="submit"] {
	border: 0; background: var(--accent); color: #fff;
	border-radius: 999px; padding: 0.45rem 1rem; font: inherit; cursor: pointer;
}
.hb-search__close { border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; }

/* Pills */
.hb-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.78rem 1.45rem;
	border: 1.5px solid var(--navy);
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--navy);
	background: transparent;
	transition: 0.18s ease;
}
.hb-pill:hover { background: var(--navy); color: #fff; }
.hb-pill--fill {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
.hb-pill--fill:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.hb-pill--ghost {
	border-color: rgba(255,255,255,0.4);
	color: #fff;
}
.hb-pill--ghost:hover { background: #fff; color: var(--navy); }
.hb-pill--sm { padding: 0.42rem 0.95rem; font-size: 0.75rem; }

/* Video hero (homepage) */
.hb-hero-video {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	place-items: center;
	overflow: hidden;
	color: #fff;
	isolation: isolate;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.hb-hero-video__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.hb-hero-video__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(8, 7, 6, 0.35) 0%, rgba(8, 7, 6, 0.15) 40%, rgba(8, 7, 6, 0.55) 100%),
		radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, rgba(8, 7, 6, 0.35) 100%);
}

.hb-hero-video__content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 6rem 1.5rem 4rem;
	max-width: 54rem;
}

.hb-hero-video__title {
	margin: 0 0 1rem;
	font-size: clamp(2.6rem, 8vw, 5.5rem);
	line-height: 0.98;
	font-weight: 900;
	letter-spacing: -0.04em;
	text-transform: uppercase;
}

.hb-hero-video__line {
	display: block;
}

.hb-hero-video__line--accent {
	color: var(--accent);
	text-shadow: 0 8px 40px rgba(206, 157, 58, 0.4);
}

.hb-hero-video__lead {
	margin: 0 auto 2rem;
	max-width: 32rem;
	font-size: clamp(1rem, 2vw, 1.15rem);
	color: rgba(255, 255, 255, 0.82);
}

.hb-hero-video__scroll {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
	transition: color 0.18s ease, transform 0.18s ease;
}

.hb-hero-video__scroll:hover {
	color: #fff;
	transform: translateY(3px);
}

.hb-hero-video__scroll svg {
	animation: hb-bounce 2s ease-in-out infinite;
}

@keyframes hb-bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(5px); }
}

/* Projects band below hero */
.hb-home-projects {
	position: relative;
	isolation: isolate;
	background: #12100e;
	color: #f6f1ea;
	padding: 5.8rem 0 2.4rem;
	overflow: hidden;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	scroll-snap-align: start;
	scroll-margin-top: 0;
}

.hb-home-projects::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(206, 157, 58, 0.55), transparent);
	z-index: 2;
	pointer-events: none;
}

.hb-home-projects > .hb-wrap,
.hb-home-projects > .hb-film {
	position: relative;
	z-index: 1;
}

.hb-home-projects > .hb-film__backdrop {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	transform: none;
	width: auto;
	left: 0;
	top: 0;
	bottom: 0;
}

.hb-home-projects .hb-eyebrow {
	color: var(--accent);
}

.hb-home-projects .hb-pill {
	border-color: rgba(246, 241, 234, 0.22);
	color: #f6f1ea;
}

.hb-home-projects .hb-pill:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.hb-home-projects__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 1.35rem;
}

.hb-home-projects__head h2 {
	margin: 0;
	font-size: clamp(1.7rem, 3.2vw, 2.55rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #fff;
}

.hb-home-projects__track {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.hb-home-projects__track--scroll {
	display: flex;
	flex-wrap: nowrap;
	gap: 1.15rem;
	overflow-x: auto;
	padding: 0.25rem 0.25rem 1rem;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.hb-home-projects .hb-showcase,
.hb-home-projects .hb-arc-showcase {
	margin-top: 0.35rem;
}

.hb-home-projects .hb-project-card--overlay {
	flex: 0 0 min(340px, 88vw);
	scroll-snap-align: start;
	background: transparent;
	box-shadow: none;
	border: 0;
}

.hb-home-projects .hb-project-card--overlay .hb-project-card__media {
	position: relative;
	aspect-ratio: 3 / 4;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.hb-home-projects .hb-project-card--overlay .hb-project-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.65s cubic-bezier(0.19, 1, 0.22, 1);
}

.hb-home-projects .hb-project-card--overlay:hover img {
	transform: scale(1.07);
}

.hb-home-projects .hb-project-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(6, 8, 12, 0.92) 0%, rgba(6, 8, 12, 0.15) 55%, transparent 100%);
	pointer-events: none;
}

.hb-home-projects .hb-project-card__overlay-body {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 1.35rem 1.25rem 1.4rem;
	color: #f6f1ea;
	transform: translateY(6px);
	transition: transform 0.35s ease;
}

.hb-home-projects .hb-project-card--overlay:hover .hb-project-card__overlay-body {
	transform: translateY(0);
}

.hb-home-projects .hb-project-card--overlay .hb-project-card__title {
	margin: 0 0 0.4rem;
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.35;
}

.hb-home-projects .hb-project-card--overlay .hb-project-card__excerpt {
	margin: 0 0 0.75rem;
	font-size: 0.84rem;
	color: rgba(246, 241, 234, 0.78);
	line-height: 1.55;
}

.hb-home-projects .hb-project-card--overlay .hb-project-card__more {
	display: inline-flex;
	align-items: center;
	font-size: 0.75rem;
	font-weight: 700;
	color: #1a1408;
	background: var(--accent);
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
}

.hb-home-projects .hb-project-card {
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow: 0 12px 28px rgba(23, 19, 17, 0.06);
}

.hb-home-projects .hb-project-card__body {
	color: var(--ink);
}

.hb-home-projects .hb-project-card__excerpt {
	color: var(--ink-soft);
}

.hb-home-projects__empty {
	margin: 0;
	padding: 2rem;
	text-align: center;
	color: var(--ink-soft);
	grid-column: 1 / -1;
}

body.home .hb-main,
body.front-page .hb-main,
body.hb-proj-cinematic .hb-main,
body.hb-has-media-header .hb-main {
	padding-top: 0;
}

/* Hero (legacy inner layouts) */
.hb-hero {
	padding: 2.4rem 0 3.2rem;
}
.hb-hero__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 2.5rem;
	align-items: center;
}
.hb-hero__copy h1 {
	margin: 0 0 1.2rem;
	font-size: clamp(2.2rem, 5.4vw, 4.4rem);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.03em;
}
.hb-hero__copy h1 span { display: block; }
.hb-hero__lead {
	margin: 0 0 1.7rem;
	max-width: 30rem;
	font-size: 1.05rem;
	color: var(--ink-soft);
}
.hb-hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.hb-hero__art { position: relative; min-height: 460px; }
.hb-hero__bust {
	margin: 0;
	position: absolute;
	overflow: hidden;
	background: var(--sand);
	box-shadow: 0 28px 50px rgba(23, 19, 17, 0.14);
	border: 6px solid #fff;
}
.hb-hero__bust img { width: 100%; height: 100%; object-fit: cover; }
.hb-hero__bust--main {
	width: min(74%, 400px);
	aspect-ratio: 4 / 5;
	border-radius: 22px;
	inset-inline-end: 0;
	top: 0;
}
.hb-hero__bust--side {
	width: min(46%, 220px);
	aspect-ratio: 4 / 5;
	border-radius: 18px;
	inset-inline-start: 0;
	bottom: 18px;
}
.hb-hero__caption {
	position: absolute;
	bottom: -8px;
	inset-inline-end: 12px;
	margin: 0;
	font-size: 0.75rem;
	color: var(--ink-soft);
}

/* Stats */
.hb-stats {
	background: var(--navy);
	color: #f6f1ea;
	padding: 1.8rem 0;
}
.hb-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	text-align: center;
}
.hb-stats strong { display: block; font-size: 1.55rem; color: var(--gold); }
.hb-stats span { font-size: 0.82rem; color: rgba(246, 241, 234, 0.72); }

/* Sections */
.hb-section { padding: 4.2rem 0; }
.hb-section--alt { background: var(--sand); }
.hb-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2rem;
}
.hb-head h2 {
	margin: 0;
	font-size: clamp(1.55rem, 2.8vw, 2.15rem);
	font-weight: 800;
}

.hb-intro {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 3rem;
	align-items: start;
}
.hb-intro h2 {
	margin: 0 0 0.9rem;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.25;
}
.hb-intro p { margin: 0; color: var(--ink-soft); max-width: 36rem; }
.hb-intro__list {
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--surface);
	border-radius: var(--radius);
	padding: 0.4rem 1.3rem;
	box-shadow: 0 12px 30px rgba(23, 19, 17, 0.05);
}
.hb-intro__list li {
	padding: 0.95rem 0;
	border-bottom: 1px solid var(--line);
	font-weight: 600;
}
.hb-intro__list li:last-child { border-bottom: 0; }

/* Voices: an editorial quote card and a compact selection list. */
.hb-voices { background: #f4f0e8; border-block: 1px solid #e7dfd2; overflow: clip; scroll-margin-top: calc(110px + var(--wp-admin--admin-bar--height, 0px)); }
.hb-voices__head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 30px; }
.hb-voices__head .hb-eyebrow { flex-basis: 100%; margin: 0; letter-spacing: 0; color: #8c692e; }
.hb-voices__head h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.6; font-weight: 700; color: #193039; }
.hb-voices__head-rule { height: 1px; flex: 1; min-width: 50px; background: linear-gradient(to left, #c8ad76, #c8ad7620); }
.hb-quotes { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 26px; align-items: stretch; }
.hb-quotes__stage { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-width: 0; min-height: 430px; padding: clamp(26px, 3.4vw, 44px); border: 1px solid #d0ab5e40; border-radius: 22px; background: #142d35; box-shadow: 0 18px 44px #142d3512; }
.hb-quotes__stage::after { content: ''; position: absolute; z-index: -1; inset-inline-end: -180px; bottom: -260px; width: 480px; height: 480px; border: 1px solid #dfc99414; border-radius: 50%; box-shadow: 0 0 0 38px #dfc99406, 0 0 0 76px #dfc99404; pointer-events: none; }
.hb-quotes__mark { position: absolute; top: 14px; inset-inline-end: 30px; color: #e3c48638; font: 130px/1 Georgia, serif; pointer-events: none; }
.hb-quotes__body { position: relative; flex: 1; transition: opacity .18s ease, transform .18s ease; }
.hb-quotes__body.is-swap { opacity: 0; transform: translateY(7px); }
.hb-quotes__person { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; padding-inline-end: 32px; }
.hb-quotes__photo { flex: 0 0 68px; width: 68px; height: 76px; border-radius: 12px; overflow: hidden; background: #f6f0e3; border: 1px solid #dfc99470; }
.hb-quotes__photo img { width: 100%; height: 100%; object-fit: cover; }
.hb-quotes__photo.is-brand { padding: 8px; }
.hb-quotes__photo.is-brand img { object-fit: contain; }
.hb-quotes__person h3 { margin: 0; font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 600; line-height: 1.9; color: #e7cc91; }
.hb-quotes__text { margin: 0; border: 0; padding: 0; }
.hb-quotes__text p { margin: 0; color: #f0ece3; font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 400; line-height: 2.3; text-wrap: pretty; }
.hb-quotes__footer { display: flex; align-items: center; gap: 20px; padding-top: 30px; margin-top: 28px; border-top: 1px solid #ffffff18; }
.hb-quotes__count { font: 13px/1.5 'Segoe UI', sans-serif; letter-spacing: .1em; color: #d6c29a; white-space: nowrap; }
.hb-quotes__footer-rule { flex: 1; height: 1px; background: #ffffff10; }
.hb-quotes__controls { display: flex; align-items: center; gap: 8px; }
.hb-quotes__controls[hidden] { display: none; }
.hb-quotes__controls button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #ffffff30; border-radius: 50%; color: #e7d8b7; background: transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.hb-quotes__controls button:hover { background: #d4b778; border-color: #d4b778; color: #142d35; }
.hb-quotes__play-icon { display: none; }
.hb-quotes__controls .is-paused .hb-quotes__play-icon { display: block; }
.hb-quotes__controls .is-paused .hb-quotes__pause-icon { display: none; }
.hb-quotes__listbox { min-width: 0; align-self: center; border: 1px solid #dfd6c7; border-radius: 18px; padding: 10px; background: #eee8de; }
.hb-quotes__list { margin: 0; padding: 0; list-style: none; max-height: 430px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c4af87 transparent; }
.hb-quotes__list li { margin: 0; padding: 0; }
.hb-quotes__list li + li { margin-top: 6px; }
.hb-quotes__item { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 74px; padding: 14px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #4b514c; text-align: start; font: inherit; font-weight: 500; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.hb-quotes__index { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #d4c9b8; border-radius: 50%; color: #9b7b43; font: 14px/1 'Segoe UI', sans-serif; transition: background .25s, border-color .25s, color .25s; }
.hb-quotes__item img { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.hb-quotes__item-label { flex: 1; min-width: 0; line-height: 1.9; font-size: .9rem; }
.hb-quotes__item-arrow { flex-shrink: 0; opacity: .35; transition: opacity .25s, transform .25s; }
.hb-quotes__item:hover { background: #ffffff80; border-color: #d8cbb6; color: #193039; }
.hb-quotes__item.is-active { background: #19333b; border-color: #19333b; color: #f4eddc; box-shadow: 0 4px 10px #142d3510; }
.hb-quotes__item.is-active .hb-quotes__index { background: #d4b778; border-color: #d4b778; color: #142d35; }
.hb-quotes__item.is-active .hb-quotes__item-arrow { opacity: 1; color: #e7cc91; }
.hb-quotes__item:focus-visible, .hb-quotes__controls button:focus-visible { outline: 2px solid #c79c44; outline-offset: 3px; }
.hb-quotes__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.honarbaan-ltr .hb-quotes__controls [data-quote-prev] svg, .honarbaan-ltr .hb-quotes__controls [data-quote-next] svg, .honarbaan-ltr .hb-quotes__item-arrow { transform: scaleX(-1); }
@media (max-width: 900px) {
 .hb-quotes { grid-template-columns: minmax(0, 1fr); gap: 18px; }
 .hb-quotes__stage { min-height: 360px; }
 .hb-quotes__listbox { order: -1; border: 0; border-radius: 0; padding: 0; background: transparent; }
 .hb-quotes__list { display: flex; gap: 8px; max-height: none; overflow-y: hidden; overflow-x: auto; padding: 4px 4px 12px; scroll-snap-type: x proximity; }
 .hb-quotes__list li { flex: 0 0 210px; scroll-snap-align: start; }
 .hb-quotes__list li + li { margin-top: 0; }
 .hb-quotes__item { height: 100%; min-height: 68px; padding: 12px; border-color: #dfd6c7; background: #eee8de; gap: 10px; }
 .hb-quotes__index, .hb-quotes__item img { flex-basis: 32px; width: 32px; height: 32px; }
 .hb-quotes__item-label { font-size: .8rem; }
 .hb-quotes__item-arrow { display: none; }
}
@media (max-width: 600px) {
 .hb-voices { padding-block: 44px; }
 .hb-voices__head { margin-bottom: 20px; }
 .hb-voices__head-rule { display: none; }
 .hb-quotes__stage { padding: 24px; border-radius: 16px; min-height: 0; }
 .hb-quotes__photo { flex-basis: 52px; width: 52px; height: 62px; }
 .hb-quotes__person { gap: 14px; margin-bottom: 22px; padding-inline-end: 14px; }
 .hb-quotes__mark { font-size: 100px; inset-inline-end: 18px; }
 .hb-quotes__text p { font-size: .95rem; line-height: 2.25; }
 .hb-quotes__footer { gap: 12px; padding-top: 22px; margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
 .hb-quotes__body, .hb-quotes__item, .hb-quotes__index, .hb-quotes__item-arrow, .hb-quotes__controls button { transition: none; }
 .hb-quotes__body.is-swap { opacity: 1; transform: none; }
}

.hb-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.35rem;
}
.hb-project-card {
	margin: 0;
	background: var(--surface);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(23, 19, 17, 0.06);
	transition: transform 0.2s ease;
}
.hb-project-card:hover { transform: translateY(-4px); }
.hb-project-card__link { display: block; color: inherit; }
.hb-project-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.hb-project-card__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.5s ease;
}
.hb-project-card:hover img { transform: scale(1.05); }
.hb-project-card__body { padding: 1rem 1.1rem 1.2rem; }
.hb-project-card__title { margin: 0 0 0.35rem; font-size: 1.02rem; }
.hb-project-card__excerpt { margin: 0 0 0.7rem; font-size: 0.85rem; color: var(--ink-soft); }
.hb-project-card__more { font-size: 0.78rem; font-weight: 700; color: var(--accent); }

.hb-service-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}
.hb-service-card {
	background: var(--surface);
	border-radius: var(--radius);
	padding: 1.25rem 1.2rem 1.4rem;
	border: 1px solid var(--line);
	min-height: 170px;
	transition: border-color 0.18s ease, transform 0.18s ease;
}
.hb-service-card:hover {
	border-color: var(--accent);
	transform: translateY(-3px);
}
.hb-service-card span {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--gold);
	margin-bottom: 0.7rem;
}
.hb-service-card h3 { margin: 0 0 0.45rem; font-size: 1rem; }
.hb-service-card p { margin: 0; font-size: 0.84rem; color: var(--ink-soft); }

.hb-product-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.1rem;
}
.hb-product {
	background: var(--surface);
	border-radius: var(--radius);
	padding: 1.6rem 1.4rem;
	border: 1px solid transparent;
}
.hb-product:hover { border-color: var(--accent); }
.hb-product h3 { margin: 0 0 0.5rem; }
.hb-product p { margin: 0 0 1rem; color: var(--ink-soft); font-size: 0.92rem; }
.hb-product em { font-style: normal; font-weight: 700; font-size: 0.82rem; color: var(--accent); }

/* Journal: complete images, editorial typography and equal-height article cards. */
.hb-blog-band { position: relative; background: #eee8dd; border-top: 1px solid #e1d7c6; scroll-margin-top: calc(110px + var(--wp-admin--admin-bar--height, 0px)); }
.hb-journal__head { gap: 24px; padding-bottom: 28px; margin-bottom: 30px; border-bottom: 1px solid #ccbea5; }
.hb-journal__head .hb-eyebrow { color: #8c692e; letter-spacing: 0; margin-bottom: 10px; }
.hb-journal__head h2 { color: #193039; font-weight: 700; }
.hb-journal__archive { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; font-size: .85rem; font-weight: 600; color: #193039; }
.hb-journal__archive > span { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #c9b999; border-radius: 50%; transition: background .25s, border-color .25s, color .25s; }
.hb-journal__archive:hover > span { background: #193039; border-color: #193039; color: #f5ead3; }
.hb-blog-showcase { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.hb-blog-showcase > div { min-width: 0; display: flex; }
.hb-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hb-blog-card { width: 100%; min-width: 0; height: 100%; margin: 0; border: 1px solid #dfd6c7; border-radius: 14px; background: #faf8f3; overflow: hidden; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.hb-blog-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.hb-blog-card__link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.hb-blog-card__media { display: flex; justify-content: center; align-items: center; position: relative; height: 236px; min-width: 0; margin: 12px 12px 0; padding: 18px; border: 1px solid #ded6c94d; border-radius: 8px; background: #e8e2d6; }
.hb-blog-card__media img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.hb-blog-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 22px 24px 20px; }
.hb-blog-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hb-blog-card__date { color: #7b705d; font-size: .7rem; font-weight: 400; }
.hb-blog-card__index { color: #a99570; font: 13px/1 'Segoe UI', sans-serif; }
.hb-blog-card__title { margin: 0 0 14px; color: #193039; font-size: 1.15rem; font-weight: 700; line-height: 1.9; text-wrap: pretty; }
.hb-blog-card__excerpt { margin: 0 0 24px; color: #646356; font-size: .87rem; font-weight: 400; line-height: 2; }
.hb-blog-card__more { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid #e0d9cb; color: #37515a; font-size: .78rem; font-weight: 500; }
.hb-blog-card__arrow { display: grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border: 1px solid #d3c7b2; border-radius: 50%; color: #9a7536; transition: color .25s, background .25s, border-color .25s; }
.hb-blog-card--feature { border-top: 3px solid #ba9652; }
.hb-blog-card--feature .hb-blog-card__title { font-size: 1.3rem; }
.honarbaan-ltr .hb-blog-card__title { line-height: 1.55; }
.honarbaan-ltr .hb-blog-card__arrow svg, .honarbaan-ltr .hb-journal__archive svg { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) {
 .hb-blog-card:hover { transform: translateY(-5px); border-color: #b99d6b; box-shadow: 0 16px 28px #1930390c; }
 .hb-blog-card:hover .hb-blog-card__arrow { background: #193039; border-color: #193039; color: #e8cd95; }
}
@media (min-width: 901px) and (max-width: 1100px) {
 .hb-blog-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
 .hb-blog-card__body { padding-inline: 18px; }
 .hb-blog-card__media { height: 210px; padding: 12px; }
 .hb-blog-card--feature .hb-blog-card__title { font-size: 1.15rem; }
}
@media (max-width: 900px) {
 .hb-blog-showcase, .hb-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .hb-blog-showcase > div:first-child { grid-column: 1 / -1; }
 .hb-blog-card--feature .hb-blog-card__link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
 .hb-blog-card--feature .hb-blog-card__media { height: auto; min-height: 240px; margin-bottom: 12px; }
 .hb-blog-card--feature .hb-blog-card__media img { max-height: 260px; }
}
@media (max-width: 600px) {
 .hb-blog-band { padding-block: 44px; }
 .hb-journal__head { align-items: center; flex-wrap: wrap; gap: 16px; padding-bottom: 22px; margin-bottom: 24px; }
 .hb-journal__archive { gap: 10px; font-size: .75rem; }
 .hb-journal__archive > span { width: 34px; height: 34px; }
 .hb-blog-showcase, .hb-blog-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
 .hb-blog-card--feature .hb-blog-card__link { display: flex; }
 .hb-blog-card__media, .hb-blog-card--feature .hb-blog-card__media { height: 220px; min-height: 0; margin: 10px 10px 0; padding: 16px; }
 .hb-blog-card--feature .hb-blog-card__media img { max-height: 100%; }
 .hb-blog-card__body { padding: 20px; }
 .hb-blog-card__title, .hb-blog-card--feature .hb-blog-card__title { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
 .hb-blog-card, .hb-blog-card__arrow, .hb-journal__archive > span { transition: none; }
 .hb-blog-card:hover { transform: none; }
}

.hb-blog-pagination {
	margin-top: 2.2rem;
	text-align: center;
}

.hb-blog-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.hb-blog-pagination a,
.hb-blog-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--surface);
	font-size: 0.85rem;
	font-weight: 700;
}

.hb-blog-pagination .current,
.hb-blog-pagination a:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.hb-blog-single__meta {
	margin: 0.55rem 0 0;
	font-size: 0.85rem;
	color: var(--ink-soft);
}

.hb-cta {
	background: var(--navy);
	color: #f6f1ea;
	padding: 3.4rem 0;
}
.hb-cta__grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}
.hb-cta h2 {
	margin: 0 0 0.55rem;
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	max-width: 28rem;
}
.hb-cta p { margin: 0; color: rgba(246,241,234,0.75); max-width: 28rem; }
.hb-cta__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Inner pages */
.hb-page-hero { padding: 2.4rem 0 1.6rem; }
.hb-page-hero--image {
	min-height: 300px;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: flex-end;
}
.hb-page-hero--image .hb-page-hero__shade {
	position: absolute; inset: 0;
	background: linear-gradient(transparent 10%, rgba(247,243,236,0.96));
}
body.hb-has-media-header .hb-page-hero {
	padding: 7.2rem 0 1.6rem;
}
body.hb-has-media-header .hb-page-hero--image {
	min-height: 52vh;
	padding-top: 7.2rem;
}
body.hb-has-media-header .hb-page-hero--image .hb-page-hero__shade {
	background: linear-gradient(180deg, rgba(12, 10, 9, 0.5) 0%, rgba(12, 10, 9, 0.08) 42%, rgba(247,243,236,0.96) 100%);
}
.hb-page-hero__inner { position: relative; z-index: 1; }
.hb-page-hero__title {
	margin: 0.4rem 0 0;
	font-size: clamp(1.9rem, 4vw, 3rem);
	font-weight: 800;
}
.hb-breadcrumbs { font-size: 0.8rem; color: var(--ink-soft); }
.hb-page { padding: 1.2rem 0 4.5rem; }
.hb-page-prose,
.hb-content { max-width: 700px; }
.hb-page-prose--wide { max-width: none; }
.hb-page-prose p:first-child { margin-top: 0; }
.hb-inline-media { margin: 1.4rem 0; border-radius: var(--radius); overflow: hidden; }
.hb-inline-media img { width: 100%; }
.hb-lead { font-size: 1.1rem; color: var(--ink-soft); }
.hb-page__back { margin-top: 2.4rem; }

.hb-child-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.9rem;
	margin-top: 2rem;
}
.hb-child-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 1.1rem 1.15rem;
}
.hb-child-card:hover { border-color: var(--accent); }
.hb-child-card h3 { margin: 0 0 0.35rem; font-size: 0.98rem; }
.hb-child-card p { margin: 0; font-size: 0.84rem; color: var(--ink-soft); }

/* Footer */
.hb-footer {
	background: #12252f;
	color: #efe8df;
	padding: 3rem 0 0;
	margin-top: auto;
	margin-bottom: 0;
	width: 100%;
	flex: 0 0 auto;
}
.hb-footer a { color: inherit; }
.hb-footer a:hover { color: #fff; }
.hb-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2rem;
	padding-bottom: 2.2rem;
}
.hb-footer__grid[data-cols="1"] { grid-template-columns: 1fr; }
.hb-footer__grid[data-cols="2"] { grid-template-columns: 1.2fr 1fr; }
.hb-footer__grid[data-cols="3"] { grid-template-columns: 1.2fr 1fr 1fr; }
.hb-footer__grid[data-cols="4"] { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.hb-footer__grid[data-cols="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hb-footer__grid[data-cols="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.hb-footer__brand p,
.hb-footer__text,
.hb-footer__caption {
	margin: 0.7rem 0 0;
	font-size: 0.9rem;
	color: rgba(239,232,223,0.72);
}
.hb-footer__text { max-width: 22rem; }
.hb-footer .hb-logo { color: #fff; }
.hb-footer .hb-logo img { filter: none; }
.hb-footer__logo { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.hb-footer h3 {
	margin: 0 0 0.85rem;
	font-size: 0.76rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gold);
}
.hb-footer ul { margin: 0; padding: 0; list-style: none; }
.hb-footer li + li { margin-top: 0.4rem; }
.hb-footer__list--plain { list-style: disc; padding-inline-start: 1.15rem; }
.hb-footer__media { margin: 0.6rem 0 0; }
.hb-footer__media img {
	display: block;
	max-width: min(100%, 180px);
	height: auto;
	border-radius: 8px;
}
.hb-footer__legal {
	border-top: 1px solid rgba(255,255,255,0.1);
	padding: 1rem 0 1.2rem;
	font-size: 0.8rem;
	color: rgba(239,232,223,0.6);
}
.hb-footer__legal p { margin: 0; }

@media (max-width: 980px) {
	.hb-header,
	.hb-header--overlay.hb-header--solid,
	.hb-header--overlay:hover,
	.hb-header--overlay:focus-within { backdrop-filter: none; }
	.hb-header__inner {
		display: flex;
		gap: 1rem;
	}
	.hb-header__tools {
		margin-inline-start: auto;
	}
	.hb-burger { display: block; }
	.hb-logo--mark img {
		width: 44px;
		height: 44px;
	}
	.hb-nav {
		position: fixed; inset: 0;
		width: 100%;
		height: 100dvh;
		justify-self: stretch;
		background: var(--bg);
		padding: 5.5rem 1.5rem 2rem;
		transform: translateX(110%);
		transition: 0.28s ease;
		z-index: 40;
		overflow: auto;
	}
	.hb-header--overlay .hb-nav {
		background: rgba(15, 13, 11, 0.98);
	}
	.hb-header--overlay .hb-nav__dropdown,
	.hb-header--overlay .hb-nav__item .hb-nav__dropdown {
		background: transparent;
		border: 0;
		box-shadow: none;
	}
	.hb-header--overlay .hb-nav__list > .hb-nav__item > a,
	.hb-header--overlay .hb-nav__list > .hb-nav__item > a:hover,
	.hb-header--overlay .hb-nav__list > .hb-nav__item:hover > a,
	.hb-header--overlay .hb-nav__dropdown a,
	.hb-header--overlay .hb-nav__item .hb-nav__dropdown a,
	.hb-header--overlay .hb-nav__list .hb-nav__dropdown a {
		color: #fff;
		background: transparent;
		font-size: 1.22rem;
		text-transform: none;
		letter-spacing: 0;
	}
	.hb-nav.is-open { transform: none; }
	.hb-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.hb-nav__item > a,
	.hb-nav__item > a:hover,
	.hb-nav__item:hover > a {
		padding: 0.9rem 0;
		border-radius: 0;
		font-size: 1.28rem;
		color: var(--ink);
		background: transparent;
		border-bottom: 1px solid var(--line);
	}
	.hb-nav__item.is-current > a,
	.hb-nav__item.current-menu-item > a,
	.hb-nav__item.current-menu-parent > a,
	.hb-nav__item.current-menu-ancestor > a,
	.hb-header--overlay .hb-nav__list > .hb-nav__item.is-current > a,
	.hb-header--overlay .hb-nav__list > .hb-nav__item.current-menu-item > a,
	.hb-header--overlay .hb-nav__list > .hb-nav__item.current-menu-parent > a {
		color: var(--accent);
		background: transparent;
		font-weight: 800;
	}
	.hb-nav__dropdown .is-current > a,
	.hb-nav__dropdown .current-menu-item > a,
	.hb-header--overlay .hb-nav__dropdown .is-current > a,
	.hb-header--overlay .hb-nav__dropdown .current-menu-item > a {
		color: var(--accent);
		background: transparent;
	}
	.hb-nav__dropdown,
	.hb-nav__item--wide > .hb-nav__dropdown {
		position: static; display: block; min-width: 0;
		opacity: 1; visibility: visible; pointer-events: auto;
		transform: none; border: 0; box-shadow: none; background: transparent;
		padding: 0 0 0.5rem 0.85rem;
	}
	.hb-nav__item--has-sub > a::after {
		display: none;
	}
	.hb-nav .hb-nav__dropdown .hb-nav__dropdown {
		position: static;
		min-width: 0;
		margin: 0;
		padding-inline: 1rem 0;
		border-inline-start: 1px solid var(--line);
	}
	.hb-nav__dropdown .hb-nav__item > a,
	.hb-nav__dropdown .hb-nav__item:hover > a { font-size: 1rem; padding: 0.65rem 0; white-space: normal; }
	.hb-nav.has-toggles .hb-nav__toggle { display: block; }
	.hb-nav.has-toggles .hb-nav__item--has-sub > a { padding-inline-end: 48px; }
	.hb-nav.has-toggles .hb-nav__item--has-sub > .hb-nav__dropdown { display: none; }
	.hb-nav.has-toggles .hb-nav__item--has-sub.is-expanded > .hb-nav__dropdown { display: block; }
	.hb-header--overlay .hb-nav__toggle { color: #fff; }
	.hb-offer-children ul { grid-template-columns: 1fr; }
	.hb-home-projects__track,
	.hb-hero__grid,
	.hb-intro,
	.hb-cards,
	.hb-service-cards,
	.hb-product-grid,
	.hb-stats__grid,
	.hb-cta__grid,
	.hb-footer__grid,
	.hb-footer__grid[data-cols] { grid-template-columns: 1fr; }
	.hb-hero__art { min-height: 340px; order: -1; }
	.hb-logo small { display: none; }
}

/* Company page — هنربان آپادانا */
.hb-company {
	position: relative;
	background: var(--bg);
	color: var(--ink);
}

.hb-company__intro {
	position: relative;
	padding: 4.4rem 0 3.2rem;
	text-align: center;
	overflow: hidden;
}

.hb-company__intro-glow {
	position: absolute;
	left: 50%;
	top: -40px;
	width: min(720px, 90vw);
	height: 280px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse at center, rgba(206, 157, 58, 0.26), transparent 68%);
	pointer-events: none;
}

.hb-company.has-motion.is-ready .hb-company__intro-glow {
	animation: hb-co-glow 8s ease-in-out infinite;
}

.hb-company__orbs {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.hb-company__orbs span {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(206, 157, 58, 0.55), rgba(206, 157, 58, 0.05));
	filter: blur(1px);
	opacity: 0.55;
}

.hb-company__orbs span:nth-child(1) {
	width: 18px;
	height: 18px;
	top: 18%;
	right: 14%;
}

.hb-company__orbs span:nth-child(2) {
	width: 10px;
	height: 10px;
	top: 58%;
	left: 12%;
}

.hb-company__orbs span:nth-child(3) {
	width: 14px;
	height: 14px;
	top: 28%;
	left: 22%;
}

.hb-company.has-motion.is-ready .hb-company__orbs span:nth-child(1) {
	animation: hb-co-orb 11s ease-in-out infinite;
}

.hb-company.has-motion.is-ready .hb-company__orbs span:nth-child(2) {
	animation: hb-co-orb 9s ease-in-out 0.6s infinite reverse;
}

.hb-company.has-motion.is-ready .hb-company__orbs span:nth-child(3) {
	animation: hb-co-orb 13s ease-in-out 1.1s infinite;
}

.hb-company__intro-kicker,
.hb-company__rules,
.hb-company__lead,
.hb-company__scroll {
	position: relative;
}

.hb-company.has-motion .hb-company__intro-kicker,
.hb-company.has-motion .hb-company__lead,
.hb-company.has-motion .hb-company__scroll {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
}

.hb-company.has-motion.is-ready .hb-company__intro-kicker,
.hb-company.has-motion.is-ready .hb-company__lead,
.hb-company.has-motion.is-ready .hb-company__scroll {
	animation: hb-co-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hb-company.has-motion.is-ready .hb-company__intro-kicker { animation-delay: 0.05s; }
.hb-company.has-motion.is-ready .hb-company__lead { animation-delay: 0.48s; }
.hb-company.has-motion.is-ready .hb-company__scroll { animation-delay: 0.68s; }

.hb-company__rules {
	display: flex;
	justify-content: center;
	margin: 0.15rem 0 0.85rem;
}

.hb-company__rule {
	display: block;
	width: 56px;
	height: 2px;
	border-radius: 99px;
	background: var(--gold);
	transform-origin: center;
}

.hb-company.has-motion .hb-company__rule {
	transform: scaleX(0);
}

.hb-company.has-motion.is-ready .hb-company__rule {
	animation: hb-co-line 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.hb-company__title {
	margin: 0 auto 0.9rem;
	max-width: 16ch;
	font-size: clamp(2.2rem, 5vw, 4rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: var(--navy);
}

.hb-company__word {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
	padding-bottom: 0.08em;
}

.hb-company__word > span {
	display: inline-block;
}

.hb-company.has-motion .hb-company__word > span {
	transform: translate3d(0, 115%, 0);
}

.hb-company.has-motion.is-ready .hb-company__word > span {
	animation: hb-co-word 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: var(--d, 0.2s);
}

.hb-company__lead {
	margin: 0 auto;
	max-width: 36rem;
	font-size: 1.05rem;
	line-height: 1.9;
	color: var(--ink-soft);
}

.hb-company__scroll {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	margin-top: 1.8rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--ink-soft);
}

.hb-company__scroll:hover {
	color: var(--navy);
}

.hb-company.has-motion.is-ready .hb-company__scroll svg {
	animation: hb-bounce 2s ease-in-out infinite;
}

.hb-company__ceo {
	padding: 1rem 0 4.6rem;
}

.hb-company__ceo-grid {
	display: grid;
	grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
	gap: 2.6rem 3.4rem;
	align-items: center;
}

.hb-company__ceo-media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 22px;
	background: var(--navy);
	display: grid;
	place-items: center;
	box-shadow: 0 22px 48px rgba(18, 37, 47, 0.16);
}

.hb-company__ceo-media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgba(206, 157, 58, 0.28);
	pointer-events: none;
}

.hb-company__ceo-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	will-change: transform;
}

.hb-company__ceo-media .hb-face {
	position: absolute;
	top: 0;
	right: 0;
	width: auto;
	height: 100%;
	max-width: none;
	object-fit: fill;
	transform-origin: 82% 30%;
}

.hb-company.has-motion.is-ready .hb-company__ceo-media.is-in .hb-face {
	animation: hb-co-ken 16s ease-out forwards;
}

.hb-company__mark {
	font-size: 2rem;
	font-weight: 800;
	color: var(--gold);
	letter-spacing: 0.08em;
}

.hb-company__ceo-copy {
	position: relative;
	padding-top: 0.4rem;
}

.hb-company__quote-mark {
	position: absolute;
	top: -0.15em;
	left: 0;
	right: auto;
	z-index: 0;
	font-size: clamp(4.5rem, 9vw, 7rem);
	line-height: 1;
	color: var(--gold);
	opacity: 0.12;
	pointer-events: none;
}

.hb-company__ceo-copy .hb-eyebrow,
.hb-company__ceo-copy blockquote,
.hb-company__ceo-copy cite {
	position: relative;
	z-index: 1;
}

.hb-company.has-motion .hb-company__quote-mark {
	transform: translate3d(0, 18px, 0) scale(0.9);
	opacity: 0;
}

.hb-company.has-motion .hb-company__ceo-copy.is-in .hb-company__quote-mark {
	opacity: 0.16;
	transform: none;
	transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: 0.2s;
}

.hb-company__ceo-copy blockquote {
	margin: 0.7rem 0 1.4rem;
	padding: 0 1.2rem 0 0;
	border-right: 3px solid var(--accent);
	font-size: clamp(1.15rem, 2.1vw, 1.45rem);
	font-weight: 600;
	line-height: 1.9;
	color: var(--navy);
}

.hb-company.has-motion .hb-company__ceo-copy blockquote {
	border-right-color: transparent;
}

.hb-company.has-motion .hb-company__ceo-copy.is-in blockquote {
	animation: hb-co-quote 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.hb-company__ceo-copy cite {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	font-style: normal;
}

.hb-company__ceo-copy cite strong {
	font-size: 1.05rem;
}

.hb-company__ceo-copy cite small {
	color: var(--ink-soft);
	font-size: 0.86rem;
}

.hb-company-stats {
	padding: 0 0 2.8rem;
}

.hb-company-stats__panel {
	position: relative;
	color: var(--paper);
	background: var(--navy);
	border: 1px solid rgba(206, 157, 58, 0.35);
	border-radius: 16px;
}

.hb-company-stats__grid {
	display: grid;
	grid-template-columns: repeat(var(--stats-columns, 3), minmax(0, 1fr));
	margin: 0;
	padding: 1.4rem 0;
	list-style: none;
}

.hb-company-stats__item {
	min-width: 0;
	padding: 0 1.8rem;
	text-align: center;
}

.hb-company-stats__item + .hb-company-stats__item {
	border-inline-start: 1px solid rgba(255, 255, 255, 0.15);
}

.hb-company-stats__ring {
	position: relative;
	display: grid;
	place-items: center;
	width: 124px;
	max-width: 100%;
	aspect-ratio: 1;
	margin-inline: auto;
}

.hb-company-stats__chart {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	fill: none;
	stroke-width: 11;
}

.hb-company-stats__ticks {
	stroke: rgba(255, 255, 255, 0.24);
	stroke-width: 2;
	stroke-dasharray: 0.4 4.6;
}

.hb-company-stats__scan {
	display: none;
	stroke: var(--paper);
	stroke-width: 2;
	stroke-dasharray: 8 92;
	transform: rotate(calc(var(--stat-draw, 1) * 1turn));
	transform-origin: 60px 60px;
	opacity: calc(1 - var(--stat-draw, 1));
}

.hb-company-stats__grid.is-counting .hb-company-stats__scan {
	display: block;
}

.hb-company-stats__circle-track {
	stroke: rgba(255, 255, 255, 0.14);
}

.hb-company-stats__circle-fill {
	stroke: var(--gold);
	stroke-linecap: butt;
	stroke-dasharray: 100;
	stroke-dashoffset: calc(100 - var(--stat-current, var(--stat-progress, 0)) * 100);
}

.hb-company-stats__marker {
	transform: rotate(calc(var(--stat-current, var(--stat-progress, 0)) * 1turn));
	transform-origin: 60px 60px;
	fill: var(--paper);
	stroke: var(--gold);
	stroke-width: 1;
}

.hb-company-stats__ring.is-zero .hb-company-stats__marker {
	display: none;
}

.hb-company-stats__readout {
	position: relative;
	display: grid;
	justify-items: center;
	width: 64%;
	gap: 0.15rem;
}

.hb-company-stats__percent {
	font-size: 0.68rem;
	line-height: 1.2;
	color: var(--paper);
	opacity: 0.7;
	font-variant-numeric: tabular-nums;
}

.hb-company-stats__number {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: baseline;
	flex-wrap: wrap;
	max-width: 100%;
	gap: 0.25rem;
	direction: ltr;
	font-size: 1.75rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	line-height: 1.3;
	color: var(--gold);
	overflow-wrap: anywhere;
}

.hb-company-stats__number--long {
	font-size: 0.85rem;
}

.hb-company-stats__number small {
	font-size: 0.55em;
}

.hb-company-stats__label {
	margin: 0.6rem 0 0;
	font-size: 0.9rem;
	line-height: 1.8;
	overflow-wrap: anywhere;
}

.hb-company-stats__grid.is-counting .hb-company-stats__circle-fill {
	filter: drop-shadow(0 0 3px rgba(206, 157, 58, 0.4));
}

@media (hover: hover) {
	.hb-company-stats__item:hover .hb-company-stats__circle-fill { filter: drop-shadow(0 0 4px rgba(206, 157, 58, 0.5)); }
}

@media (max-width: 640px) {
	.hb-company-stats { padding-bottom: 1.8rem; }
	.hb-company-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0.25rem 0; }
	.hb-company-stats__grid[style*="--stats-columns:1"] { grid-template-columns: minmax(0, 1fr); }
	.hb-company-stats__item { padding: 1.1rem; }
	.hb-company-stats__ring { width: 106px; }
	.hb-company-stats__number { font-size: 1.5rem; }
	.hb-company-stats__number--long { font-size: 0.75rem; }
	.hb-company-stats__item:nth-child(odd) { border-inline-start: 0; }
	.hb-company-stats__item:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.15); }
	.hb-company-stats__grid[style*="--stats-columns:3"] .hb-company-stats__item:last-child { grid-column: 1 / -1; }
}

.hb-company__board {
	position: relative;
	padding: 4.4rem 0;
	background:
		radial-gradient(ellipse 70% 50% at 80% 0%, rgba(206, 157, 58, 0.1), transparent 60%),
		var(--sand);
	overflow: hidden;
}

.hb-company__honors {
	padding: 4.6rem 0 5.2rem;
}

.hb-company__head {
	margin-bottom: 2rem;
	text-align: center;
}

.hb-company__head h2 {
	margin: 0.4rem 0 0;
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	color: var(--navy);
}

.hb-company__people {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hb-company__people li {
	padding: 1.25rem 1.1rem 1.35rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	text-align: center;
	transform-style: preserve-3d;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease;
}

.hb-company__people li:hover {
	border-color: rgba(206, 157, 58, 0.45);
	box-shadow: 0 18px 36px rgba(18, 37, 47, 0.1);
	transform: translateY(-8px);
}

.hb-company__person-photo {
	position: relative;
	width: 168px;
	height: 168px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: #12252f;
	display: grid;
	place-items: center;
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(206, 157, 58, 0.55);
	transition: box-shadow 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-company__person-crop {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	overflow: hidden;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-company__person-crop::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.42) 48%, transparent 64%);
	transform: translateX(130%);
	pointer-events: none;
}

.hb-company__person-ring {
	position: absolute;
	inset: -8px;
	border-radius: 50%;
	border: 2px solid transparent;
	border-top-color: var(--accent);
	border-inline-end-color: rgba(206, 157, 58, 0.35);
	opacity: 0;
	pointer-events: none;
}

.hb-company__people li:hover .hb-company__person-photo {
	transform: translateY(-6px) scale(1.06);
	box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--accent), 0 16px 28px rgba(18, 37, 47, 0.16);
}

.hb-company__people li:hover .hb-company__person-ring {
	opacity: 1;
	animation: hb-face-spin 1.15s linear infinite;
}

.hb-company__people li:hover .hb-company__person-crop::after {
	animation: hb-face-shine 0.85s ease;
}

.hb-company__people li:hover h3 {
	color: var(--accent-dark);
}

.hb-company__person-photo .hb-face {
	position: absolute;
	top: 0;
	right: 0;
	width: auto;
	height: 100%;
	max-width: none;
	object-fit: fill;
	transform-origin: 78% 34%;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-company__people li:hover .hb-company__person-photo .hb-face {
	transform: scale(1.08);
}

.hb-company__people h3 {
	margin: 0 0 0.3rem;
	font-size: 1.05rem;
}

.hb-company__people p {
	margin: 0;
	font-size: 0.86rem;
	color: var(--ink-soft);
}

.hb-company__awards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: stretch;
}

.hb-award {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 360px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	transform-style: preserve-3d;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease;
}

.hb-award::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.42) 48%, transparent 64%);
	transform: translateX(-130%);
	pointer-events: none;
}

.hb-award:hover {
	border-color: rgba(206, 157, 58, 0.45);
	box-shadow: 0 20px 40px rgba(18, 37, 47, 0.1);
	transform: translateY(-8px);
}

.hb-award:hover::after {
	transform: translateX(130%);
	transition: transform 0.85s ease;
}

.hb-award__media {
	margin: 0;
	display: grid;
	place-items: center;
	background: #efe8dc;
	overflow: hidden;
}

.hb-award__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-award:hover .hb-award__media img {
	transform: scale(1.04);
}

.hb-award--photo .hb-award__media {
	flex: 1 1 auto;
	min-height: 300px;
	padding: 1rem;
}

.hb-award--photo .hb-award__caption {
	padding: 0.75rem 1rem 0.9rem;
	border-top: 1px solid var(--line);
}

.hb-award--photo .hb-award__caption h3 {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hb-award--split .hb-award__media {
	flex: 0 0 210px;
	height: 210px;
	padding: 0.85rem;
}

.hb-award--split .hb-award__body,
.hb-award--text .hb-award__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 1.1rem 1.15rem 1.2rem;
}

.hb-award--text .hb-award__body {
	justify-content: center;
	padding: 1.6rem 1.35rem;
}

.hb-award__body small {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--accent);
}

.hb-award__body h3 {
	margin: 0 0 0.45rem;
	font-size: 1.02rem;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hb-award__body p {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.75;
	color: var(--ink-soft);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hb-award--split .hb-award__body p {
	-webkit-line-clamp: 3;
}

.hb-award--text .hb-award__body p {
	-webkit-line-clamp: 8;
}

.hb-award--text .hb-award__body h3 {
	-webkit-line-clamp: 3;
	font-size: 1.12rem;
}

.hb-company__empty {
	margin: 0;
	text-align: center;
	color: var(--ink-soft);
}

.hb-company.has-motion [data-hb-in] {
	opacity: 0;
	transform: translate3d(0, 40px, 0);
}

.hb-company.has-motion [data-hb-in="left"] { transform: translate3d(44px, 0, 0); }
.hb-company.has-motion [data-hb-in="right"] { transform: translate3d(-44px, 0, 0); }
.hb-company.has-motion [data-hb-in="up"] { transform: translate3d(0, 36px, 0); }
.hb-company.has-motion [data-hb-in="scale"] { transform: translate3d(0, 28px, 0) scale(0.94); }

.hb-company.has-motion [data-hb-in].is-in {
	animation: hb-co-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s) both;
}

.hb-company.has-motion [data-hb-in].is-live {
	opacity: 1;
	transform: none;
	animation: none;
	transition: box-shadow 0.45s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.hb-company.has-motion [data-hb-tilt].is-live:hover {
	transform: translateY(-8px);
}

@keyframes hb-co-in {
	to { opacity: 1; transform: none; }
}

@keyframes hb-co-rise {
	to { opacity: 1; transform: none; }
}

@keyframes hb-co-word {
	to { transform: none; }
}

@keyframes hb-co-line {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes hb-co-glow {
	0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
	50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes hb-co-orb {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(12px, -18px, 0); }
}

@keyframes hb-co-ken {
	from { transform: scale(1.04); }
	to { transform: scale(1); }
}

@keyframes hb-face-spin {
	to { transform: rotate(360deg); }
}

@keyframes hb-face-shine {
	from { transform: translateX(130%); }
	to { transform: translateX(-130%); }
}

@keyframes hb-co-quote {
	from { border-right-color: transparent; }
	to { border-right-color: var(--accent); }
}

@media (max-width: 900px) {
	.hb-company__ceo-grid,
	.hb-company__people,
	.hb-company__awards {
		grid-template-columns: 1fr;
	}

	.hb-company__ceo-media {
		width: min(100%, 320px);
		max-width: 320px;
		margin-inline: auto;
	}

	.hb-company__ceo-copy {
		min-width: 0;
	}
}

[data-hb-reveal] {
	opacity: 0;
	transform: translate3d(0, 52px, 0);
	transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-hb-reveal="left"] { transform: translate3d(48px, 0, 0); }
[data-hb-reveal="right"] { transform: translate3d(-48px, 0, 0); }
[data-hb-reveal="up"] { transform: translate3d(0, 52px, 0); }
[data-hb-reveal="scale"] { transform: translate3d(0, 24px, 0) scale(0.96); }

[data-hb-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

.hb-hero-video__content {
	animation: hb-hero-in 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hb-hero-in {
	from { opacity: 0; transform: translateY(28px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	html:has(body.home) { scroll-snap-type: none; }
	.hb-project-card, .hb-project-card__media img { transition: none; }
	[data-hb-reveal],
	.hb-hero-video__content,
	.hb-company [data-hb-in],
	.hb-company__word > span,
	.hb-company__intro-kicker,
	.hb-company__lead,
	.hb-company__scroll,
	.hb-company__rule,
	.hb-company__quote-mark,
	.hb-company__ceo-media img,
	.hb-company__person-ring,
	.hb-company__person-crop,
	.hb-company__person-crop::after,
	.hb-company__person-photo .hb-face {
		opacity: 1;
		transform: none;
		animation: none;
		transition: none;
	}
}

/* تماس با ما / فرصت‌های شغلی / ارتباط با ما */
.hb-reach { padding-bottom: 4.5rem; }
.hb-reach__hero {
	position: relative;
	overflow: hidden;
	color: #f6f1e8;
	background:
		radial-gradient(ellipse at 88% 0%, rgba(206, 157, 58, 0.28), transparent 46%),
		radial-gradient(ellipse at 8% 100%, rgba(27, 53, 68, 0.2), transparent 42%),
		linear-gradient(165deg, #1b3544 0%, #12252f 72%);
	padding: 2.6rem 0 4.6rem;
	margin-bottom: 0;
}
.hb-reach__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-32deg,
		transparent,
		transparent 18px,
		rgba(255, 255, 255, 0.015) 18px,
		rgba(255, 255, 255, 0.015) 19px
	);
	pointer-events: none;
}
.hb-reach__hero::after {
	content: "";
	position: absolute;
	width: 320px;
	height: 320px;
	inset-inline-start: -80px;
	bottom: -140px;
	border: 1px solid rgba(206, 157, 58, 0.22);
	border-radius: 50%;
	pointer-events: none;
}
.hb-reach__hero .hb-wrap { position: relative; z-index: 1; }
.hb-reach__hero-glow {
	position: absolute;
	left: 58%;
	top: -60px;
	width: min(640px, 80vw);
	height: 280px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse at center, rgba(206, 157, 58, 0.32), transparent 68%);
	pointer-events: none;
}
.hb-reach__orbs {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.hb-reach__orbs span {
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(206, 157, 58, 0.55), rgba(206, 157, 58, 0.04));
	opacity: 0.5;
}
.hb-reach__orbs span:nth-child(1) { width: 16px; height: 16px; top: 22%; left: 12%; }
.hb-reach__orbs span:nth-child(2) { width: 10px; height: 10px; top: 62%; right: 18%; }
.hb-reach__orbs span:nth-child(3) { width: 13px; height: 13px; top: 38%; right: 8%; }
.hb-reach--contact .hb-reach__hero { padding: 2.6rem 0 5.4rem; }
.hb-reach__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
	gap: 2.2rem;
	align-items: end;
}
.hb-reach__hero .hb-breadcrumbs,
.hb-reach__hero .hb-breadcrumbs a { color: rgba(246, 241, 232, 0.78); }
.hb-reach__hero .hb-breadcrumbs__current { color: #fff; }
.hb-reach__hero h1 {
	margin: 0.35rem 0 0;
	font-size: clamp(2rem, 4.4vw, 3.3rem);
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
}
.hb-reach__word {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
	padding-bottom: 0.06em;
}
.hb-reach__word > span { display: inline-block; }
.hb-reach__rule {
	display: block;
	width: 72px;
	height: 2px;
	margin: 1rem 0 0;
	background: var(--accent);
	transform-origin: right center;
}
.hb-reach__lead {
	max-width: 40rem;
	margin: 0.9rem 0 0;
	font-size: 1.08rem;
	line-height: 1.9;
	color: rgba(246, 241, 232, 0.88);
}
.hb-reach__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.45rem;
}
.hb-reach__hero-actions .hb-pill {
	position: relative;
	overflow: hidden;
}
.hb-reach__lines {
	background: rgba(10, 16, 20, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 24px;
	padding: 1.25rem 1.3rem 0.85rem;
	backdrop-filter: blur(18px);
	box-shadow: 0 28px 64px rgba(0, 0, 0, 0.28);
}
.hb-reach__lines-kicker {
	margin: 0 0 0.55rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
}
.hb-reach__line {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.92rem 0.1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: color 0.2s ease, padding 0.2s ease;
}
.hb-reach__line span {
	flex-shrink: 0;
	color: rgba(246, 241, 232, 0.58);
	font-size: 0.84rem;
}
.hb-reach__line strong {
	display: inline-flex;
	align-items: baseline;
	gap: 0.65rem;
	font-size: 1.02rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}
.hb-reach__line i {
	font-style: normal;
	font-weight: 400;
	color: rgba(246, 241, 232, 0.32);
}
.hb-reach__line b { font-weight: 700; }
.hb-reach__line:hover {
	color: var(--accent);
	padding-inline-start: 0.2rem;
}
.hb-reach__line:hover span { color: rgba(206, 157, 58, 0.9); }
.hb-reach__line--text { margin: 0; cursor: default; }
.hb-reach__line--text:hover { color: #fff; padding-inline-start: 0; }
.hb-reach__note {
	position: relative;
	z-index: 2;
	margin: -2.4rem auto 1.4rem;
	padding: 0.9rem 1.1rem;
	border-radius: 14px;
	background: #fff4f0;
	border: 1px solid #e7c2b6;
	color: #6d3224;
	box-shadow: 0 12px 28px rgba(23, 19, 17, 0.06);
}
.hb-reach__note--ok {
	background: #f4f7ef;
	border-color: #c9d7b4;
	color: #2d4324;
}
.hb-reach__doors {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: -2.8rem;
	position: relative;
	z-index: 2;
}
.hb-reach__door {
	display: flex;
	flex-direction: column;
	min-height: 240px;
	padding: 1.5rem 1.4rem 1.3rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 24px;
	box-shadow: 0 18px 44px rgba(23, 19, 17, 0.08);
	transition: transform 0.18s ease, border-color 0.18s ease;
}
.hb-reach__door:hover {
	transform: translateY(-3px);
	border-color: var(--accent);
}
.hb-reach__door small {
	font-weight: 800;
	color: var(--accent);
	letter-spacing: 0.08em;
}
.hb-reach__door h2 {
	margin: 0.7rem 0 0.4rem;
	font-size: 1.55rem;
}
.hb-reach__door p {
	margin: 0;
	color: var(--ink-soft);
}
.hb-reach__door span {
	margin-top: auto;
	padding-top: 1.4rem;
	font-weight: 800;
	color: var(--accent-dark);
}
.hb-reach__section { padding-top: 1.6rem; }
.hb-reach--jobs .hb-reach__section:first-of-type {
	margin-top: -2.6rem;
	position: relative;
	z-index: 2;
}
.hb-reach h2 {
	margin: 0 0 1rem;
	font-size: 1.45rem;
}
.hb-reach__roles {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.85rem;
}
.hb-reach__roles article {
	padding: 1.15rem 1.1rem 1.05rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-inline-start: 3px solid var(--accent);
	border-radius: 16px;
}
.hb-reach__roles h3 {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
}
.hb-reach__roles p { margin: 0; color: var(--ink-soft); }
.hb-reach__band {
	margin: 2.2rem 0;
	padding: 2.2rem 0;
	background: var(--navy);
	color: #f6f1ea;
}
.hb-reach__band h2 { color: #fff; }
.hb-reach__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hb-reach__steps strong {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--accent);
	font-size: 1.15rem;
}
.hb-reach__steps h3 { margin: 0 0 0.3rem; font-size: 1.12rem; }
.hb-reach__steps p { margin: 0; color: rgba(246, 241, 234, 0.75); }
.hb-reach__split {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 1.6rem;
	align-items: start;
}
.hb-reach__contact {
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: 1.35rem;
	align-items: start;
	margin-top: -3.2rem;
	position: relative;
	z-index: 2;
}
.hb-reach__contact > .hb-reach__note {
	grid-column: 1 / -1;
	margin: 0;
}
.hb-reach__facts {
	display: grid;
	gap: 0.8rem;
}
.hb-reach__visit {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	min-height: 100%;
	padding: 1.45rem 1.35rem 1.3rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 28px;
	box-shadow: 0 22px 50px rgba(23, 19, 17, 0.08);
}
.hb-reach__visit .hb-reach__card-icon { margin-bottom: 0.55rem; }
.hb-reach__visit .hb-eyebrow { margin: 0; }
.hb-reach__visit h2 {
	margin: 0.1rem 0 0.35rem;
	font-size: 1.35rem;
}
.hb-reach__visit p {
	margin: 0 0 1rem;
	color: var(--ink-soft);
	line-height: 1.8;
}
.hb-reach__visit .hb-pill { margin-top: auto; }
.hb-reach__card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.9rem;
	align-items: start;
	padding: 1.05rem 1.1rem 1rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(23, 19, 17, 0.06);
	transition: transform 0.18s ease, border-color 0.18s ease;
}
.hb-reach__card:hover {
	transform: translateY(-2px);
	border-color: rgba(206, 157, 58, 0.55);
}
.hb-reach__card-icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: rgba(206, 157, 58, 0.14);
	color: var(--accent-dark);
	flex-shrink: 0;
}
.hb-reach__card-icon svg {
	width: 20px;
	height: 20px;
	display: block;
}
.hb-reach__card h2 {
	margin: 0.1rem 0 0.28rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--ink-soft);
}
.hb-reach__card p {
	margin: 0;
	color: var(--ink);
	font-weight: 600;
	line-height: 1.65;
	font-size: 0.98rem;
}
.hb-reach__card a { color: var(--navy); }
.hb-reach__card a:hover { color: var(--accent-dark); }
.hb-reach__compose {
	padding: 1.55rem 1.5rem 1.45rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 28px;
	box-shadow: 0 22px 50px rgba(23, 19, 17, 0.08);
}
.hb-reach__compose-head {
	margin-bottom: 1.15rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line);
}
.hb-reach__compose-head h2 {
	margin: 0.15rem 0 0.4rem;
	font-size: 1.45rem;
}
.hb-reach__compose-head p:last-child {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.95rem;
}
.hb-reach--contact .hb-reach__form {
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
}
.hb-reach__form {
	display: grid;
	gap: 0.8rem;
	padding: 1.15rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 18px;
}
.hb-reach__form label { display: grid; gap: 0.3rem; font-weight: 700; font-size: 0.88rem; }
.hb-reach__form input,
.hb-reach__form select,
.hb-reach__form textarea {
	width: 100%;
	padding: 0.8rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--bg);
	font: inherit;
	color: var(--ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hb-reach__form textarea { min-height: 8.5rem; resize: vertical; }
.hb-reach__form input:focus,
.hb-reach__form select:focus,
.hb-reach__form textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 4px rgba(206, 157, 58, 0.18);
	background: #fff;
}
.hb-reach__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.hb-reach__form button { justify-self: start; cursor: pointer; font: inherit; }
.hb-reach--contact .hb-reach__form button { margin-top: 0.25rem; padding-inline: 1.8rem; }
.hb-reach__trap {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
}
.hb-reach__map {
	position: relative;
	margin-top: 1.8rem;
	border-radius: 28px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: var(--surface);
	box-shadow: 0 24px 56px rgba(23, 19, 17, 0.1);
	scroll-margin-top: 108px;
}
.hb-reach__map-frame {
	position: relative;
	display: block;
	min-height: 480px;
	height: 480px;
	background: #e8e0d4;
}
.hb-reach__map-iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #e8e0d4;
}
.hb-reach__map-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: transparent;
	pointer-events: none;
	opacity: 0;
}
.hb-reach__map-canvas.is-ready {
	opacity: 1;
	background: #d9cfc0;
	pointer-events: auto;
}
.hb-map-tile {
	position: absolute;
	width: 256px;
	height: 256px;
	max-width: none;
	pointer-events: none;
	image-rendering: auto;
}
.hb-map-pin {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 22px;
	height: 22px;
	margin: -28px 0 0 -11px;
	background: var(--accent);
	border: 3px solid #fff;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	box-shadow: 0 8px 16px rgba(23, 19, 17, 0.28);
	z-index: 2;
	animation: hb-pin-pulse 1.8s ease-in-out infinite;
}
.hb-reach__map-copy {
	position: absolute;
	top: 0.75rem;
	inset-inline-end: 1rem;
	z-index: 3;
	margin: 0;
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
	background: rgba(18, 37, 47, 0.55);
	color: rgba(246, 241, 232, 0.9);
	font-size: 0.68rem;
}
.hb-reach__map-bar {
	position: absolute;
	z-index: 4;
	bottom: 1.05rem;
	inset-inline: 1.05rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.15rem;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(14px);
	border-radius: 18px;
	box-shadow: 0 16px 40px rgba(23, 19, 17, 0.16);
}
.hb-reach__map-dot {
	flex-shrink: 0;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 6px rgba(206, 157, 58, 0.18);
	animation: hb-dot-pulse 1.8s ease-in-out infinite;
}
.hb-reach__map-bar strong {
	display: block;
	margin: 0 0 0.2rem;
	font-size: 1.02rem;
}
.hb-reach__map-bar p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.92rem;
}
.hb-reach__map-bar > div { min-width: 0; }

.hb-reach.has-motion .hb-reach__hero-copy .hb-breadcrumbs,
.hb-reach.has-motion .hb-reach__hero-copy .hb-eyebrow,
.hb-reach.has-motion .hb-reach__lead,
.hb-reach.has-motion .hb-reach__hero-actions {
	opacity: 0;
	transform: translate3d(0, 18px, 0);
}
.hb-reach.has-motion.is-ready .hb-reach__hero-copy .hb-breadcrumbs,
.hb-reach.has-motion.is-ready .hb-reach__hero-copy .hb-eyebrow,
.hb-reach.has-motion.is-ready .hb-reach__lead,
.hb-reach.has-motion.is-ready .hb-reach__hero-actions {
	animation: hb-co-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hb-reach.has-motion.is-ready .hb-reach__hero-copy .hb-breadcrumbs { animation-delay: 0.02s; }
.hb-reach.has-motion.is-ready .hb-reach__hero-copy .hb-eyebrow { animation-delay: 0.1s; }
.hb-reach.has-motion.is-ready .hb-reach__lead { animation-delay: 0.42s; }
.hb-reach.has-motion.is-ready .hb-reach__hero-actions { animation-delay: 0.58s; }
.hb-reach.has-motion .hb-reach__word > span { transform: translate3d(0, 112%, 0); }
.hb-reach.has-motion.is-ready .hb-reach__word > span {
	animation: hb-co-word 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: var(--d, 0.2s);
}
.hb-reach.has-motion .hb-reach__rule { transform: scaleX(0); }
.hb-reach.has-motion.is-ready .hb-reach__rule {
	animation: hb-co-line 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
}
.hb-reach.has-motion.is-ready .hb-reach__hero-glow {
	animation: hb-co-glow 8s ease-in-out infinite;
}
.hb-reach.has-motion.is-ready .hb-reach__orbs span:nth-child(1) {
	animation: hb-co-orb 11s ease-in-out infinite;
}
.hb-reach.has-motion.is-ready .hb-reach__orbs span:nth-child(2) {
	animation: hb-co-orb 9s ease-in-out 0.5s infinite reverse;
}
.hb-reach.has-motion.is-ready .hb-reach__orbs span:nth-child(3) {
	animation: hb-co-orb 13s ease-in-out 1s infinite;
}
.hb-reach.has-motion [data-hb-in] {
	opacity: 0;
	transform: translate3d(0, 36px, 0);
}
.hb-reach.has-motion [data-hb-in="scale"] { transform: translate3d(0, 22px, 0) scale(0.96); }
.hb-reach.has-motion [data-hb-in].is-in {
	animation: hb-co-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s) both;
}
.hb-reach.has-motion [data-hb-in].is-live {
	opacity: 1;
	transform: none;
	animation: none;
	transition: box-shadow 0.45s ease, border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.hb-reach.has-motion .hb-reach__line { opacity: 0; }
.hb-reach.has-motion .hb-reach__lines.is-in .hb-reach__line {
	animation: hb-line-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hb-reach.has-motion .hb-reach__lines.is-in .hb-reach__line:nth-child(2) { animation-delay: 0.08s; }
.hb-reach.has-motion .hb-reach__lines.is-in .hb-reach__line:nth-child(3) { animation-delay: 0.16s; }
.hb-reach.has-motion .hb-reach__lines.is-in .hb-reach__line:nth-child(4) { animation-delay: 0.24s; }
.hb-reach.has-motion .hb-reach__lines.is-in .hb-reach__line:nth-child(5) { animation-delay: 0.32s; }
.hb-reach.has-motion.is-ready .hb-reach__hero-actions .hb-pill::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.28), transparent 78%);
	transform: translateX(130%);
	animation: hb-shine 4.2s ease-in-out 1.5s infinite;
	pointer-events: none;
}
.hb-reach__card-icon { transition: transform 0.28s ease, background 0.28s ease; }
.hb-reach__visit:hover .hb-reach__card-icon,
.hb-reach__card:hover .hb-reach__card-icon {
	transform: translateY(-2px) scale(1.06);
	background: rgba(206, 157, 58, 0.22);
}

@keyframes hb-line-in {
	from { opacity: 0; transform: translate3d(16px, 0, 0); }
	to { opacity: 1; transform: none; }
}
@keyframes hb-shine {
	0%, 64% { transform: translateX(130%); }
	80%, 100% { transform: translateX(-130%); }
}
@keyframes hb-pin-pulse {
	0%, 100% {
		transform: rotate(-45deg) scale(1);
		box-shadow: 0 8px 16px rgba(23, 19, 17, 0.28), 0 0 0 0 rgba(206, 157, 58, 0.42);
	}
	50% {
		transform: rotate(-45deg) scale(1.08);
		box-shadow: 0 8px 16px rgba(23, 19, 17, 0.28), 0 0 0 14px rgba(206, 157, 58, 0);
	}
}
@keyframes hb-dot-pulse {
	0%, 100% { box-shadow: 0 0 0 6px rgba(206, 157, 58, 0.18); }
	50% { box-shadow: 0 0 0 12px rgba(206, 157, 58, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.hb-map-pin,
	.hb-reach__map-dot,
	.hb-reach__orbs span,
	.hb-reach__hero-glow { animation: none !important; }
}

@media (max-width: 860px) {
	.hb-reach__hero,
	.hb-reach--contact .hb-reach__hero { padding-bottom: 3.6rem; }
	.hb-reach__hero-grid,
	.hb-reach__doors,
	.hb-reach__roles,
	.hb-reach__steps,
	.hb-reach__split,
	.hb-reach__contact,
	.hb-reach__pair { grid-template-columns: 1fr; }
	.hb-reach__contact,
	.hb-reach__doors { margin-top: -2.2rem; }
	.hb-reach__map-bar {
		flex-direction: column;
		align-items: stretch;
	}
	.hb-reach__map-frame,
	.hb-reach__map-canvas { height: 340px; min-height: 340px; }
}

/* Capability pages */
.hb-cap { background: var(--bg); padding-bottom: 4.5rem; }
.hb-cap-stage {
	position: relative;
	overflow: hidden;
	color: #f6f1e8;
	background:
		radial-gradient(ellipse at 88% 0%, rgba(206, 157, 58, 0.28), transparent 46%),
		radial-gradient(ellipse at 8% 100%, rgba(27, 53, 68, 0.2), transparent 42%),
		linear-gradient(165deg, #1b3544 0%, #12252f 72%);
	padding: 2.6rem 0 3rem;
	margin-bottom: 2.2rem;
}
.hb-cap-stage::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		-32deg,
		transparent,
		transparent 18px,
		rgba(255, 255, 255, 0.015) 18px,
		rgba(255, 255, 255, 0.015) 19px
	);
	pointer-events: none;
}
.hb-cap-stage .hb-wrap { position: relative; z-index: 1; }
.hb-cap-stage .hb-breadcrumbs,
.hb-cap-stage .hb-breadcrumbs a { color: rgba(246, 241, 232, 0.78); }
.hb-cap-stage .hb-breadcrumbs__current { color: #fff; }
.hb-cap-kicker {
	margin: 0.85rem 0 0.35rem;
	color: var(--accent);
	font-size: 0.82rem;
	letter-spacing: 0.04em;
}
.hb-cap-stage h1 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.3rem);
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
}
.hb-cap-lead {
	margin: 0.9rem 0 0;
	max-width: 42rem;
	font-size: 1.08rem;
	line-height: 1.9;
	color: rgba(246, 241, 232, 0.88);
}
.hb-cap-stage__note {
	margin: 0.8rem 0 0;
	max-width: 40rem;
	color: rgba(246, 241, 232, 0.62);
	font-size: 0.92rem;
}
.hb-cap-stage__intro { max-width: 46rem; }
.hb-cap-stage__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 2rem;
	align-items: center;
}
.hb-cap--detail .hb-cap-index {
	margin: 0.7rem 0 0;
	font-size: clamp(3.4rem, 7vw, 5.6rem);
	font-weight: 200;
	line-height: 0.8;
	color: var(--accent);
}
.hb-cap-source { margin: 1.1rem 0 0; }
.hb-cap-source a {
	color: #fff;
	border-bottom: 1px solid rgba(206, 157, 58, 0.85);
	font-size: 0.88rem;
}
.hb-cap-stage__fig {
	margin: 0;
	position: relative;
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
	min-height: 280px;
}
.hb-cap-stage__fig img {
	width: 100%;
	height: 420px;
	object-fit: cover;
}
.hb-offer .hb-cap-stage__fig {
	min-height: 0;
	align-self: start;
}
.hb-offer .hb-cap-stage__fig img {
	display: block;
	height: auto;
	object-fit: contain;
}
.hb-cap-stage__fig figcaption {
	position: absolute;
	bottom: 0.85rem;
	inset-inline-start: 0.85rem;
	max-width: calc(100% - 1.7rem);
	background: rgba(18, 37, 47, 0.84);
	color: #fff;
	border-radius: 999px;
	padding: 0.28rem 0.8rem;
	font-size: 0.78rem;
}
.hb-cap-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}
.hb-cap-row {
	display: grid;
	grid-template-columns: auto minmax(210px, 0.78fr) minmax(0, 1.25fr);
	gap: 1.15rem;
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 28px;
	padding: 0.7rem 0.85rem 0.7rem 1.1rem;
	box-shadow: 0 10px 28px rgba(23, 19, 17, 0.04);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hb-cap-list li:nth-child(even) .hb-cap-row {
	grid-template-columns: auto minmax(0, 1.25fr) minmax(210px, 0.78fr);
}
.hb-cap-list li:nth-child(even) .hb-cap-row figure { order: 2; }
.hb-cap-row:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 42px rgba(23, 19, 17, 0.09);
}
.hb-cap-list .hb-cap-index {
	font-size: 2rem;
	font-weight: 200;
	color: var(--accent);
	line-height: 1;
	min-width: 2.4rem;
}
.hb-cap-row figure {
	margin: 0;
	border-radius: 20px;
	overflow: hidden;
	height: 168px;
}
.hb-cap-row img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease;
}
.hb-cap-row:hover img { transform: scale(1.06); }
.hb-cap-row__copy h2 {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
}
.hb-cap-row__copy p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.95rem;
}
.hb-cap-go {
	display: inline-block;
	margin-top: 0.75rem;
	color: var(--accent-dark);
	font-size: 0.84rem;
	border-bottom: 1px solid currentColor;
}
.hb-cap-pillars {
	list-style: none;
	margin: 0 0 1.8rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
}
.hb-cap-pillars li {
	background: #fff;
	border-radius: 18px;
	border-top: 3px solid var(--accent);
	padding: 1.05rem 1rem 1.15rem;
	box-shadow: 0 10px 26px rgba(23, 19, 17, 0.04);
}
.hb-cap-pillars h2 {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
}
.hb-cap-pillars p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.92rem;
}
.hb-cap-prose {
	max-width: 46rem;
}
.hb-cap-prose p {
	margin: 0 0 0.95rem;
	font-size: 1.05rem;
	line-height: 2;
	color: var(--ink);
}
.hb-cap-note {
	margin: 0.4rem 0 1.6rem;
	max-width: 46rem;
	background: #fff8ec;
	border-inline-start: 3px solid var(--accent);
	border-radius: 14px;
	padding: 0.95rem 1.05rem;
	color: var(--ink);
}
.hb-cap-works-head h2 {
	margin: 1.6rem 0 0.8rem;
	font-size: 1.25rem;
}
.hb-cap-works {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.8rem;
}
.hb-cap-works--one { grid-template-columns: minmax(0, 680px); }
.hb-cap-works a {
	position: relative;
	display: block;
	border-radius: 18px;
	overflow: hidden;
	min-height: 220px;
}
.hb-cap-works img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	transition: transform 0.65s ease;
}
.hb-cap-works a:hover img { transform: scale(1.06); }
.hb-cap-works span {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 2.4rem 0.9rem 0.85rem;
	background: linear-gradient(transparent, rgba(12, 10, 9, 0.8));
	color: #fff;
	font-size: 0.95rem;
}
.hb-cap-pager {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 0.8rem;
	align-items: stretch;
	margin-top: 2.4rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--line);
}
.hb-cap-pager a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.15rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 0.8rem 1rem;
}
.hb-cap-pager__next { text-align: left; }
.hb-cap-pager__hub {
	align-self: center;
	color: var(--accent-dark) !important;
	background: transparent !important;
	border: 0 !important;
}
.hb-cap-pager small { color: var(--ink-soft); font-size: 0.75rem; }
.hb-cap-pager strong { font-size: 1rem; }
@media (prefers-reduced-motion: no-preference) {
	.hb-cap-stage__fig img {
		animation: hb-cap-drift 18s ease-in-out infinite alternate;
	}
}
@keyframes hb-cap-drift {
	from { transform: scale(1); }
	to { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
	.hb-cap-row,
	.hb-cap-row img,
	.hb-cap-works img,
	.hb-cap-stage__fig img { transition: none; animation: none; }
	.hb-cap-row:hover,
	.hb-cap-row:hover img,
	.hb-cap-works a:hover img { transform: none; }
}
@media (max-width: 860px) {
	.hb-cap-stage__grid,
	.hb-cap-pillars,
	.hb-cap-works,
	.hb-cap-works--one,
	.hb-cap-pager { grid-template-columns: 1fr; }
	.hb-cap-row,
	.hb-cap-list li:nth-child(even) .hb-cap-row {
		grid-template-columns: 1fr;
	}
	.hb-cap-list li:nth-child(even) .hb-cap-row figure { order: 0; }
	.hb-cap-stage__fig img,
	.hb-cap-works img { height: 240px; }
	.hb-cap-row figure { height: 190px; }
	.hb-cap-pager__next { text-align: right; }
}

.hb-offer .hb-cap-stage {
	background:
		radial-gradient(ellipse at 0% 0%, rgba(206, 157, 58, 0.34), transparent 46%),
		linear-gradient(165deg, #3a2a22 0%, #1b3544 58%, #12252f 100%);
}
.hb-cap-source a + a { margin-inline-start: 0.9rem; }
