/*
 * Versioned presentation layer for the staging Gutenberg rebuild.
 * It intentionally follows style.css so LWS path-only static caches cannot
 * leave a reviewed presentation stuck on an earlier layout.
 */

:root {
	--naji-content-width: 69.375rem;
}

body {
	font-family: Poppins, Arial, Helvetica, sans-serif;
}

.naji-main > .wp-block-post-title {
	display: none;
}

.naji-main > .wp-block-post-content {
	width: 100%;
	max-width: none;
	margin-block-start: 0;
	padding: 0;
}

.naji-main .naji-hero {
	min-height: 28.5rem;
	background-image: none;
}

.naji-main .naji-hero__inner,
.naji-main .naji-portfolio,
.naji-main .naji-content-section,
.naji-main .naji-skills,
.naji-main .naji-contact,
.naji-main .naji-callout {
	width: min(100% - 5rem, var(--naji-content-width));
}

.naji-main .naji-hero__inner {
	padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.naji-main .naji-portfolio__filter.is-active,
.naji-main .naji-portfolio__filter:hover,
.naji-main .naji-portfolio__filter:focus-visible {
	text-decoration-thickness: 1px;
}

.naji-main .naji-hero--about {
	display: block;
	min-height: 0;
	background: transparent;
}

.naji-main .naji-hero--about .naji-hero__overlay {
	display: none;
}

.naji-main .naji-hero--about .naji-hero__inner {
	width: min(100% - 5rem, var(--naji-content-width));
	padding: 12.5rem 0 5.5rem;
	text-align: center;
}

.naji-main .naji-hero--about .naji-hero__caption h1 {
	max-width: 52rem;
	margin: 0 auto;
	font-size: 2.375rem;
	font-weight: 300;
	letter-spacing: .0625rem;
	line-height: 1.5;
}

.naji-main .naji-hero--about .naji-hero__caption h1 + h1 {
	margin-top: 2.4rem;
}

.naji-main .naji-hero--about .naji-hero__caption strong {
	font-weight: 400;
}

.naji-main .naji-hero--about .naji-hero__image {
	position: relative;
	inset: auto;
	display: block;
	width: min(100% - 5rem, var(--naji-content-width));
	height: 28.55rem;
	margin: 0 auto;
	object-fit: cover;
	object-position: center;
	z-index: auto;
}

.naji-main .naji-hero--about + .wp-block-buttons {
	margin: 4rem auto 3.2rem;
}

.naji-main .naji-hero--about + .wp-block-buttons .wp-block-button__link {
	padding: .68rem 1.35rem;
	font-size: .9rem;
	font-weight: 500;
}

.naji-main .naji-content-section--split,
.naji-main .naji-skills--split {
	display: grid;
	grid-template-columns: minmax(15rem, .8fr) minmax(0, 1.65fr);
	column-gap: 4rem;
	align-items: start;
}

.naji-main .naji-content-section--split {
	padding: 0 0 7.5rem;
}

.naji-main .naji-content-section--split .naji-content-section__title,
.naji-main .naji-skills--split .naji-skills__title {
	margin: 0;
}

.naji-main .naji-content-section--split .naji-content-section__body {
	max-width: none;
	font-size: 1rem;
	line-height: 1.72;
}

.naji-main .naji-content-section--split .naji-content-section__body p {
	margin: 0 0 1.35rem;
}

.naji-main .naji-skills--split {
	padding: 0 0 6rem;
}

.naji-main .naji-skills--split .naji-skills__items {
	min-width: 0;
}

.naji-main .naji-skills--split .naji-skills__item + .naji-skills__item {
	margin-top: 1.35rem;
}

.naji-main .naji-skills--split .naji-skills__labels {
	margin-bottom: .65rem;
	font-size: .92rem;
}

.naji-main .naji-skills--split .naji-skills__name {
	font-weight: 500;
}

.naji-main .naji-skills--split .naji-skills__detail::before {
	content: " – ";
}

.naji-main .naji-skills--split .naji-skills__track {
	height: .25rem;
}

.naji-main .naji-callout--plain {
	padding: 1.75rem 0 6rem;
}

.naji-main .naji-callout--plain .naji-callout__body {
	padding: 0;
	background: transparent;
}

.naji-main .naji-callout--plain h2 {
	margin: 0;
	font-size: clamp(1.65rem, 2.6vw, 2.25rem);
	font-weight: 400;
}

.naji-site-footer {
	background: var(--naji-paper);
}

.naji-site-footer p {
	margin: 0;
}

.naji-site-footer__links a + a {
	margin-left: .75rem;
}

@media (max-width: 899px) {
	.naji-main .naji-hero__inner,
	.naji-main .naji-portfolio,
	.naji-main .naji-content-section,
	.naji-main .naji-skills,
	.naji-main .naji-contact,
	.naji-main .naji-callout,
	.naji-main .naji-hero--about .naji-hero__inner,
	.naji-main .naji-hero--about .naji-hero__image {
		width: min(100% - 2rem, var(--naji-content-width));
	}

	.naji-main .naji-hero--about .naji-hero__inner {
		padding: 5rem 0 3rem;
	}

	.naji-main .naji-hero--about .naji-hero__image {
		height: auto;
		aspect-ratio: 2.43 / 1;
	}

	.naji-main .naji-content-section--split,
	.naji-main .naji-skills--split {
		grid-template-columns: 1fr;
		row-gap: 2rem;
	}

	.naji-main .naji-content-section--split,
	.naji-main .naji-skills--split {
		padding-bottom: 4rem;
	}
}
