:root {
	--gr-black: #000;
	--gr-white: #fff;
	--gr-green: #63e843;
	--gr-green-hover: #74ed58;
	--gr-green-soft: #efffe5;
	--gr-surface: #f3f3f3;
	--gr-line: #b8b8b8;
	--gr-muted: rgba(0, 0, 0, 0.6);
	--gr-content: 1176px;
	--gr-rail: 1248px;
	--gr-panel-width: min(calc(100% - 2 * var(--gr-gutter)), 1680px);
	--gr-panel-radius: clamp(2.5rem, 5vw, 5rem);
	--gr-media-radius: clamp(2.5rem, 5vw, 5rem);
	--gr-card-radius: 2.5rem;
	--gr-cta-space: clamp(4rem, 6vw, 5.5rem);
	--gr-story-space: 3.5rem;
	--gr-gutter: clamp(1rem, 2.1vw, 2rem);
	--gr-section: clamp(5rem, 7vw, 7.5rem);
	--gr-heading-hero: clamp(2.75rem, min(4.2vw, 7.2svh), 4.25rem);
	--gr-heading-section: var(--gr-heading-hero);
	--gr-header-offset: 4.5rem;
	--gr-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--gr-header-offset) + 1rem);
	overflow-x: clip;
}

/* html scroll-padding supplies the sticky-header offset once for native links. */

body {
	margin: 0;
	background: var(--gr-surface);
	color: var(--gr-black);
	font-family: Manrope, Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a { color: inherit; }

button,
input,
textarea { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
	outline: 3px solid var(--gr-green);
	outline-offset: 4px;
}

::selection { background: var(--gr-black); color: var(--gr-white); }

h1,
h2,
h3,
p,
figure,
blockquote { margin-top: 0; }

h1,
h2,
h3 { text-wrap: balance; }

h2 { line-height: 1.04; }
h3 { font-size: 1.3rem; }

p { text-wrap: pretty; }

.shell-wide {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.shell {
	width: min(calc(100% - (2 * var(--gr-gutter))), var(--gr-content));
	margin-inline: auto;
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 1000;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: var(--gr-black);
	color: var(--gr-white);
}

.brand {
	display: inline-flex;
	flex: 0 0 auto;
	text-decoration: none;
}

.brand img {
	width: 8.4rem;
	height: 2rem;
}

.brand--large img {
	width: min(17.8125rem, 100%);
	height: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--gr-white);
	box-shadow: 0 0.3rem 1.2rem rgba(0, 0, 0, 0.045);
}

.admin-bar .site-header { top: 32px; }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 4.5rem;
	padding-inline: var(--gr-gutter);
	border-bottom: 1px solid var(--gr-black);
}

.primary-navigation__list {
	display: flex;
	align-items: center;
	gap: clamp(2rem, 3.6vw, 3.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation a {
	position: relative;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
}

.primary-navigation a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: -0.3rem;
	height: 2px;
	background: var(--gr-green);
	transition: right 240ms var(--gr-ease);
}

.primary-navigation a.is-active::after,
.primary-navigation a[aria-current="location"]::after,
.primary-navigation a[aria-current="page"]::after,
.primary-navigation .current-menu-item > a::after { right: 0; }

.mobile-menu-brand { display: none; }

.menu-toggle {
	display: none;
	width: 2.875rem;
	height: 2.875rem;
	padding: 0.65rem;
	border: 0;
	border-radius: 50%;
	background: transparent;
}

.menu-toggle > span[aria-hidden] {
	display: block;
	height: 2px;
	margin: 0.4rem 0;
	background: currentColor;
	transition: transform 220ms var(--gr-ease);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 2.875rem;
	padding: 0.78rem 1.55rem;
	border: 1px solid var(--gr-green);
	border-radius: 1rem;
	background: var(--gr-green);
	color: var(--gr-black);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 220ms ease, color 220ms ease;
}

.button__arrow {
	display: inline-flex;
	width: 1.1875rem;
	height: 0.625rem;
	transition: transform 220ms var(--gr-ease);
}

.button__arrow img { width: 100%; height: 100%; }

.button--outline { border-color: var(--gr-black); background: transparent; }
.button--dark { border-color: var(--gr-black); background: var(--gr-black); color: var(--gr-white); }
.button--dark .button__arrow img { filter: invert(1); }
.button-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.875rem; }

.hero-section {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: clamp(1.5rem, 3vw, 3rem);
	padding: clamp(1rem, 3svh, 2rem) clamp(1.25rem, 3vw, 3rem);
	background: var(--gr-surface);
}

.hero-media { position: relative; min-width: 0; width: 100%; margin: 0; }

.squircle-media { position: relative; overflow: hidden; }

.hero-media__image {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	max-height: clamp(24rem, calc(100svh - 10rem), 46rem);
	object-fit: cover;
	object-position: 55% center;
}

.hero-media__video { background: var(--gr-surface); }

.hero-copy {
	position: relative;
	z-index: 2;
	min-width: 0;
	text-align: left;
}

.hero-copy h1 {
	margin-bottom: 1rem;
	font-size: var(--gr-heading-hero);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.06;
}

.hero-copy h1 em {
	display: block;
	width: fit-content;
	margin: 0.04em 0 0;
	font-family: "Source Serif 4", Georgia, serif;
	font-weight: 400;
	font-style: italic;
	letter-spacing: -0.02em;
}

.hero-copy > p {
	max-width: 46ch;
	margin: clamp(1rem, 2.5svh, 1.75rem) 0;
	font-size: clamp(1rem, 1.1vw, 1.125rem);
	line-height: 1.6;
}

.hero-copy .button-row { align-items: center; align-self: start; justify-content: flex-start; gap: 0.75rem; }
.hero-copy .button { padding-inline: 1.75rem; }

.developments-section {
	position: relative;
	z-index: 1;
	max-width: none;
	margin-inline: 0;
	padding: 2.5rem 0 3rem;
	background: var(--gr-white);
}

.section-panel {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 3.5rem clamp(1rem, 3.3vw, 3.125rem) 4.5rem;
	border-radius: 0;
	background: transparent;
}

.section-heading {
	max-width: 900px;
	margin: 0 auto 2.75rem;
	text-align: center;
}

.section-heading h2,
.about-intro__heading h2,
.process-section h2,
.tagline-section h2,
.cta-card h2 {
	margin-bottom: 1.55rem;
	font-size: var(--gr-heading-section);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 1.04;
}

.section-heading h2 span,
.about-intro__heading h2 span,
.process-section h2 span,
.tagline-section h2 span,
.cta-card h2 span,
.newsletter-card h2 span {
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	background-image: linear-gradient(transparent 64%, var(--gr-green-soft) 64%);
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.hero-copy h1 em {
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	background-image: linear-gradient(transparent 72%, var(--gr-green-soft) 72%);
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.has-highlight-animation .section-heading h2 span,
.has-highlight-animation .about-intro__heading h2 span,
.has-highlight-animation .process-section h2 span,
.has-highlight-animation .tagline-section h2 span,
.has-highlight-animation .cta-card h2 span,
.has-highlight-animation .newsletter-card h2 span,
.has-highlight-animation .hero-copy h1 em {
	background-size: 0 100%;
	transition: background-size 700ms cubic-bezier(0.42, 0, 1, 1);
}

.has-highlight-animation .section-heading h2 span.is-highlighted,
.has-highlight-animation .about-intro__heading h2 span.is-highlighted,
.has-highlight-animation .process-section h2 span.is-highlighted,
.has-highlight-animation .tagline-section h2 span.is-highlighted,
.has-highlight-animation .cta-card h2 span.is-highlighted,
.has-highlight-animation .newsletter-card h2 span.is-highlighted,
.has-highlight-animation .hero-copy h1 em.is-highlighted { background-size: 100% 100%; }

.section-heading p {
	margin: 0;
	font-size: clamp(1.075rem, 1.4vw, 1.375rem);
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.featured-slider { position: relative; max-width: 100rem; margin-inline: auto; }

.featured-development {
	position: relative;
	display: none;
	min-height: clamp(29rem, 50vh, 36rem);
	overflow: hidden;
}

.featured-development.is-active { display: flex; align-items: center; padding-block: 2rem; }

.featured-development__image,
.featured-development__image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.featured-development__image img {
	object-fit: cover;
	transition: transform 900ms var(--gr-ease);
}

.featured-development__card {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto 1fr auto;
	width: 21rem;
	min-height: 19rem;
	margin: 0 0 0 3rem;
	padding: 1.9rem 2rem;
	border-radius: var(--gr-media-radius);
	background: var(--gr-white);
	text-align: left;
}

.featured-development__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	min-width: 0;
}

.featured-development__card .status-pill {
	margin: 0;
	font-size: 0.875rem;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	height: 1.8125rem;
	min-height: 1.8125rem;
	margin-bottom: 1rem;
	padding: 0.2rem 0.85rem;
	border-radius: 2.5rem;
	background: var(--gr-green-soft);
	font-family: Roboto, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
}

.status-pill--valmis { background: var(--gr-surface); }
.status-pill__check {
	width: 0.9167rem;
	height: 1rem;
	object-fit: fill;
}

.featured-development__content { align-self: center; min-width: 0; }

.featured-development__content h3 {
	margin: 0;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(2.4rem, 3.2vw, 3.1rem);
	font-weight: 400;
	line-height: 1.05;
}

.featured-development__logo {
	display: block;
	width: auto;
	max-width: min(100%, 10rem);
	height: auto;
	max-height: 4rem;
	object-fit: contain;
	object-position: left center;
}

.featured-development__date {
	margin: 0;
	color: var(--gr-muted);
	font-family: Roboto, Arial, sans-serif;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}
.featured-development__description {
	margin: 1.1rem 0 0;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	line-height: 1.45;
}
.featured-development__card > .object-link {
	justify-self: start;
	gap: 0.9rem;
}

.featured-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
}

.featured-pagination button {
	width: 2.35rem;
	height: 0.625rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--gr-surface);
	cursor: pointer;
	transition: width 180ms ease, background-color 180ms ease;
}

.featured-pagination .is-active { width: 1.1rem; background: var(--gr-green); }

.featured-slider__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

.featured-slider__arrow {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	font-size: 1.4rem;
	cursor: pointer;
	transition: background-color 180ms ease;
}

.development-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.875rem;
	max-width: 100rem;
	margin: 3.75rem auto 0;
}

.development-card { display: flex; flex-direction: column; min-width: 0; }
.development-card[hidden],
[data-developments-more][hidden] { display: none; }
.development-grid__more { display: flex; justify-content: center; margin-top: 2rem; }
.development-grid__more:has(> [hidden]) { display: none; }

.development-card__image {
	position: relative;
	display: block;
	overflow: hidden;
	background: #ddd;
}

.development-card__image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: inherit;
	corner-shape: inherit;
	transition: none;
}
.development-card .development-card__image { z-index: 2; overflow: visible; background: transparent; }
.development-card__image .status-pill {
	position: absolute;
	z-index: 3;
	top: 1rem;
	left: 1rem;
	margin: 0;
	box-shadow: 0 0.2rem 0.7rem rgba(0, 0, 0, 0.1);
	font-size: 0.875rem;
}
.development-card__body {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	flex: 1;
	padding: 1.05rem 0.25rem 0.1rem;
	text-align: left;
}
.development-card h2,
.development-card h3 { margin: 0 0 0.35rem; font-family: "Red Hat Display", Manrope, sans-serif; font-size: 1.3rem; letter-spacing: -0.025em; line-height: 1.2; }
.development-card h2 a,
.development-card h3 a { text-decoration: none; }
.development-card__facts { margin: 0; color: var(--gr-muted); font-family: Roboto, Arial, sans-serif; font-size: 0.875rem; font-weight: 600; line-height: 1.4; }
.development-card__body > p:not(.status-pill):not(.development-card__facts) { margin: 0.85rem 0 0; padding-top: 0.85rem; border-top: 1px solid rgba(0, 0, 0, 0.07); font-size: 0.9375rem; line-height: 1.5; }
.development-card .development-card__button { align-self: flex-start; gap: 0.8rem; margin-top: auto; padding-top: 1.15rem; }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	font-size: 0.8125rem;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
}

.object-link {
	gap: 0.3rem;
	color: var(--gr-black);
	font-size: 0.8125rem;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
.object-link:hover .button__arrow { transform: translateX(0.28rem); }

.cta-wrap {
	max-width: none;
	padding: var(--gr-cta-space) var(--gr-gutter);
}

.cta-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	max-width: 100rem;
	margin-inline: auto;
	min-height: 0;
	padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
	border: 1px solid var(--gr-black);
	border-radius: var(--gr-card-radius);
	corner-shape: squircle;
}

.cta-card > div { min-width: 0; max-width: 804px; }
.cta-card h2 { margin-bottom: 0.5rem; font-size: clamp(1.25rem, 1.8vw, 1.625rem); letter-spacing: -0.03em; line-height: 1.2; }
.cta-card p { max-width: 760px; margin-bottom: 0; font-size: 0.9375rem; line-height: 1.5; }
.cta-card .button { flex: 0 0 auto; }

.story-section {
	position: relative;
	max-width: none;
	padding: var(--gr-story-space) var(--gr-gutter);
}

/* Match the visible CTA-to-story gap below the story, including CTA padding. */
.cta-wrap + .story-section { padding-bottom: calc(var(--gr-story-space) + var(--gr-cta-space)); }

.story-slider {
	position: relative;
	display: grid;
	max-width: 100rem;
	margin-inline: auto;
	padding: 3rem clamp(1.5rem, 5vw, 5rem);
	border-radius: var(--gr-card-radius);
	corner-shape: squircle;
}

.story-slide {
	display: grid;
	grid-area: 1 / 1;
	grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
	align-items: center;
	gap: clamp(3rem, 5.3vw, 5rem);
	opacity: 0;
	visibility: hidden;
	transform: translateX(1.25rem);
	transition: opacity 420ms ease, transform 520ms var(--gr-ease), visibility 520ms;
	pointer-events: none;
}

.story-slide.is-active { opacity: 1; visibility: visible; transform: translateX(0); pointer-events: auto; }
.story-slide__image { position: relative; z-index: 1; }
.story-slide__image img { width: 100%; aspect-ratio: 1.332 / 1; object-fit: cover; }
.story-slide__copy { position: relative; z-index: 1; isolation: isolate; text-align: center; }
.story-slide__copy::before {
	content: "“";
	position: absolute;
	z-index: -1;
	top: 50%;
	left: calc(50% - 0.03em);
	color: var(--gr-green-soft);
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(18rem, 30vw, 30rem);
	line-height: 0.7;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.story-slide__copy .section-eyebrow { margin-bottom: 1.5rem; }
.story-slide__copy h2 { margin-bottom: 0.5rem; font-size: 1.25rem; line-height: 1.12; }
.story-slide blockquote { margin: 0 0 2rem; font-family: "Source Serif 4", Georgia, serif; font-size: clamp(1.86rem, 2.328vw, 2.175rem); font-style: italic; letter-spacing: -0.02em; line-height: 1.3; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 0.7rem; }
.slider-controls button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: var(--gr-green-soft); cursor: pointer; transition: background-color 180ms ease; }
.slider-controls button .button__arrow { width: 1.1875rem; height: 0.625rem; }
.slider-controls button[data-slider-prev] .button__arrow { transform: rotate(180deg); }

.mosaic-gallery {
	position: relative;
	display: block;
	width: 100%;
	height: clamp(34rem, 42vw, 43rem);
	margin-inline: 0;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-inline: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.mosaic-gallery::-webkit-scrollbar { display: none; }
.mosaic-gallery.is-dragging { cursor: grabbing; user-select: none; }
.mosaic-gallery.is-dragging img { pointer-events: none; }

.mosaic-gallery__track {
	display: flex;
	width: max-content;
	height: 100%;
	gap: 1rem;
}

.mosaic-gallery__set {
	display: grid;
	flex: 0 0 max(100vw, 60rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	width: max(100vw, 60rem);
	height: 100%;
}

.mosaic-gallery::before {
	content: "";
	position: absolute;
	left: -1.5rem;
	top: 10rem;
	width: 9.3rem;
	height: 43rem;
	background: url("../svg/mark-gallery.svg") center / 100% 100% no-repeat;
	transform: rotate(-90deg);
	pointer-events: none;
}

.mosaic-gallery__item {
	position: relative;
	min-height: 0;
	margin: 0;
	border-radius: var(--gr-media-radius);
	overflow: hidden;
}

.mosaic-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-gallery__item--1 { grid-column: 1; grid-row: 1 / 4; }
.mosaic-gallery__item--2 { grid-column: 1; grid-row: 4; }
.mosaic-gallery__item--3 { grid-column: 2; grid-row: 1 / 3; }
.mosaic-gallery__item--4 { grid-column: 2; grid-row: 3 / 4; }
.mosaic-gallery__item--5 { grid-column: 2; grid-row: 4; }
.mosaic-gallery__item--6 { grid-column: 3; grid-row: 1 / 3; }
.mosaic-gallery__item--7 { grid-column: 3; grid-row: 3 / 5; }

/* Short galleries fill the same surface without empty mosaic cells. */
.mosaic-gallery__set--count-1 { grid-template-columns: 1fr; }
.mosaic-gallery__set--count-2,
.mosaic-gallery__set--count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mosaic-gallery__set--count-1 > .mosaic-gallery__item,
.mosaic-gallery__set--count-2 > .mosaic-gallery__item,
.mosaic-gallery__set--count-3 > .mosaic-gallery__item {
	grid-column: auto;
	grid-row: 1 / 5;
}
.mosaic-gallery__set--count-4 > .mosaic-gallery__item,
.mosaic-gallery__set--count-6 > .mosaic-gallery__item {
	grid-column: auto;
	grid-row: auto / span 2;
}
.mosaic-gallery__set--count-5 > .mosaic-gallery__item--1 { grid-column: 1; grid-row: 1 / 3; }
.mosaic-gallery__set--count-5 > .mosaic-gallery__item--2 { grid-column: 1; grid-row: 3 / 5; }
.mosaic-gallery__set--count-5 > .mosaic-gallery__item--3 { grid-column: 2; grid-row: 1 / 5; }
.mosaic-gallery__set--count-5 > .mosaic-gallery__item--4 { grid-column: 3; grid-row: 1 / 3; }
.mosaic-gallery__set--count-5 > .mosaic-gallery__item--5 { grid-column: 3; grid-row: 3 / 5; }

.about-section { position: relative; padding-block: 4.5rem 5rem; }
.grenden-front-page .about-section {
	width: var(--gr-panel-width);
	margin-inline: auto;
	border-radius: var(--gr-panel-radius);
	corner-shape: squircle;
	background: var(--gr-white);
}
.mosaic-gallery + .about-section { margin-top: var(--gr-section); padding-top: clamp(5.5rem, 7vw, 7rem); }
.about-section + .process-section { margin-top: var(--gr-section); }

.about-intro,
.about-team { display: grid; grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr); align-items: start; gap: clamp(2rem, 5vw, 5rem); max-width: 88rem; margin-inline: auto; padding-inline: var(--gr-gutter); }
.about-team { margin-top: 2.5rem; }
.about-intro__heading h2 { margin: 0; }
.about-intro h3 { margin-bottom: 1rem; font-size: 1.3rem; line-height: 1.4; }
.about-intro p { margin: 0; font-size: 1rem; }

.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); min-width: 0; width: 100%; }
.team-card { position: relative; }
.team-card__image { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1 / 1.02; background: #e8ffdc; }
.team-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 650ms var(--gr-ease), filter 300ms ease; }
.team-card__image > span { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(0,0,0,.22); font-size: 5rem; font-weight: 800; }
.team-card__label { position: absolute; left: 1rem; bottom: 0.8rem; display: flex; flex-direction: column; align-items: flex-start; color: var(--gr-white); font-size: 0.875rem; }
.team-card__label strong,
.team-card__label span { padding: 0.1rem 0.6rem; background: var(--gr-black); }
.team-card__label span { color: #ddd; }

/* Three or more people use the full content rail on desktop. */
@media (min-width: 1121px) {
	.about-team.about-team--expanded .team-grid {
		grid-column: 1 / -1;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.process-section { position: relative; display: grid; grid-template-columns: minmax(0, 34rem) minmax(0, 44rem); justify-content: center; align-items: center; gap: clamp(2.5rem, 5vw, 5rem); max-width: 100rem; margin-inline: auto; padding: 5rem var(--gr-gutter); }
.grenden-front-page .process-section {
	width: var(--gr-panel-width);
	border: 1px solid var(--gr-black);
	border-radius: var(--gr-panel-radius);
	corner-shape: squircle;
	background: transparent;
}
.process-section::after { content: ""; position: absolute; right: -2rem; top: 0; width: 11.5rem; height: 2.9rem; background: url("../svg/mark-process.svg") center / 100% 100% no-repeat; transform: rotate(-90deg); }
.process-section__image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.process-section h2 { margin-bottom: 2.5rem; }
.process-item + .process-item { margin-top: 1.5rem; }
.process-item h3 { margin-bottom: 0.5rem; font-size: 1.3rem; line-height: 1.4; }
.process-item p { margin-bottom: 0; }

.tagline-section { padding-block: 6rem; text-align: center; }
.tagline-section h2 { margin: 0; font-size: var(--gr-heading-section); }

.site-footer {
	position: relative;
	padding-top: 0;
	background: var(--gr-surface);
}
.site-footer__panel {
	position: relative;
	z-index: 2;
	width: var(--gr-panel-width);
	max-width: none;
	margin-inline: auto;
	padding: clamp(4rem, 6vw, 6rem) clamp(1rem, 7.3vw, 6.9rem) 3.75rem;
	border-radius: var(--gr-panel-radius) var(--gr-panel-radius) 0 0;
	corner-shape: squircle;
	background: var(--gr-white);
}
.footer-top,
.footer-bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 4vw, 3.75rem); }
.footer-top { align-items: start; }
.footer-bottom { align-items: start; margin-top: 5rem; }
.footer-copy-column > p { max-width: 25rem; color: var(--gr-muted); font-family: Roboto, Arial, sans-serif; font-size: 1rem; line-height: 1.5; }
.footer-links-column { display: grid; gap: 1.7rem; }
.footer-grid h2,
.footer-top h2,
.footer-bottom h2 { margin: 0 0 0.25rem; font-size: 1.25rem; letter-spacing: -0.03em; }
.footer-top h2,
.footer-bottom h2 { margin-bottom: 0.85rem; }

.footer-person { position: relative; width: min(100%, 21rem); margin: 0; }
.footer-person::before {
	content: "";
	position: absolute;
	z-index: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	aspect-ratio: 1 / 1.02;
	background: #e8ffdc;
	border-radius: var(--gr-media-radius);
	corner-shape: squircle;
	pointer-events: none;
}
.footer-person img,
.footer-person__placeholder { position: relative; z-index: 1; width: 100%; aspect-ratio: 0.83 / 1; object-fit: contain; object-position: bottom; background: transparent; filter: grayscale(1); }
.footer-person__placeholder { display: grid; place-items: center; font-size: 6rem; font-weight: 800; color: rgba(0,0,0,.25); }
.footer-person figcaption { position: absolute; z-index: 2; right: -1rem; top: 43%; display: flex; flex-direction: column; align-items: flex-start; color: var(--gr-white); }
.footer-person figcaption strong,
.footer-person figcaption span { padding: 0.1rem 0.6rem; background: var(--gr-black); }
.footer-person figcaption span { font-size: 0.75rem; color: #ddd; }

.footer-contact-details { display: flex; flex-direction: column; }
.footer-contact-details address { margin-bottom: 1rem; font-style: normal; color: var(--gr-muted); font-family: Roboto, Arial, sans-serif; font-size: 1rem; line-height: 1.5; }
.footer-contact-details a { color: var(--gr-muted); font-family: Roboto, Arial, sans-serif; font-size: 1rem; line-height: 1.5; text-decoration: none; }
.footer-socials { margin-top: 3.5rem; }
.footer-socials ul,
.footer-development-links { margin: 0; padding: 0; list-style: none; }
.footer-socials ul { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1.15rem; }
.footer-socials a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--gr-surface); transition: background-color 180ms ease; }
.footer-socials a:hover { background: var(--gr-green-soft); }
.footer-socials img { width: 1.25rem; height: 1.25rem; }
.footer-development-links li + li { margin-top: 0.25rem; }
.footer-development-links a { display: flex; justify-content: space-between; gap: 1rem; color: var(--gr-muted); font-family: Roboto, Arial, sans-serif; font-size: 1rem; line-height: 1.5; text-decoration: none; }
.footer-development-links .button__arrow { flex: 0 0 auto; transform: translateY(0.35rem); }

.contact-form { display: grid; gap: 1rem; }
.contact-form label:not(.consent),
.newsletter-form label:not(.consent) { display: grid; gap: 0.45rem; color: var(--gr-black); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; line-height: 1.2; text-transform: uppercase; }
.contact-form input:not([type="checkbox"]),
.contact-form textarea,
.newsletter-form input:not([type="checkbox"]) { width: 100%; min-width: 0; min-height: 3rem; padding: 0.7rem 0.9rem; border: 1px solid var(--gr-line); border-radius: 0.875rem; corner-shape: squircle; outline: 0; background: var(--gr-white); color: var(--gr-black); font-size: 1rem; font-weight: 400; letter-spacing: normal; text-transform: none; transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease; }
.contact-form input:not([type="checkbox"]):focus,
.contact-form textarea:focus,
.newsletter-form input:not([type="checkbox"]):focus {
	border-color: var(--gr-black);
	box-shadow: 0 0 0 3px rgba(99, 232, 67, 0.28);
	outline: 0;
}
.contact-form textarea { min-height: 7rem; resize: vertical; }
.contact-form .button { justify-self: start; margin-top: 0.4rem; }
.consent { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.875rem; color: var(--gr-muted); line-height: 1.4; }
.consent input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	margin: 0.05rem 0 0;
	border: 0;
	border-radius: 0.4rem;
	corner-shape: squircle;
	background: var(--gr-white);
	cursor: pointer;
	transition: background-color 160ms ease, border-color 160ms ease;
}
.contact-form .consent input[type="checkbox"],
.newsletter-form .consent input[type="checkbox"] {
	border: 1px solid var(--gr-black);
}
.consent input[type="checkbox"]:checked {
	background: var(--gr-green-soft) url("../svg/check.svg") center / 0.72rem 1.02rem no-repeat;
}
.consent input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--gr-green);
	outline-offset: 3px;
}
.form-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.form-notice { padding: 0.75rem 1rem; border-radius: 0.625rem; corner-shape: squircle; font-size: 0.875rem; }
.form-notice--success { background: var(--gr-green-soft); }
.form-notice--error { background: #ffe5e5; color: #8b1f1f; }

.newsletter-card { margin-top: 3.5rem; padding: 3.5rem clamp(1rem, 5vw, 5rem); border-radius: var(--gr-card-radius); corner-shape: squircle; background: var(--gr-surface); text-align: center; }
.newsletter-card h2 { margin-bottom: 0.75rem; font-size: var(--gr-heading-section); letter-spacing: -0.05em; line-height: 1.04; }
.newsletter-card > div > p { margin-bottom: 2.5rem; }
.newsletter-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 1.25rem; max-width: 1000px; margin: 0 auto; text-align: left; }
.newsletter-form .consent { grid-column: 1 / -1; justify-self: center; align-items: center; text-align: center; }
.newsletter-form .button { grid-column: 1 / -1; align-self: center; justify-self: center; }
.site-footer__legal { display: flex; justify-content: center; gap: 2rem; padding: 1.5rem var(--gr-gutter); background: var(--gr-black); color: var(--gr-white); font-size: 0.75rem; text-align: center; }
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; gap: 1rem; margin: 0; padding: 0; list-style: none; }

.content-shell,
.archive-page,
.not-found { min-height: 60vh; padding-block: var(--gr-section); }
.content-shell,
.not-found {
	width: var(--gr-panel-width);
	max-width: none;
	margin: clamp(1rem, 2vw, 2rem) auto var(--gr-section);
	padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem);
	border-radius: var(--gr-panel-radius);
	corner-shape: squircle;
	background: var(--gr-white);
}
.entry h1,
.archive-hero h1,
.not-found h1 { font-size: clamp(2.75rem, 6vw, 6rem); letter-spacing: -0.05em; }
.entry a { text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.section-eyebrow,
.about-intro .section-eyebrow { font-size: 0.75rem; margin: 0 0 0.25rem; line-height: 1.5; }
.eyebrow { color: var(--gr-muted); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.archive-hero { width: var(--gr-panel-width); margin: 0 auto; padding: var(--gr-section) clamp(1.5rem, 6vw, 6rem); border-radius: var(--gr-panel-radius); corner-shape: squircle; background: var(--gr-white); }
.archive-hero p:last-child { max-width: 700px; font-size: 1.2rem; }
.archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem) clamp(1rem, 2vw, 2rem); max-width: calc(var(--gr-rail) + 2 * var(--gr-gutter)); margin-inline: auto; padding: var(--gr-section) var(--gr-gutter); }

.development-single { padding-bottom: var(--gr-section); }
.development-single__hero { display: grid; grid-template-columns: 0.7fr 1.3fr; align-items: center; gap: clamp(2rem, 5vw, 6rem); width: var(--gr-panel-width); margin: clamp(1rem, 2vw, 2rem) auto 0; padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem); border-radius: var(--gr-panel-radius); corner-shape: squircle; background: var(--gr-white); }
.development-single__copy h1 { font-size: clamp(3rem, 7vw, 7rem); letter-spacing: -0.055em; }
.lead { font-size: 1.25rem; }
.development-single__image img { width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; }
.development-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-block: 3rem; border-block: 1px solid var(--gr-line); }
.development-facts div { display: flex; flex-direction: column; text-align: center; }
.development-facts strong { font-size: clamp(1.5rem, 3vw, 2.75rem); }
.development-facts span { color: var(--gr-muted); }
.development-content { padding-block: clamp(4rem, 8vw, 8rem); }
.prose { font-size: clamp(1rem, 1.4vw, 1.2rem); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2rem; margin: 2rem 0 3rem; padding: 0; list-style: none; }
.feature-list li { padding: 1rem 0; border-bottom: 1px solid var(--gr-line); }
.development-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gr-gutter); }
.development-gallery img { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; }

/* Kliendilood */
.testimonial-content { padding-top: clamp(1rem, 2vw, 2rem); background: var(--gr-surface); }

.testimonial-hero {
	width: var(--gr-panel-width);
	margin-inline: auto;
	padding: 0 0 clamp(4rem, 7vw, 6.5rem);
	overflow: hidden;
	border-radius: var(--gr-panel-radius);
	corner-shape: squircle;
	background: var(--gr-white);
}
.testimonial-hero > .testimonial-hero__media {
	width: 100%;
	max-width: none;
	margin: 0;
	border-radius: 0;
}

.testimonial-hero__media,
.testimonial-quote__media,
.testimonial-media__image,
.testimonial-card__image {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.testimonial-hero__media img {
	display: block;
	width: 100%;
	aspect-ratio: 1440 / 686.489;
	object-fit: cover;
	object-position: center;
}

.testimonial-hero__copy {
	max-width: 62rem;
	margin: clamp(3.75rem, 6vw, 5.25rem) auto 0;
	padding-inline: var(--gr-gutter);
	text-align: center;
}

.testimonial-hero__copy h1,
.testimonial-text h2,
.testimonial-media h2,
.testimonial-archive__header h1 {
	margin-bottom: clamp(1.5rem, 2.7vw, 2.5rem);
	font-size: clamp(3rem, 4.27vw, 4rem);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 1.08;
}

.testimonial-hero__copy p {
	max-width: 56rem;
	margin: 0 auto;
	font-size: clamp(1.25rem, 1.94vw, 1.8125rem);
	line-height: 1.45;
}

.testimonial-inner { max-width: 82rem; margin-inline: auto; }

.testimonial-text {
	padding: clamp(5rem, 8vw, 7.5rem) clamp(1rem, 4.3vw, 4rem);
}

.testimonial-text h2 { max-width: 64rem; }
.testimonial-text h2,
.testimonial-media h2 { line-height: 1.04; }

.testimonial-text h3,
.testimonial-columns h3,
.testimonial-media h3 {
	margin-bottom: 1rem;
	font-size: 1.3rem;
	line-height: 1.4;
}

.testimonial-prose { max-width: 48rem; }
.testimonial-prose > :last-child { margin-bottom: 0; }
.testimonial-prose p { margin-bottom: 1.25rem; }

.testimonial-quote {
	display: grid;
	grid-template-columns: minmax(0, 641px) minmax(18rem, 1fr);
	align-items: center;
	gap: clamp(2rem, 4.2vw, 4rem);
	padding: 0 clamp(1rem, 4.3vw, 4rem) clamp(5rem, 8vw, 7.5rem);
}

.testimonial-quote__media img {
	width: 100%;
	aspect-ratio: 641 / 481;
	object-fit: cover;
}

.testimonial-quote blockquote {
	max-width: 35rem;
	margin: 0 auto;
	font-family: "Source Serif 4", Georgia, serif;
	font-size: clamp(1.55rem, 1.94vw, 1.8125rem);
	font-style: italic;
	letter-spacing: -0.02em;
	line-height: 1.32;
	text-align: center;
}

.testimonial-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(3rem, 7.3vw, 6.875rem);
	padding: 0 clamp(1rem, 4.3vw, 4rem) clamp(6rem, 10vw, 9rem);
}

.testimonial-media {
	display: grid;
	grid-template-columns: minmax(18rem, 1fr) minmax(0, 652px);
	align-items: center;
	gap: clamp(3rem, 7.3vw, 6.875rem);
	width: var(--gr-panel-width);
	margin: 0 auto var(--gr-section);
	padding: clamp(5rem, 7vw, 6.25rem) clamp(1rem, 5.3vw, 5rem);
	border-radius: var(--gr-panel-radius);
	corner-shape: squircle;
	background: var(--gr-white);
}

.testimonial-media--left .testimonial-media__image { order: -1; }
.testimonial-media__copy { max-width: 34rem; }
.testimonial-media__image img { width: 100%; aspect-ratio: 652 / 665; object-fit: cover; }

.testimonial-entry > .wp-block-heading,
.testimonial-entry > .wp-block-paragraph,
.testimonial-entry > .wp-block-quote,
.testimonial-entry > .wp-block-list,
.testimonial-entry > .wp-block-buttons,
.testimonial-entry > .wp-block-image,
.testimonial-entry > .wp-block-gallery,
.testimonial-entry > .wp-block-separator {
	width: min(calc(100% - (2 * var(--gr-gutter))), var(--gr-content));
	margin-inline: auto;
}

.testimonial-entry > .wp-block-heading:first-child,
.testimonial-entry > .wp-block-paragraph:first-child { margin-top: var(--gr-section); }
.testimonial-entry > .wp-block-separator:last-child,
.testimonial-entry > .wp-block-gallery:last-child,
.testimonial-entry > .wp-block-image:last-child,
.testimonial-entry > .wp-block-buttons:last-child,
.testimonial-entry > .wp-block-list:last-child,
.testimonial-entry > .wp-block-quote:last-child,
.testimonial-entry > .wp-block-paragraph:last-child { margin-bottom: var(--gr-section); }

.testimonial-archive__header {
	width: var(--gr-panel-width);
	margin: clamp(1rem, 2vw, 2rem) auto 0;
	padding: clamp(5rem, 8vw, 8rem) var(--gr-gutter) clamp(4rem, 6vw, 6rem);
	border-radius: var(--gr-panel-radius);
	corner-shape: squircle;
	background: var(--gr-white);
	text-align: center;
}

.testimonial-archive__header p:last-child { max-width: 42rem; margin: 0 auto; font-size: 1.2rem; }
.testimonial-archive__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(3rem, 5vw, 5rem) clamp(1.5rem, 3vw, 2.75rem); max-width: calc(var(--gr-rail) + 2 * var(--gr-gutter)); margin-inline: auto; padding: var(--gr-section) var(--gr-gutter); }
.testimonial-card__image { display: block; margin-bottom: 1.75rem; }
.testimonial-card__image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 650ms var(--gr-ease); }
.testimonial-card h2 { margin-bottom: 0.8rem; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.12; }
.testimonial-card h2 a { text-decoration: none; }
.testimonial-card p { color: var(--gr-muted); }
.testimonial-archive__pagination { padding-bottom: var(--gr-section); }

@media (hover: hover) and (pointer: fine) {
	.primary-navigation a:hover::after,
	.primary-navigation a:focus-visible::after { right: 0; }
	.button:hover { background: var(--gr-green-hover); }
	.button--outline:hover { background: var(--gr-black); color: var(--gr-white); }
	.button--outline:hover .button__arrow img { filter: invert(1); }
	.button--dark:hover { background: #202020; }
	.button:hover .button__arrow,
	.text-link:hover .button__arrow { transform: translateX(0.28rem); }
	.footer-development-links a:hover .button__arrow { transform: translate(0.28rem, 0.35rem); }
	.featured-development:hover .featured-development__image img,
	.team-card:hover .team-card__image img,
	.testimonial-card:hover .testimonial-card__image img { transform: scale(1.025); }
	.slider-controls button:hover { background: var(--gr-green-soft); }
	.contact-form input:not([type="checkbox"]):hover:not(:focus),
	.contact-form textarea:hover:not(:focus),
	.newsletter-form input:not([type="checkbox"]):hover:not(:focus) { border-color: var(--gr-black); }
}

/* Shared surfaces keep circular radii independent of panel height. */
.grenden-front-page .hero-section,
.grenden-front-page .developments-section {
	width: var(--gr-panel-width);
	margin-inline: auto;
	border-radius: var(--gr-panel-radius);
	corner-shape: squircle;
}
.grenden-front-page .hero-section { border-top-left-radius: 0; border-top-right-radius: 0; }
.grenden-front-page .developments-section { margin-top: clamp(1rem, 2vw, 2rem); }
.grenden-front-page .developments-section { border-radius: clamp(3rem, 6vw, 6rem); }
.site-footer__panel { border-radius: clamp(3rem, 6vw, 6rem) clamp(3rem, 6vw, 6rem) 0 0; }

/* One compact corner treatment for all image ratios. No stretched SVG masks. */
.squircle-media,
.featured-development,
.development-card__image,
.team-card__image,
.development-single__image img,
.development-gallery img,
.testimonial-hero__media,
.testimonial-quote__media,
.testimonial-media__image,
.testimonial-card__image,
.mosaic-gallery__item {
	border: 0;
	border-radius: var(--gr-media-radius);
	corner-shape: squircle;
	overflow: hidden;
	isolation: isolate;
}
.featured-development__card { border-radius: var(--gr-media-radius); corner-shape: squircle; }

/* The shared content rail groups sections on wide monitors. */
@media (min-width: 768px) {
	.site-header__inner {
		padding-inline: max(var(--gr-gutter), calc((100% - var(--gr-rail)) / 2));
	}
	.grenden-front-page .section-panel { max-width: calc(var(--gr-rail) + 2 * var(--gr-gutter)); margin-inline: auto; padding: 2.5rem var(--gr-gutter) 3rem; }
	.grenden-front-page .developments-section { padding-block: 1.5rem; }
	.grenden-front-page .section-heading { max-width: 44rem; margin-bottom: 2rem; }
	.grenden-front-page .section-heading h2 { margin-bottom: 1rem; }
	.grenden-front-page .section-heading p { font-size: 1.125rem; line-height: 1.5; }
	.grenden-front-page .cta-card,
	.grenden-front-page .story-slider { max-width: calc(var(--gr-rail) + 2 * var(--gr-gutter)); padding: 2.5rem; }
	.grenden-front-page .cta-wrap { width: min(calc(100% - 2 * var(--gr-gutter)), var(--gr-rail)); max-width: none; margin-inline: auto; padding-inline: 0; }
	.grenden-front-page .cta-card { padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem); }
	.grenden-front-page .about-intro,
	.grenden-front-page .about-team,
	.grenden-front-page .process-section { max-width: calc(var(--gr-rail) + 2 * var(--gr-gutter)); }
	.grenden-front-page .about-intro,
	.grenden-front-page .about-team { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
	.grenden-front-page .about-intro p,
	.grenden-front-page .process-item p { max-width: 65ch; line-height: 1.65; }
	.about-team .team-grid { grid-column: 2; }
	.grenden-front-page .tagline-section { padding-block: 4rem; }
	.site-footer__panel { padding-inline: clamp(1.5rem, 4vw, 4rem); }
}

/* Desktop alternative: an editorial introduction below full-bleed media.
   The flexible media row takes the viewport space left by the actual copy,
   while its minimum allows longer editorial content to grow without overlap. */
@media (min-width: 1121px) {
	.grenden-front-page .hero-section {
		width: 100%;
		max-width: none;
		min-height: max(36rem, calc(100svh - var(--gr-header-offset)));
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(20rem, 1fr) auto;
		align-items: stretch;
		gap: 0;
		padding: 0;
		border-radius: 0;
	}
	.hero-copy {
		grid-row: 2;
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-content: center;
		column-gap: clamp(2rem, 5vw, 6rem);
		row-gap: clamp(0.75rem, 1.8svh, 1.25rem);
		width: 100%;
		max-width: 1680px;
		margin-inline: auto;
		padding: clamp(3rem, 8svh, 7rem) clamp(2rem, 4vw, 5rem);
	}
	.hero-copy h1 {
		grid-row: 1 / 3;
		align-self: center;
		margin: 0;
		font-size: var(--gr-heading-hero);
	}
	.hero-copy h1 em { display: inline; margin: 0; }
	.hero-copy > p { margin: 0; max-width: 54ch; line-height: 1.5; }
	.hero-copy .button-row { grid-column: 2; }
	.hero-media { grid-row: 1; display: flex; flex-direction: column; min-height: 0; }
	.hero-media > .squircle-media { flex: 1; border: 0; border-radius: 0; }
	.hero-media__image {
		position: absolute;
		inset: 0;
		height: 100%;
		max-height: none;
		aspect-ratio: auto;
		object-position: 55% 55%;
	}
	.grenden-front-page .hero-section + .developments-section { margin-top: 0; }
}

@media (max-width: 1120px) {
	.featured-development__card { margin-left: 2.5rem; }
	.development-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem 1.875rem; }
	.development-card { max-width: 30rem; margin-inline: auto; }
	.footer-top,
	.footer-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-form-column { grid-column: 1 / -1; }
	.footer-person { margin-top: 0; }
	.newsletter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsletter-form .button { justify-self: center; }
	.archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.testimonial-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) and (max-width: 1120px) {
	:root {
		--gr-cta-space: 3.75rem;
		--gr-story-space: 2.5rem;
		--gr-heading-hero: clamp(2.5rem, 5vw, 3.75rem);
	}
	.grenden-front-page .hero-section {
		width: 100%;
		min-height: max(38rem, calc(100svh - var(--gr-header-offset)));
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: minmax(20rem, 1fr) auto;
		align-items: stretch;
		gap: 0;
		padding: 0;
		border-radius: 0;
	}
	.grenden-front-page .hero-media {
		grid-row: 1;
		display: flex;
		flex-direction: column;
		min-height: clamp(24rem, 52svh, 38rem);
	}
	.grenden-front-page .hero-media > .squircle-media {
		flex: 1;
		border: 0;
		border-radius: 0;
	}
	.grenden-front-page .hero-media__image {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		max-height: none;
		aspect-ratio: auto;
		object-position: 55% 55%;
	}
	.grenden-front-page .hero-copy {
		grid-row: 2;
		display: grid;
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
		grid-template-rows: auto auto;
		align-content: center;
		column-gap: clamp(1.5rem, 4vw, 3.5rem);
		row-gap: 0.75rem;
		width: 100%;
		padding: clamp(2.75rem, 6svh, 4.75rem) clamp(1.5rem, 4vw, 3rem);
	}
	.grenden-front-page .hero-copy h1 {
		grid-row: 1 / 3;
		align-self: center;
		margin: 0;
		font-size: var(--gr-heading-hero);
	}
	.grenden-front-page .hero-copy h1 em { display: inline; margin: 0; }
	.grenden-front-page .hero-copy > p { margin: 0; max-width: 54ch; line-height: 1.5; }
	.grenden-front-page .hero-copy .button-row { grid-column: 2; justify-content: flex-start; }

	.primary-navigation__list { gap: clamp(1.25rem, 2.4vw, 2rem); }
	.primary-navigation a { font-size: 0.9rem; }



	.developments-section { margin-top: 0.75rem; padding-block: 2.5rem; }
	.section-panel { padding-block: 3rem 4rem; }
	.section-heading { margin-bottom: 2.5rem; }
	.featured-development__card { margin-left: 2rem; }

	.cta-card {
		gap: 1.5rem;
		padding: 1.5rem;
	}

	.story-slider { padding: 3rem clamp(2rem, 5vw, 4rem); }
	.story-slide {
		grid-template-columns: minmax(0, 1.1fr) minmax(15rem, 0.9fr);
		gap: clamp(2rem, 4vw, 3rem);
	}
	.story-slide__image::after { right: -18%; }

	.mosaic-gallery {
		height: clamp(30rem, 55vw, 38rem);
	}
	.mosaic-gallery::before { display: none; }

	.about-section { padding-block: 4.5rem; }
	.about-intro,
	.about-team {
		grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
		gap: clamp(2.5rem, 5vw, 3.5rem);
	}

	.process-section {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
		gap: clamp(2.5rem, 5vw, 3.5rem);
		padding: 4.25rem 2rem;
	}
	.process-section__image { width: 100%; height: 100%; margin: 0; }
	.process-section__image .squircle-media,
	.process-section__image img { height: 100%; }
	.process-section__image img { aspect-ratio: auto; }
	.process-section__copy { min-width: 0; }
	.process-section h2 { margin-bottom: 2.5rem; }
	.process-item + .process-item { margin-top: 2rem; }
	.process-item h3 { margin-bottom: 0.5rem; }
	.grenden-front-page .about-intro__heading h2,
	.grenden-front-page .process-section h2 { line-height: 1.04; }
	.tagline-section { padding: 5.5rem 2rem; }
}

@media (min-width: 768px) {
	.grenden-front-page .about-section { max-width: calc(var(--gr-rail) + 2 * var(--gr-gutter)); padding-inline: var(--gr-gutter); }
	.grenden-front-page .about-intro,
	.grenden-front-page .about-team { max-width: none; padding-inline: 0; }
}

@media (min-width: 768px) and (max-width: 1120px) {
	.site-footer__panel {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-areas: "brand copy" "links info" "person form" "newsletter newsletter";
		gap: clamp(2.5rem, 4vw, 3.75rem);
	}
	.footer-top,
	.footer-bottom { display: contents; }
	.footer-brand-column { grid-area: brand; }
	.footer-copy-column { grid-area: copy; min-width: 0; }
	.footer-links-column { grid-area: links; min-width: 0; }
	.footer-info-column { grid-area: info; min-width: 0; }
	.footer-socials { margin-top: 2rem; }
	.footer-person-column { grid-area: person; min-width: 0; }
	.footer-form-column { grid-area: form; min-width: 0; }
	.newsletter-card { grid-area: newsletter; margin-top: 1rem; }
}

@media (min-width: 768px) and (max-width: 900px) {
	.footer-person { max-width: 24rem; }
}

@media (max-width: 767px) {
	:root { --gr-gutter: 1rem; --gr-section: 5rem; --gr-panel-width: 100%; --gr-media-radius: clamp(1.875rem, 6.25vw, 3.125rem); --gr-cta-space: 3rem; --gr-story-space: 1.5rem; }
	.site-header__inner { min-height: 4rem; }
	.menu-toggle { display: block; position: relative; z-index: 2; }
	body.menu-open .site-header { z-index: 100000; }
	.menu-toggle[aria-expanded="true"] { position: fixed; top: 0.75rem; right: 1rem; z-index: 3; background: var(--gr-white); }
	.menu-toggle[aria-expanded="true"] > span[aria-hidden] { position: absolute; top: 50%; left: 0.7rem; right: 0.7rem; margin: 0; }
	.menu-toggle[aria-expanded="true"] > span[aria-hidden]:nth-of-type(2) { transform: rotate(45deg); }
	.menu-toggle[aria-expanded="true"] > span[aria-hidden]:nth-of-type(3) { transform: rotate(-45deg); }
	.primary-navigation { position: fixed; inset: 0; display: grid; place-items: center; padding: 5rem 1rem; background: var(--gr-white); visibility: hidden; pointer-events: none; transform: translateY(-0.75rem); transition: transform 180ms var(--gr-ease), visibility 0s linear 180ms; }
	.primary-navigation.is-open { visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
	.primary-navigation__list { flex-direction: column; gap: 2rem; }
	.primary-navigation a { font-size: 1.75rem; }
	.primary-navigation .mobile-menu-brand { position: absolute; left: 50%; bottom: max(1.75rem, env(safe-area-inset-bottom)); display: inline-flex; transform: translateX(-50%); }
	.mobile-menu-brand::after { display: none; }
	.mobile-menu-brand img { width: 8.5rem; height: auto; }
	.hero-section {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "media" "title" "intro" "actions";
		gap: clamp(0.65rem, 1.6svh, 1.25rem);
		padding: clamp(0.75rem, 2svh, 1.5rem) var(--gr-gutter) 1.5rem;
	}
	.hero-copy { display: contents; }
	:root { --gr-heading-hero: clamp(3rem, 8vw, 4rem); }
	.hero-copy h1 { grid-area: title; max-width: 22ch; margin: 0 auto; font-size: var(--gr-heading-hero); line-height: 1.08; text-align: center; }
	.hero-copy h1 em { display: inline; margin: 0; }
	.hero-copy > p { grid-area: intro; max-width: 48ch; margin: 0.875rem auto; font-size: 1rem; line-height: 1.45; text-align: center; }
	.hero-copy .button-row { grid-area: actions; justify-content: center; gap: 0.65rem; }
	.hero-copy .button { min-height: 2.875rem; padding-inline: 1rem; }
	.hero-copy .button--outline { border-color: transparent; padding-inline: 1.35rem; text-transform: none; font-size: 0.875rem; font-weight: 700; }
	.hero-media { grid-area: media; margin-bottom: 0.75rem; }
	.hero-media__image { height: clamp(10rem, calc(100svh - 30.75rem), 34rem); max-height: none; aspect-ratio: auto; }
	.developments-section { margin-top: 0.75rem; padding-block: 1.75rem 2rem; }
	.section-panel { padding: 2.75rem 1rem 3rem; }
	.section-heading { margin-bottom: 2.25rem; }
	.section-heading p { font-size: 1.05rem; }
	.development-grid { grid-template-columns: 1fr; margin-top: 3rem; }
	.cta-card { flex-direction: column; align-items: flex-start; min-height: 0; gap: 1.25rem; padding: 1.5rem; }
	.story-slider { padding: 2.5rem 0; }
	.story-slide,
	.story-slide.is-active { grid-template-columns: 1fr; }
	.story-slide__image::after { right: -5%; top: 72%; }
	.story-slide__copy { padding-inline: 1rem; }
	.mosaic-gallery { height: 27rem; }
	.mosaic-gallery__set { flex-basis: max(100vw, 42rem); width: max(100vw, 42rem); gap: 0.75rem; }
	.mosaic-gallery::before { display: none; }
	.about-section { padding-block: 3.5rem; }
	.mosaic-gallery + .about-section { padding-top: 4.5rem; }
	.about-intro,
	.about-team { grid-template-columns: 1fr; gap: 2rem; }
	.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
	.team-card__label { left: 0.65rem; bottom: 0.65rem; font-size: 0.75rem; }
	.process-section { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 1.5rem; }
	.process-section::after { display: none; }
	.process-section__image { width: 100%; min-width: 0; margin: 0; }
	.process-section__image img { aspect-ratio: 1.3 / 1; }
	.process-section h2 { margin-bottom: 2rem; }
	.process-item + .process-item { margin-top: 1.5rem; }
	.process-item h3 { margin-bottom: 0.5rem; }
	.tagline-section { padding: 5rem 1.5rem; }
	.footer-top,
	.footer-bottom { grid-template-columns: 1fr; }
	.footer-bottom { margin-top: 3rem; }
	.footer-info-column { order: -1; }
	.footer-form-column { grid-column: auto; }
	.footer-person { max-width: 22rem; }
	.newsletter-form { grid-template-columns: 1fr; }
	.footer-brand-column .brand--large img { width: 9rem; }
	.site-footer__legal { flex-direction: column; }
	.archive-grid { grid-template-columns: 1fr; }
	.development-single__hero { grid-template-columns: 1fr; }
	.development-facts { grid-template-columns: 1fr; }
	.feature-list { grid-template-columns: 1fr; }
	.development-gallery { grid-template-columns: 1fr; }
	.testimonial-quote,
	.testimonial-columns,
	.testimonial-media { grid-template-columns: 1fr; }
	.testimonial-hero { padding-top: 0; }
	.testimonial-hero__copy { margin-top: 3.5rem; }
	.testimonial-quote blockquote { padding: 1.5rem 1rem 0; }
	.testimonial-media__copy { max-width: none; }
	.testimonial-media__image { max-width: 34rem; margin-inline: auto; }
	.testimonial-media--left .testimonial-media__image { order: 0; }
	.testimonial-archive__grid { grid-template-columns: 1fr; }
}

@media (min-width: 600px) and (max-width: 767px) {
	.development-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.25rem; }
}

@media (max-width: 900px) {
	.featured-development,
	.featured-development.is-active {
		min-height: 0;
		grid-template-rows: auto auto;
		padding-block: 0;
	}
	.featured-development.is-active {
		display: grid;
		box-shadow: 0 0.5rem 1.75rem rgba(0, 0, 0, 0.09), 0 0 0 1px rgba(0, 0, 0, 0.05);
	}
	.featured-development__image {
		position: relative;
		inset: auto;
		height: clamp(16rem, 42vw, 22rem);
	}
	.featured-development__card {
		position: relative;
		inset: auto;
		width: 100%;
		min-height: 0;
		margin: 0;
		padding: 1.7rem clamp(1.25rem, 4vw, 2rem) 1.9rem;
		border-radius: 0;
	}
	.featured-development__content { margin-top: 1.1rem; }
	.featured-development__description {
		margin-top: 1.1rem;
		padding-top: 1rem;
	}
	.featured-development__card > .object-link { margin-top: 1.35rem; }
}

@media (min-width: 600px) and (max-width: 900px) {
	.featured-development__card {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		grid-template-rows: auto auto auto;
		column-gap: clamp(1.5rem, 4vw, 3rem);
		padding-block: 2rem;
	}
	.featured-development__meta {
		grid-column: 2;
		grid-row: 1;
		justify-content: flex-start;
		gap: 1rem;
	}
	.featured-development__content { display: contents; }
	.featured-development__content h3 {
		grid-column: 1;
		grid-row: 1 / 4;
		align-self: center;
	}
	.featured-development__description {
		grid-column: 2;
		grid-row: 2;
		border: 0;
		margin-top: 0.75rem;
		padding-top: 0;
	}
	.featured-development__card > .object-link {
		grid-column: 2;
		grid-row: 3;
		margin-top: 1.1rem;
	}
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header { top: 0; }
}

@media (max-width: 520px) {
	.brand img { width: 7.4rem; height: auto; }
	.button-row { align-items: stretch; }
	.button-row .button { width: 100%; }
	.hero-copy .button-row { flex-direction: column; align-items: center; }
	.hero-copy .button-row .button { width: min(100%, 20rem); padding-inline: 1.5rem; }
	.section-heading h2,
	.about-intro__heading h2,
	.process-section h2,
	.tagline-section h2,
	.newsletter-card h2 { font-size: var(--gr-heading-section); }
	.development-grid { margin-top: 2.75rem; }
	.story-slide__image img { aspect-ratio: 1.05 / 1; }
	.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.team-card { max-width: none; }
	.tagline-section { padding-block: 4.5rem; }
	.site-footer__panel { padding-inline: 1.25rem; }
	.newsletter-card { padding-inline: 1.25rem; }
	.testimonial-hero__copy h1,
	.testimonial-text h2,
	.testimonial-media h2,
	.testimonial-archive__header h1 { font-size: 2.65rem; }
	.testimonial-hero__media img { aspect-ratio: 1.1 / 1; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Context headings follow their main heading, including the hero grid. */
.section-heading .section-eyebrow,
.grenden-front-page .section-heading .section-eyebrow,
.about-intro .section-eyebrow { margin: 0 0 0.25rem; font-size: 0.75rem; line-height: 1.5; letter-spacing: 0.08em; }
.hero-copy__heading .section-eyebrow { margin: 0 0 1rem; }
.hero-copy__heading .section-eyebrow a { display: inline-flex; align-items: center; gap: 0.625rem; padding-block: 0.25rem; text-decoration: none; text-underline-offset: 0.25em; }
.hero-copy__heading .section-eyebrow a:hover { text-decoration: underline; }
.hero-copy__heading .section-eyebrow .button__arrow { flex: 0 0 auto; opacity: 0.6; }
.hero-copy__heading .section-eyebrow a:hover .button__arrow { transform: translateX(0.28rem); }
@media (min-width: 768px) {
 .hero-copy__heading { grid-column: 1; grid-row: 1 / 3; align-self: center; min-width: 0; }
 .hero-copy__heading h1 { margin: 0; }
}
@media (max-width: 767px) {
 .hero-copy__heading { grid-area: title; text-align: center; }
 .hero-copy__heading h1 { grid-area: auto; }
}
