#project-types.project-types-bento {
  background: #fff;
  scroll-margin-top: 1rem;
}

#project-types .project-types-bento-inner {
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 112px);
}

#project-types .project-types-bento-copy h2 {
  max-inline-size: 22ch;
  text-wrap: balance;
}

#project-types .project-types-bento-copy p {
  max-inline-size: 43ch;
}

#project-types .project-types-bento-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1vw, 20px);
  aspect-ratio: 1.52;
}

#project-types .project-type-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  min-inline-size: 0;
  overflow: hidden;
  padding: clamp(14px, 1.45vw, 26px);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  background: #38332c;
}

#project-types .project-type-tile--private-villas {
  grid-row: span 2;
}

#project-types .project-type-tile img,
#project-types .project-type-tile::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#project-types .project-type-tile img {
  z-index: -2;
  object-fit: cover;
}

#project-types .project-type-tile::after {
  z-index: -1;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, .80), rgba(0, 0, 0, .58) 25%, transparent 66%);
}

#project-types .project-type-tile > span {
  font-size: clamp(16px, 1.6vw, 25px);
  font-weight: 500;
  line-height: 1.16;
  text-wrap: balance;
}

#project-types .project-type-tile:focus-visible {
  outline: 2px solid var(--bronze, #a84132);
  outline-offset: 4px;
}

@media (hover: hover) {
  #project-types .project-type-tile:hover > span {
    text-decoration: underline;
    text-underline-offset: .22em;
  }
}

@media (max-width: 1000px) {
  #project-types .project-types-bento-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  #project-types .project-types-bento-copy h2 { max-inline-size: none; }
  #project-types .project-types-bento-copy p { max-inline-size: 60ch; }
}

@media (max-width: 700px) {
  #project-types .project-types-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    aspect-ratio: auto;
  }
  #project-types .project-type-tile {
    min-block-size: 148px;
    aspect-ratio: 1.14;
  }
  #project-types .project-type-tile--private-villas {
    grid-row: auto;
    grid-column: 1 / -1;
    aspect-ratio: 1.58;
  }
}

@media (max-width: 360px) {
  #project-types .project-types-bento-grid { grid-template-columns: minmax(0, 1fr); }
  #project-types .project-type-tile { aspect-ratio: 1.65; }
}

.section.home-furnishings {
	background: #eff4f6;
	scroll-margin-top: 72px;
}

.home-furnishings .home-furnishings-heading {
	max-width: 920px;
	margin: 0 auto clamp(30px, 4vw, 52px);
	text-align: center;
}

.home-furnishings .home-furnishings-heading .eyebrow {
	margin: 0 0 16px;
	color: var(--bronze);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.home-furnishings .home-furnishings-heading .home-furnishings-intro {
	max-width: 810px;
	margin: 20px auto 0;
	color: var(--muted);
}

.home-furnishings-catalog {
	margin: 24px 0 0;
	text-align: center;
}

.home-furnishings-catalog .text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
}

.home-furnishings .home-furnishings-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(14px, 1.5vw, 22px);
}

#solutions .project-type-card {
	overflow: hidden;
	border-radius: 16px;
}

.home-furnishings .project-type-card-visual {
	aspect-ratio: 4 / 3;
}

.home-furnishings .project-type-card-visual::after {
	background: linear-gradient(180deg, transparent 35%, rgba(18, 21, 22, .84));
}

.home-furnishings .project-type-card-visual h3 {
	position: absolute;
	z-index: 1;
	right: 18px;
	bottom: 16px;
	left: 18px;
	margin: 0;
	color: #fff;
	font-size: clamp(20px, 1.6vw, 24px);
	font-weight: 500;
	line-height: 1.15;
	text-align: center;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.home-furnishings .project-type-card-copy {
	gap: 16px;
	padding: clamp(16px, 1.6vw, 24px);
	overflow-wrap: anywhere;
}

.home-furnishings-catalog + .furnishings-navigation {
	margin-top: 22px;
}

.home-furnishings .project-type-card:focus-visible {
	outline: 2px solid var(--bronze);
	outline-offset: 3px;
}

@media (max-width: 1000px) {
	.home-furnishings .home-furnishings-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	#solutions.home-furnishings {
		padding-block: 48px;
	}

	.home-furnishings .home-furnishings-heading {
		margin-bottom: 24px;
		text-align: left;
	}

	.home-furnishings .home-furnishings-heading .home-furnishings-intro {
		margin-top: 14px;
	}

	.home-furnishings .home-furnishings-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}

	.home-furnishings-grid > :first-child .project-type-card-visual {
		aspect-ratio: 16 / 10;
	}

	.home-furnishings-grid > :first-child h3 {
		text-align: left;
	}

	.home-furnishings-grid > .project-type-card:not(:first-child) {
		--card-image-width: clamp(96px, 29vw, 132px);
		position: relative;
		min-height: 128px;
		justify-content: center;
		gap: 6px;
		padding: 14px 14px 14px calc(var(--card-image-width) + 14px);
	}

	.home-furnishings-grid > :not(:first-child) .project-type-card-visual {
		display: contents;
	}

	.home-furnishings-grid > :not(:first-child) .project-type-card-visual::after {
		content: none;
	}

	.home-furnishings-grid > :not(:first-child) img {
		position: absolute;
		inset: 0 auto 0 0;
		width: var(--card-image-width);
		height: 100%;
	}

	.home-furnishings-grid > :not(:first-child) h3 {
		position: static;
		color: var(--ink);
		font-size: 18px;
		text-align: left;
	}

	.home-furnishings-grid > :not(:first-child) .project-type-card-visual small {
		inset: 8px auto auto 8px;
		max-width: calc(var(--card-image-width) - 16px);
		color: #fff;
		line-height: 1.2;
	}

	.home-furnishings-grid > :not(:first-child) .project-type-card-copy {
		flex: 0 1 auto;
		gap: 8px;
		padding: 0;
	}

	.home-furnishings .home-furnishings-grid > :not(:first-child) .project-type-card-copy > span {
		font-size: 14px;
		line-height: 1.5;
	}

	.home-furnishings-grid > :not(:first-child) .project-type-card-copy em {
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-furnishings .project-type-card,
	.home-furnishings .project-type-card img {
		transition: none;
	}
	.home-furnishings .project-type-card:hover,
	.home-furnishings .project-type-card:hover img {
		transform: none;
	}
}

#project-types .home-project-description {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
#project-types .project-type-tile .home-project-visual-label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 7px;
  color: #fff;
  background: rgba(25, 28, 28, .78);
  font-size: 11px;
  line-height: 1.2;
}

#project-types .home-project-action {
  display: block;
  margin-top: 10px;
  font-size: clamp(13px, .95vw, 16px);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#project-types .home-project-action > span { display: inline-block; }
@media (max-width: 700px) {
  #project-types .home-project-action { font-size: 13px; margin-top: 7px; }
}
