/**
 * Domy jak marzenie — strona Technologia v3.
 * Style są ograniczone do .djm-tech i body.djm-technology-template.
 */

body.djm-technology-template #primary,
body.djm-technology-template .site-main {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

body.djm-technology-template #page,
body.djm-technology-template .site-content,
body.djm-technology-template .site-content > .ast-container {
	display: block;
	width: 100%;
	max-width: none;
	padding: 0 !important;
	margin: 0 !important;
}

body.djm-technology-template .site-header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99;
	background: transparent !important;
}

body.djm-technology-template .ast-primary-header-bar {
	background: transparent !important;
	border-bottom: none !important;
}

.djm-tech {
	--djm-accent: #9d7539;
	--djm-graphite: #474747;
	--djm-heading: #474747;
	--djm-cream: #F5F1E4;
	--djm-white: #F5F1E4;
	--djm-border: rgba(71, 71, 71, 0.18);
	--djm-muted: rgba(71, 71, 71, 0.76);
	--djm-radius-sm: 12px;
	--djm-radius-md: 20px;
	--djm-radius-lg: 30px;
	--djm-container: 1320px;
	--djm-transition: 320ms cubic-bezier(0.22, 1, 0.36, 1);

	position: relative;
	width: 100%;
	min-width: 0;
	color: var(--djm-graphite);
	background: var(--djm-white);
	overflow: clip;
	font-family: inherit;
	line-height: 1.65;
}

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

.djm-tech img,
.djm-tech video {
	display: block;
	max-width: 100%;
}

.djm-tech a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

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

.djm-tech :focus-visible {
	outline: 2px solid var(--djm-accent);
	outline-offset: 4px;
}

.djm-container {
	width: min(calc(100% - clamp(32px, 6vw, 96px)), var(--djm-container));
	margin-inline: auto;
}

.djm-section {
	position: relative;
	padding-block: clamp(76px, 9vw, 148px);
}

.djm-section--white {
	background: var(--djm-white);
}

.djm-section--cream {
	background: var(--djm-cream);
}

@supports (content-visibility: auto) {
	.djm-section--deferred {
		content-visibility: auto;
		contain-intrinsic-size: auto 900px;
	}
}

.djm-eyebrow {
	margin: 0 0 18px;
	color: var(--djm-accent);
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.djm-section-title {
	max-width: 980px;
	margin: 0;
	color: var(--djm-graphite);
	font-size: clamp(2.5rem, 5.2vw, 5.7rem);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.048em;
	text-wrap: balance;
}

.djm-section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.72fr);
	align-items: end;
	gap: clamp(30px, 6vw, 98px);
	margin-bottom: clamp(50px, 7vw, 104px);
}

.djm-section-lead {
	max-width: 620px;
	justify-self: end;
	color: var(--djm-muted);
	font-size: clamp(1rem, 1.3vw, 1.22rem);
}

.djm-rich-text > :first-child {
	margin-top: 0;
}

.djm-rich-text > :last-child {
	margin-bottom: 0;
}

.djm-rich-text p {
	margin: 0 0 1em;
}

.djm-button {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 54px;
	padding: 14px 22px;
	background-color: var(--djm-accent);
	color: #ffffff;
	border: 1px solid var(--djm-accent);
	border-radius: 999px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: color var(--djm-transition), background-color var(--djm-transition), transform var(--djm-transition);
}

@media (hover: hover) and (pointer: fine) {
	.djm-button:hover {
		transform: translateY(-2px);
	}
}

/* Hero */
.djm-tech-hero {
	--djm-hero-overlay: 0.45;
	position: relative;
	display: grid;
	align-items: center; /* Zmiana z end na center by podnieść tekst wyżej */
	height: calc(100vh + 150px);
	height: calc(100dvh + 150px);
	min-height: 600px;
	margin-top: -150px; /* Pull up under header */
	padding-top: clamp(150px, 15vw, 200px); /* Zredukowany górny padding dla lepszego wyśrodkowania z uwzględnieniem offsetu */
	padding-bottom: clamp(40px, 5vw, 80px);
	background: var(--djm-cream);
	isolation: isolate;
}

.djm-tech-hero__media,
.djm-tech-hero__background-image,
.djm-tech-hero__background-video,
.djm-tech-hero__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.djm-tech-hero__media {
	z-index: -1;
	overflow: hidden;
	background: var(--djm-graphite);
}

.djm-tech-hero__background-image,
.djm-tech-hero__background-video {
	object-fit: cover;
}

.djm-tech-hero__background-video {
	opacity: 0;
	transition: opacity 700ms ease;
}

.djm-tech-hero__background-video.is-ready {
	opacity: 1;
}

.djm-tech-hero__overlay {
	background: rgba(20, 19, 17, var(--djm-hero-overlay));
}

.djm-tech-hero__container {
	width: min(calc(100% - clamp(32px, 7vw, 112px)), 1440px);
}

.djm-tech-hero__content {
	max-width: 1120px;
}

.djm-tech-hero__title {
	max-width: 1120px;
	margin: 0;
	font-size: clamp(3.25rem, 7.5vw, 8.2rem);
	font-weight: 500;
	line-height: 0.91;
	letter-spacing: -0.062em;
	text-wrap: balance;
}

.djm-tech-hero__lead {
	max-width: 760px;
	margin-top: clamp(32px, 4vw, 58px);
	font-size: clamp(1.06rem, 1.45vw, 1.35rem);
}

.djm-button--hero {
	margin-top: clamp(28px, 4vw, 48px);
}

.djm-tech-hero--text-light,
.djm-tech-hero--text-light .djm-tech-hero__title,
.djm-tech-hero--text-light .djm-tech-hero__lead {
	color: #fff;
}

.djm-tech-hero--text-light .djm-eyebrow {
	color: rgba(255, 255, 255, 0.86);
}

.djm-tech-hero--text-light .djm-button--hero {
	color: #fff;
}

.djm-tech-hero--text-dark,
.djm-tech-hero--text-dark .djm-tech-hero__title {
	color: var(--djm-graphite);
}

.djm-tech-hero--text-dark .djm-tech-hero__lead {
	color: rgba(71, 71, 71, 0.88);
}

.djm-tech-hero--none {
	min-height: clamp(650px, 82svh, 880px);
	background: var(--djm-cream);
}

.djm-tech-hero--none,
.djm-tech-hero--none .djm-tech-hero__title {
	color: var(--djm-graphite);
}

.djm-tech-hero--none .djm-tech-hero__lead {
	color: var(--djm-muted);
}

.djm-tech-hero--none .djm-eyebrow {
	color: var(--djm-accent);
}

.djm-tech-hero--none .djm-button--hero {
	color: #ffffff;
}

/* Wprowadzenie */
.djm-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
	gap: clamp(48px, 8vw, 128px);
	align-items: center;
}

.djm-intro__grid--image-left .djm-intro__visual {
	order: -1;
}

.djm-intro__grid--no-image {
	grid-template-columns: minmax(0, 980px);
}

.djm-intro__text {
	max-width: 760px;
	margin-top: clamp(30px, 4vw, 54px);
	color: var(--djm-muted);
	font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}

.djm-intro__visual {
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--djm-radius-lg);
	background: var(--djm-cream);
}

.djm-intro__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.djm-intro__options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	max-width: 820px;
	margin-top: clamp(42px, 6vw, 76px);
	border-top: 1px solid var(--djm-border);
	border-bottom: 1px solid var(--djm-border);
}

.djm-intro__option {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	padding: 26px 22px 26px 0;
}

.djm-intro__option + .djm-intro__option {
	padding-left: 28px;
	border-left: 1px solid var(--djm-border);
}

.djm-intro__option span {
	color: var(--djm-accent);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.djm-intro__option strong {
	font-size: clamp(1.05rem, 1.5vw, 1.3rem);
	font-weight: 600;
	line-height: 1.25;
}

@media (hover: hover) and (pointer: fine) {
	.djm-intro__visual:hover .djm-intro__image {
		transform: scale(1.025);
	}
}

/* Fundament */
.djm-foundation__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
	gap: clamp(42px, 7vw, 108px);
	align-items: start;
}

.djm-foundation__grid--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.djm-foundation__visual {
	position: sticky;
	top: 120px;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--djm-radius-lg);
	background: var(--djm-white);
}

.djm-foundation__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.djm-benefit-list {
	border-top: 1px solid rgba(157, 117, 57, 0.42);
}

.djm-benefit {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: clamp(18px, 3vw, 34px);
	padding-block: clamp(30px, 4vw, 48px);
	border-bottom: 1px solid var(--djm-border);
}

.djm-benefit__number,
.djm-story-point__number {
	padding-top: 0.25em;
	color: var(--djm-accent);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.djm-benefit h3,
.djm-story-point h3,
.djm-technology-story__overview h3 {
	margin: 0 0 14px;
	color: var(--djm-graphite);
	font-size: clamp(1.45rem, 2.2vw, 2.3rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.032em;
}

.djm-benefit .djm-rich-text,
.djm-story-point .djm-rich-text,
.djm-technology-story__overview .djm-rich-text {
	color: var(--djm-muted);
}

.djm-foundation__grid--no-image .djm-benefit-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-bottom: 1px solid var(--djm-border);
}

.djm-foundation__grid--no-image .djm-benefit {
	display: block;
	padding: clamp(28px, 4vw, 48px);
	border-bottom: 0;
}

.djm-foundation__grid--no-image .djm-benefit + .djm-benefit {
	border-left: 1px solid var(--djm-border);
}

.djm-foundation__grid--no-image .djm-benefit__number {
	display: block;
	margin-bottom: 42px;
}

/* Sekcje technologii */
.djm-technology-story__header {
	padding-bottom: clamp(42px, 6vw, 74px);
	border-bottom: 1px solid var(--djm-border);
}

.djm-technology-story__heading-row {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
	gap: clamp(30px, 7vw, 110px);
	align-items: end;
}

.djm-technology-story__subtitle {
	max-width: 520px;
	margin: 0;
	justify-self: end;
	color: var(--djm-heading);
	font-size: clamp(1.25rem, 2vw, 1.9rem);
	font-weight: 500;
	line-height: 1.25;
}

.djm-technology-story__overview {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(28px, 5vw, 74px);
	padding-block: clamp(44px, 7vw, 92px);
}

.djm-technology-story__overview article {
	padding-top: 26px;
	border-top: 1px solid rgba(157, 117, 57, 0.52);
}

.djm-technology-story__overview h3 {
	font-size: clamp(1.4rem, 2vw, 2rem);
}

.djm-technology-story__body {
	display: grid;
	grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
	gap: clamp(44px, 8vw, 126px);
	align-items: start;
}

.djm-technology-story__body--reverse .djm-technology-story__media {
	order: 2;
}

.djm-technology-story__body--no-media {
	grid-template-columns: minmax(0, 980px);
}

.djm-technology-story__media {
	position: sticky;
	top: 120px;
	display: grid;
	gap: clamp(18px, 2vw, 28px);
}

.djm-technology-story__media figure {
	margin: 0;
	overflow: hidden;
	border-radius: var(--djm-radius-lg);
	background: var(--djm-cream);
}

.djm-technology-story__media-main {
	aspect-ratio: 4 / 5;
}

.djm-technology-story__media-secondary {
	width: 72%;
	aspect-ratio: 4 / 3;
	justify-self: end;
}

.djm-technology-story__body--reverse .djm-technology-story__media-secondary {
	justify-self: start;
}

.djm-technology-story__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.djm-story-points {
	border-top: 1px solid var(--djm-border);
}

.djm-story-point {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: clamp(18px, 3vw, 34px);
	padding-block: clamp(30px, 4vw, 48px);
	border-bottom: 1px solid var(--djm-border);
}

.djm-story-point h3 {
	font-size: clamp(1.4rem, 2.1vw, 2.15rem);
}

@media (hover: hover) and (pointer: fine) {
	.djm-technology-story__media figure:hover .djm-technology-story__image {
		transform: scale(1.025);
	}
}

/* Podsumowanie */
.djm-summary {
	color: #fff;
	background: var(--djm-graphite);
}

.djm-summary__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
	gap: clamp(38px, 8vw, 130px);
	align-items: end;
}

.djm-summary .djm-section-title,
.djm-summary__text {
	color: #fff;
}

.djm-summary .djm-eyebrow {
	color: #d8bd91;
}

.djm-summary__text {
	font-size: clamp(1.06rem, 1.4vw, 1.3rem);
	font-weight: 300;
	opacity: 0.88;
}

.djm-button--light {
	margin-top: clamp(30px, 4vw, 48px);
	color: #fff;
}

.djm-button--light:hover,
.djm-button--light:focus-visible {
	color: var(--djm-graphite);
	background: #fff;
}

/* Breadcrumbs */
.djm-breadcrumbs {
	padding-block: 30px;
	border-top: 1px solid var(--djm-border);
	background: var(--djm-white);
}

.djm-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	color: var(--djm-muted);
	font-size: 0.82rem;
	list-style: none;
}

.djm-breadcrumbs__list li + li::before {
	margin-right: 10px;
	color: rgba(71, 71, 71, 0.42);
	content: "/";
}

.djm-breadcrumbs a {
	text-decoration: none;
}

.djm-breadcrumbs a:hover,
.djm-breadcrumbs a:focus-visible {
	color: var(--djm-accent);
}

/* Mobilne CTA */
.djm-mobile-cta {
	display: none;
}

/* Lekkie animacje wejścia na desktopie. Bez JS lub na mobile treść pozostaje widoczna. */
@media (min-width: 992px) {
	.djm-tech--motion-ready [data-reveal] {
		opacity: 0;
		transform: translate3d(0, 24px, 0);
		transition:
			opacity 650ms cubic-bezier(0.22, 1, 0.36, 1) var(--djm-reveal-delay, 0ms),
			transform 650ms cubic-bezier(0.22, 1, 0.36, 1) var(--djm-reveal-delay, 0ms);
		will-change: opacity, transform;
	}

	.djm-tech--motion-ready [data-reveal].is-visible {
		opacity: 1;
		transform: none;
		will-change: auto;
	}
}

/* Tablet */
@media (max-width: 1024px) {
	.djm-section-heading,
	.djm-technology-story__heading-row,
	.djm-summary__grid {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.djm-section-lead,
	.djm-technology-story__subtitle {
		justify-self: start;
	}

	.djm-intro__grid,
	.djm-foundation__grid,
	.djm-technology-story__body {
		grid-template-columns: 1fr;
	}

	.djm-intro__visual {
		max-height: 720px;
		aspect-ratio: 16 / 10;
	}

	.djm-intro__grid--image-left .djm-intro__visual {
		order: 0;
	}

	.djm-foundation__visual,
	.djm-technology-story__media {
		position: static;
	}

	.djm-foundation__visual {
		max-height: 700px;
		aspect-ratio: 16 / 10;
	}

	.djm-technology-story__body--reverse .djm-technology-story__media {
		order: 0;
	}

	.djm-technology-story__media {
		grid-template-columns: minmax(0, 1fr) minmax(220px, 0.5fr);
		align-items: end;
	}

	.djm-technology-story__media-main {
		aspect-ratio: 16 / 11;
	}

	.djm-technology-story__media-secondary {
		width: 100%;
	}
}

/* Telefon */
@media (max-width: 767px) {
	.djm-container,
	.djm-tech-hero__container {
		width: min(calc(100% - 32px), var(--djm-container));
	}

	.djm-section {
		padding-block: 72px;
	}

	.djm-tech-hero {
		min-height: max(680px, 88svh);
		padding-top: 132px;
		padding-bottom: 70px;
	}

	.djm-tech-hero--none {
		min-height: 680px;
	}

	.djm-tech-hero__title {
		font-size: clamp(3rem, 14.5vw, 5.2rem);
		line-height: 0.93;
	}

	.djm-tech-hero__lead {
		font-size: 1rem;
	}

	.djm-section-title {
		font-size: clamp(2.55rem, 11vw, 4.2rem);
	}

	.djm-intro__options,
	.djm-technology-story__overview,
	.djm-foundation__grid--no-image .djm-benefit-list,
	.djm-technology-story__media {
		grid-template-columns: 1fr;
	}

	.djm-intro__option + .djm-intro__option {
		padding-left: 0;
		border-top: 1px solid var(--djm-border);
		border-left: 0;
	}

	.djm-intro__visual,
	.djm-foundation__visual,
	.djm-technology-story__media-main {
		aspect-ratio: 4 / 5;
	}

	.djm-foundation__grid--no-image .djm-benefit {
		padding-inline: 0;
	}

	.djm-foundation__grid--no-image .djm-benefit + .djm-benefit {
		border-top: 1px solid var(--djm-border);
		border-left: 0;
	}

	.djm-benefit,
	.djm-story-point {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 14px;
	}

	.djm-technology-story__overview {
		gap: 38px;
	}

	.djm-technology-story__media-secondary {
		width: 82%;
		justify-self: end;
	}

	.djm-technology-story__body--reverse .djm-technology-story__media-secondary {
		justify-self: start;
	}

	.djm-mobile-cta {
		position: fixed;
		right: 14px;
		bottom: max(14px, env(safe-area-inset-bottom));
		left: 14px;
		z-index: 999;
		display: block;
		pointer-events: none;
	}

	.djm-mobile-cta__button {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 54px;
		padding: 14px 24px;
		border-radius: 999px;
		color: #fff;
		background: var(--djm-graphite);
		box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
		font-weight: 700;
		text-decoration: none;
		pointer-events: auto;
	}
}

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

	.djm-tech--motion-ready [data-reveal] {
		opacity: 1;
		transform: none;
	}

	.djm-tech-hero__background-video {
		display: none;
	}
}

/* Pillars */
.djm-pillars__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(30px, 5vw, 60px);
	padding-block: clamp(40px, 6vw, 80px);
}
.djm-pillar {
	text-align: left;
}
.djm-pillar__icon {
	color: var(--djm-accent);
	margin-bottom: 24px;
}
.djm-pillar__icon svg {
	width: 48px;
	height: 48px;
}
.djm-pillar__title {
	font-size: clamp(1.4rem, 2vw, 1.8rem);
	font-weight: 500;
	margin-bottom: 16px;
	color: var(--djm-graphite);
}
.djm-pillar__text {
	color: var(--djm-muted);
}

/* Gallery */
.djm-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.djm-gallery-card {
	position: relative;
	border-radius: var(--djm-radius-md);
	overflow: hidden;
}
.djm-gallery-card:nth-child(4n) {
	grid-column: span 2;
}
.djm-gallery-card__inner {
	display: block;
	position: relative;
	height: 100%;
}
.djm-gallery-card__media {
	position: relative;
	aspect-ratio: 3 / 4;
}
.djm-gallery-card:nth-child(4n) .djm-gallery-card__media {
	aspect-ratio: 16 / 9;
}
.djm-gallery-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--djm-transition);
}
.djm-gallery-card:hover .djm-gallery-card__image {
	transform: scale(1.05);
}
.djm-gallery-card__overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 40px 30px 30px;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.djm-gallery-card__eyebrow {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255,255,255,0.7);
}
.djm-gallery-card__title {
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
}

/* Modern Build */
.djm-modern__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 40px);
}
.djm-modern__item {
	background: #ffffff;
	border-radius: var(--djm-radius-md);
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.djm-modern__media {
	position: relative;
	aspect-ratio: 16 / 10;
	margin: 0;
}
.djm-modern__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.djm-modern__plus-icon {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 40px;
	height: 40px;
	background: var(--djm-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--djm-accent);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.djm-modern__content {
	padding: 32px;
}
.djm-modern__content h3 {
	font-size: 1.5rem;
	font-weight: 500;
	margin-bottom: 16px;
	color: var(--djm-graphite);
}
.djm-modern__content .djm-rich-text {
	color: var(--djm-muted);
}

/* Installations */
.djm-installations__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(40px, 6vw, 80px);
}
.djm-installation {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(30px, 5vw, 60px);
	align-items: center;
}
.djm-installation:nth-child(even) .djm-installation__media {
	order: 2;
}
.djm-installation__media {
	aspect-ratio: 4 / 3;
	border-radius: var(--djm-radius-lg);
	overflow: hidden;
}
.djm-installation__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.djm-installation__content .djm-eyebrow {
	margin-bottom: 12px;
}
.djm-installation__title {
	font-size: clamp(2rem, 3vw, 2.5rem);
	font-weight: 500;
	margin-bottom: 24px;
	color: var(--djm-graphite);
}
.djm-text-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: none;
	border: none;
	padding: 0;
	font-size: 1rem;
	font-weight: 700;
	color: var(--djm-accent);
	cursor: pointer;
	margin-top: 24px;
}
.djm-toggle-icon {
	position: relative;
	width: 24px;
	height: 24px;
	border: 1px solid var(--djm-accent);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.djm-toggle-icon::before,
.djm-toggle-icon::after {
	content: "";
	position: absolute;
	background: var(--djm-accent);
}
.djm-toggle-icon::before {
	width: 10px;
	height: 2px;
}
.djm-toggle-icon::after {
	width: 2px;
	height: 10px;
	transition: transform var(--djm-transition);
}
.djm-text-button[aria-expanded="true"] .djm-toggle-icon::after {
	transform: scaleY(0);
}
.djm-expand-panel {
	grid-column: 1 / -1;
}
.djm-installation__extra-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 30px;
}
.djm-installation__extra-media {
	aspect-ratio: 16 / 10;
	border-radius: var(--djm-radius-md);
	overflow: hidden;
}
.djm-installation__extra-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.djm-pillars__grid,
	.djm-gallery__grid,
	.djm-modern__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.djm-gallery-card:nth-child(4n) {
		grid-column: auto;
	}
	.djm-installation {
		grid-template-columns: 1fr;
	}
	.djm-installation:nth-child(even) .djm-installation__media {
		order: -1;
	}
}

@media (max-width: 767px) {
	.djm-pillars__grid,
	.djm-gallery__grid,
	.djm-modern__grid,
	.djm-installation__extra-gallery {
		grid-template-columns: 1fr;
	}
}


