/*
Theme Name: Apro
Author: Studio Indigo
Version: 1.0.0
Text Domain: apro
*/

:root {
	--color-ink: #111111;
	--color-muted: #757575;
	--color-border: #cfcfcf;
	--color-surface: #f3f3f3;
	--color-surface-strong: #e3e3e3;
	--color-info-bg: #eef5f8;
	--color-info-border: #d8e7ee;
	--color-accent: #820000;
	--color-white: #ffffff;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	--container: 1120px;
	--gutter: clamp(20px, 5vw, 48px);
	--radius: 3px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.65;
	color: var(--color-ink);
	background: var(--color-white);
}

body.nav-open {
	overflow: hidden;
}

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

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: inherit;
	text-underline-offset: 0.2em;
}

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

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin-block: 0;
}

h1,
h2,
h3 {
	line-height: 1.15;
}

h1 {
	color: var(--color-ink);
	font-size: 28px;
}

h2 {
	color: var(--color-ink);
	font-size: 22px;
}

h3 {
	color: var(--color-ink);
	font-size: 22px;
}

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

.flow > * + * {
	margin-block-start: 1rem;
}

.flow--lg > * + * {
	margin-block-start: 1.5rem;
}

.stack {
	display: grid;
	gap: 1.5rem;
}

.stack--lg {
	gap: 2rem;
}

.muted {
	color: var(--color-muted);
}

.uppercase {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 100;
	display: inline-flex;
	padding: 10px 14px;
	color: var(--color-white);
	background: var(--color-ink);
	border-radius: var(--radius);
	transform: translateY(calc(-100% - 24px));
	transition: transform 0.2s ease;
}

.skip-link:focus {
	transform: translateY(0);
}

.siteHeader {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--color-white);
	border-bottom: 1px solid #cfcfcf;
}

body.admin-bar .siteHeader {
	top: 32px;
}

.siteHeader__inner {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
	align-items: center;
	gap: 20px;
	min-height: 70px;
	padding-inline: 37px;
}

.siteHeader__brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	min-width: 0;
	grid-column: 1;
}

.siteHeader__logo {
	display: grid;
	gap: 0;
	color: inherit;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
}

.siteHeader__logoLine {
	display: flex;
	align-items: baseline;
	gap: 0;
	white-space: nowrap;
}

.siteHeader__logoApro,
.siteHeader__logoArchive {
	font-size: 25px;
}

.siteHeader__logoApro {
	color: var(--color-accent);
}

.siteHeader__logoArchive {
	color: #757575;
}

.siteHeader__logoProArch {
	margin-left: 14px;
	color: #111111;
	font-size: 16px;
}

.siteHeader__logoTagline {
	margin-top: 2px;
	color: #111111;
	font-size: 12px;
}

.siteFooter__siteName,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.custom-logo-link img {
	width: auto;
	max-height: 56px;
}

.siteHeader__panel {
	display: contents;
}

.siteHeader__nav {
	grid-column: 2;
	justify-self: center;
	min-width: 0;
}

.siteHeader__actions {
	display: flex;
	grid-column: 3;
	align-items: center;
	justify-self: end;
	gap: 14px;
	min-width: 0;
}

.siteHeader__menu,
.siteFooter__menu {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.siteHeader__menu a,
.siteFooter__menu a {
	color: inherit;
	font-size: 14px;
	text-decoration: none;
}

.siteHeader__menu a {
	text-transform: uppercase;
}

.siteHeader__menu .current-menu-item > a,
.siteHeader__menu .current-menu-parent > a,
.siteHeader__menu .current-menu-ancestor > a,
.siteHeader__menu .current_page_item > a,
.siteHeader__menu .current_page_parent > a,
.siteHeader__menu .current_page_ancestor > a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

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

.siteHeader__cta,
.siteHeader__account {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	color: inherit;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.siteHeader__cta {
	padding: 0 18px;
	color: var(--color-white);
	background: var(--color-ink);
	border: 1px solid var(--color-ink);
	border-radius: var(--radius);
}

.siteHeader__cta--project {
	background: var(--color-accent);
	border-color: var(--color-accent);
	font-weight: 700;
}

.siteHeader__cta--muted {
	color: var(--color-ink);
	background: var(--color-white);
	border-color: var(--color-border);
	font-weight: 700;
}

.siteHeader__cta:hover,
.siteHeader__cta:focus-visible {
	color: var(--color-white);
	background: var(--color-accent);
	border-color: var(--color-accent);
}

.siteHeader__cta--project:hover,
.siteHeader__cta--project:focus-visible {
	background: var(--color-ink);
	border-color: var(--color-ink);
}

.siteHeader__account {
	gap: 8px;
	color: var(--color-ink);
}

.siteHeader__account:hover,
.siteHeader__account:focus-visible {
	color: var(--color-accent);
}

.siteHeader__userIcon {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	color: var(--color-white);
	background: var(--color-accent);
	border: 0;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.siteHeader__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 6px;
	width: 36px;
	height: 36px;
	padding: 0;
	color: inherit;
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	cursor: pointer;
}

.siteHeader__toggle span[aria-hidden="true"] {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .siteHeader__toggle span[aria-hidden="true"]:nth-of-type(2) {
	transform: translateY(4px) rotate(45deg);
}

.nav-open .siteHeader__toggle span[aria-hidden="true"]:nth-of-type(3) {
	transform: translateY(-4px) rotate(-45deg);
}

.pageContent {
	padding-block: clamp(48px, 8vw, 96px);
}

.pageHeader,
.pageContent__inner {
	max-width: 760px;
}

.pageHeader {
	margin-block-end: 2rem;
}

.wysiwyg > * + * {
	margin-block-start: 1rem;
}

.wysiwyg ul,
.wysiwyg ol {
	padding-inline-start: 1.25rem;
}

.wysiwyg img {
	border-radius: var(--radius);
}

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 7px 16px;
	color: var(--color-white);
	background: var(--color-ink);
	border: 1px solid var(--color-ink);
	border-radius: var(--radius);
	text-decoration: none;
	cursor: pointer;
}

.btn:hover,
.btn:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	color: var(--color-white);
	background: var(--color-accent);
	border-color: var(--color-accent);
}

.postPreview {
	padding-block-end: 2rem;
	border-bottom: 1px solid var(--color-border);
}

.postPreview__title a {
	color: inherit;
	text-decoration: none;
}

.postPreview__meta {
	font-size: 0.9rem;
	color: var(--color-muted);
}

.navigation.pagination {
	margin-block-start: 2.5rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 36px;
	padding: 7px 10px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	text-decoration: none;
}

.page-numbers.current {
	color: var(--color-white);
	background: var(--color-ink);
	border-color: var(--color-ink);
}

.btn--accent {
	background: var(--color-accent);
	border-color: var(--color-accent);
	font-weight: 700;
}

.btn--accent:hover,
.btn--accent:focus-visible {
	background: var(--color-ink);
	border-color: var(--color-ink);
}

.homeHero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 360px;
	background: var(--color-surface);
}

.homeHero__content {
	display: grid;
	align-content: center;
	justify-self: end;
	width: min(100%, calc(var(--container) / 2));
	padding: clamp(34px, 5vw, 64px) clamp(28px, 6vw, 80px) clamp(34px, 5vw, 64px) 0;
}

.homeHero__content h1 {
	font-size: clamp(42px, 6vw, 64px);
	letter-spacing: 0;
}

.homeHero__subtitle {
	margin-block-start: 4px;
	color: var(--color-muted);
	font-size: 22px;
	line-height: 1.2;
}

.homeHero__rule {
	width: 76px;
	height: 1px;
	margin-block: 30px 26px;
	background: var(--color-border);
}

.homeHero__content p:not(.homeHero__subtitle) {
	max-width: 520px;
	font-size: 16px;
	line-height: 1.55;
}

.homeHero__content .btn {
	justify-self: start;
	margin-block-start: 26px;
}

.homeHero__media {
	min-height: 360px;
	margin: 0;
	background: var(--color-surface);
}

.homeHero__image,
.homeHero__placeholder {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
}

.homeHero__placeholder {
	display: block;
	background: linear-gradient(135deg, var(--color-surface), var(--color-surface-strong));
}

.publicSection {
	padding-block: clamp(56px, 8vw, 92px);
}

.publicSection + .publicSection {
	padding-block-start: 0;
}

.sectionHeading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-block-end: 34px;
}

.sectionHeading--withControls {
	align-items: center;
}

.sectionHeading__main {
	min-width: 0;
}

.sectionHeading__titleRow {
	display: flex;
	align-items: baseline;
	gap: 30px;
}

.sectionHeading h2 {
	font-size: 28px;
}

.sectionHeading p {
	margin-block-start: 12px;
	color: var(--color-muted);
}

.sectionHeading a {
	color: var(--color-accent);
	font-size: 13px;
	font-weight: 400;
}

.sectionHeading__inlineLink {
	white-space: nowrap;
}

.projectViewToggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-muted);
	font-size: 12px;
	line-height: 1;
	white-space: nowrap;
}

.projectViewToggle__button {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	padding: 0;
	color: var(--color-muted);
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	cursor: pointer;
}

.projectViewToggle__button.is-active {
	color: var(--color-white);
	background: var(--color-accent);
	border-color: var(--color-accent);
}

.projectViewToggle__button:hover,
.projectViewToggle__button:focus-visible {
	color: var(--color-white);
	background: var(--color-accent);
	border-color: var(--color-accent);
}

.projectGrid {
	display: grid;
	gap: 28px 24px;
}

.projectGrid--home {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.projectGrid--archive {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.projectCard {
	min-width: 0;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-white);
	overflow: hidden;
}

.projectCard__link {
	display: grid;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.projectCard__media {
	margin: 0;
	aspect-ratio: 1.55;
	background: var(--color-surface);
	overflow: hidden;
}

.projectCard__image,
.projectCard__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.projectCard__placeholder {
	display: block;
	background: linear-gradient(135deg, var(--color-surface), var(--color-surface-strong));
}

.projectCard__body {
	display: grid;
	align-content: start;
	gap: 4px;
	padding: 12px 14px 14px;
}

.projectCard__title {
	color: var(--color-accent);
	font-size: 15px;
	line-height: 1.25;
}

.projectCard__author {
	color: var(--color-ink);
	font-size: 12px;
	line-height: 1.3;
}

.projectCard__meta {
	display: grid;
	gap: 1px;
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.35;
}

.projectCard__meta div {
	display: flex;
	gap: 4px;
	min-width: 0;
}

.projectCard__meta dt,
.projectCard__meta dd {
	margin: 0;
}

.projectCard__meta dt,
.projectCard__keywords span {
	color: var(--color-ink);
	font-weight: 400;
}

.projectCard__meta dd,
.projectCard__keywords strong {
	font-weight: 700;
}

.projectCard__keywords {
	margin-block-start: 12px;
	font-size: 12px;
	line-height: 1.35;
}

.projectGrid--home:not(.is-expanded) .projectCard__meta,
.projectGrid--home:not(.is-expanded) .projectCard__keywords {
	display: none;
}

.projectCard__link:hover .projectCard__image,
.projectCard__link:focus-visible .projectCard__image {
	transform: scale(1.03);
}

.collectionList {
	display: grid;
	gap: 34px;
}

.collectionPreview {
	--collection-text-width: 242px;

	display: grid;
	grid-template-columns: var(--collection-text-width) repeat(var(--collection-image-count, 4), minmax(0, 1fr));
	min-height: 180px;
	color: inherit;
	background: var(--color-surface);
	text-decoration: none;
	transition: transform 0.2s ease;
}

.collectionPreview:hover,
.collectionPreview:focus-visible {
	transform: translateY(-2px);
}

.collectionPreview__text {
	display: grid;
	align-content: center;
	gap: 14px;
	padding: 28px;
	background: #fde7ed;
}

.collectionPreview__text h3 {
	font-size: 22px;
	line-height: 1.15;
}

.collectionPreview__text p {
	font-size: 13px;
	line-height: 1.45;
}

.collectionPreview__link {
	color: var(--color-accent);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.collectionPreview__image {
	margin: 0;
	background: var(--color-surface);
	overflow: hidden;
}

.collectionPreview__image img,
.collectionPreview__placeholder {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.collectionPreview__placeholder {
	display: block;
	background: linear-gradient(135deg, var(--color-surface), var(--color-surface-strong));
}

.publicArchive__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-block-end: 34px;
	color: var(--color-accent);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.publicArchive__eyebrow {
	margin-block-end: 8px;
	color: var(--color-muted);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.homeAbout {
	margin-block-start: clamp(40px, 7vw, 90px);
	padding-block: clamp(44px, 7vw, 76px);
	background: var(--color-surface);
}

.homeAbout__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 1.2fr);
	align-items: center;
	gap: clamp(36px, 8vw, 100px);
}

.homeAbout__text {
	display: grid;
	gap: 12px;
}

.homeAbout__text p {
	max-width: 440px;
}

.homeStats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.homeStats__item {
	display: grid;
	justify-items: center;
	gap: 3px;
	padding-inline: 26px;
	color: var(--color-ink);
	text-align: center;
	border-left: 1px solid var(--color-border);
}

.homeStats__item:first-child {
	border-left: 0;
}

.homeStats__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-block-end: 6px;
	color: var(--color-ink);
}

.homeStats__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.homeStats__item strong {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.1;
}

.homeStats__item > span:not(.homeStats__icon) {
	font-size: 14px;
	line-height: 1.2;
}

.publicArchive {
	padding-block: clamp(52px, 8vw, 92px);
}

.publicArchive__layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	align-items: start;
	gap: 38px;
}

.publicArchive__inner {
	display: grid;
	gap: 34px;
}

.publicArchive__filters {
	position: sticky;
	top: 112px;
	min-height: 520px;
	padding-inline-end: 26px;
	border-right: 1px solid var(--color-border);
}

.publicArchive__filters h2 {
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.publicArchiveFilters {
	display: grid;
	gap: 18px;
}

.publicArchiveFilters__field {
	display: grid;
	gap: 8px;
}

.publicArchiveFilters__field span {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-muted);
	text-transform: uppercase;
}

.publicArchiveFilters input,
.publicArchiveFilters select {
	width: 100%;
	height: 36px;
	padding: 0 10px;
	font: inherit;
	font-size: 14px;
	line-height: 1;
	color: var(--color-ink);
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.publicArchiveFilters input:focus,
.publicArchiveFilters select:focus {
	border-color: var(--color-accent);
	outline: 2px solid rgba(130, 0, 0, 0.14);
	outline-offset: 0;
}

.publicArchiveFilters__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.publicArchiveFilters__actions .btn {
	min-height: 36px;
	padding-inline: 18px;
}

.publicArchiveFilters__actions a {
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: var(--color-accent);
	text-transform: uppercase;
}

.publicArchive__main {
	display: grid;
	gap: 34px;
	min-width: 0;
}

.publicArchive__header {
	max-width: 760px;
}

.publicArchive__header h1 {
	font-size: 40px;
}

.publicArchive__header p {
	margin-block-start: 12px;
	font-size: 16px;
	line-height: 1.5;
}

.publicArchive__bar {
	display: flex;
	align-items: center;
	gap: 14px;
}

.publicArchive__bar strong {
	flex: 0 0 auto;
	font-size: 12px;
	line-height: 1;
}

.publicArchive__barLine {
	display: block;
	flex: 1 1 auto;
	height: 1px;
	background: var(--color-border);
}

.projectGrid--archive:not(.is-expanded) .projectCard__meta,
.projectGrid--archive:not(.is-expanded) .projectCard__keywords {
	display: none;
}

.publicEmpty {
	padding: 28px;
	color: var(--color-muted);
	background: var(--color-surface);
	border-radius: var(--radius);
}

.imageKeywordGrid {
	columns: 3 220px;
	column-gap: 24px;
}

.imageKeywordCard {
	display: inline-block;
	width: 100%;
	margin: 0 0 24px;
	color: inherit;
	text-decoration: none;
	break-inside: avoid;
}

.imageKeywordCard figure {
	margin: 0;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.imageKeywordCard__image {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.35s ease;
}

.imageKeywordCard:hover .imageKeywordCard__image,
.imageKeywordCard:focus-visible .imageKeywordCard__image {
	transform: scale(1.025);
}

.imageKeywordCard figcaption {
	display: grid;
	gap: 6px;
	padding: 12px;
	font-size: 12px;
	line-height: 1.35;
}

.imageKeywordCard figcaption span {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: var(--color-muted);
}

.imageKeywordCard figcaption strong {
	color: var(--color-ink);
	font-size: 14px;
}

.singleProject {
	padding-block: 70px 88px;
}

.singleProject__layout {
	display: grid;
	grid-template-columns: 283px minmax(0, 1fr);
	align-items: start;
	gap: 24px;
}

.singleProject__side {
	position: sticky;
	top: 96px;
	align-self: start;
	display: grid;
	gap: 0;
	padding: 0;
	color: var(--color-muted);
	background: var(--color-surface);
	font-size: 12px;
	line-height: 1.35;
}

.singleProject__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 72px;
	padding: 22px 30px;
	color: var(--color-accent);
	border-bottom: 1px solid var(--color-surface-strong);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.singleProject__back span {
	font-size: 14px;
	line-height: 1;
}

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

.singleProject__imageIndex,
.singleProject__location {
	display: grid;
	gap: 10px;
	padding-inline: 30px;
}

.singleProject__imageIndex {
	padding-block: 40px 0;
}

.singleProject__location {
	padding-block: 48px 42px;
}

.singleProject__imageIndex h2,
.singleProject__location h2 {
	color: var(--color-muted);
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
}

.singleProject__imageIndex ol {
	counter-reset: project-image-index;
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.singleProject__imageIndex li {
	counter-increment: project-image-index;
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 8px;
	align-items: baseline;
	color: var(--color-ink);
	font-size: 14px;
	line-height: 1.35;
}

.singleProject__imageIndex li::before {
	content: counter(project-image-index, decimal-leading-zero);
	color: var(--color-accent);
	font-weight: 700;
}

.singleProject__imageIndex a {
	color: var(--color-ink);
	text-decoration: none;
}

.singleProject__location p {
	margin: 0;
	color: var(--color-ink);
	font-size: 14px;
	line-height: 1.35;
}

.singleProject__main {
	display: grid;
	gap: 62px;
	min-width: 0;
}

.singleProject__intro {
	display: grid;
	gap: 22px;
}

.singleProject__credits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
}

.singleProject__credits p {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin: 0;
	padding-inline: 14px;
	border-left: 1px solid var(--color-border);
}

.singleProject__credits span,
.singleProject__details dt {
	color: var(--color-muted);
	font-size: 12px;
	font-weight: 400;
	text-transform: uppercase;
}

.singleProject__credits span::after {
	content: ":";
}

.singleProject__credits strong,
.singleProject__details dd {
	margin: 0;
	color: var(--color-ink);
	font-size: 14px;
	font-weight: 700;
}

.singleProject__details dd {
	font-weight: 400;
}

.singleProject__intro h1 {
	max-width: 920px;
	font-size: clamp(38px, 4vw, 42px);
	line-height: 1.08;
}

.singleProject__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.singleProject__tags li {
	padding: 4px 14px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.2;
}

.singleProject__tags a {
	display: block;
	margin: -4px -14px;
	padding: 4px 14px;
	color: inherit;
	text-decoration: none;
}

.singleProject__tags a:hover,
.singleProject__tags a:focus {
	color: var(--color-accent);
}

.singleProject__details {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 24px 0 0;
}

.singleProject__details div {
	display: grid;
	gap: 5px;
	padding-inline: 14px;
	border-left: 1px solid var(--color-border);
}

.singleProject__sections {
	display: grid;
	gap: 78px;
}

.singleProject__section {
	display: grid;
	gap: 36px;
	padding-block-start: 56px;
	border-top: 1px solid var(--color-border);
}

.singleProject__section h2,
.singleProject__related h2 {
	color: var(--color-accent);
	font-size: 22px;
}

.singleProject__section h2 {
	display: flex;
	align-items: baseline;
	gap: 8px;
	color: var(--color-ink);
	font-weight: 400;
}

.singleProject__sectionNumber {
	color: var(--color-accent);
	font-weight: 700;
}

.singleProject__section .wysiwyg {
	max-width: 780px;
	font-size: 16px;
	line-height: 1.7;
}

.singleProject__cover {
	margin-block-start: 6px;
}

.singleProjectImage {
	scroll-margin-top: 96px;
	margin: 0;
}

.singleProjectImage__link {
	display: block;
	color: inherit;
	background: var(--color-surface);
	text-decoration: none;
	overflow: hidden;
}

.singleProjectImage__image {
	width: 100%;
	aspect-ratio: 1.85;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.singleProjectImage__link:hover .singleProjectImage__image,
.singleProjectImage__link:focus-visible .singleProjectImage__image {
	transform: scale(1.025);
}

.singleProjectImage figcaption {
	margin-block-start: 10px;
	color: var(--color-muted);
	font-size: 14px;
	line-height: 1.35;
}

.singleProjectImage figcaption strong {
	color: var(--color-ink);
	font-weight: 700;
}

.singleProjectImage__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.singleProjectImage__tags li {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: 12px;
	line-height: 1.2;
	overflow: hidden;
}

.singleProjectImage__tags a {
	display: block;
	padding: 4px 10px;
	color: inherit;
	text-decoration: none;
}

.singleProjectImage__tags a:hover,
.singleProjectImage__tags a:focus {
	color: var(--color-accent);
}

.singleProject__imageGrid {
	display: grid;
	gap: 24px;
}

.singleProject__imageGrid--1 {
	grid-template-columns: 1fr;
}

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

.singleProject__imageGrid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.singleProject__related {
	margin-block-start: clamp(56px, 8vw, 96px);
	padding-block-start: 34px;
	border-top: 1px solid var(--color-border);
}

.singleProject__related h2 {
	margin-block-end: 24px;
}

.projectGrid--related {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.singleProjectLightbox {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 28px;
	background: rgba(17, 17, 17, 0.86);
}

.singleProjectLightbox.is-open {
	display: flex;
}

body.lightbox-open {
	overflow: hidden;
}

.singleProjectLightbox__dialog {
	position: relative;
	display: grid;
	gap: 12px;
	width: min(100%, 1180px);
	max-height: calc(100vh - 56px);
}

.singleProjectLightbox__image {
	width: 100%;
	max-height: calc(100vh - 116px);
	object-fit: contain;
	background: var(--color-ink);
}

.singleProjectLightbox__caption {
	min-height: 14px;
	color: var(--color-white);
	font-size: 12px;
	line-height: 1.4;
}

.singleProjectLightbox__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: var(--color-ink);
	background: var(--color-white);
	border: 0;
	border-radius: var(--radius);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.siteFooter {
	color: var(--color-muted);
	background: var(--color-white);
	border-top: 1px solid var(--color-border);
}

.siteFooter__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 76px;
	padding: 18px 27px;
}

.siteFooter__brand {
	display: flex;
	align-items: center;
	gap: 22px;
	min-width: 0;
}

.siteFooter__credits {
	color: var(--color-muted);
	font-size: 12px;
	line-height: 14px;
	white-space: nowrap;
}

.siteFooter__credits strong {
	font-weight: 700;
}

.siteFooter__logos {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.siteFooter__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 132px;
	height: 28px;
}

.siteFooter__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.siteFooter__menu {
	gap: 32px;
}

.siteFooter__menu a {
	color: var(--color-muted);
	font-size: 12px;
	line-height: 14px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.reveal-ready [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-ready [data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

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

@media (max-width: 780px) {
	body.admin-bar .siteHeader {
		top: 46px;
	}

	.siteHeader__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		padding-inline: 20px;
	}

	.siteHeader__toggle {
		display: inline-flex;
		grid-column: 2;
		justify-self: end;
	}

	.siteHeader__panel {
		position: fixed;
		inset: 70px 0 auto;
		display: none;
		width: 100%;
		padding: 24px var(--gutter);
		background: var(--color-white);
		border-bottom: 1px solid var(--color-border);
		box-shadow: 0 24px 60px rgba(17, 17, 17, 0.12);
	}

	body.admin-bar .siteHeader__panel {
		inset-block-start: 116px;
	}

	.nav-open .siteHeader__panel {
		display: grid;
		gap: 22px;
	}

	.siteHeader__nav,
	.siteHeader__actions {
		grid-column: auto;
		justify-self: stretch;
	}

	.siteHeader__menu {
		display: grid;
		gap: 14px;
	}

	.siteHeader__menu a {
		display: block;
		padding-block: 4px;
		font-size: 16px;
	}

	.siteHeader__actions {
		display: grid;
		gap: 12px;
	}

	.siteHeader__cta,
	.siteHeader__account {
		width: 100%;
		justify-content: center;
	}

	.siteFooter__inner {
		display: grid;
		gap: 32px;
	}

	.siteFooter__brand {
		display: grid;
		gap: 16px;
	}

	.siteFooter__credits {
		white-space: normal;
	}

	.siteFooter__logos {
		flex-wrap: wrap;
	}

	.siteFooter__menu {
		display: grid;
		gap: 12px;
	}

	.homeHero {
		grid-template-columns: 1fr;
	}

	.homeHero__content {
		justify-self: stretch;
		width: 100%;
		padding: 44px var(--gutter);
	}

	.homeHero__content h1 {
		font-size: 42px;
	}

	.homeHero__subtitle {
		font-size: 18px;
	}

	.homeHero__media,
	.homeHero__image,
	.homeHero__placeholder {
		min-height: 260px;
	}

	.sectionHeading {
		display: grid;
		align-items: start;
	}

	.projectGrid--home,
	.projectGrid--archive,
	.projectGrid--related,
	.singleProject__imageGrid--2,
	.singleProject__imageGrid--3,
	.singleProject__imageGrid--4 {
		grid-template-columns: 1fr;
	}

	.publicArchive__layout {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.publicArchive__filters {
		position: static;
		min-height: 0;
		padding: 0 0 18px;
		border-right: 0;
		border-bottom: 1px solid var(--color-border);
	}

	.publicArchive__bar {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.publicArchive__barLine {
		order: 3;
		flex-basis: 100%;
	}

	.collectionPreview {
		--collection-text-width: 100%;

		grid-template-columns: 1fr;
	}

	.collectionPreview__image {
		aspect-ratio: 1.5;
	}

	.homeAbout__inner,
	.singleProject__layout,
	.singleProject__credits,
	.singleProject__details {
		grid-template-columns: 1fr;
	}

	.homeStats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 0;
	}

	.homeStats__item:nth-child(odd) {
		border-left: 0;
	}

	.publicArchive__header h1 {
		font-size: 34px;
	}

	.singleProject__side {
		position: static;
	}
}

.loginPage {
	display: grid;
	place-items: center;
	min-height: calc(100vh - 164px);
	padding: clamp(48px, 10vw, 120px) var(--gutter);
}

.loginPage__inner {
	width: min(100%, 420px);
	text-align: center;
}

.loginPage--registration .loginPage__inner {
	width: min(100%, 460px);
}

.loginPage form {
	display: grid;
	gap: 16px;
	margin-block-start: 40px;
	text-align: left;
}

.loginPage form p {
	margin: 0;
}

.loginPage label {
	display: grid;
	gap: 6px;
	font-weight: 700;
}

.loginPage small {
	color: var(--color-muted);
	font-size: 12px;
	line-height: 1.35;
}

.loginPage input:not([type="checkbox"]),
.projectWizard input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.projectWizard select,
.projectWizard textarea {
	width: 100%;
	min-height: 36px;
	padding: 7px 10px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-white);
}

.loginPage input:not([type="checkbox"]),
.projectWizard input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.projectWizard select {
	height: 36px;
}

.loginPage input:disabled,
.projectWizard input:disabled:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.projectWizard select:disabled,
.projectWizard textarea:disabled {
	background: var(--color-surface);
	color: var(--color-muted);
	cursor: not-allowed;
}

.loginPage__formMeta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: var(--color-muted);
}

.loginPage .loginPage__remember {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	white-space: nowrap;
}

.loginPage .loginPage__remember input {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 0;
}

.loginPage .loginPage__remember span {
	font-weight: 400;
}

.loginPage__privacy {
	display: flex !important;
	align-items: flex-start;
	gap: 9px;
	color: var(--color-muted);
	font-size: 12px;
	font-weight: 400 !important;
	line-height: 1.4;
}

.loginPage__privacy input {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
}

.loginPage__privacy a {
	color: var(--color-accent);
}

.loginPage__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.loginPage__formMeta a,
.loginPage__back a {
	color: var(--color-accent);
	font-size: 14px;
}

.loginPage .login-submit input,
.loginPage .login-submit button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 36px;
	padding: 7px 16px;
	color: var(--color-white);
	background: var(--color-accent);
	border: 1px solid var(--color-accent);
	border-radius: var(--radius);
	font-weight: 700;
	text-transform: uppercase;
	cursor: pointer;
}

.loginPage .login-submit input:hover,
.loginPage .login-submit input:focus-visible,
.loginPage .login-submit button:hover,
.loginPage .login-submit button:focus-visible {
	background: var(--color-ink);
	border-color: var(--color-ink);
}

.loginPage__back {
	text-align: center;
}

.loginPage__registerPrompt {
	margin-block-start: 24px;
	color: var(--color-muted);
}

.reservedArea {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	min-height: calc(100vh - 70px);
}

.reservedArea__sidebar {
	position: sticky;
	top: 70px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-self: start;
	min-height: calc(100vh - 70px);
	max-height: calc(100vh - 70px);
	overflow: auto;
	padding: 56px 24px;
	background: var(--color-surface);
	border-right: 1px solid var(--color-border);
}

body.admin-bar .reservedArea__sidebar {
	top: 102px;
	min-height: calc(100vh - 102px);
	max-height: calc(100vh - 102px);
}

.reservedArea__eyebrow {
	font-size: 0.85rem;
	color: var(--color-muted);
	text-transform: uppercase;
}

.reservedArea__nav {
	display: grid;
	gap: 8px;
}

.reservedArea__nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: var(--radius);
	font-weight: 700;
	text-decoration: none;
}

.reservedArea__navIcon {
	display: inline-grid;
	place-items: center;
	width: 20px;
	min-width: 20px;
	color: currentColor;
}

.reservedArea__navIcon svg {
	width: auto;
	height: auto;
	max-width: 20px;
	max-height: 20px;
}

.reservedArea__nav a.is-active,
.reservedArea__nav a:hover,
.reservedArea__nav a:focus-visible {
	color: var(--color-ink);
	background: var(--color-surface-strong);
}

.reservedArea__help {
	display: grid;
	gap: 8px;
	margin-block-start: auto;
	padding: 22px 20px;
	background: var(--color-white);
	border: 0;
	border-radius: var(--radius);
}

.reservedArea__helpTitle {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--color-accent);
	font-size: 12px;
	font-weight: 700;
	line-height: 14px;
}

.reservedArea__helpIcon {
	display: inline-flex;
	flex: 0 0 auto;
	color: var(--color-accent);
}

.reservedArea__help p {
	color: var(--color-muted);
	font-size: 12px;
	line-height: 14px;
}

.reservedArea__helpLink {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	width: fit-content;
	color: var(--color-ink);
	font-size: 12px;
	font-weight: 400;
	line-height: 14px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.reservedArea__helpLink:hover,
.reservedArea__helpLink:focus-visible {
	color: var(--color-accent);
}

.reservedArea__helpLink svg {
	flex: 0 0 auto;
}

.reservedArea__content {
	padding: clamp(32px, 5vw, 64px);
}

.reservedHeader {
	margin-block-end: 32px;
	padding-block-end: 24px;
	border-bottom: 1px solid var(--color-border);
}

.reservedNotice {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-block-end: 48px;
	padding: 28px 32px;
		background: var(--color-info-bg);
		border: 1px solid var(--color-info-border);
	border-radius: var(--radius);
}

.reservedNotice .btn {
	min-width: 182px;
	background: var(--color-accent);
	border-color: var(--color-accent);
	font-weight: 700;
	white-space: nowrap;
}

.reservedNotice .btn:hover,
.reservedNotice .btn:focus-visible {
	background: var(--color-ink);
	border-color: var(--color-ink);
}

.reservedAlert {
	display: grid;
	gap: 4px;
	margin-block-end: 24px;
	padding: 16px 18px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-surface);
}

.reservedAlert--error {
	background: #fff4f4;
	border-color: #f3c4c4;
}

.reservedAlert--warning {
	background: #fff3df;
	border-color: #f5d8a9;
}

.reservedAlert--success {
	background: #e8f4e8;
	border-color: #d2e8d2;
}

.reservedAlert p {
	margin: 0;
	color: var(--color-muted);
}

.reservedSectionHeader {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-block-end: 16px;
}

.dashboardStats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-block-end: 20px;
}

.dashboardStats div {
	display: grid;
	gap: 4px;
	padding: 16px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.dashboardStats strong {
	font-size: 1.65rem;
	line-height: 1;
}

.dashboardStats span {
	color: var(--color-muted);
	font-size: 0.9rem;
}

.reservedHeader h1,
.reservedSectionHeader h2,
.pageHeader h1,
.loginPage h1 {
	color: var(--color-ink);
	font-size: 28px;
}

.projectWizard h2,
.personPicker__intro h3 {
	color: var(--color-ink);
	font-size: 22px;
}

.projectWizard > hr {
	width: 100%;
	margin: 0;
	border: 0;
	border-top: 1px solid var(--color-border);
}

.projectSectionHeader {
	padding-top: 34px;
	border-top: 1px solid var(--color-border);
}

.projectWizard .projectSectionTitle {
	color: var(--color-accent);
	font-size: 22px;
}

.reservedTableWrap,
.summaryBox,
.checkList,
.consentBox {
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	background: var(--color-white);
}

.reservedTable {
	width: 100%;
	border-collapse: collapse;
}

.reservedTable th,
.reservedTable td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
}

.reservedTable th {
	font-size: 0.86rem;
	font-weight: 500;
	text-transform: uppercase;
}

.reservedTable td {
	vertical-align: top;
}

.reviewNote {
	display: inline-block;
	max-width: 34rem;
	color: var(--color-ink);
}

.statusBadge {
	display: inline-flex;
	padding: 2px 10px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	color: var(--color-ink);
	font-size: 0.9rem;
}

.statusBadge--draft {
	background: #fff3df;
	border-color: #f5d8a9;
}

.statusBadge--pending {
	background: #eee8fb;
	border-color: #ded2f4;
}

.statusBadge--publish {
	background: #e8f4e8;
	border-color: #d2e8d2;
}

.statusBadge--apro_rejected {
	background: #fbe7e7;
	border-color: #efc7c7;
}

.projectAction {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-decoration: none;
}

.projectActions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.projectActionForm {
	margin: 0;
}

.projectActionButton {
	padding: 0;
	color: inherit;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.projectAction svg {
	flex: 0 0 auto;
	color: currentColor;
}

.projectAction--danger {
	color: #b42318;
}

.projectAction--muted {
	color: var(--color-muted);
	font-weight: 500;
}

.lockedProject {
	max-width: 760px;
	padding: 28px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.lockedProject h2 {
	color: var(--color-ink);
	font-size: 28px;
}

.lockedProject__meta {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 8px 18px;
	margin: 0;
	padding: 16px 0;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.lockedProject__meta dt {
	color: var(--color-muted);
	font-weight: 700;
}

.lockedProject__meta dd {
	margin: 0;
}

.lockedProject__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.projectStepper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 0 0 44px;
	padding: 0 0 30px;
	border-bottom: 1px solid var(--color-border);
	list-style: none;
}

.projectStepper li {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.projectStepper li::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--color-border);
}

.projectStepper li:last-child::after {
	display: none;
}

.projectStepper__item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 0;
	color: var(--color-ink);
	background: transparent;
	border: 0;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.projectStepper__item:hover,
.projectStepper__item:focus-visible {
	color: var(--color-accent);
}

.projectStepper__number {
	display: inline-grid;
	place-items: center;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--color-surface-strong);
}

.projectStepper__label {
	min-width: 0;
}

.projectStepper .is-current .projectStepper__item {
	cursor: default;
}

.projectStepper .is-current .projectStepper__number {
	color: var(--color-white);
	background: var(--color-accent);
}

.projectStepper .is-complete .projectStepper__number {
	background: var(--color-border);
}

.projectWizard {
	display: grid;
	gap: 42px;
}

.formGrid {
	display: grid;
	gap: 30px;
}

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

.formGrid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
	display: grid;
	gap: 8px;
	font-weight: 700;
	scroll-margin-top: 110px;
}

.field input,
.field select,
.field textarea {
	font-weight: 400;
}

.field small {
	color: var(--color-muted);
	font-size: 12px;
	font-weight: 400;
}

.is-field-target {
	outline: 2px solid var(--color-accent);
	outline-offset: 6px;
	border-radius: var(--radius);
}

.requiredMarker {
	color: #b42318;
	font-weight: 700;
}

.personPicker {
	display: grid;
	gap: 18px;
	scroll-margin-top: 110px;
}

.personPicker__intro {
	display: grid;
	gap: 4px;
}

.personPicker__controls {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto auto auto;
	align-items: start;
	gap: 16px;
}

.personPicker__or {
	align-self: center;
	color: var(--color-muted);
	font-size: 0.9rem;
}

.personPicker .btn {
	height: 36px;
	min-height: 0;
	padding-block: 0;
	font-weight: 700;
	line-height: 1;
}

.personSearch {
	position: relative;
}

.personSearch::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 13px;
	width: 13px;
	height: 16px;
	background: currentColor;
	color: var(--color-ink);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.889' height='16' viewBox='0 0 12.889 16'%3E%3Cg transform='translate(-4 -2)'%3E%3Cpath d='M15.889,19.667V18.111A3.111,3.111,0,0,0,12.778,15H8.111A3.111,3.111,0,0,0,5,18.111v1.556' transform='translate(0 -2.667)' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3Cellipse cx='3.5' cy='3' rx='3.5' ry='3' transform='translate(7 3)' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12.889' height='16' viewBox='0 0 12.889 16'%3E%3Cg transform='translate(-4 -2)'%3E%3Cpath d='M15.889,19.667V18.111A3.111,3.111,0,0,0,12.778,15H8.111A3.111,3.111,0,0,0,5,18.111v1.556' transform='translate(0 -2.667)' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3Cellipse cx='3.5' cy='3' rx='3.5' ry='3' transform='translate(7 3)' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
	transform: translateY(-50%);
	pointer-events: none;
}

.projectWizard .personSearch input[type="search"]:not([type="checkbox"]):not([type="radio"]):not([type="file"]) {
	padding-left: 42px;
}

.personSearch__results {
	position: absolute;
	inset: calc(100% + 6px) 0 auto;
	z-index: 15;
	display: grid;
	max-height: 260px;
	overflow: auto;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}

.personSearch__result {
	display: grid;
	grid-template-columns: 36px minmax(120px, 1fr) minmax(120px, 1fr);
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px 12px;
	text-align: left;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--color-border);
	cursor: pointer;
}

.personSearch__result small {
	grid-column: 2 / -1;
	color: #b42318;
	font-size: 12px;
}

.personSearch__result.is-disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.personSearch__result.is-disabled:hover,
.personSearch__result.is-disabled:focus-visible {
	background: transparent;
}

.personSearch__result:hover,
.personSearch__result:focus-visible {
	background: var(--color-surface);
}

.personSearch__result span:last-child,
.personSearch__empty {
	color: var(--color-muted);
	font-size: 0.9rem;
}

.personSearch__empty {
	padding: 12px;
}

.personPicker__message {
	margin: 0;
	color: #b42318;
	font-size: 12px;
	font-weight: 700;
}

.personManualPanel {
	display: grid;
	grid-template-columns: repeat(3, minmax(120px, 1fr)) auto auto;
	gap: 10px;
	padding: 14px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.personManualPanel[hidden] {
	display: none;
}

.personPicker__selected {
	display: grid;
	gap: 10px;
}

.personList {
	display: grid;
	width: min(100%, 680px);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.personList:empty {
	display: none;
}

.personSelectedRow {
	display: grid;
	grid-template-columns: 40px minmax(140px, 1fr) minmax(180px, 1fr) 40px;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border-bottom: 1px solid var(--color-border);
}

.personSelectedRow:last-child {
	border-bottom: 0;
}

.personAvatar {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	color: var(--color-white);
	background: var(--color-accent);
	border-radius: 50%;
	font-size: 0.78rem;
	font-weight: 700;
}

.locationField {
	display: grid;
	grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.6fr);
	gap: 24px;
	align-items: start;
	scroll-margin-top: 110px;
}

.field.has-location-suggestions {
	position: relative;
}

.locationSuggestions {
	display: grid;
	margin-top: 4px;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	z-index: 20;
}

.locationSuggestions[hidden] {
	display: none;
}

.locationSuggestions button {
	width: 100%;
	min-height: 36px;
	padding: 8px 12px;
	color: var(--color-text);
	background: var(--color-white);
	border: 0;
	border-bottom: 1px solid var(--color-border);
	border-radius: 0;
	font: inherit;
	font-size: 0.875rem;
	text-align: left;
	cursor: pointer;
}

.locationSuggestions button:last-child {
	border-bottom: 0;
}

.locationSuggestions button:hover,
.locationSuggestions button.is-active {
	background: var(--color-surface);
}

.locationMap {
	display: grid;
	place-items: center;
	min-height: 190px;
	color: var(--color-muted);
	background: var(--color-surface-strong);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	overflow: hidden;
}

.locationMap.is-placeholder {
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
		linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
		var(--color-surface-strong);
	background-size: 42px 42px;
}

.keywordField {
	align-content: start;
}

.keywordInputShell {
	display: block;
}

.keywordInputShell input[type="text"] {
	width: 100%;
}

.keywordField.has-keyword-error .keywordInputShell input[type="text"] {
	border-color: #b42318;
}

.keywordTags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	min-height: 0;
}

.keywordTags:empty {
	display: none;
}

.keywordTag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 26px;
	padding: 4px 8px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 999px;
	font-size: 0.88rem;
	line-height: 1;
}

.keywordTag button {
	display: inline-grid;
	place-items: center;
	width: 16px;
	height: 16px;
	padding: 0;
	color: var(--color-accent);
	background: transparent;
	border: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.keywordField__error {
	color: #b42318;
	font-weight: 600;
}

.peopleRepeater,
.imageRows,
.scientificGrid {
	display: grid;
	gap: 24px;
}

.sectionIntro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.peopleRow,
.imageRow {
	display: grid;
	grid-template-columns: 150px minmax(180px, 1fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(180px, 1fr) 40px;
	gap: 10px;
	align-items: center;
	padding: 12px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.imageRow {
	grid-template-columns: 84px minmax(180px, 1.2fr) minmax(160px, 1fr) minmax(160px, 1fr) auto auto;
	align-items: start;
}

.imageRow__preview {
	width: 72px;
	aspect-ratio: 1;
	background: var(--color-surface-strong);
	overflow: hidden;
}

.imageRow__preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.imageRows {
	gap: 0;
}

.imageRows__empty {
	padding: 16px 0;
	color: var(--color-muted);
}

.imageRows__table {
	display: grid;
	gap: 0;
}

.imageRows__head,
.imageRow {
	display: grid;
	grid-template-columns: 84px minmax(180px, 1.4fr) minmax(150px, 1fr) minmax(170px, 1fr) 90px 70px;
	gap: 18px;
	align-items: center;
}

.imageRows__head {
	padding-block: 0 12px;
	border-bottom: 1px solid var(--color-border);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
}

.imageRow {
	align-items: start;
	padding: 14px 0;
	border: 0;
	border-bottom: 1px solid var(--color-border);
	border-radius: 0;
}

.imageCaption {
	display: grid;
	gap: 4px;
}

.imageCaption small {
	color: var(--color-muted);
	font-size: 0.8rem;
}

.coverChoice,
.removeChoice {
	justify-content: center;
}

.removeChoice {
	position: relative;
	width: 36px;
	height: 36px;
	cursor: pointer;
}

.removeChoice input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}

.removeChoice span[aria-hidden="true"] {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	line-height: 1;
}

.removeChoice input:checked + span[aria-hidden="true"] {
	opacity: 0.45;
}

.removeChoice svg {
	width: 19px;
	height: 21px;
}

.removeChoice.is-removing {
	pointer-events: none;
	opacity: 0.55;
}

.iconButton {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.iconButton svg {
	width: 19px;
	height: 21px;
}

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

.scientificField {
	display: grid;
	gap: 10px;
}

.scientificTitleField__control {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 24px;
	align-items: center;
	gap: 8px;
}

.scientificHelpButton {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	padding: 0;
	color: var(--color-accent);
	background: transparent;
	border: 0;
	cursor: pointer;
}

.scientificHelpButton svg {
	width: 18px;
	height: 18px;
}

.scientificHelpButton:hover,
.scientificHelpButton:focus-visible {
	color: var(--color-accent);
}

.scientificHelpModal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(17, 17, 17, 0.42);
}

.scientificHelpModal[hidden] {
	display: none;
}

.scientificHelpModal__panel {
	position: relative;
	width: min(100%, 680px);
	max-height: min(720px, calc(100vh - 48px));
	overflow: auto;
	padding: 32px;
	background: var(--color-white);
	border-radius: var(--radius);
}

.scientificHelpModal__panel h3 {
	margin-block-end: 16px;
	color: var(--color-accent);
	font-size: 22px;
}

.scientificHelpModal__content {
	color: var(--color-ink);
	line-height: 1.55;
	white-space: pre-line;
}

.scientificHelpModal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	background: transparent;
	border: 0;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}

.uploadDrop {
	display: grid;
	place-items: center;
	gap: 10px;
	min-height: 120px;
	border: 1px dashed #b9c2cc;
	border-radius: var(--radius);
	cursor: pointer;
	scroll-margin-top: 110px;
}

.uploadDrop input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.uploadDrop__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 7px 22px;
	background: var(--color-white);
	border: 1px solid var(--color-ink);
	border-radius: var(--radius);
	font-weight: 700;
}

.uploadDrop__status {
	color: var(--color-muted);
	font-size: 0.9rem;
}

.uploadDrop.is-uploading {
	background: var(--color-surface);
}

.scientificCounter {
	margin-block-start: -4px;
}

.scientificCounter.is-at-limit {
	color: #b42318;
}

.summaryBox dl {
	display: grid;
	grid-template-columns: 220px 1fr;
	margin: 0;
}

.summaryBox dt,
.summaryBox dd,
.checkItem {
	margin: 0;
	padding: 14px 18px;
	border-bottom: 1px solid var(--color-border);
}

.summaryBox dt {
	font-weight: 700;
}

.checkItem {
	display: grid;
	grid-template-columns: 24px 1fr;
	align-items: start;
	gap: 14px;
}

.checkItem__icon {
	display: inline-grid;
	place-items: center;
	padding-top: 1px;
}

.checkItem__headline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 24px;
}

.checkItem__headline strong {
	flex: 0 0 auto;
}

.checkItem.is-ok strong {
	color: #159a22;
}

.checkItem.is-ko strong {
	color: #b42318;
}

.checkItem__missing {
	display: grid;
	gap: 8px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	color: var(--color-muted);
}

.checkItem__missing li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 8px;
	border-top: 1px solid var(--color-border);
}

.checkItem__link {
	flex: 0 0 auto;
	padding: 0;
	color: var(--color-accent);
	background: transparent;
	border: 0;
	font-size: 12px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.checkItem__link:hover,
.checkItem__link:focus-visible {
	color: var(--color-ink);
}

.consentBox {
	display: grid;
	gap: 18px;
	padding: 24px;
	background: var(--color-info-bg);
	border-color: var(--color-info-border);
}

.checkboxField,
.coverChoice,
.removeChoice {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.checkboxField {
	scroll-margin-top: 110px;
}

.formActions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-block-start: 46px;
	padding-block-start: 24px;
	border-top: 1px solid var(--color-border);
}

.btn--secondary {
	color: var(--color-ink);
	background: var(--color-white);
	border-color: var(--color-ink);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
	color: var(--color-white);
	background: var(--color-ink);
	border-color: var(--color-ink);
}

.btn--accent {
	color: var(--color-white);
	background: var(--color-accent);
	border-color: var(--color-accent);
	font-weight: 700;
}

.btn--accent:hover,
.btn--accent:focus-visible {
	color: var(--color-white);
	background: var(--color-ink);
	border-color: var(--color-ink);
}

.formNavButton {
	gap: 8px;
	font-weight: 700;
}

.formNavButton svg {
	width: 16px;
	height: 16px;
}

@media (max-width: 960px) {
	.reservedArea {
		grid-template-columns: 1fr;
		max-width: 100%;
		overflow-x: clip;
	}

	.reservedArea__sidebar {
		position: sticky;
		top: 70px;
		z-index: 30;
		gap: 10px;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		min-height: auto;
		max-height: none;
		overflow: visible;
		padding: 10px var(--gutter);
		background: var(--color-white);
		border-right: 0;
		border-bottom: 1px solid var(--color-border);
	}

	body.admin-bar .reservedArea__sidebar {
		top: 116px;
		min-height: auto;
		max-height: none;
	}

	.reservedArea__eyebrow,
	.reservedArea__help {
		display: none;
	}

	.reservedArea__nav {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		padding-block: 2px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.reservedArea__nav::-webkit-scrollbar {
		display: none;
	}

	.reservedArea__nav a {
		flex: 0 0 auto;
		gap: 8px;
		min-height: 36px;
		padding: 8px 10px;
		white-space: nowrap;
	}

	.reservedArea__content {
		width: 100%;
		min-width: 0;
		max-width: 100%;
		padding: 28px var(--gutter) 42px;
	}

	.formGrid--2,
	.formGrid--3,
	.dashboardStats,
	.scientificGrid,
	.personPicker__controls,
	.personManualPanel,
	.personSelectedRow,
	.locationField,
	.peopleRow,
	.imageRows__head,
	.imageRow {
		grid-template-columns: 1fr;
	}

	.imageRows__head {
		display: none;
	}

	.personList {
		width: 100%;
	}

	.projectStepper {
		grid-template-columns: 1fr;
	}

	.projectStepper li::after {
		display: none;
	}

	.reservedNotice,
	.reservedSectionHeader,
	.formActions {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 720px) {
	.siteHeader__inner {
		min-height: 64px;
		padding-inline: 16px;
	}

	.siteHeader__logoApro,
	.siteHeader__logoArchive {
		font-size: 22px;
	}

	.siteHeader__logoProArch {
		margin-left: 10px;
		font-size: 14px;
	}

	.siteHeader__logoTagline {
		font-size: 10px;
	}

	.siteHeader__panel {
		inset-block-start: 64px;
	}

	body.admin-bar .siteHeader__panel {
		inset-block-start: 110px;
	}

	.reservedArea {
		min-height: calc(100vh - 64px);
	}

	.reservedArea__sidebar {
		top: 64px;
	}

	body.admin-bar .reservedArea__sidebar {
		top: 110px;
	}

	.reservedNotice {
		gap: 18px;
		margin-block-end: 34px;
		padding: 20px;
	}

	.reservedNotice .btn {
		width: 100%;
		min-width: 0;
	}

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

	.reservedTableWrap {
		border: 0;
		background: transparent;
	}

	.reservedTable,
	.reservedTable thead,
	.reservedTable tbody,
	.reservedTable tr,
	.reservedTable th,
	.reservedTable td {
		display: block;
	}

	.reservedTable thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
		clip-path: inset(50%);
	}

	.reservedTable tbody {
		display: grid;
		gap: 12px;
	}

	.reservedTable tr {
		background: var(--color-white);
		border: 1px solid var(--color-border);
		border-radius: var(--radius);
	}

	.reservedTable td {
		display: grid;
		grid-template-columns: minmax(84px, 32%) minmax(0, 1fr);
		gap: 12px;
		align-items: start;
		padding: 10px 14px;
		border-bottom: 1px solid var(--color-border);
	}

	.reservedTable td:last-child {
		border-bottom: 0;
	}

	.reservedTable td::before {
		content: attr(data-label);
		color: var(--color-muted);
		font-size: 12px;
		font-weight: 700;
		line-height: 1.3;
		text-transform: uppercase;
	}

	.reservedTable td[data-label="Titolo"] {
		padding-top: 14px;
	}

	.reservedTable td[data-label="Azioni"] {
		padding-bottom: 14px;
	}

	.projectActions {
		display: grid;
		gap: 8px;
	}
}

@media (max-width: 480px) {
	.reservedArea__nav a span:last-child {
		font-size: 13px;
	}

	.dashboardStats {
		grid-template-columns: 1fr;
	}

	.reservedTable td {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}
