body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wp-site-blocks {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary);
}

.site-header-shell {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(14px);
	background: color-mix(in srgb, var(--wp--preset--color--base) 92%, transparent);
}

.site-header-utility {
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.5px;
	line-height: 1.4;
}

.site-header-utility a {
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 12px;
	letter-spacing: 0.5px;
	text-decoration: none;
}

.site-logo-link img,
.site-header-brand img {
	display: block;
	width: 150px;
	height: auto;
	object-fit: contain;
}

.site-main-nav .wp-block-navigation-item__content {
	position: relative;
	padding: 0;
}

.site-main-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -6px;
	left: 0;
	height: 1px;
	background: var(--wp--preset--color--primary);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 180ms ease;
}

.site-main-nav .wp-block-navigation-item__content:hover::after,
.site-main-nav .current-menu-item > .wp-block-navigation-item__content::after,
.site-main-nav .current-menu-ancestor > .wp-block-navigation-item__content::after {
	transform: scaleX(1);
}

.site-main-nav .wp-block-navigation__responsive-container-content,
.site-main-nav .wp-block-navigation__container {
	row-gap: 18px;
}

.site-footer-shell {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--primary) 20%, transparent);
}

.site-footer-shell p {
	color: var(--wp--preset--color--primary);
}

.site-footer-nav .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 2;
	text-transform: none;
}

.site-footer-social {
	gap: 10px;
}

.site-footer-social .wp-social-link {
	background: transparent;
	color: #292826;
}

.site-footer-note {
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 12px;
	line-height: 1.6667;
}

.front-hero-shell {
	margin-top: 3%;
}

.front-hero-copy {
	padding-left: 5%;
}

.front-hero-kicker {
	color: #070707;
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: clamp(20px, 2vw, 26px);
	font-style: normal;
	font-weight: 600;
	letter-spacing: 2.8px;
	line-height: 1.54;
	text-transform: uppercase;
	text-shadow: 0 0 10px rgba(2, 2, 1, 0.12);
}

.front-hero-divider {
	margin-top: 40px;
	margin-right: 0;
	margin-bottom: 40px;
	width: 88%;
}

.front-hero-video video {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--gold) 45%, transparent);
	object-fit: cover;
}

.front-vision-shell {
	margin-top: 5%;
}

.front-vision-copy {
	padding-inline: 6%;
}

.front-vision-title {
	color: #0c0c0b;
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	letter-spacing: 1.7px;
	line-height: 1.5;
	text-transform: uppercase;
}

.front-vision-text {
	color: #0e0d0d;
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 12px;
	line-height: 1.8;
	max-width: 820px;
	margin-inline: auto;
}

/* Projects share one vertical story layout in the editor and on the site. */
.projects-index-shell,
.single-project-shell {
	padding-block: clamp(40px, 6vw, 80px) 88px;
}

.projects-index-title,
.project-story-title,
.single-project-title,
.project-section-title {
	color: #68685f;
	font-family: var(--wp--preset--font-family--cormorant);
	font-style: normal;
	font-weight: 400;
	line-height: 1.25;
	text-transform: uppercase;
}

.projects-index-shell .projects-index-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	font-size: 26px;
	letter-spacing: 5px;
	margin-bottom: 42px;
}

.projects-index-title::before,
.projects-index-title::after {
	content: "";
	width: 72px;
	height: 1px;
	background: #c9c7bf;
}

.projects-index-shell .projects-index-intro {
	gap: 64px;
	margin-top: 42px;
	margin-bottom: 72px;
}

.projects-index-intro p,
.project-description p,
.project-preview-description p {
	color: #62625c;
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 15px;
	line-height: 1.8;
	margin-block: 0 18px;
}

.projects-index-intro strong {
	font-weight: 500;
}

.projects-stories .wp-block-post-template {
	display: block;
}

.project-story {
	padding-block: 48px 64px;
	border-top: 1px solid #deddd7;
}

.project-story .project-story-title,
.single-project-shell .single-project-title {
	margin: 0 0 32px;
	text-align: center;
	font-size: clamp(26px, 3.4vw, 40px);
	letter-spacing: 4px;
}

.project-story-title a {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-decoration: none;
}

.project-story .project-images,
.single-project-shell .project-images,
.editor-styles-wrapper .project-images {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-bottom: 44px;
}

.project-images > .wp-block-image {
	flex: 1 1 0;
	min-width: 0;
	margin: 0;
}

.project-images img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 540px;
	object-fit: contain;
}

.editor-styles-wrapper .project-description,
.wp-block-post-content .project-description,
.wp-block-neojewellery-project-preview .project-preview-description {
	max-width: 720px;
	margin: 0 auto 44px;
}

.project-section-title {
	margin: 0 0 22px;
	font-size: 22px;
	letter-spacing: 2.5px;
}

.project-description .project-student,
.project-preview-description .project-student {
	color: #54544d;
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 6px;
}

.project-description .project-date,
.project-preview-description .project-date {
	color: #73736b;
	font-size: 12px;
	letter-spacing: 1px;
	margin-bottom: 20px;
}

.project-description > p + p {
	margin-top: 18px;
}

.project-description .project-translation {
	padding-left: 20px;
	border-left: 1px solid #d2d0c8;
	color: #73736b;
}

.project-text-link,
.project-back-link a {
	display: inline-block;
	padding-block: 8px;
	color: #57574f;
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 12px;
	letter-spacing: .6px;
	line-height: 1.6;
	text-underline-offset: 5px;
}

.project-text-link:hover,
.project-back-link a:hover,
.project-story-title a:hover {
	color: #101010;
}

.project-story a:focus-visible,
.single-project-shell a:focus-visible {
	outline: 2px solid #68685f;
	outline-offset: 5px;
}

.project-gallery-preview-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.project-gallery-preview-heading .project-section-title {
	margin: 0;
	font-size: 18px;
}

.project-gallery-thumbnails {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.project-gallery-thumbnails a {
	display: block;
	background: #f6f5f2;
}

.project-gallery-thumbnails img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: contain;
}

.project-back-link {
	margin: 0 0 28px;
}

.project-back-link-bottom {
	margin-top: 48px;
}

.project-gallery-section {
	padding-top: 36px;
	border-top: 1px solid #deddd7;
	scroll-margin-top: 36px;
}

.project-gallery-section > .project-section-title {
	text-align: center;
	margin-bottom: 28px;
}

.project-gallery-section .project-gallery-grid.wp-block-gallery {
	--wp--style--unstable-gallery-gap: 20px;
	gap: 20px;
	align-items: flex-start;
}

.project-gallery-grid img {
	background: #f6f5f2;
}

@media (max-width: 781px) {
	.projects-index-shell .projects-index-intro {
		gap: 18px;
		margin-bottom: 36px;
	}

	.project-story {
		padding-block: 32px 40px;
	}

	.project-story .project-images,
.single-project-shell .project-images,
.editor-styles-wrapper .project-images {
		gap: 16px;
		margin-bottom: 32px;
	}

	.project-gallery-thumbnails {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
}

@media (max-width: 520px) {
	.project-story .project-images,
.single-project-shell .project-images,
.editor-styles-wrapper .project-images {
		flex-direction: column;
		align-items: stretch;
	}

	.projects-index-shell .projects-index-title {
		gap: 16px;
		font-size: 23px;
	}

	.projects-index-title::before,
	.projects-index-title::after {
		width: 32px;
	}

	.project-story-title,
	.single-project-title {
		letter-spacing: 2px;
	}

	.project-gallery-preview-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 2px;
	}

	.project-gallery-section .project-gallery-grid.wp-block-gallery {
		--wp--style--unstable-gallery-gap: 12px;
		gap: 12px;
	}
}

.wp-block-search.site-footer-search .wp-block-search__inside-wrapper {
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: 0;
	padding: 0;
}

.wp-block-search.site-footer-search .wp-block-search__input {
	border: 0;
	font-family: var(--wp--preset--font-family--cormorant);
	font-size: 14px;
	padding: 10px 14px;
}

.wp-block-search.site-footer-search .wp-block-search__button {
	border: 0;
	border-left: 1px solid var(--wp--preset--color--primary);
	border-radius: 0;
	margin-left: 0;
	min-width: 0;
	padding: 10px 24px;
}

@media (max-width: 1024px) {
	.site-header-shell {
		position: static;
	}

	.site-main-nav .wp-block-navigation-item__content {
		font-size: 12px;
	}

	.front-hero-copy {
		padding-left: 0;
	}
}

@media (max-width: 781px) {
	.site-header-brand {
		justify-content: center;
	}

	.site-header-brand img {
		margin-inline: auto;
	}

	.site-header-utility {
		justify-content: center;
	}

	.site-footer-shell {
		padding-top: 52px;
	}

	.front-hero-kicker,
	.front-vision-title {
		text-align: center;
	}

	.front-hero-divider {
		margin-inline: auto;
	}

}

/* Optional process and finished-work sections share the same editorial layout. */
.single-project-shell .wp-block-neojewellery-project-navigation {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 32px;
	margin: -12px 0 36px;
}

.wp-block-post-content .project-phase + .project-phase {
	margin-top: 64px;
}

.project-phase,
.project-progress-report {
	scroll-margin-top: 32px;
}

.project-phase .project-phase-summary,
.project-progress-report > p,
.project-progress-report > .project-report-title {
	max-width: 720px;
	margin-inline: auto;
}

.project-phase .project-phase-summary,
.project-progress-report .project-report-summary,
.project-progress-report > p,
.project-phase-preview-summary {
	color: #62625c;
	font-family: var(--wp--preset--font-family--roboto);
	font-size: 15px;
	line-height: 1.8;
	margin-bottom: 24px;
}

.project-progress-report .project-report-title {
	color: #68685f;
	font-family: var(--wp--preset--font-family--cormorant);
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	letter-spacing: 1px;
	line-height: 1.3;
	text-transform: none;
	margin-bottom: 12px;
}

.project-progress-report .project-report-meta {
	font-size: 12px;
	color: #73736b;
	letter-spacing: .5px;
	margin-bottom: 16px;
}

.project-phase .project-progress-report + .project-progress-report {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid #deddd7;
}

.project-process-images {
	margin-block: 28px;
}

.project-process-images img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: contain;
}

.wp-block-neojewellery-project-preview .project-gallery-preview + .project-gallery-preview {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid #deddd7;
}
