/*
 * Development pages. Type and colour come from the Elementor kit variables, so
 * the page follows the brand without restating it; the fallbacks are only there
 * for the moment before the kit stylesheet lands.
 */

:is(.gpd-dev, .gpd-cs, .gpd-dialog) {
	--gpd-gutter: clamp(1.25rem, -1.257rem + 10.286vw, 8rem);
	--gpd-section: clamp(2.25rem, -0.349rem + 4.0609vw, 6.25rem);
	--gpd-ink: var(--e-global-color-text, #2b2b2b);
	--gpd-paper: var(--e-global-color-secondary, #fbfbf9);
	--gpd-green: var(--e-global-color-primary, #334232);
	--gpd-mist: var(--e-global-color-d2757e1, #f0f0f0);
	--gpd-rule: rgba(43, 43, 43, .18);
	--gpd-serif: var(--e-global-typography-primary-font-family, "Cormorant Garamond"), Georgia, serif;
	--gpd-sans: var(--e-global-typography-0931ac5-font-family, "Montserrat"), Arial, sans-serif;

	color: var(--gpd-ink);
	overflow-x: clip;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :where(h1, h2, h3, h4) {
	margin: 0;
	font-family: var(--gpd-serif);
	font-weight: 500;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :where(p, ul, ol, dl) {
	margin: 0;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-filelink, .gpd-arrow, .gpd-plot, .gpd-gallery__tile, .gpd-dialog__close, .gpd-dialog__step, .gpd-map__button, .gpd-band__sound, .gpd-btn, .gpd-cs__btn, .gpd-accordion__summary) {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
	text-align: inherit;
	white-space: normal;
	cursor: pointer;
}

/* Shared type roles, each one a kit token. */

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-hero__title) {
	font-size: var(--e-global-typography-primary-font-size, 3.475rem);
	line-height: var(--e-global-typography-primary-line-height, 1.18em);
	letter-spacing: var(--e-global-typography-primary-letter-spacing, -1.7px);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-about__heading, .gpd-plots__heading, .gpd-more__heading, .gpd-gallery__heading, .gpd-dialog__title) {
	font-family: var(--gpd-serif);
	font-size: var(--e-global-typography-text-font-size, 2.7rem);
	line-height: var(--e-global-typography-text-line-height, 1.25em);
	letter-spacing: var(--e-global-typography-text-letter-spacing, -1px);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-enquiry__heading, .gpd-plot__title, .gpd-floors__heading, .gpd-plotview__label) {
	font-family: var(--gpd-serif);
	font-size: var(--e-global-typography-accent-font-size, 2.1rem);
	line-height: var(--e-global-typography-accent-line-height, 1.3em);
	letter-spacing: var(--e-global-typography-accent-letter-spacing, -.8px);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-accordion__summary, .gpd-floor__name) {
	font-family: var(--gpd-serif);
	font-size: var(--e-global-typography-0fefb11-font-size, 1.29rem);
	font-weight: var(--e-global-typography-0fefb11-font-weight, 400);
	line-height: var(--e-global-typography-0fefb11-line-height, 1.6em);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-hero__points) {
	font-family: var(--gpd-serif);
	font-size: var(--e-global-typography-37d7f1f-font-size, 1.17rem);
	font-weight: var(--e-global-typography-37d7f1f-font-weight, 500);
	line-height: var(--e-global-typography-37d7f1f-line-height, 1.7em);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-hero__strapline) {
	font-family: var(--gpd-sans);
	font-size: var(--e-global-typography-0931ac5-font-size, 1.14rem);
	font-weight: var(--e-global-typography-0931ac5-font-weight, 400);
	line-height: var(--e-global-typography-0931ac5-line-height, 1.8em);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-enquiry__text, .gpd-dialog__intro) {
	font-family: var(--gpd-sans);
	font-size: var(--e-global-typography-799d7b9-font-size, 1.05rem);
	line-height: var(--e-global-typography-799d7b9-line-height, 1.6em);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-accordion__body, .gpd-plot__summary, .gpd-form, .gpd-form__terms, .gpd-plotview__features, .gpd-rooms) {
	font-family: var(--gpd-sans);
	font-size: var(--e-global-typography-91ec49c-font-size, .955rem);
	font-weight: var(--e-global-typography-91ec49c-font-weight, 300);
	line-height: var(--e-global-typography-91ec49c-line-height, 1.7em);
}

/* The uppercase micro label: tags, buttons, field labels, the brochure link. */
:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-filelink, .gpd-plot__tag, .gpd-plot__more, .gpd-btn, .gpd-field label, .gpd-map__label, .gpd-band__sound) {
	font-family: var(--gpd-sans);
	font-size: var(--e-global-typography-240f159-font-size, .8rem);
	font-weight: var(--e-global-typography-240f159-font-weight, 500);
	line-height: var(--e-global-typography-240f159-line-height, 1em);
	letter-spacing: var(--e-global-typography-240f159-letter-spacing, 2px);
	text-transform: uppercase;
}

@media (max-width: 767px) {
	:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-hero__title) {
		font-size: 2.5rem;
	}
}

/* ------------------------------------------------------------------ Sections */

.gpd-dev > section {
	padding-inline: var(--gpd-gutter);
}

.gpd-dev > .gpd-band,
.gpd-dev > .gpd-enquiry {
	padding-inline: 0;
}

/* ---------------------------------------------------------------------- Hero */

.gpd-hero {
	display: grid;
	grid-template-columns: minmax(0, 49%) minmax(0, 38%);
	justify-content: space-between;
	align-items: start;
	gap: clamp(1.75rem, 1rem + 3vw, 4rem);
	padding-block: clamp(6rem, 1.066rem + 13.9594vw, 13.63rem) var(--gpd-section);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-hero__strapline {
	margin-block-start: .75rem;
}

.gpd-hero__points {
	list-style: none;
	padding: 0;
}

.gpd-hero__points li {
	display: grid;
	grid-template-columns: 1.6em 1fr;
	padding-block: .7em;
	border-block-end: 1px solid var(--gpd-rule);
}

.gpd-hero__points li::before {
	content: "\2192";
	font-family: var(--gpd-sans);
	font-size: .8em;
	line-height: inherit;
}

@media (max-width: 899px) {
	.gpd-hero {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* A file link: an icon, a word, no box. */

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-filelink {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	margin-block-start: 1.6rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-filelink:hover,
.gpd-filelink:focus-visible {
	opacity: .65;
}

.gpd-filelink__icon {
	flex: none;
}

/* ---------------------------------------------------------------- Media band */

.gpd-band {
	position: relative;
	min-height: 90vh;
	display: grid;
}

.gpd-band__media {
	grid-area: 1 / 1;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	display: block;
}

.gpd-band__logo {
	grid-area: 1 / 1;
	place-self: start end;
	margin: clamp(1rem, .3rem + 2.2vw, 2.5rem);
	padding: clamp(.75rem, .4rem + 1.2vw, 1.25rem);
	width: clamp(9rem, 6rem + 6vw, 13.75rem);
	border-radius: 6px;
	background: rgba(20, 24, 19, .34);
	backdrop-filter: blur(3px);
}

.gpd-band__logo-img {
	width: 100%;
	height: auto;
	display: block;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-band__sound {
	position: absolute;
	inset-block-end: clamp(1rem, .3rem + 2.2vw, 2.5rem);
	inset-inline-end: clamp(1rem, .3rem + 2.2vw, 2.5rem);
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .75em 1.4em;
	border: 1px solid rgba(251, 251, 249, .6);
	border-radius: 35px;
	background: rgba(43, 43, 43, .35);
	color: var(--gpd-paper);
	backdrop-filter: blur(6px);
	cursor: pointer;
}

/* -------------------------------------------------------------------- Brands */

.gpd-brands {
	padding-block: var(--gpd-section);
}

.gpd-brands__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	gap: clamp(.75rem, .4rem + 1.2vw, 1.5rem);
	list-style: none;
	padding: 0;
}

.gpd-brands__item {
	display: grid;
	padding: 1.5rem 1rem;
	border: 1px solid var(--gpd-rule);
	min-height: 5.5rem;
}

.gpd-brands__item > * {
	display: grid;
	place-items: center;
	min-width: 0;
}

.gpd-brands__logo {
	display: block;
	max-width: min(100%, 11rem);
	max-height: 2.6rem;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* --------------------------------------------------------------------- About */

.gpd-about {
	display: grid;
	grid-template-columns: minmax(0, 45%) minmax(0, 50%);
	justify-content: space-between;
	align-items: start;
	gap: clamp(1.75rem, 1rem + 3vw, 4rem);
	padding-block-end: var(--gpd-section);
}

.gpd-about__img {
	width: 100%;
	height: auto;
	display: block;
}

.gpd-about__heading {
	margin-block-end: 1.2rem;
}

.gpd-accordion {
	transition: min-height .34s cubic-bezier(.4, 0, .2, 1);
}

.gpd-accordion__item {
	border-block-end: 1px solid var(--gpd-rule);
}

.gpd-accordion__title {
	margin: 0;
	font: inherit;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: clamp(.5rem, .2563rem + .3807vw, .875rem) 0;
	border: 0;
	border-radius: 0;
	background: none;
	color: inherit;
	text-align: start;
	cursor: pointer;
}

.gpd-accordion__chevron {
	flex: none;
	transition: transform .34s cubic-bezier(.4, 0, .2, 1);
}

.gpd-accordion__item.is-open .gpd-accordion__chevron {
	transform: rotate(180deg);
}

/* Height is set in pixels by the script, so it can be transitioned. */
.gpd-accordion__panel {
	height: 0;
	overflow: hidden;
	transition: height .34s cubic-bezier(.4, 0, .2, 1);
}

.gpd-accordion__body {
	padding-block-end: 1.25rem;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-accordion__body p + p {
	margin-block-start: 1em;
}

@media (max-width: 899px) {
	.gpd-about {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* --------------------------------------------------------------------- Plots */

.gpd-plots {
	padding-block-end: var(--gpd-section);
}

.gpd-plots__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-block-end: 1.5rem;
}

.gpd-plots__nav {
	display: flex;
	gap: .5rem;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-arrow {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--gpd-ink);
	cursor: pointer;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-arrow:hover:not(:disabled) {
	background: var(--gpd-mist);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-arrow:disabled {
	opacity: .25;
	cursor: default;
}

.gpd-plots__track {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	padding: 0 var(--gpd-gutter) 0 0;
	margin-inline-end: calc(var(--gpd-gutter) * -1);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.gpd-plots__track::-webkit-scrollbar {
	display: none;
}

.gpd-plots__slide {
	flex: 0 0 calc(50% - .75rem);
	min-width: 0;
	scroll-snap-align: start;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-plot {
	position: relative;
	display: grid;
	grid-template-rows: 100%;
	width: 100%;
	aspect-ratio: 5 / 4;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--gpd-green);
	color: var(--gpd-paper);
	overflow: hidden;
	cursor: pointer;
	text-align: start;
}

.gpd-plot__img {
	grid-area: 1 / 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.gpd-plot:hover .gpd-plot__img,
.gpd-plot:focus-visible .gpd-plot__img {
	transform: scale(1.04);
}

.gpd-plot__tag {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	padding: .85em 1.4em;
	background: var(--gpd-ink);
	color: var(--gpd-paper);
}

.gpd-plot--sold .gpd-plot__tag {
	background: var(--gpd-green);
}

.gpd-plot__body {
	position: relative;
	z-index: 1;
	grid-area: 1 / 1;
	align-self: end;
	display: grid;
	gap: .25rem;
	padding: clamp(1rem, .5rem + 1.6vw, 2.25rem);
	background: linear-gradient(to top, rgba(20, 24, 19, .72), rgba(20, 24, 19, 0));
}

.gpd-plot__summary {
	opacity: .85;
}

.gpd-plot__more {
	margin-block-start: .4rem;
}

@media (max-width: 767px) {
	.gpd-plots__slide {
		flex-basis: 86%;
	}
}

/* ------------------------------------------------------------------- Gallery */

.gpd-gallery {
	padding-block-end: var(--gpd-section);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-gallery__tile {
	position: relative;
	display: grid;
	grid-template-rows: 100%;
	width: 100%;
	aspect-ratio: 16 / 7;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: var(--gpd-green);
	overflow: hidden;
	cursor: pointer;
}

.gpd-gallery__cover {
	grid-area: 1 / 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gpd-gallery__overlay {
	grid-area: 1 / 1;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 1.5rem;
	padding: 1.5rem;
	background: rgba(20, 24, 19, .42);
	color: var(--gpd-paper);
	text-align: center;
}

/* --------------------------------------------------------- Map and enquiries */

.gpd-enquiry {
	display: grid;
	grid-template-columns: minmax(0, 42%) minmax(0, 58%);
	background: var(--gpd-mist);
}

.gpd-enquiry--nomap {
	grid-template-columns: minmax(0, 1fr);
}

.gpd-map {
	position: relative;
	min-height: 28rem;
	background: var(--gpd-green);
}

.gpd-map__button,
.gpd-map__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-map__button {
	display: grid;
	place-content: center;
	justify-items: center;
	gap: .75rem;
	padding: 2rem;
	border-radius: 0;
	background: none;
	color: var(--gpd-paper);
	text-align: center;
	cursor: pointer;
}

.gpd-map__address {
	font-family: var(--gpd-serif);
	font-size: 1.15rem;
	letter-spacing: normal;
	text-transform: none;
	opacity: .8;
}

.gpd-enquiry__panel {
	padding: var(--gpd-section) var(--gpd-gutter) var(--gpd-section) clamp(1.25rem, .6rem + 3vw, 4.5rem);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-enquiry__text {
	margin-block: 1rem 2rem;
}

@media (max-width: 899px) {
	.gpd-enquiry {
		grid-template-columns: minmax(0, 1fr);
	}

	.gpd-map {
		min-height: 18rem;
	}
}

/* --------------------------------------------------------------------- Forms */

.gpd-form {
	display: grid;
	gap: 1.5rem;
	justify-items: start;
}

.gpd-field {
	display: grid;
	gap: .5rem;
	width: 100%;
}

.gpd-field__optional {
	text-transform: lowercase;
	opacity: .5;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-field :is(input, textarea) {
	width: 100%;
	padding: .65rem 0;
	border: 0;
	border-block-end: 1px solid var(--gpd-ink);
	border-radius: 0;
	background: none;
	color: inherit;
	font: inherit;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-field :is(input, textarea):focus-visible {
	outline: none;
	border-block-end-color: var(--gpd-green);
	border-block-end-width: 2px;
}

.gpd-field textarea {
	resize: vertical;
}

.gpd-form__trap {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.gpd-form__terms {
	opacity: .8;
}

.gpd-form__message:empty {
	display: none;
}

.gpd-form__message {
	font-family: var(--gpd-sans);
	font-size: .95rem;
}

.gpd-form__message[data-kind="error"] {
	color: #9a2c2c;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-btn {
	display: inline-block;
	padding: clamp(.875rem, .672rem + .3173vw, 1.1875rem) clamp(1.875rem, 1.3065rem + .8883vw, 2.75rem);
	border: 1px solid currentColor;
	border-radius: 35px;
	background: none;
	color: inherit;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-btn:hover:not(:disabled),
.gpd-btn:focus-visible:not(:disabled) {
	background: var(--gpd-green);
	border-color: var(--gpd-green);
	color: var(--gpd-paper);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-btn:disabled {
	opacity: .5;
	cursor: default;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-btn--ghost {
	border-color: currentColor;
}

/* ------------------------------------------------------------------- Dialogs */

.gpd-locked {
	overflow: hidden;
}

/* The site header sits in the flow at the top of the page, so it shows through
   beside an open overlay. Hidden rather than removed, to avoid a reflow. */
.gpd-locked .elementor-location-header {
	visibility: hidden;
}

.gpd-dialog:not([open]) {
	display: none;
}

.gpd-dialog {
	width: 100%;
	max-width: none;
	max-height: none;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--gpd-ink);
	overscroll-behavior: contain;
}

.gpd-dialog::backdrop {
	background: rgba(20, 24, 19, .55);
}

.gpd-dialog__shell {
	--gpd-shell-pad: clamp(1.25rem, .5rem + 3vw, 4rem);

	position: relative;
	width: min(76rem, 100%);
	max-height: 100%;
	margin-inline: auto;
	animation: gpd-dialog-in .22s ease backwards;
	padding: clamp(3.5rem, 2rem + 4vw, 5rem) var(--gpd-shell-pad) clamp(2rem, 1rem + 3vw, 4rem);
	background: var(--gpd-paper);
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* The brochure form sits in the middle of the screen, wide enough that the
   heading stays on one line. */
.gpd-dialog--form {
	display: grid;
	place-items: center;
}

.gpd-dialog__shell--narrow {
	width: min(40rem, 100%);
	max-height: 100%;
}

.gpd-dialog--plot .gpd-dialog__shell {
	width: 100%;
	min-height: 100%;
}

/* An inner measure, so a full width panel does not give full width prose. The
   measure sits on the blocks rather than the body, which leaves the floorplan
   band free to run edge to edge. */
.gpd-measure {
	width: min(80rem, 100%);
	margin-inline: auto;
}

.gpd-dialog--plot .gpd-floors {
	margin-inline: calc(-1 * var(--gpd-shell-pad));
	padding-inline: var(--gpd-shell-pad);
}

/* Plots live as panels in the one overlay, and the area crossfades between
   them. Nothing opens or closes, so the backdrop stays put. */
.gpd-panels {
	transition: opacity .16s ease;
}

.gpd-panels.is-swapping {
	opacity: 0;
}

.gpd-panel {
	display: none;
}

.gpd-panel.is-current {
	display: block;
}

@keyframes gpd-dialog-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-dialog__close, .gpd-dialog__step) {
	position: absolute;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--gpd-ink);
	cursor: pointer;
}

.gpd-dialog__close {
	inset-block-start: 1rem;
	inset-inline-end: 1rem;
	z-index: 2;
}

/* Fixed over a panel that scrolls, so they carry their own backing rather than
   relying on whatever happens to be behind them. */
:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-dialog__step {
	position: fixed;
	inset-block-start: 50%;
	translate: 0 -50%;
	background: rgba(251, 251, 249, .92);
	color: var(--gpd-ink);
	backdrop-filter: blur(4px);
}

.gpd-dialog__step--prev {
	inset-inline-start: .5rem;
}

.gpd-dialog__step--next {
	inset-inline-end: .5rem;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) /* A second overlay stacks on top of the first; the one underneath should not
   show its controls through the dim. */
.gpd-dialog:has(~ dialog[open]) :is(.gpd-dialog__step, .gpd-dialog__close) {
	visibility: hidden;
}

.gpd-dialog__close:hover,
.gpd-dialog__step:hover {
	opacity: .6;
}

.gpd-dialog__title {
	margin-block-end: 1.5rem;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-dialog__intro {
	margin-block-end: 1.75rem;
}

.gpd-plotview__media {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, .8rem + 1.6vw, 2.5rem);
}

.gpd-plotview__media--single {
	grid-template-columns: minmax(0, 1fr);
}

/* The site plan keeps its own proportions and so sets the row height; the photo
   fills whatever that comes to. A percentage height would go unresolved here. */
.gpd-plotview__photo {
	position: relative;
	min-height: 14rem;
}

.gpd-plotview__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gpd-plotview__media--single .gpd-plotview__photo {
	position: static;
}

.gpd-plotview__media--single .gpd-plotview__img {
	position: static;
	height: auto;
}

.gpd-plotview__siteplan {
	width: 100%;
	height: auto;
	display: block;
}

.gpd-floor__img {
	display: block;
	margin-inline: auto;
	max-width: 100%;
	max-height: 76vh;
	width: auto;
	height: auto;
}

.gpd-plotview__label {
	margin-block: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem) 1rem;
}

/* Their own row, two columns, the full width of the overlay. */
.gpd-plotview__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(1.25rem, .9rem + 1.2vw, 2rem);
	list-style: none;
	padding: 0;
}

.gpd-plotview__features li {
	display: grid;
	grid-template-columns: 1.6em 1fr;
	padding-block: .7em;
}

.gpd-plotview__features li:nth-child(n+3) {
	border-block-start: 1px solid var(--gpd-rule);
}

.gpd-plotview__features li::before {
	content: "\2192";
	font-family: var(--gpd-sans);
	font-size: .8em;
}

/* A band of its own colour, so the drawings read as a separate stage of the page. */
.gpd-floors {
	margin-block-start: clamp(2rem, 1rem + 3vw, 3.5rem);
	padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(1.25rem, .8rem + 1.6vw, 2.5rem);
	background: var(--gpd-mist);
}

.gpd-floors__heading {
	margin-block-end: 1.5rem;
}

/* Every floor on one row, a third of the width each whether there are two or
   three, so a pair does not blow up to half the overlay. */
.gpd-floors__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, .7rem + 1.2vw, 1.75rem);
	align-items: stretch;
}

.gpd-floor {
	display: flex;
	flex-direction: column;
	padding: clamp(.875rem, .6rem + 1vw, 1.5rem);
	background: var(--gpd-paper);
}

/* The drawing sits in a box of a fixed height, so the three cards line up
   whatever shape each plan happens to be. */
:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-floor__media {
	position: relative;
	display: block;
	width: 100%;
	min-height: clamp(11rem, 6rem + 13vw, 20rem);
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	cursor: zoom-in;
}

.gpd-floor__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.gpd-floor__zoom {
	position: absolute;
	inset-block-end: 0;
	inset-inline-end: 0;
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(251, 251, 249, .9);
	color: var(--gpd-ink);
	opacity: .55;
	transition: opacity .2s ease;
}

.gpd-floor__media:is(:hover, :focus-visible) .gpd-floor__zoom {
	opacity: 1;
}

.gpd-floor__name {
	margin-block: 1rem .35rem;
}

/* ------------------------------------------------------- Enquiry, in the overlay */

.gpd-enquire {
	display: grid;
	grid-template-columns: minmax(0, 38%) minmax(0, 55%);
	justify-content: space-between;
	gap: clamp(2rem, 1rem + 3vw, 4rem);
	margin-block-start: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-enquire__heading {
	font-family: var(--gpd-serif);
	font-size: var(--e-global-typography-text-font-size, 2.7rem);
	line-height: var(--e-global-typography-text-line-height, 1.25em);
	letter-spacing: var(--e-global-typography-text-letter-spacing, -1px);
	margin-block-end: 1.25rem;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-enquire__intro p {
	font-family: var(--gpd-sans);
	font-size: var(--e-global-typography-799d7b9-font-size, 1.05rem);
	line-height: var(--e-global-typography-799d7b9-line-height, 1.6em);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-enquire__intro p + p {
	margin-block-start: 1em;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-enquire__contact {
	list-style: none;
	padding: 0;
	margin-block-start: 1.75rem;
	display: grid;
	gap: .85rem;
	font-family: var(--gpd-sans);
	font-size: var(--e-global-typography-799d7b9-font-size, 1.05rem);
}

.gpd-enquire__contact li {
	display: flex;
	align-items: center;
	gap: .9rem;
}

.gpd-enquire__contact svg {
	flex: none;
	opacity: .45;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-enquire__contact a {
	color: inherit;
	text-decoration: none;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) .gpd-enquire__contact a:hover {
	text-decoration: underline;
}

@media (max-width: 899px) {
	.gpd-floors__row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gpd-plotview__features li:nth-child(n+2) {
		border-block-start: 1px solid var(--gpd-rule);
	}

	.gpd-enquire {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 599px) {
	.gpd-floors__row {
		grid-template-columns: minmax(0, 1fr);
	}
}

.gpd-rooms__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-block: .45em;
	border-block-end: 1px solid var(--gpd-rule);
}

.gpd-rooms__row:last-child {
	border-block-end: 0;
}

.gpd-rooms dd {
	margin: 0;
	opacity: .75;
	white-space: nowrap;
}

@media (max-width: 899px) {
	.gpd-plotview__media,
	.gpd-plotview__features {
		grid-template-columns: minmax(0, 1fr);
	}

	.gpd-plotview__photo {
		position: static;
	}

	.gpd-plotview__img {
		position: static;
		height: auto;
	}

	.gpd-dialog__step {
		inset-block-start: auto;
		inset-block-end: .5rem;
		translate: none;
	}
}


/* ----------------------------------------------------------------- Lightbox */

.gpd-dialog--lightbox {
	position: fixed;
	inset: 0;
	display: block;
	overflow: hidden;
	background: none;
}

.gpd-dialog--lightbox::backdrop {
	background: rgba(14, 17, 13, .88);
}

/* Absolute rather than 100%, so the row has a height to measure the photo
   against; a percentage max-height against an auto row is simply ignored. */
.gpd-lightbox {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-rows: minmax(0, 1fr);
	place-items: center;
	padding: clamp(3.25rem, 2rem + 4vw, 5rem) clamp(1rem, .2rem + 3.6vw, 5.5rem);
	animation: gpd-dialog-in .22s ease backwards;
}

.gpd-lightbox__frame {
	grid-area: 1 / 1;
	display: none;
	margin: 0;
	max-width: 100%;
	max-height: 100%;
}

.gpd-lightbox__frame.is-current {
	display: grid;
	grid-template: minmax(0, 1fr) / minmax(0, 1fr);
	width: 100%;
	height: 100%;
	min-height: 0;
	animation: gpd-dialog-in .22s ease backwards;
}

.gpd-lightbox__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	pointer-events: none;
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-lightbox__close, .gpd-lightbox__step) {
	position: fixed;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--gpd-paper);
	cursor: pointer;
	transition: opacity .2s ease;
}

.gpd-lightbox__close {
	inset-block-start: 1rem;
	inset-inline-end: 1rem;
}

.gpd-lightbox__step {
	inset-block-start: 50%;
	translate: 0 -50%;
}

.gpd-lightbox__step--prev {
	inset-inline-start: clamp(.25rem, -.25rem + 1.6vw, 1.25rem);
}

.gpd-lightbox__step--next {
	inset-inline-end: clamp(.25rem, -.25rem + 1.6vw, 1.25rem);
}

:is(.gpd-dev, .gpd-cs, .gpd-dialog) :is(.gpd-lightbox__close, .gpd-lightbox__step):hover {
	opacity: .6;
}

.gpd-lightbox__count {
	position: fixed;
	z-index: 2;
	inset-block-end: 1.25rem;
	inset-inline: 0;
	margin: 0;
	color: var(--gpd-paper);
	font-family: var(--gpd-sans);
	font-size: var(--e-global-typography-240f159-font-size, .8rem);
	letter-spacing: var(--e-global-typography-240f159-letter-spacing, 2px);
	text-align: center;
	opacity: .7;
}

@media (max-width: 767px) {
	.gpd-lightbox__step {
		inset-block-start: auto;
		inset-block-end: 3.5rem;
		translate: none;
	}
}

/* ------------------------------------------------------------------ Grid tail */

.gpd-more {
	padding-block: var(--gpd-section) var(--gpd-section);
}

.gpd-more__heading {
	margin-block-end: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
}

/* The grid takes its columns and gaps from the Elementor widget's controls;
   rendered from a template there is nothing to set them, so they are set here. */
.gpd-more .gpd-grid {
	--gpd-columns: 2;
	--gpd-column-gap: clamp(1rem, .5rem + 1.6vw, 2rem);
	--gpd-row-gap: clamp(1rem, .5rem + 1.6vw, 2rem);
}

@media (max-width: 767px) {
	.gpd-more .gpd-grid {
		--gpd-columns: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gpd-dev *,
	.gpd-dialog * {
		transition-duration: .01ms !important;
	}
}

/* ------------------------------------------------- Coming soon
 *
 * The same tokens, one column, no sections. Kept in this file so a
 * development page and a coming soon page are one request either way.
 */

.gpd-coming-soon .gpd-cs {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 120px 20px 80px;
	text-align: center;
}

.gpd-coming-soon .gpd-cs__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 760px;
	animation: gpd-cs-fade 1.2s ease .1s both;
}

.gpd-coming-soon .gpd-cs__emblem {
	width: auto;
	height: clamp(2.5rem, 2.1rem + .8vw, 3.25rem);
	margin-bottom: 24px;
	color: var(--e-global-color-primary);
}

.gpd-coming-soon .gpd-cs__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-240f159-font-family), sans-serif;
	font-size: var(--e-global-typography-240f159-font-size);
	font-weight: var(--e-global-typography-240f159-font-weight);
	text-transform: var(--e-global-typography-240f159-text-transform);
	line-height: var(--e-global-typography-240f159-line-height);
	letter-spacing: var(--e-global-typography-240f159-letter-spacing);
}

/* Short rules either side, as in the logo lockup. */
.gpd-coming-soon .gpd-cs__eyebrow::before,
.gpd-coming-soon .gpd-cs__eyebrow::after {
	content: "";
	width: 20px;
	height: 1px;
	background: currentColor;
}

.gpd-coming-soon .gpd-cs__title {
	margin: 0;
	color: var(--e-global-color-text);
	font-family: var(--e-global-typography-primary-font-family), sans-serif;
	font-size: var(--e-global-typography-primary-font-size);
	line-height: var(--e-global-typography-primary-line-height);
	letter-spacing: var(--e-global-typography-primary-letter-spacing);
}

.gpd-coming-soon .gpd-cs__strapline {
	max-width: 620px;
	margin: 12px 0 0;
	color: var(--e-global-color-text);
	text-wrap: pretty;
	font-family: var(--e-global-typography-0931ac5-font-family), sans-serif;
	font-size: var(--e-global-typography-0931ac5-font-size);
	font-weight: var(--e-global-typography-0931ac5-font-weight);
	line-height: var(--e-global-typography-0931ac5-line-height);
	letter-spacing: var(--e-global-typography-0931ac5-letter-spacing);
}

.gpd-coming-soon .gpd-cs__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin-top: 32px;
}

.gpd-coming-soon .gpd-cs__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.gpd-coming-soon .gpd-cs__btn {
	display: inline-block;
	padding: clamp(0.875rem, 0.672rem + 0.3173vw, 1.1875rem) clamp(1.875rem, 1.3065rem + 0.8883vw, 2.75rem);
	border: 1px solid var(--e-global-color-primary);
	border-radius: 35px;
	background-color: transparent;
	color: var(--e-global-color-text);
	font-family: var(--e-global-typography-240f159-font-family), sans-serif;
	font-size: var(--e-global-typography-240f159-font-size);
	font-weight: var(--e-global-typography-240f159-font-weight);
	text-transform: var(--e-global-typography-240f159-text-transform);
	line-height: var(--e-global-typography-240f159-line-height);
	letter-spacing: var(--e-global-typography-240f159-letter-spacing);
	text-decoration: none;
	transition: .3s;
}

.gpd-coming-soon .gpd-cs__btn:is(:hover, :focus-visible),
.gpd-coming-soon .gpd-cs__btn--solid {
	background-color: var(--e-global-color-primary);
	color: var(--e-global-color-secondary);
}

.gpd-coming-soon .gpd-cs__btn--solid:is(:hover, :focus-visible) {
	background-color: transparent;
	color: var(--e-global-color-text);
}

/* Arrow link with the site's "leda" hover (child theme .link--leda). */
.gpd-coming-soon .gpd-cs__link {
	color: var(--e-global-color-text);
	font-family: var(--e-global-typography-240f159-font-family), sans-serif;
	font-size: var(--e-global-typography-240f159-font-size);
	font-weight: var(--e-global-typography-240f159-font-weight);
	text-transform: var(--e-global-typography-240f159-text-transform);
	letter-spacing: var(--e-global-typography-240f159-letter-spacing);
	text-decoration: none;
}

.gpd-coming-soon .gpd-cs__link:is(:hover, :focus-visible) {
	color: var(--e-global-color-text);
}

.gpd-coming-soon .gpd-cs__leda {
	position: relative;
	display: block;
	overflow: hidden;
	line-height: 2;
	white-space: nowrap;
}

.gpd-coming-soon .gpd-cs__leda::before,
.gpd-coming-soon .gpd-cs__leda::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	pointer-events: none;
	transform-origin: 100% 50%;
	transition: transform .3s cubic-bezier(.5, .5, .3, 1);
}

.gpd-coming-soon .gpd-cs__leda::before {
	content: "";
	top: calc(100% - 5px);
	height: 1px;
	background: currentColor;
	transform: scale3d(0, 1, 1);
}

.gpd-coming-soon .gpd-cs__leda::after {
	content: attr(data-text);
	height: 100%;
	transform: translate3d(150%, 0, 0);
}

.gpd-coming-soon .gpd-cs__leda > span {
	display: inline-block;
	transition: transform .3s cubic-bezier(.5, .5, .3, 1);
}

.gpd-coming-soon .gpd-cs__link:is(:hover, :focus-visible) .gpd-cs__leda::before {
	transform-origin: 0% 50%;
	transform: scale3d(1, 1, 1);
}

.gpd-coming-soon .gpd-cs__link:is(:hover, :focus-visible) .gpd-cs__leda::after {
	transform: translate3d(0, 0, 0);
}

.gpd-coming-soon .gpd-cs__link:is(:hover, :focus-visible) .gpd-cs__leda > span {
	transform: translate3d(-150%, 0, 0);
}

@keyframes gpd-cs-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (max-width: 1024px) {
	.gpd-coming-soon .gpd-cs__btn {
		padding: clamp(0.8125rem, 0.769rem + 0.1656vw, 0.875rem) clamp(1.375rem, 1.0273rem + 1.3245vw, 1.875rem);
	}

	.gpd-coming-soon .gpd-cs__leda::before {
		height: 2px;
	}
}

@media (max-width: 767px) {
	.gpd-coming-soon .gpd-cs {
		min-height: 85vh;
		padding: 100px 20px 60px;
	}

	.gpd-coming-soon .gpd-cs__actions {
		align-self: stretch;
		align-items: stretch;
		margin-top: 28px;
	}

	.gpd-coming-soon .gpd-cs__buttons {
		flex-direction: column;
	}

	.gpd-coming-soon .gpd-cs__link {
		align-self: center;
	}

	.gpd-coming-soon .gpd-cs__btn {
		padding: 13px 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gpd-coming-soon .gpd-cs__inner {
		animation: none;
	}
}

/* The coming soon page carries the same form as a development page. */

.gpd-coming-soon .gpd-cs__form {
	width: min(100%, 30rem);
	margin-top: 40px;
	text-align: start;
}

.gpd-coming-soon .gpd-cs__label {
	margin: 0 0 20px;
	color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-240f159-font-family), sans-serif;
	font-size: var(--e-global-typography-240f159-font-size);
	font-weight: var(--e-global-typography-240f159-font-weight);
	text-transform: var(--e-global-typography-240f159-text-transform);
	letter-spacing: var(--e-global-typography-240f159-letter-spacing);
	text-align: center;
}

.gpd-coming-soon .gpd-form {
	justify-items: stretch;
}

.gpd-coming-soon .gpd-form .gpd-btn {
	justify-self: center;
}

.gpd-coming-soon .gpd-cs__btn {
	cursor: pointer;
}
