/*
Homepage sections, in museum order: hero, overlapping card, events/news/stories, photo footer.
*/

body.home {
	background: #fff;
}

body.home main {
	width: 100%;
	max-width: none;
	padding: 0;
}

.home-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(88vh, 52rem);
	padding: 0 0 4.5rem;
	color: #fff;
	background: #321c19 url("../home/hero-archive.jpg") center 30% / cover no-repeat;
}

.home-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(28, 14, 11, 0.78) 0%, rgba(28, 14, 11, 0.18) 48%, rgba(28, 14, 11, 0.12) 100%);
}

.home-hero__copy {
	position: relative;
	z-index: 1;
	width: min(1120px, calc(100% - 3rem));
	margin: 0 auto;
}

.home-hero h1 {
	max-width: 9ch;
	margin: 0 0 0.85rem;
	color: #fff;
	font-family: var(--serif);
	font-size: clamp(3.4rem, 8vw, 6.6rem);
	font-weight: 650;
	line-height: 0.92;
	letter-spacing: -0.03em;
}

.home-hero p {
	max-width: 28rem;
	margin: 0;
	color: #f3ebe3;
	font-family: var(--sans);
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	font-weight: 400;
	line-height: 1.35;
}

.home-feature {
	width: min(1120px, calc(100% - 3rem));
	margin: 3.5rem auto 0;
}

.home-feature__photo {
	display: block;
	width: 100%;
	height: min(68vh, 36rem);
	object-fit: cover;
	background: #462924;
}

.home-feature__card {
	position: relative;
	z-index: 1;
	width: min(36rem, 92%);
	margin: -7.5rem 0 0 4%;
	padding: 2.2rem 2.1rem 1.8rem;
	background: #fff;
	color: #2a1814;
	box-shadow: 0 18px 40px rgba(42, 24, 20, 0.12);
}

.home-feature__kicker {
	margin: 0 0 0.7rem;
	color: #5a463f;
	font-family: var(--sans);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.home-feature__card h2 {
	margin: 0 0 0.9rem;
	font-family: var(--serif);
	font-size: clamp(2.1rem, 4vw, 3.15rem);
	font-weight: 650;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.home-feature__card p {
	max-width: 38rem;
	margin: 0 0 1.2rem;
	color: #3a2a26;
	font-family: var(--serif);
	font-size: 1.12rem;
	line-height: 1.45;
}

.home-feature__card a {
	color: #f05228;
	font-family: var(--sans);
	font-size: 1.05rem;
	font-weight: 600;
	text-decoration: none;
}

.home-feature__card a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.home-split.wp-block-group {
	width: 100%;
	max-width: none;
	margin: 4.5rem 0 0;
	padding: 0;
	background: #fff;
}

.home-split > .wp-block-group__inner-container {
	width: min(1120px, calc(100% - 3rem));
	margin: 0 auto;
	padding: 0 0 5rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 4.5rem;
	row-gap: 3.2rem;
}

.home-col__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.4rem;
}

.home-col__head h2 {
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(2.4rem, 4vw, 3.5rem);
	font-weight: 650;
	letter-spacing: -0.03em;
	line-height: 1;
}

.home-col__head a {
	color: #2a1814;
	font-family: var(--sans);
	font-size: 1rem;
	text-decoration: none;
	white-space: nowrap;
}

.home-col__head a:hover {
	color: #f05228;
}

.home-note {
	margin: 0.2rem 0 0.4rem;
	color: #5a463f;
	font-family: var(--sans);
	font-size: 0.95rem;
}

.home-rows {
	list-style: none;
	margin: 0.6rem 0 0;
	padding: 0;
}

.home-rows li {
	border-top: 1px solid rgba(42, 24, 20, 0.16);
}

.home-rows a {
	display: grid;
	grid-template-columns: 6.2rem 1fr;
	gap: 1rem 1.4rem;
	align-items: start;
	padding: 1.15rem 0 1.2rem;
	color: #2a1814;
	text-decoration: none;
}

.home-rows time,
.home-rows .home-rows__when {
	color: #5c4a44;
	font-family: var(--sans);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.3;
}

.home-rows strong {
	display: block;
	font-family: var(--serif);
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.home-rows span em {
	display: block;
	margin-top: 0.2rem;
	color: #5c4a44;
	font-family: var(--sans);
	font-size: 0.98rem;
	font-style: normal;
}

.home-rows a:hover strong {
	color: #f05228;
}

.home-stories {
	grid-column: 1 / -1;
	padding-top: 0.4rem;
}

.home-stories .home-rows a {
	grid-template-columns: 5.6rem 4.75rem minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem 1.1rem;
}

.home-rows__thumb {
	width: 4.75rem;
	height: 4.75rem;
	object-fit: cover;
	display: block;
	background: #eadfd2;
}

.photo-footer {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 78vh;
	color: #f3ebe3;
	background: #321c19 url("../home/footer-street.jpg") center 40% / cover no-repeat;
}

.photo-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(22, 10, 8, 0.88) 0%, rgba(22, 10, 8, 0.62) 38%, rgba(22, 10, 8, 0.28) 100%);
}

.photo-footer__main,
.photo-footer__bar {
	position: relative;
	z-index: 1;
	width: min(1120px, calc(100% - 3rem));
	margin: 0 auto;
}

.photo-footer__main {
	padding: 4rem 0 2.2rem;
}

.photo-footer__logo {
	display: inline-flex;
	margin-bottom: 1.1rem;
}

.photo-footer__logo img {
	height: 64px;
	width: auto;
}

.photo-footer__main p {
	max-width: 26rem;
	margin: 0 0 1.6rem;
	color: #f3ebe3;
	font-family: var(--sans);
	font-size: 1.2rem;
	line-height: 1.4;
}

.photo-footer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.photo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.55rem 1.15rem;
	border: 1px solid #f3ebe3;
	background: transparent;
	color: #fff;
	font-family: var(--sans);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.photo-btn--solid {
	background: #fff;
	border-color: #fff;
	color: #2a1814;
}

.photo-btn:hover {
	background: #f05228;
	border-color: #f05228;
	color: #fff;
}

.photo-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem 1.5rem;
	padding: 1rem 0 1.2rem;
	border-top: 1px solid rgba(243, 235, 227, 0.45);
}

.photo-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.photo-footer__social a,
.photo-footer__bar > a {
	color: #f3ebe3;
	font-family: var(--sans);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}

.photo-footer__social a:hover,
.photo-footer__bar > a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

@media (max-width: 800px) {
	.home-hero {
		min-height: 78vh;
		padding-bottom: 2.4rem;
	}

	.home-feature__photo {
		height: 58vw;
		min-height: 14rem;
	}

	.home-feature__card {
		width: auto;
		margin: -3.2rem 0.6rem 0;
		padding: 1.4rem 1.15rem 1.2rem;
	}

	.home-split > .wp-block-group__inner-container {
		grid-template-columns: 1fr;
		row-gap: 2.6rem;
		padding-bottom: 3rem;
	}

	.home-rows a {
		grid-template-columns: 5.2rem 1fr;
	}

	.home-stories .home-rows a {
		grid-template-columns: 4.2rem 3.35rem minmax(0, 1fr);
		gap: 0.45rem 0.65rem;
		padding: 0.85rem 0;
	}

	.home-stories .home-rows__thumb {
		width: 3.35rem;
		height: 3.35rem;
	}

	.home-stories .home-rows strong {
		font-size: 1.12rem;
	}

	.photo-footer {
		min-height: 0;
	}

	.photo-footer__logo img {
		height: 48px;
	}
}

@media (max-width: 520px) {
	.museum-accent {
		display: none;
	}
}
