/* Outdoor Spaces: expanded editorial gallery, then a photographic feature index. */
.ccl-feature-explorer { background: var(--ccl-color-surface); }
.ccl-feature-explorer__inner { width: min(100% - (var(--ccl-gutter) * 2), var(--ccl-width-wide)); margin-inline: auto; }
.ccl-feature-explorer__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, .72fr);
	gap: clamp(2rem, 7vw, 6rem);
	align-items: end;
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.ccl-feature-explorer__header h2 { max-width: 18ch; margin-bottom: 0; }
.ccl-feature-explorer__intro { max-width: var(--ccl-width-readable); }
.ccl-feature-explorer__intro p { margin-bottom: 0; }
.ccl-feature-explorer__panel { scroll-margin-top: 6rem; }
.ccl-feature-explorer__panel[hidden] { display: none; }
/* Only the readable, unenhanced sequence needs separation between panels. */
.ccl-feature-explorer:not(.is-enhanced) .ccl-feature-explorer__panel + .ccl-feature-explorer__panel {
	margin-top: 4rem; padding-top: 4rem; border-top: var(--ccl-border-subtle);
}
.ccl-feature-explorer__composition {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 3fr);
	gap: var(--ccl-space-md);
	align-items: start;
}
.ccl-feature-explorer__info {
	display: flex; flex-direction: column; align-items: flex-start;
	min-width: 0;
	padding: 0 clamp(1.25rem, 3vw, 3rem) 0 0;
}
.ccl-feature-explorer__info-header { width: 100%; padding-top: 1.25rem; border-top: 1px solid var(--ccl-color-brand-blue); }
.ccl-feature-explorer__count {
	margin: 0 0 1.5rem;
	color: var(--ccl-color-earth);
	font-size: var(--ccl-text-eyebrow); font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.ccl-feature-explorer__title-row h3 { margin: 0; font-size: clamp(1.8rem, 2.7vw, 2.8rem); line-height: 1.12; text-wrap: balance; }
.ccl-feature-explorer__title-row h3:focus { outline: 0; }
.ccl-feature-explorer__info-body { padding-top: clamp(1.5rem, 2.5vw, 2.5rem); }
.ccl-feature-explorer__info-body > p:first-child { margin-bottom: 1.5rem; color: var(--ccl-color-muted); font-size: var(--ccl-text-small); line-height: 1.65; }
.ccl-feature-explorer__considerations-title { margin: 0 0 .5rem; color: var(--ccl-color-earth); font-size: var(--ccl-text-small); font-weight: 500; }
.ccl-feature-explorer__info-body ul { list-style: none; margin: 0 0 1.5rem; padding: 0; color: var(--ccl-color-muted); font-size: var(--ccl-text-small); line-height: 1.5; }
.ccl-feature-explorer__info-body li + li { margin-top: .35rem; }
.ccl-feature-explorer__navigation { display: none; gap: .65rem; margin: 0 0 1rem; scroll-margin-top: 6rem; }
.is-enhanced .ccl-feature-explorer__navigation { display: flex; }
.ccl-feature-explorer__navigation button {
	display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0;
	border: 1px solid rgb(39 97 142 / .3); background: transparent; color: var(--ccl-color-brand-blue); cursor: pointer;
}
.ccl-feature-explorer__navigation button:hover { border-color: var(--ccl-color-brand-blue); }
.ccl-feature-explorer__navigation button:focus-visible,
.ccl-feature-explorer__selector:focus-visible { outline: var(--ccl-focus-ring); outline-offset: 4px; }
.ccl-feature-explorer__navigation .ccl-icon { width: 1rem; height: 1rem; }
.ccl-feature-explorer__gallery {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: var(--ccl-space-md);
	min-width: 0;
}
.ccl-feature-explorer__photo { width: 100%; min-width: 0; min-height: 0; overflow: hidden; }
.ccl-feature-explorer__photo--main { grid-column: 1; grid-row: 1 / 3; }
.ccl-feature-explorer__photo--secondary { grid-column: 2; }
.ccl-feature-explorer__panel--images-2 .ccl-feature-explorer__photo--secondary { grid-row: 1 / 3; }
.ccl-feature-explorer__panel--images-1 .ccl-feature-explorer__photo--main { grid-column: 1 / -1; }
.ccl-feature-explorer__photo .ccl-project-photo,
.ccl-feature-explorer__photo .ccl-project-photo__link { width: 100%; height: 100%; min-height: 0; }
.ccl-feature-explorer__photo .ccl-project-photo__link { isolation: isolate; overflow: hidden; cursor: zoom-in; }
.ccl-feature-explorer__photo--main .ccl-project-photo { height: auto; }
.ccl-feature-explorer__photo--main .ccl-project-photo__link { height: auto; aspect-ratio: 4 / 3; max-height: min(32.5rem, calc(100svh - 9rem)); }
.ccl-feature-explorer__photo .ccl-project-photo__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ccl-feature-explorer__photo .ccl-project-photo__expand { z-index: 2; }
.ccl-feature-explorer__photo .ccl-project-photo > figcaption,
.ccl-feature-explorer__collection { display: none; }

.ccl-feature-explorer__browse { margin-top: clamp(3.5rem, 7vw, 6rem); }
.ccl-feature-explorer__browse-heading {
	display: flex; justify-content: space-between; align-items: baseline; gap: 1rem 2rem;
	padding-top: 1.5rem; margin-bottom: 1.75rem; border-top: var(--ccl-border-subtle);
}
.ccl-feature-explorer__browse-heading h3 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.9rem); }
.ccl-feature-explorer__instruction { margin: 0; color: var(--ccl-color-muted); font-size: var(--ccl-text-small); }
.ccl-feature-explorer__selectors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--ccl-space-md); }
.ccl-feature-explorer__selector {
	position: relative; isolation: isolate; display: block; aspect-ratio: 5 / 4; min-width: 0; overflow: hidden;
	border: 2px solid transparent; background: var(--ccl-color-charcoal); text-decoration: none;
}
.ccl-feature-explorer .ccl-feature-explorer__selector,
.ccl-feature-explorer .ccl-feature-explorer__selector:is(:visited, :hover, :focus, :active) { color: var(--ccl-color-white); text-decoration: none; }
.ccl-feature-explorer__selector::after {
	content: ""; position: absolute; z-index: 3; left: 1rem; bottom: .65rem; width: 2.25rem; height: 2px;
	background: var(--ccl-color-white); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease;
}
.ccl-feature-explorer__selector-media,
.ccl-feature-explorer__selector-shade { position: absolute; inset: 0; }
.ccl-feature-explorer__selector-image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease; }
.ccl-feature-explorer__selector-shade { z-index: 1; background: linear-gradient(180deg, transparent 30%, rgb(0 0 0 / .15) 50%, rgb(0 0 0 / .72) 100%); }
.ccl-feature-explorer__selector-copy { position: absolute; z-index: 2; inset: 0; display: flex; align-items: flex-end; padding: 1rem 1rem 1.4rem; }
.ccl-feature-explorer__selector-label { max-width: 22ch; font-size: clamp(.9rem, 1.15vw, 1.1rem); font-weight: 600; line-height: 1.25; text-wrap: balance; }
.ccl-feature-explorer__selector:hover .ccl-feature-explorer__selector-image { transform: scale(1.025); }
.ccl-feature-explorer__selector.is-active { border-color: var(--ccl-color-brand-blue); }
.ccl-feature-explorer__selector.is-active::after { transform: scaleX(1); }

@media (max-width: 1180px) {
	.ccl-feature-explorer__composition { grid-template-columns: 1fr; gap: 2rem; }
	.ccl-feature-explorer__info {
		display: grid;
		grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
		gap: 0 3rem; padding: 0;
	}
	.ccl-feature-explorer__navigation { grid-column: 1 / -1; }
	.ccl-feature-explorer__info-header { grid-column: 1; grid-row: 2; }
	.ccl-feature-explorer__info-body { grid-column: 2; grid-row: 2; padding-top: 1.25rem; border-top: var(--ccl-border-subtle); }
}
@media (max-width: 1000px) {
	.ccl-feature-explorer__selectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.ccl-feature-explorer__header { grid-template-columns: 1fr; gap: 1.5rem; }
	.ccl-feature-explorer__browse-heading { display: block; }
	.ccl-feature-explorer__instruction { margin-top: .75rem; }
}
@media (max-width: 700px) {
	.ccl-feature-explorer__composition { gap: var(--ccl-space-lg); }
	.ccl-feature-explorer__info { display: flex; gap: 0; margin: 0; padding: 0; }
	.ccl-feature-explorer__info-body { padding-top: 1.5rem; border-top: 0; }
	.ccl-feature-explorer__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: var(--ccl-space-sm); }
	.ccl-feature-explorer__title-row h3 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
	.ccl-feature-explorer__photo--main { grid-column: 1 / -1; grid-row: 1; }
	.ccl-feature-explorer__photo--secondary { grid-column: auto; grid-row: 2; }
	.ccl-feature-explorer__photo .ccl-project-photo { height: auto; }
	.ccl-feature-explorer__photo .ccl-project-photo__link { height: auto; aspect-ratio: 1 / 1; }
	.ccl-feature-explorer__photo--main .ccl-project-photo__link { aspect-ratio: 3 / 2; }
	.ccl-feature-explorer__panel--images-2 .ccl-feature-explorer__photo--secondary { grid-column: 1 / -1; grid-row: 2; }
	.ccl-feature-explorer__panel--images-2 .ccl-feature-explorer__photo--secondary .ccl-project-photo__link { aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
	.ccl-feature-explorer__selectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ccl-space-sm); }
	.ccl-feature-explorer__selector { aspect-ratio: 1 / 1; }
	.ccl-feature-explorer__selector-copy { padding: .75rem .65rem 1.25rem; }
	.ccl-feature-explorer__selector-label { font-size: .88rem; }
	.ccl-feature-explorer__selector::after { left: .65rem; bottom: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ccl-feature-explorer__selector::after,
	.ccl-feature-explorer__selector-image { transition: none; }
	.ccl-feature-explorer__selector:hover .ccl-feature-explorer__selector-image { transform: none; }
}
