/**
 * Landing page styles based on park-ligtenberg-landing.html.
 * This stylesheet is loaded after main.css on the front page only.
 */

.site-main--landing {
	overflow: hidden;
	color: #17120f;
	background: #fff;
	font-family:
		Onest, "Avenir Next", Avenir, "Century Gothic", "Trebuchet MS", Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.55;
}

.site-main--landing p {
	margin: 0 0 1em;
}

.site-main--landing h1,
.site-main--landing h2,
.site-main--landing h3 {
	margin: 0;
	font-weight: 300;
	line-height: 1.05;
}

.landing-container {
	width: 85%;
	max-width: 1360px;
	margin-inline: auto;
}

.landing-section {
	padding-block: 160px;
}

.landing-title {
	font-size: 64px;
}

.landing-title--center {
	text-align: center;
}

.landing-lead {
	font-size: 1.125rem;
	line-height: 1.62;
}

.landing-muted {
	color: #625c57;
}

.landing-arrow-link {
	display: inline-block;
	color: #ef0051;
	font-weight: 600;
	text-decoration: none;
}

.landing-arrow-link::after {
	content: "  →";
}

/* Hero */

.landing-hero {
	padding-block: 1.375rem 160px;
}

.landing-hero__media {
	position: relative;
	min-height: 27.5rem;
	overflow: hidden;
	background: #e7e3df;
}

.landing-hero__media>img {
	width: 100%;
	height: 600px;
	object-fit: cover;
	object-position: center 52%;
}

.landing-hero__panel {
	position: absolute;
	top: 170px;
	right: 0;
	width: 18.25rem;
	color: #fff;
}

.landing-hero__stats {
	padding: 32px;
	background: #23100a;
	border-top-left-radius: 4px;
}

.landing-hero__stats>div:last-child {
	border-bottom: 0;
}

.landing-hero__stats span,
.landing-hero__event strong,
.landing-hero__event span {
	display: block;
}

.landing-hero__stats span {
	font-size: 0.75rem;
	opacity: 0.76;
}

.landing-hero__event {
	display: block;
	padding: 32px;
	color: #fff;
	background: #ef0051;
	text-decoration: none;
	border-bottom-left-radius: 4px;
}

.landing-hero__event:hover {
	color: #fff;
	background: #d90048;
}

.landing-hero__event:focus-visible {
	color: #fff;
	outline: 3px solid #17120f;
	outline-offset: 3px;
}

.landing-hero__event strong {
	margin-bottom: 0.625rem;
	font-size: 1.25rem;
	line-height: 1.15;
}

.landing-hero__event span {
	font-size: 0.8125rem;
}

/* Introduction and benefits */
.landing-intro {
	padding-top: 0;
}

.landing-intro__grid {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	align-items: center;
	gap: 3.375rem;
}

.landing-intro__copy .landing-title {
	max-width: 32.5rem;
	margin-bottom: 1.75rem;
}

.landing-intro__copy .landing-lead {
	max-width: 37.5rem;
}

.landing-intro__copy .landing-lead:last-child {
	margin: 0;
}

.landing-intro__image {
	height: 373px;
	overflow: hidden;
}

.landing-intro__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.landing-benefits {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 80px;
	gap: 32px;
}

.landing-benefit {
	min-height: 11rem;
	padding: 32px;
	background: #e9f8d5;
}

.landing-benefit__icon {
	display: block;
	width: 2.125rem;
	height: 2.125rem;
	margin-bottom: 24px;
}

.landing-benefit h2 {
	font-weight: 600;
	margin-bottom: 0.5625rem;
	font-size: 18px;
}

.landing-benefit p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
}

/* Finance placeholder */

.landing-finance {
	padding: 70px 0 160px;
	text-align: center;
}

.landing-finance .landing-title {
	margin-bottom: 0.75rem;
}

.landing-finance__intro {
	max-width: 48.75rem;
	margin: 0 auto 2.125rem !important;
	font-size: 18px;
}

.landing-finance__placeholder {
	display: flex;
	width: 82%;
	max-width: 58.75rem;
	margin-inline: auto;
	background: #f2ede8;
}

/* Project image strip */

.landing-wide-gallery {
	width: 100%;
}

.landing-gallery-swiper {
	position: relative;
	padding-bottom: 2.375rem;
	--swiper-pagination-bottom: 0;
	--swiper-theme-color: #ef0051;
	--swiper-navigation-color: #24110a;
}

.landing-gallery-swiper::before,
.landing-gallery-swiper::after {
	position: absolute;
	top: 0;
	bottom: 2.375rem;
	width: 16%;
	z-index: 2;
	pointer-events: none;
	content: "";
}

.landing-gallery-swiper::before {
	left: 0;
	background: linear-gradient(90deg, #fff 0%, rgb(255 255 255 / 0) 100%);
}

.landing-gallery-swiper::after {
	right: 0;
	background: linear-gradient(270deg, #fff 0%, rgb(255 255 255 / 0) 100%);
}

.landing-interiors__gallery::before {
	background: linear-gradient(90deg, #291008 0%, rgb(41 16 8 / 0) 100%);
}

.landing-interiors__gallery::after {
	background: linear-gradient(270deg, #291008 0%, rgb(41 16 8 / 0) 100%);
}

.landing-interiors__gallery {
	--swiper-navigation-color: #fff;
}

.landing-gallery-swiper .swiper-wrapper {
	align-items: stretch;
}

.landing-gallery-swiper .swiper-slide {
	display: block;
	height: auto;
	margin: 0;
	overflow: hidden;
}

.landing-gallery-swiper .swiper-pagination-bullet {
	width: 0.5rem;
	height: 0.5rem;
	background: #24110a;
	opacity: 0.3;
}

.landing-gallery-swiper .swiper-pagination-bullet-active {
	opacity: 1;
}

.landing-gallery-swiper .swiper-pagination,
.landing-gallery-swiper .swiper-button-prev,
.landing-gallery-swiper .swiper-button-next {
	z-index: 3;
}

.landing-wide-gallery .swiper-slide {
	height: 635px;
}

.landing-wide-gallery img {
	width: auto;
	height: auto;
	object-fit: cover;
}

.landing-wide-gallery .swiper-slide:first-child img {
	object-position: right center;
}

.landing-wide-gallery .swiper-slide:last-child img {
	object-position: left center;
}

/* Housing types */

.landing-housing {
	padding-top: 160px;
}

.landing-housing .landing-title {
	margin-bottom: 2.125rem;
}

.landing-housing__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
}

.landing-housing-card {
	background: #f2eeea;
	position: relative;
}

.landing-housing-card figure {
	height: 11.75rem;
	overflow: hidden;
}

.landing-housing-card figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.landing-housing-card__body {
	padding: 1.25rem 1.25rem 1.375rem;
}

.landing-housing-card__price {
	position: absolute;
	top: 0;
	right: 0;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 4px;
	padding: 5px 16px;
	background: #230f0a;
}

.landing-housing-card h3 {
	margin-bottom: 0.625rem;
	font-size: 18px;
	font-weight: 600;
}

.landing-housing-card__body>p:not(.landing-housing-card__price, .landing-housing-card__meta) {
	margin-bottom: 0.9375rem;
	font-size: 0.8125rem;
	line-height: 1.45;
}

.landing-housing-card__meta {
	margin-bottom: 0.875rem !important;
	font-size: 0.75rem;
}

.landing-housing-card .landing-arrow-link {
	font-size: 0.8125rem;
}

/* Interiors */

.landing-interiors {
	padding: 160px 0;
	color: #fff;
	background: #291008;
}

.landing-interiors .landing-title {
	margin-bottom: 46px;
	font-size: 64px;
	font-weight: 300;
}

.landing-interiors__gallery {
	width: 100%;
}

.landing-interiors__gallery .swiper-slide {
	height: 560px;
}

.landing-interiors__gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Location */

.landing-location {
	padding: 160px 0;
	background: #e9f8d5;
}

.landing-location>.landing-container>.landing-title {
	margin: 0 auto 46px;
}

.landing-location__grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	align-items: start;
}

.landing-location__copy p {
	font-size: 18px;
	line-height: 1.64;
}

.landing-places {
	padding: 0;
	margin: 70px 0 0;
	border-top: 1px solid rgb(0 0 0 / 18%);
	list-style-position: inside;
}

.landing-places li {
	display: flex;
	justify-content: space-between;
	padding: 12px 12px;
	border-bottom: 1px solid rgb(0 0 0 / 18%);
	font-size: 14px;
	cursor: pointer;
	transition:
		background-color 180ms ease,
		transform 180ms ease;
}

.landing-places li.is-active,
.landing-places li:hover {
	background: rgba(0,0,0,0.1);
}

.landing-places li span {
	width: 24px;
	height: 24px;
	margin-right: 8px;
	font-weight: 700;
	border-radius: 100px;
	background: #24110a;
	color: #fff;
	text-align: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition:
		background-color 180ms ease,
		transform 180ms ease;
}

.landing-places li.is-active span,
.landing-places li:hover span {
	background: #ef0051;
}

.landing-places b {
	font-weight: 500;
}

.landing-places span {
	color: #5d5751;
}

.landing-map {
	position: relative;
	min-height: 18.75rem;
	padding: 0 100px;
}

.landing-map img {
	width: 100%;
}

.landing-map__marker {
	position: absolute;
	width: 1.6875rem;
	height: 1.6875rem;
	margin: -0.8125rem 0 0 -0.8125rem;
	border-radius: 50%;
	color: #fff;
	background: #23100a;
	box-shadow: 0 1px 3px rgb(0 0 0 / 25%);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.6875rem;
	text-align: center;
	cursor: pointer;
	transition:
		background-color 180ms ease,
		transform 180ms ease;
}

.landing-map__marker.is-active {
	background: #ef0051;
	transform: scale(1.2);
}

.landing-map__marker--current {
	top: 44%;
	left: 50.5%;
}

.landing-map__marker--1 {
	top: 64%;
	left: 53%;
}

.landing-map__marker--2 {
	top: 76%;
	left: 47%;
}

.landing-map__marker--3 {
	top: 34%;
	left: 51%;
}

.landing-map__marker--4 {
	top: 70%;
	left: 41%;
}

.landing-map__marker--5 {
	top: 3%;
	left: 43%;
}

.landing-map__marker--6 {
	top: 10%;
	left: 21%;
}

.landing-map__marker--6-secondary {
	top: 97%;
	left: 45%;
}

.landing-location__quote {
	max-width: 530px;
	margin: 120px auto 0;
	font-size: 32px;
	font-weight: 100;
	line-height: 1.42;
	text-align: right;
}

.landing-location__quote::before {
	content: "“";
}

.landing-location__quote::after {
	content: "”";
}

.landing-location__gallery {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	margin-top: 80px;
	gap: 1.125rem;
}

.landing-location__gallery figure {
	height: 324px;
	overflow: hidden;
}

.landing-location__gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Project progress */

.landing-progress {
	padding: 160px 0;
}

.landing-progress .landing-title {
	margin-bottom: 70px;
}

.landing-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	padding: 0;
	margin: 0 0 80px;
	list-style: none;
}

.landing-timeline::before {
	position: absolute;
	top: 0.5rem;
	right: 0;
	left: 0;
	height: 1px;
	background: #230f0a;
	content: "";
}

.landing-timeline li {
	display: flex;
	justify-content: center;
	position: relative;
	padding: 1.625rem 0.75rem 0;
	text-align: center;
}

.landing-timeline li::before {
	position: absolute;
	top: 0.1875rem;
	left: 50%;
	width: 0.6875rem;
	height: 0.6875rem;
	margin-left: -0.3125rem;
	border-radius: 50%;
	background: #24110a;
	content: "";
	z-index: 1;
}

.landing-timeline li::after {
	position: absolute;
	top: 7px;
	left: 0;
	width: 100%;
	height: 3px;
	background: #ef0051;
	content: "";
	pointer-events: none;
	z-index: 0;
}

.landing-timeline-info {
	text-align: left;
}

.landing-timeline li.is-current::before {
	background: #ef0051;
}

.landing-timeline li.is-current::after {
	width: 50%;
}

.landing-timeline li.is-future::before {
	background: #fff;
	border: 1px solid #24110a;
}

.landing-timeline li.is-future::after {
	width: 0;
}

.landing-timeline strong,
.landing-timeline time {
	display: block;
}

.landing-timeline strong {
	font-weight: 600;
	font-size: 18px;
}

.landing-timeline time {
	color: #6c645f;
	font-size: 14px;
}

.landing-progress__gallery {
	width: 100%;
}

.landing-progress__gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Downloads */

.landing-downloads {
	padding-top: 3rem;
	padding-bottom: 160px;
}

.landing-downloads .landing-title {
	margin-bottom: 1.875rem;
}

.landing-downloads__list {
	max-width: 56.25rem;
	margin-inline: auto;
	border-top: 1px solid #d7d2cd;
}

.landing-download {
	display: grid;
	grid-template-columns: 1fr 11.875rem;
	align-items: center;
	padding-block: 24px;
	border-bottom: 1px solid #d7d2cd;
	gap: 1.5rem;
}

.landing-download h3 {
	margin-bottom: 0.25rem;
	font-size: 18px;
	font-weight: 600;
}

.landing-download p {
	margin: 0;
	color: #6d6660;
	font-size: 0.8125rem;
}

.landing-download a {
	padding: 0;
	border: 0;
	color: #ef0051;
	background: transparent;
	font: inherit;
	font-size: 18px;
	font-weight: 700;
	text-align: right;
}

@media (max-width: 980px) {
	.landing-section {
		padding-block: 3.875rem;
	}

	.landing-title {
		font-size: 2.375rem;
	}

	.landing-hero__media,
	.landing-hero__media>img {
		min-height: 24.375rem;
		height: 24.375rem;
	}

	.landing-hero__panel {
		top: 2.125rem;
		width: 16.25rem;
	}

	.landing-intro__grid,
	.landing-location__grid {
		grid-template-columns: 1fr;
		gap: 2.125rem;
	}

	.landing-intro__image {
		height: 22.5rem;
	}

	.landing-benefits,
	.landing-housing__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.landing-map {
		padding: 0;
	}

	.landing-map {
		min-height: auto;
	}

	.langing-map__marker {
		width: 20px;
		height: 20px;
		font-size: 10px;
		font-weight: 600;
		line-height: 20px;
	}

	.landing-location__quote {
		margin-top: 50px;
		font-size: 20px;
	}
}

@media (max-width: 720px) {
	.site-main--landing {
		font-size: 0.9375rem;
	}

	.landing-container {
		width: 88%;
	}

	.landing-section {
		padding-block: 3.25rem;
	}

	.landing-title {
		font-size: 2.0625rem;
	}

	.landing-hero {
		padding-top: 0;
	}

	.landing-hero .landing-container {
		width: 100%;
	}

	.landing-hero__media,
	.landing-hero__media>img {
		min-height: 24.375rem;
		height: 24.375rem;
	}

	.landing-hero__media>img {
		object-position: 38% center;
	}

	.landing-hero__panel {
		top: auto;
		right: 1.125rem;
		bottom: 1.125rem;
		width: 15.3125rem;
	}

	.landing-hero__stats {
		display: none;
	}

	.landing-hero__event {
		padding: 1.0625rem 1.1875rem;
	}

	.landing-intro__image {
		height: 16.25rem;
	}

	.landing-benefits,
	.landing-housing__grid {
		grid-template-columns: 1fr;
	}

	.landing-benefit {
		min-height: 0;
	}

	.landing-finance__placeholder {
		width: 100%;
	}

	.landing-wide-gallery .swiper-slide {
		height: 14.6875rem;
	}

	.landing-housing-card figure {
		height: 14.0625rem;
	}

	.landing-interiors__gallery .swiper-slide {
		height: 18.125rem;
	}

	.landing-location__gallery {
		grid-template-columns: 1fr;
	}

	.landing-location__gallery figure {
		height: 14.0625rem;
	}

	.landing-timeline {
		display: block;
		margin-left: 1.125rem;
	}

	.landing-timeline::before {
		top: 0.625rem;
		right: auto;
		bottom: 0.75rem;
		left: 0.3125rem;
		width: 1px;
		height: auto;
	}

	.landing-timeline li {
		padding: 0 0 1.625rem 2rem;
		text-align: left;
	}

	.landing-timeline li::before {
		top: 0.3125rem;
		left: 0;
		margin-left: 0;
	}

	.landing-timeline li::after {
		top: 0.3125rem;
		left: 4px;
		margin-left: 0;
		width: 3px;
		height: 100%;
	}
	
	.landing-timeline li.is-current {
		padding-bottom: 40px;
	}

	.landing-timeline li.is-current::after {
		width: 3px;
		height: 23%;
	}

	.landing-download {
		grid-template-columns: 1fr;
		gap: 0.4375rem;
	}

	.landing-download a {
		text-align: left;
	}

	.landing-finance {
		padding: 40px 0;
	}

	.landing-interiors {
		padding: 80px 0;
	}

	.landing-interiors .landing-title {
		font-size: 48px;
	}
	
	.landing-wide-gallery img {
		height: 240px;	
	}
}
