/* XGrow Projects — front-end */
:root {
	--xgp-accent: #5e358b;
	--xgp-accent-soft: #c5b8f8;
	--xgp-dark: #050505;
	--xgp-surface: #f5f2fb;
	--xgp-white: #fff;
	--xgp-ink: #0a0a0a;
	--xgp-muted: #66646b;
	--xgp-line: rgba(10, 10, 10, 0.12);
	--xgp-radius: 26px;
	--xgp-shadow: 0 24px 80px rgba(31, 19, 70, 0.12);
}

.xgp,
.xgp * {
	box-sizing: border-box;
}

.xgp {
	width: 100%;
	max-width: none;
	margin: 0;
	color: var(--xgp-ink);
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	overflow: clip;
}

.xgp img {
	display: block;
	max-width: 100%;
}

.xgp h1,
.xgp h2,
.xgp h3,
.xgp p,
.xgp figure,
.xgp blockquote,
.xgp dl,
.xgp ol,
.xgp ul {
	margin-top: 0;
}

.xgp h1,
.xgp h2,
.xgp h3 {
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
	font-weight: 650;
	letter-spacing: -0.045em;
	line-height: 1.02;
}

.xgp button,
.xgp a {
	font: inherit;
}

.xgp-shell {
	position: relative;
	width: min(100% - 48px, 1320px);
	margin-inline: auto;
}

.xgp-kicker,
.xgp-section-heading > span {
	color: var(--xgp-accent);
	font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.24em;
	line-height: 1.35;
	text-transform: uppercase;
}

.xgp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: rgba(255, 255, 255, 0.62);
	font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.xgp-eyebrow span {
	padding: 7px 13px;
	border: 1px solid rgba(197, 184, 248, 0.45);
	border-radius: 999px;
	background: rgba(94, 53, 139, 0.2);
	color: var(--xgp-accent-soft);
}

.xgp-eyebrow i {
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--xgp-accent-soft);
}

.xgp-eyebrow strong {
	font: inherit;
	color: rgba(255, 255, 255, 0.72);
}

/* Hero */
.xgp-hero {
	position: relative;
	isolation: isolate;
	min-height: 610px;
	display: grid;
	align-items: end;
	padding: 104px 0 68px;
	border-bottom: 8px solid var(--xgp-accent);
	background:
		radial-gradient(circle at 82% 18%, rgba(94, 53, 139, 0.42), transparent 26%),
		linear-gradient(135deg, #030303 0%, #09060e 58%, #160a25 100%);
	color: #fff;
}

.xgp-hero::before {
	content: "";
	position: absolute;
	z-index: -2;
	inset: 0;
	background-image:
		radial-gradient(circle, rgba(197, 184, 248, 0.28) 0 1px, transparent 1.8px),
		radial-gradient(circle, rgba(94, 53, 139, 0.4) 0 1.5px, transparent 2.2px);
	background-position: 0 0, 11px 11px;
	background-size: 28px 28px;
	mask-image: linear-gradient(112deg, transparent 2%, #000 28%, #000 76%, transparent 100%);
	opacity: 0.72;
}

.xgp-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -12vw;
	bottom: -34vw;
	width: 66vw;
	height: 66vw;
	border: 1px solid rgba(197, 184, 248, 0.13);
	border-radius: 50%;
	box-shadow:
		0 0 0 8vw rgba(94, 53, 139, 0.035),
		0 0 0 16vw rgba(94, 53, 139, 0.025);
}

.xgp-hero__mesh {
	position: absolute;
	z-index: -1;
	top: 14%;
	left: -6%;
	width: 38vw;
	height: 38vw;
	min-width: 360px;
	min-height: 360px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	transform: rotate(18deg);
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.xgp-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 56px;
	align-items: end;
}

.xgp-hero--with-visual .xgp-hero__layout {
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.xgp-hero__content {
	min-width: 0;
}

.xgp-hero h1 {
	max-width: 900px;
	margin: 30px 0 38px;
	color: #fff;
	font-size: clamp(4.2rem, 10vw, 9.4rem);
	font-weight: 580;
	letter-spacing: -0.075em;
	line-height: 0.82;
	text-wrap: balance;
}

.xgp-hero__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 22px 44px;
	padding-top: 27px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.xgp-hero__facts > div {
	display: grid;
	gap: 3px;
}

.xgp-hero__facts span {
	color: rgba(255, 255, 255, 0.45);
	font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.xgp-hero__facts strong {
	color: #fff;
	font-size: 0.84rem;
	font-weight: 550;
}

.xgp-hero__facts .xgp-hero__services {
	flex: 1 1 280px;
}

.xgp-hero__visual {
	position: relative;
	align-self: center;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 34px;
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55);
	transform: rotate(2.5deg);
	overflow: hidden;
}

.xgp-hero__visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(150deg, transparent 42%, rgba(31, 19, 70, 0.46));
	pointer-events: none;
}

.xgp-hero__visual img {
	width: 100%;
	aspect-ratio: 4 / 3.4;
	object-fit: cover;
}

.xgp-hero__visual > span {
	position: absolute;
	z-index: 2;
	right: 19px;
	bottom: 16px;
	padding: 5px 10px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.62);
	color: var(--xgp-accent-soft);
	font-family: "Geist Mono", monospace;
	font-size: 0.65rem;
	letter-spacing: 0.08em;
}

/* Main project layout */
.xgp-project-body {
	padding: 92px 0 118px;
	background: #fff;
}

.xgp-project-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: clamp(48px, 7vw, 96px);
	align-items: start;
}

.xgp-project-layout--no-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

.xgp-project-main {
	min-width: 0;
}

.xgp-overview {
	margin-bottom: 70px;
}

.xgp-overview h2 {
	max-width: 880px;
	margin: 22px 0 26px;
	font-size: clamp(2.2rem, 4.7vw, 4.7rem);
	text-wrap: balance;
}

.xgp-richtext {
	color: var(--xgp-muted);
	font-size: 1rem;
	line-height: 1.75;
}

.xgp-overview .xgp-richtext {
	max-width: 920px;
	font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.xgp-richtext > *:last-child {
	margin-bottom: 0;
}

.xgp-richtext a {
	color: var(--xgp-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* Gallery */
.xgp-gallery {
	margin-bottom: 76px;
}

.xgp-gallery .xgp-kicker {
	margin-bottom: 22px;
}

.xgp-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.xgp-gallery__item {
	position: relative;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: var(--xgp-radius);
	background: #ece9f1;
	cursor: zoom-in;
	overflow: hidden;
}

.xgp-gallery__item--wide {
	grid-column: span 2;
}

.xgp-gallery__item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.xgp-gallery__item--wide img {
	aspect-ratio: 2 / 1;
}

.xgp-gallery__item > span {
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 6px 10px;
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 999px;
	background: rgba(5, 5, 5, 0.62);
	color: #fff;
	font-family: "Geist Mono", monospace;
	font-size: 0.65rem;
	backdrop-filter: blur(10px);
}

.xgp-gallery__item:hover img,
.xgp-gallery__item:focus-visible img {
	transform: scale(1.035);
	filter: saturate(1.08);
}

.xgp-gallery__item:focus-visible {
	outline: 3px solid var(--xgp-accent-soft);
	outline-offset: 3px;
}

/* Story */
.xgp-story-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 76px;
}

.xgp-story-card {
	position: relative;
	min-height: 430px;
	padding: clamp(28px, 4vw, 48px);
	border: 1px solid rgba(94, 53, 139, 0.14);
	border-radius: var(--xgp-radius);
	background: var(--xgp-surface);
	overflow: hidden;
}

.xgp-story-card::after {
	content: "";
	position: absolute;
	right: -84px;
	bottom: -84px;
	width: 190px;
	height: 190px;
	border: 1px solid rgba(94, 53, 139, 0.16);
	border-radius: 50%;
	box-shadow: 0 0 0 32px rgba(94, 53, 139, 0.035);
}

.xgp-story-card--dark {
	border-color: rgba(255, 255, 255, 0.11);
	background: var(--xgp-dark);
	color: #fff;
}

.xgp-story-card__number {
	display: inline-flex;
	margin-bottom: 64px;
	color: var(--xgp-accent);
	font-family: "Geist Mono", monospace;
	font-size: 0.75rem;
	font-weight: 700;
}

.xgp-story-card--dark .xgp-story-card__number {
	color: var(--xgp-accent-soft);
}

.xgp-story-card h2 {
	margin-bottom: 20px;
	font-size: clamp(1.6rem, 3vw, 2.7rem);
}

.xgp-story-card--dark h2 {
	color: #fff;
}

.xgp-story-card--dark .xgp-richtext {
	color: rgba(255, 255, 255, 0.66);
}

/* Deliverables */
.xgp-deliverables {
	position: relative;
	display: grid;
	grid-template-columns: minmax(220px, 0.7fr) 1.3fr;
	gap: 54px;
	margin-bottom: 76px;
	padding: clamp(34px, 6vw, 70px);
	border-radius: var(--xgp-radius);
	background: var(--xgp-dark);
	color: #fff;
	overflow: hidden;
}

.xgp-deliverables::before {
	content: "";
	position: absolute;
	top: -160px;
	left: -160px;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	background: var(--xgp-accent);
	filter: blur(100px);
	opacity: 0.34;
}

.xgp-deliverables h2 {
	position: relative;
	margin: 24px 0 0;
	color: #fff;
	font-size: clamp(2rem, 4vw, 4.2rem);
}

.xgp-deliverables .xgp-kicker {
	position: relative;
	color: var(--xgp-accent-soft);
}

.xgp-deliverables ol {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.xgp-deliverables li {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.13);
	color: rgba(255, 255, 255, 0.84);
}

.xgp-deliverables li:first-child {
	border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.xgp-deliverables li span {
	color: var(--xgp-accent-soft);
	font-family: "Geist Mono", monospace;
	font-size: 0.72rem;
}

/* Quote */
.xgp-quote {
	position: relative;
	margin: 0;
	padding: clamp(40px, 7vw, 78px);
	border: 1px solid rgba(94, 53, 139, 0.2);
	border-radius: var(--xgp-radius);
	background: linear-gradient(145deg, #f9f7fc, var(--xgp-surface));
}

.xgp-quote::before {
	content: "“";
	position: absolute;
	top: 20px;
	right: 38px;
	color: rgba(94, 53, 139, 0.11);
	font-family: Georgia, serif;
	font-size: 12rem;
	line-height: 1;
}

.xgp-quote blockquote {
	position: relative;
	margin-bottom: 34px;
	font-size: clamp(1.65rem, 3.3vw, 3.4rem);
	font-weight: 560;
	letter-spacing: -0.045em;
	line-height: 1.16;
}

.xgp-quote figcaption {
	display: grid;
	gap: 3px;
}

.xgp-quote figcaption strong {
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.xgp-quote figcaption span {
	color: var(--xgp-muted);
	font-size: 0.82rem;
}

/* Sidebar */
.xgp-project-sidebar {
	position: sticky;
	top: 32px;
	display: grid;
	gap: 18px;
}

.admin-bar .xgp-project-sidebar {
	top: 64px;
}

.xgp-sidebar-card {
	padding: 28px;
	border: 1px solid var(--xgp-line);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(31, 19, 70, 0.055);
}

.xgp-sidebar-card .xgp-kicker {
	margin-bottom: 27px;
	color: var(--xgp-muted);
}

.xgp-client-card__identity {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}

.xgp-client-card__identity img,
.xgp-client-card__monogram {
	width: 58px;
	height: 70px;
	border-radius: 13px;
	object-fit: cover;
}

.xgp-client-card__monogram {
	display: grid;
	place-items: center;
	background: var(--xgp-accent);
	color: #fff;
	font-size: 1.4rem;
	font-weight: 650;
}

.xgp-client-card__identity div {
	display: grid;
	gap: 3px;
}

.xgp-client-card__identity strong {
	font-size: 0.94rem;
	letter-spacing: -0.02em;
}

.xgp-client-card__identity div span {
	color: var(--xgp-muted);
	font-size: 0.77rem;
}

.xgp-client-card ul {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.xgp-client-card li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 13px;
	border-radius: 12px;
	background: var(--xgp-surface);
	font-size: 0.78rem;
}

.xgp-client-card li > span {
	color: var(--xgp-accent);
	font-family: "Geist Mono", monospace;
	font-weight: 800;
}

.xgp-details-card dl {
	margin: 0;
}

.xgp-details-card dl > div {
	padding: 15px 0;
	border-bottom: 1px solid var(--xgp-line);
}

.xgp-details-card dl > div:first-child {
	padding-top: 0;
}

.xgp-details-card dt {
	color: var(--xgp-muted);
	font-size: 0.72rem;
}

.xgp-details-card dd {
	margin: 2px 0 0;
	font-size: 0.85rem;
	font-weight: 650;
}

.xgp-text-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 22px;
	padding: 13px 16px;
	border-radius: 999px;
	background: var(--xgp-dark);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 650;
	text-decoration: none;
	transition: background-color 180ms ease, transform 180ms ease;
}

.xgp-text-link:hover,
.xgp-text-link:focus-visible {
	background: var(--xgp-accent);
	color: #fff;
	transform: translateY(-2px);
}

/* CTA */
.xgp-cta {
	position: relative;
	padding: 90px 0;
	background: var(--xgp-dark);
	color: #fff;
	overflow: hidden;
}

.xgp-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(90deg, transparent, #000 34%, #000 70%, transparent);
}

.xgp-cta__orb {
	position: absolute;
	top: -130px;
	right: 10%;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: var(--xgp-accent);
	filter: blur(100px);
	opacity: 0.5;
}

.xgp-cta__inner {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 40px;
}

.xgp-cta__inner > div > span {
	color: var(--xgp-accent-soft);
	font-family: "Geist Mono", monospace;
	font-size: 0.73rem;
	letter-spacing: 0.16em;
}

.xgp-cta h2 {
	max-width: 820px;
	margin: 18px 0 0;
	color: #fff;
	font-size: clamp(2.7rem, 6.8vw, 7rem);
	text-wrap: balance;
}

.xgp-cta a {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 36px;
	padding: 17px 22px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	background: #fff;
	color: var(--xgp-dark);
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.xgp-cta a:hover,
.xgp-cta a:focus-visible {
	background: var(--xgp-accent-soft);
	color: var(--xgp-dark);
	transform: translateY(-3px);
}

/* Project cards, related and shortcode */
.xgp-related,
.xgp-archive-content {
	padding: 104px 0 120px;
	background: #f8f8f8;
}

.xgp-section-heading {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 28px;
	margin-bottom: 42px;
}

.xgp-section-heading h2 {
	margin: 0;
	font-size: clamp(2.8rem, 6vw, 6.4rem);
}

.xgp-project-grid {
	display: grid;
	grid-template-columns: repeat(var(--xgp-columns, 3), minmax(0, 1fr));
	gap: 20px;
}

.xgp-project-card {
	min-width: 0;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 26px;
	background: #111;
	box-shadow: 0 18px 46px rgba(0, 0, 0, 0.09);
	overflow: hidden;
	transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 350ms ease;
}

.xgp-project-card:hover {
	box-shadow: 0 28px 70px rgba(31, 19, 70, 0.2);
	transform: translateY(-8px);
}

.xgp-project-card__link {
	display: block;
	color: #fff;
	text-decoration: none;
}

.xgp-project-card__link:hover,
.xgp-project-card__link:focus {
	color: #fff;
}

.xgp-project-card__link:focus-visible {
	outline: 3px solid var(--xgp-accent-soft);
	outline-offset: -4px;
}

.xgp-project-card__media {
	position: relative;
	background: linear-gradient(145deg, #21152d, #050505);
	overflow: hidden;
}

.xgp-project-card__media.is-placeholder::after {
	content: "XG";
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	background:
		radial-gradient(circle at 72% 30%, rgba(197, 184, 248, 0.4), transparent 25%),
		linear-gradient(135deg, #0b0b0b, #241331);
	color: rgba(255, 255, 255, 0.18);
	font-size: 5rem;
	font-weight: 700;
	letter-spacing: -0.08em;
}

.xgp-project-card__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: brightness(0.72) saturate(0.78);
	transition: filter 500ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.xgp-project-card:hover .xgp-project-card__media img {
	filter: brightness(0.88) saturate(1);
	transform: scale(1.04);
}

.xgp-project-card__tag {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 7px 11px;
	border: 1px solid rgba(197, 184, 248, 0.42);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.72);
	color: var(--xgp-accent-soft);
	font-family: "Geist Mono", monospace;
	font-size: 0.64rem;
	line-height: 1;
	backdrop-filter: blur(12px);
}

.xgp-project-card__body {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 20px;
	min-height: 118px;
	padding: 23px;
}

.xgp-project-card__body h3 {
	margin: 0;
	color: #fff;
	font-size: 1.3rem;
	letter-spacing: -0.035em;
}

.xgp-project-card__body p {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.76rem;
	line-height: 1.45;
}

.xgp-project-card__year {
	flex: 0 0 auto;
	color: rgba(255, 255, 255, 0.65);
	font-family: "Geist Mono", monospace;
	font-size: 0.7rem;
}

.xgp-shortcode {
	padding-block: 60px;
}

/* Archive */
.xgp-archive-hero {
	position: relative;
	min-height: 590px;
	display: grid;
	align-items: end;
	padding: 120px 0 78px;
	background: var(--xgp-dark);
	color: #fff;
	overflow: hidden;
}

.xgp-archive-hero::before {
	content: "";
	position: absolute;
	right: -7%;
	bottom: -35%;
	width: 700px;
	height: 700px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(94, 53, 139, 0.68), rgba(94, 53, 139, 0.05) 52%, transparent 70%);
}

.xgp-archive-hero__lines {
	position: absolute;
	inset: 0;
	background-image: repeating-linear-gradient(118deg, transparent 0 38px, rgba(197, 184, 248, 0.075) 39px 40px);
	mask-image: linear-gradient(90deg, transparent 0%, #000 46%, #000 100%);
}

.xgp-archive-hero h1 {
	position: relative;
	max-width: 1000px;
	margin: 34px 0 26px;
	color: #fff;
	font-size: clamp(4rem, 10vw, 10rem);
	font-weight: 560;
	letter-spacing: -0.075em;
	line-height: 0.86;
	text-wrap: balance;
}

.xgp-archive-hero__intro {
	position: relative;
	max-width: 620px;
	color: rgba(255, 255, 255, 0.62);
	font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.xgp-archive-hero__intro > *:last-child {
	margin-bottom: 0;
}

.xgp-pagination {
	margin-top: 54px;
}

.xgp-pagination .nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.xgp-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 13px;
	border: 1px solid var(--xgp-line);
	border-radius: 999px;
	background: #fff;
	color: var(--xgp-ink);
	font-size: 0.76rem;
	font-weight: 650;
	text-decoration: none;
}

.xgp-pagination .page-numbers.current,
.xgp-pagination a.page-numbers:hover {
	border-color: var(--xgp-accent);
	background: var(--xgp-accent);
	color: #fff;
}

.xgp-empty-state {
	max-width: 780px;
	padding: 70px;
	border: 1px solid var(--xgp-line);
	border-radius: var(--xgp-radius);
	background: #fff;
}

.xgp-empty-state > span {
	color: var(--xgp-accent);
	font-family: "Geist Mono", monospace;
}

.xgp-empty-state h2 {
	margin: 26px 0 12px;
	font-size: clamp(2rem, 5vw, 4.5rem);
}

.xgp-empty-state p {
	margin-bottom: 0;
	color: var(--xgp-muted);
}

/* Lightbox */
.xgp-lightbox {
	width: min(94vw, 1380px);
	max-width: none;
	height: min(92vh, 980px);
	padding: 0;
	border: 0;
	border-radius: 22px;
	background: #080808;
	box-shadow: 0 40px 140px rgba(0, 0, 0, 0.72);
	overflow: hidden;
}

.xgp-lightbox::backdrop {
	background: rgba(0, 0, 0, 0.86);
	backdrop-filter: blur(12px);
}

.xgp-lightbox img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.xgp-lightbox__close {
	position: absolute;
	z-index: 2;
	top: 14px;
	right: 14px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.68);
	color: #fff;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
}

/* Gentle in-view motion. Content remains visible when JavaScript is disabled. */
.xgp-reveal {
	opacity: 1;
	transform: none;
}

.xgp.xgp-motion .xgp-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.xgp.xgp-motion .xgp-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (max-width: 1100px) {
	.xgp-hero--with-visual .xgp-hero__layout {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 0.65fr);
		gap: 34px;
	}

	.xgp-hero h1 {
		font-size: clamp(4rem, 9vw, 7.4rem);
	}

	.xgp-project-layout {
		grid-template-columns: minmax(0, 1fr) 290px;
		gap: 48px;
	}

	.xgp-project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.xgp-shell {
		width: min(100% - 34px, 1320px);
	}

	.xgp-hero {
		min-height: 0;
		padding: 94px 0 50px;
	}

	.xgp-hero--with-visual .xgp-hero__layout,
	.xgp-project-layout,
	.xgp-deliverables {
		grid-template-columns: minmax(0, 1fr);
	}

	.xgp-hero h1 {
		margin-block: 28px 34px;
		font-size: clamp(3.7rem, 17vw, 7rem);
	}

	.xgp-hero__visual {
		width: min(100%, 560px);
		transform: none;
	}

	.xgp-project-body {
		padding: 70px 0 88px;
	}

	.xgp-project-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		order: -1;
	}

	.xgp-story-card {
		min-height: 390px;
	}

	.xgp-deliverables {
		gap: 36px;
	}

	.xgp-cta__inner {
		align-items: start;
		flex-direction: column;
	}

	.xgp-related,
	.xgp-archive-content {
		padding: 78px 0 90px;
	}

	.xgp-archive-hero {
		min-height: 520px;
		padding-bottom: 64px;
	}
}

@media (max-width: 620px) {
	.xgp {
		font-size: 15px;
	}

	.xgp-shell {
		width: min(100% - 28px, 1320px);
	}

	.xgp-eyebrow {
		flex-wrap: wrap;
	}

	.xgp-hero__facts {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 18px;
	}

	.xgp-hero__facts .xgp-hero__services {
		grid-column: span 2;
	}

	.xgp-gallery__grid,
	.xgp-story-grid,
	.xgp-project-sidebar,
	.xgp-project-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.xgp-gallery__item--wide {
		grid-column: auto;
	}

	.xgp-gallery__item--wide img,
	.xgp-gallery__item img {
		aspect-ratio: 4 / 3;
	}

	.xgp-story-card {
		min-height: 0;
		padding: 30px;
	}

	.xgp-story-card__number {
		margin-bottom: 44px;
	}

	.xgp-deliverables {
		padding: 34px 28px;
	}

	.xgp-quote {
		padding: 40px 28px;
	}

	.xgp-section-heading {
		align-items: start;
		flex-direction: column;
	}

	.xgp-cta {
		padding: 70px 0;
	}

	.xgp-archive-hero {
		min-height: 470px;
		padding-top: 90px;
	}

	.xgp-empty-state {
		padding: 42px 28px;
	}
}

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

	.xgp.xgp-motion .xgp-reveal {
		opacity: 1;
		transform: none;
	}
}
