.portfolio-form-shell {
	--portfolio-form-accent: #167ca4;
	--portfolio-form-border: #cbd5db;
	--portfolio-form-focus: #0b6386;
	font-size: 1rem;
	line-height: 1.6;
}

.portfolio-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.portfolio-form__field {
	margin: 0 0 1.25rem;
}

.portfolio-form__label {
	display: block;
	font-weight: 650;
	margin-bottom: 0.45rem;
}

.portfolio-form-shell input:not([type="checkbox"]):not([type="radio"]),
.portfolio-form-shell select,
.portfolio-form-shell textarea {
	box-sizing: border-box;
	font: inherit;
	width: 100%;
	min-height: 3rem;
	padding: 0.7rem 0.8rem;
	border: 1px solid var(--portfolio-form-border);
	border-radius: 0.2rem;
	background: #fff;
	color: inherit;
}

.portfolio-form-shell textarea {
	min-height: 10rem;
	resize: vertical;
}

.portfolio-form-shell input:focus-visible,
.portfolio-form-shell select:focus-visible,
.portfolio-form-shell textarea:focus-visible,
.portfolio-form-shell button:focus-visible {
	outline: 3px solid var(--portfolio-form-focus);
	outline: 3px solid color-mix(in srgb, var(--portfolio-form-focus) 45%, transparent);
	outline-offset: 2px;
}

.portfolio-form__consent {
	margin: 1rem 0 1.5rem;
}

.portfolio-form__actions input[type="submit"] {
	min-height: 3rem;
	padding: 0.75rem 1.25rem;
	border: 0;
	border-radius: 0.2rem;
	background: var(--portfolio-form-accent);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 720px) {
	.portfolio-form__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.portfolio-form-shell *,
	.portfolio-form-shell *::before,
	.portfolio-form-shell *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
