/* ==========================================================================
   Office fit out page
   Warm editorial Halston rhythm. Reuses global tokens and components only.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero. Master pattern, mirrors the home hero: uppercase dark headline on
   the light ground, two zone hairline band (services list left, outlined
   action right), full width clean photography below, supporting paragraph
   under the image.
   -------------------------------------------------------------------------- */
.section--office-hero {
	position: relative;
	padding-top: clamp(2rem, 4vw, 3.2rem);
	padding-bottom: 0;
	overflow: visible;
}

.office-hero__head {
	display: flex;
	flex-direction: column;
	gap: clamp(1.2rem, 2.6vw, 2rem);
}

.office-hero__title {
	max-width: 22ch;
	margin: 0;
	font-size: clamp(1.875rem, 1.65rem + 1.125vw, 3rem);
	font-weight: 500;
	line-height: 1;
	letter-spacing: normal;
	text-transform: uppercase;
	color: var(--color-ink);
}

/* Same two zone rule construction as the home band: light full width rule
   with the darker rule overlaid across the right column zone. */
.office-hero__hairline {
	position: relative;
	height: 1px;
	margin-top: clamp(1.4rem, 2.6vw, 2.2rem);
	background: #b8b7b1;
}

.office-hero__hairline::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: calc(50% - clamp(0.375rem, 0.35rem + 0.125vw, 0.5rem));
	background: #2e2e2b;
}

.office-hero__band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(0.75rem, 0.7rem + 0.25vw, 1rem);
	padding-block: clamp(1.4rem, 2.6vw, 2rem);
}

.office-hero__services {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1rem, 2vw, 1.8rem);
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: normal;
	text-transform: uppercase;
	color: var(--color-accent-deep);
}

.office-hero__band-action {
	flex: none;
}

/* Full bleed, viewport wide photo, clean, no overlays. */
.office-hero__visual {
	position: relative;
	width: 100%;
	margin: 0;
	overflow: hidden;
	height: clamp(28rem, 68vh, 48rem);
	background: var(--color-card);
}

.office-hero__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: var(--photo-grade);
}

.office-hero__support {
	max-width: 38rem;
	margin: 0;
	padding-block: clamp(1.8rem, 3.4vw, 2.8rem);
}

@media (max-width: 780px) {
	.office-hero__band {
		flex-direction: column;
		align-items: flex-start;
		gap: clamp(1.2rem, 4vw, 1.8rem);
	}

	.office-hero__hairline::after {
		display: none;
	}

	.office-hero__visual {
		height: clamp(20rem, 56vh, 30rem);
	}
}

/* --------------------------------------------------------------------------
   Editorial split (audience)
   -------------------------------------------------------------------------- */
.office-split {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2.4rem, 5vw, 5rem);
	align-items: start;
}

.office-split__intro h2 {
	font-weight: 500;
	max-width: 16ch;
}

.office-cards {
	display: grid;
	gap: clamp(1.6rem, 2.6vw, 2.4rem);
	border-top: 1px solid var(--color-line);
}

.office-card {
	display: grid;
	grid-template-columns: 3.2rem minmax(0, 1fr);
	column-gap: clamp(1.2rem, 2.4vw, 2rem);
	align-items: baseline;
	padding-bottom: clamp(1.6rem, 2.6vw, 2.4rem);
	border-bottom: 1px solid var(--color-line);
}

.office-card:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.office-card__num {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	color: var(--color-accent);
}

.office-card__title {
	grid-column: 2;
	font-weight: 500;
	font-size: clamp(1.15rem, 1.6vw, 1.45rem);
	margin: 0 0 var(--space-2);
}

.office-card__text {
	grid-column: 2;
	margin: 0;
	max-width: 38rem;
	color: var(--color-muted);
	font-size: var(--type-body-lg);
}

@media (max-width: 820px) {
	.office-split {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Statement band (dark espresso) with what we handle
   -------------------------------------------------------------------------- */
.section--office-statement {
	background: var(--color-green-deep);
	color: rgba(255, 255, 255, 0.9);
}

.office-statement__label {
	color: rgba(255, 255, 255, 0.7);
	border-color: rgba(255, 255, 255, 0.22);
	margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.office-statement__lead {
	max-width: 28ch;
	margin: 0;
	font-family: var(--font-heading);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.12;
	font-size: clamp(1.9rem, 3.4vw, 3.2rem);
	color: #fff;
}

.office-statement__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2rem, 4vw, 3.6rem);
	margin-top: clamp(2.8rem, 5vw, 4.4rem);
	padding-top: clamp(2rem, 3.5vw, 3rem);
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.office-statement__num {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: var(--space-3);
}

.office-statement__title {
	font-weight: 500;
	font-size: clamp(1.2rem, 1.6vw, 1.5rem);
	color: #fff;
	margin: 0 0 var(--space-2);
}

.office-statement__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: var(--type-body-lg);
}

@media (max-width: 820px) {
	.office-statement__grid {
		grid-template-columns: 1fr;
		gap: clamp(1.8rem, 4vw, 2.6rem);
	}
}

/* --------------------------------------------------------------------------
   Process list
   -------------------------------------------------------------------------- */
/* Tightened: the section used to run long below step six. */
.section--office-process {
	padding-bottom: clamp(2.6rem, 4vw, 3.6rem);
}

.office-process {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(2.4rem, 5vw, 5rem);
	align-items: start;
}

.office-process__intro h2 {
	font-weight: 500;
	max-width: 16ch;
}

.office-process__list {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(1.8rem, 3vw, 2.8rem);
}

.office-process__list::before {
	content: "";
	position: absolute;
	top: 0.5rem;
	bottom: 0.5rem;
	left: 2.6rem;
	width: 1px;
	background: var(--color-line);
}

.office-process__item {
	position: relative;
	display: grid;
	grid-template-columns: 2.6rem minmax(0, 40rem);
	column-gap: clamp(1.8rem, 3.2vw, 3rem);
	align-items: baseline;
}

.office-process__num {
	font-family: var(--font-mono);
	font-size: 0.82rem;
	letter-spacing: 0.04em;
	color: var(--color-accent);
	background: var(--color-bg);
	position: relative;
	z-index: 1;
	padding-bottom: 0.2rem;
}

.office-process__title {
	font-weight: 500;
	font-size: clamp(1.15rem, 1.6vw, 1.45rem);
	margin: 0 0 var(--space-2);
}

.office-process__text {
	margin: 0;
	color: var(--color-muted);
	font-size: var(--type-body-lg);
}

@media (max-width: 820px) {
	.office-process {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Why split
   -------------------------------------------------------------------------- */
.section--office-why {
	background: var(--color-surface);
}

.office-why {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2.4rem, 5vw, 5rem);
	align-items: start;
}

.office-why__copy h2 {
	font-weight: 500;
	max-width: 16ch;
}

.office-why__points {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: clamp(1rem, 1.8vw, 1.6rem);
	border-top: 1px solid var(--color-line);
	padding-top: clamp(1.4rem, 2.4vw, 2rem);
}

.office-why__point {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: var(--space-3);
	align-items: baseline;
	padding-bottom: clamp(1rem, 1.8vw, 1.6rem);
	border-bottom: 1px solid var(--color-line);
	font-size: var(--type-body-lg);
	color: var(--color-text);
}

.office-why__point:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.office-why__marker {
	width: 0.34rem;
	height: 0.34rem;
	transform: translateY(-0.1rem) rotate(45deg);
	background: var(--color-accent);
	flex: none;
}

@media (max-width: 820px) {
	.office-why {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Projects (mirrors home projects grid)
   -------------------------------------------------------------------------- */
.office-projects__header {
	margin-bottom: clamp(2.4rem, 4vw, 3.6rem);
}

.office-projects__header h2 {
	font-weight: 500;
	max-width: 22ch;
}

.office-projects__header-row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: var(--space-5);
	flex-wrap: wrap;
}

.office-projects__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(2rem, 3.4vw, 3.4rem);
}

.office-project-card {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
}

.office-project-card__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: var(--color-surface-strong);
}

.office-project-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: var(--photo-grade);
	transition: transform 0.7s var(--ease-premium);
}

.office-project-card__image:hover .office-project-card__img {
	transform: scale(1.025);
}

.office-project-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--color-surface-strong);
}

.office-project-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-2);
	padding-top: var(--space-4);
	border-top: 1px solid var(--color-line);
}

.office-project-card__title {
	font-weight: 500;
	font-size: clamp(1.2rem, 1.6vw, 1.45rem);
	margin: 0;
}

.office-project-card__scope {
	margin: 0;
	color: var(--color-muted);
	font-size: var(--type-body-lg);
}

.office-project-card__body .text-link {
	margin-top: var(--space-3);
}

@media (max-width: 820px) {
	.office-projects__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.office-projects__grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Closing CTA (mirrors home closing cta)
   -------------------------------------------------------------------------- */
.office-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.6rem, 3vw, 2.4rem);
}

.office-cta__lead h2 {
	font-weight: 500;
	font-size: clamp(2.2rem, 4vw, 3.6rem);
	max-width: 18ch;
}

.office-cta__meta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: clamp(1.6rem, 4vw, 3.4rem);
}

.office-cta__note {
	max-width: 42rem;
	margin: 0;
	color: var(--color-muted);
	font-size: var(--type-body-lg);
}

.office-cta__actions {
	display: flex;
	align-items: center;
	gap: clamp(1.2rem, 2.4vw, 2rem);
	flex-wrap: wrap;
}

@media (max-width: 720px) {
	.office-cta__meta {
		grid-template-columns: 1fr;
		align-items: start;
	}
}

/* --------------------------------------------------------------------------
   Service coverage list (replaces the old three column capability grid)
   -------------------------------------------------------------------------- */
.office-statement__list {
	list-style: none;
	margin: clamp(2.8rem, 5vw, 4.4rem) 0 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.office-statement__item {
	display: grid;
	grid-template-columns: 3.4rem minmax(0, 0.9fr) minmax(0, 1.3fr);
	column-gap: clamp(1.6rem, 3vw, 3rem);
	align-items: baseline;
	padding-block: clamp(1.2rem, 2vw, 1.7rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.office-statement__list .office-statement__num {
	margin-bottom: 0;
}

.office-statement__list .office-statement__title {
	margin: 0;
}

@media (max-width: 720px) {
	.office-statement__item {
		grid-template-columns: 2.6rem minmax(0, 1fr);
	}

	.office-statement__list .office-statement__text {
		grid-column: 2;
		margin-top: 0.4rem;
	}
}

/* Closing CTA on INK, matching the sitewide close. */
.section--office-cta {
	background: var(--color-ink);
	color: rgba(255, 255, 255, 0.92);
}

.section--office-cta .office-cta__lead h2 {
	color: #f0f2ee;
}

.section--office-cta .eyebrow--chip {
	color: rgba(255, 255, 255, 0.72);
	border-color: rgba(255, 255, 255, 0.3);
}

.section--office-cta .office-cta__lead {
	--hairline-color: rgba(255, 255, 255, 0.28);
}

.section--office-cta .eyebrow__marker {
	background: var(--color-sage);
}

.section--office-cta .office-cta__rule {
	background: rgba(255, 255, 255, 0.2);
}

.section--office-cta .office-cta__note {
	color: rgba(255, 255, 255, 0.76);
}

/* Dark band button treatment lives with the button component in components.css. */

.section--office-cta .text-link {
	color: rgba(255, 255, 255, 0.85);
}
