/* ! page sections */

.page-title {
	margin: 0;
	padding: 0 2px;

	color: rgba(255, 255, 255, 0.92);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.2px;

	text-shadow:
		0 1px 0 rgba(255, 255, 255, 0.06),
		0 18px 44px rgba(0, 0, 0, 0.65);
}

.page-title_name {
	display: block;
}

.page-title_role {
	display: block;
	margin-top: 4px;

	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.50);

	text-shadow: none;
}

.page-body {
	width: 100%;
	padding: 18px;

	border-radius: 18px;

	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.035),
			rgba(255, 255, 255, 0.008)
		),
		rgba(6, 6, 6, 0.62);

	backdrop-filter: blur(18px) saturate(120%);
	-webkit-backdrop-filter: blur(18px) saturate(120%);

	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.08) inset,
		0 24px 80px -46px rgba(0, 0, 0, 0.95);

	color: rgba(255, 255, 255, 0.78);
}

.page-body > :first-child { margin-top: 0; }
.page-body > :last-child  { margin-bottom: 0; }

.page-body p {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
	margin: 12px 0;
}

.page-body strong {
	color: rgba(255, 255, 255, 0.92);
	font-weight: 600;
}

.page-body h2 {
	font-size: 18px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
	margin: 22px 0 8px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-body h3 {
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.38);
	margin: 20px 0 8px 0;
}

.page-body ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 10px 0;
	list-style: none;
}

.page-body ul li {
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.72);
	display: flex;
	gap: 8px;
}

.page-body ul li::before {
	content: "→";
	color: var(--c_grey-5);
	flex-shrink: 0;
}

.page-body ol {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 10px 0;
	list-style: none;
	counter-reset: page-body-ol;
}

.page-body ol li {
	display: flex;
	gap: 8px;
	counter-increment: page-body-ol;

	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.72);
}

.page-body ol li::before {
	content: counter(page-body-ol) ".";
	color: var(--c_grey-5);
	flex-shrink: 0;
}

.page-body .meta-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 14px 0;
}

.page-body .meta-row span {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.40);
}

/* ! page-links row */

.page-links {
	display: flex;
	flex-direction: row;
	gap: 8px;
	margin-top: 14px;
}

.page-links .button {
	position: relative;
}

.page-links .button .material {
	position: absolute;
	right: 12px;
}

/* ! page-actions row (homepage intro CTAs) */

.page-actions {
	display: flex;
	flex-direction: row;
	gap: 8px;
	padding: 0 2px;
}

.page-actions .button {
	width: auto;
	padding: 9px 18px;
}

/* ! proto section */

.proto-section {
	width: 100%;
	padding: 18px;
	border-radius: 18px;

	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.035),
			rgba(255, 255, 255, 0.008)
		),
		rgba(6, 6, 6, 0.62);

	backdrop-filter: blur(18px) saturate(120%);
	-webkit-backdrop-filter: blur(18px) saturate(120%);

	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.08) inset,
		0 24px 80px -46px rgba(0, 0, 0, 0.95);
}

.proto-section__header {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.proto-section__icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	flex-shrink: 0;
	object-fit: cover;
}

.proto-section__title {
	font-size: 16px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.72);
	letter-spacing: 0.2px;
}

.proto-links {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.proto-link {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	border-radius: 12px;

	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.07);

	font-size: 16px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.70);

	transition:
		background 140ms ease-out,
		border-color 140ms ease-out,
		color 140ms ease-out;
}

.proto-link:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.92);
}

/* ! gallery */

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	width: 100%;
}

.gallery__item {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.06);
	transition:
		border-color 140ms ease-out,
		opacity 140ms ease-out;
}

.gallery__item:hover {
	border-color: rgba(255, 255, 255, 0.18);
	opacity: 0.85;
}

.gallery__thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

/* ! portfolio cards */

.portfolio-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	width: 100%;
}

.portfolio-card {
	display: flex;
	flex-direction: column;
	gap: 10px;

	padding: 10px;
	border-radius: 16px;

	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.02),
			rgba(255, 255, 255, 0.004)
		),
		rgba(6, 6, 6, 0.68);

	backdrop-filter: blur(18px) saturate(120%);
	-webkit-backdrop-filter: blur(18px) saturate(120%);

	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.06) inset,
		0 24px 80px -46px rgba(0, 0, 0, 0.95);

	transition:
		border-color 140ms ease-out,
		background 140ms ease-out;
}

.portfolio-card:hover {
	border-color: rgba(255, 255, 255, 0.14);
	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.04),
			rgba(255, 255, 255, 0.01)
		),
		rgba(6, 6, 6, 0.68);
}

.portfolio-card:hover .portfolio-card__image {
	opacity: 0.85;
}

.portfolio-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	height: auto;
	object-fit: cover;
	border-radius: 10px;
	background: var(--c_grey-7);
	transition: opacity 140ms ease-out;
}

.portfolio-card__title {
	font-size: 16px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.portfolio-card__desc {
	font-size: 16px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.50);
}

.portfolio-card__meta {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
}

.portfolio-card__year {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.32);
	white-space: nowrap;
	flex-shrink: 0;
}
