/* Office details: shared primitives from lge-site.css, scoped additions only. */
.lge-office-detail .lge-office-hero {
	min-height: clamp(500px, 72svh, 680px);
}
.lge-office-detail .lge-office-hero .lge-hero__img {
	transform: none;
	transition: none;
}
.lge-office-detail .lge-office-hero .lge-h-display {
	font-size: clamp(44px, 6vw, 82px);
	line-height: 1.12;
}
.lge-office-detail .lge-back { min-height: 32px; }
.lge-office-kicker { margin-bottom: 14px; }

.lge-office-info { background: var(--lge-ink-800); color: var(--lge-white); }
.lge-office-info__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto;
	gap: 32px;
	align-items: center;
	padding-top: 30px;
	padding-bottom: 30px;
}
.lge-office-info .lge-eyebrow { color: var(--lge-yellow); margin-bottom: 10px; }
.lge-office-info address { font-style: normal; font-size: 16px; line-height: 1.5; margin: 0; }
.lge-office-info__phone {
	display: block;
	width: fit-content;
	font-family: var(--lge-font-body);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--lge-white);
	text-decoration: none;
}
.lge-office-info__phone:hover { color: var(--lge-yellow); }
.lge-office-info .lge-btn--ghost { border-color: rgba(255,255,255,.42); color: var(--lge-white); }
.lge-office-info .lge-btn--ghost:hover { color: var(--lge-cool-black); background: var(--lge-white); }
.lge-office-detail a:focus-visible { outline: 2px solid var(--lge-yellow-ink); outline-offset: 4px; }
.lge-office-hero a:focus-visible,
.lge-office-info a:focus-visible,
.lge-office-detail .lge-close a:focus-visible { outline-color: var(--lge-yellow); }

.lge-office-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 36px;
}
.lge-office-detail .lge-office-project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lge-office-detail .lge-office-project-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lge-office-detail .lge-card { content-visibility: visible; contain-intrinsic-size: none; }
.lge-office-detail .lge-card-head { flex-wrap: wrap; gap: 5px 12px; }
.lge-office-detail .lge-card-title { line-height: 1.3; }
.lge-office-detail .lge-card-meta { font-size: 14px; line-height: 1.5; }
.lge-office-detail .lge-card-size { font-size: 14px; }
.lge-office-detail .lge-card-tag { font-size: 10px; line-height: 1.3; }
.lge-office-detail .lge-card-media { border-radius: 0; }
.lge-office-detail .lge-office-project-grid--compact .lge-card-title { font-size: 24px; }

.lge-office-studio {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.lge-office-studio__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--lge-light-gray); }
.lge-office-studio__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lge-office-studio__copy .lge-h-section { margin-bottom: 24px; }
.lge-office-studio__copy p { font-size: 17px; line-height: 1.68; margin: 0 0 20px; color: var(--lge-cool-black); }
.lge-office-studio__copy p:last-child { margin-bottom: 0; }
.lge-office-detail .lge-office-people { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lge-office-detail .lge-person__media { border-radius: 0; }
.lge-office-detail .lge-person__title { font-size: 12px; line-height: 1.5; margin: 0; }
.lge-office-detail .lge-person__name { font-size: 23px; }
.lge-office-detail .lge-person:hover .lge-person__media img { transform: none; }

@media (max-width: 1100px) {
	.lge-office-detail .lge-office-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lge-office-detail .lge-office-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.lge-office-info__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
	.lge-office-info__inner > .lge-btn { justify-self: start; }
	.lge-office-section-head { flex-wrap: wrap; align-items: flex-start; }
	.lge-office-studio { grid-template-columns: 1fr; }
	.lge-office-studio__media { aspect-ratio: 3 / 2; }
}
@media (max-width: 680px) {
	.lge-office-detail .lge-office-hero { min-height: 520px; }
	.lge-office-detail .lge-office-hero .lge-hero__inner { padding-top: calc(var(--lge-nav-h) + 34px); }
	.lge-office-info__inner { grid-template-columns: 1fr; }
	.lge-office-info__inner > .lge-btn { justify-self: stretch; }
	.lge-office-detail .lge-office-project-grid { grid-template-columns: 1fr; gap: 32px; }
	.lge-office-section-head { margin-bottom: 28px; }
	.lge-office-section-head > .lge-btn { width: 100%; white-space: normal; text-align: center; height: auto; min-height: 48px; line-height: 1.4; padding: 14px 20px; }
	.lge-office-detail .lge-office-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.lge-office-detail .lge-person__name { font-size: 21px; }
	.lge-office-detail .lge-close .lge-actions { align-items: stretch; flex-direction: column; }
}

/* Override legacy generic section and SVG rules on these templates only. */
body.lge-v2 .lge-office-detail .lge-office-hero,
body.lge-v2 .lge-office-detail .lge-office-info,
body.lge-v2 .lge-office-detail .lge-close { padding: 0; }
.lge-office-detail .lge-back { white-space: nowrap; }
.lge-office-detail .lge-back svg { width: 14px; height: 14px; flex: 0 0 14px; }
body.lge-v2 .lge-office-detail .lge-card-meta,
body.lge-v2 .lge-office-detail .lge-card-size { font-size: 14px; line-height: 1.5; }
