.t-contact-page {
	--t-contact-inline: clamp(20px, 5vw, 72px);
	--t-contact-max-width: 1200px;
	--t-contact-text-width: 780px;
	--t-contact-section-gap: clamp(52px, 8vw, 104px);

	color: var(--thinking-color-section-text-primary);
	background: var(--color-bg-page);
	font-family: var(--thinking-font-family-base);
}

.t-contact-page__article {
	margin: 0;
}

.t-contact-hero {
	max-width: var(--t-contact-max-width);
	margin-inline: auto;
	padding: clamp(72px, 10vw, 136px) var(--t-contact-inline) var(--t-contact-section-gap);
}

.t-contact-hero__copy {
	max-width: var(--t-contact-text-width);
}

.t-contact-hero__eyebrow,
.t-contact-section__eyebrow {
	margin-bottom: 0.85rem;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-caption-size);
	font-weight: var(--thinking-type-caption-weight);
	line-height: var(--thinking-line-height-caption);
	text-transform: uppercase;
	letter-spacing: 0;
}

.t-contact-hero__title {
	margin: 0;
	color: var(--thinking-color-section-heading);
	font-size: var(--thinking-type-h1-size);
	font-weight: var(--thinking-type-h1-weight);
	line-height: var(--thinking-line-height-h1);
	overflow-wrap: anywhere;
}

.t-contact-hero__body {
	max-width: 720px;
	margin-top: 1.5rem;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-body-large-size);
	font-weight: var(--thinking-type-body-large-weight);
	line-height: var(--thinking-line-height-body);
	overflow-wrap: anywhere;
}

.t-contact-hero__body > :first-child,
.t-contact-inquiry__note > :first-child,
.t-contact-inquiry__response > :first-child {
	margin-top: 0;
}

.t-contact-hero__body > :last-child,
.t-contact-inquiry__note > :last-child,
.t-contact-inquiry__response > :last-child {
	margin-bottom: 0;
}

.t-contact-info,
.t-contact-map,
.t-contact-inquiry,
.t-contact-empty {
	max-width: var(--t-contact-max-width);
	margin-inline: auto;
	padding: 0 var(--t-contact-inline) var(--t-contact-section-gap);
}

.t-contact-section__header {
	max-width: var(--t-contact-text-width);
	margin-bottom: clamp(28px, 5vw, 52px);
}

.t-contact-section__title {
	margin: 0;
	color: var(--thinking-color-section-heading);
	font-size: var(--thinking-type-h2-size);
	font-weight: var(--thinking-type-h2-weight);
	line-height: var(--thinking-line-height-h2);
	overflow-wrap: anywhere;
}

.t-contact-info__grid,
.t-contact-inquiry__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(32px, 6vw, 88px);
	align-items: start;
	border-top: 1px solid var(--color-border-soft);
}

.t-contact-info__group,
.t-contact-inquiry__notes,
.t-contact-form {
	min-width: 0;
	padding-top: clamp(22px, 3vw, 32px);
}

.t-contact-info__group:only-child,
.t-contact-inquiry__notes:only-child,
.t-contact-form:only-child {
	grid-column: 1 / -1;
	max-width: var(--t-contact-text-width);
}

.t-contact-detail-list {
	max-width: var(--t-contact-text-width);
	margin: 0;
	border-top: 1px solid var(--color-border-soft);
}

.t-contact-detail-list__item {
	display: grid;
	grid-template-columns: minmax(120px, 0.32fr) minmax(0, 0.68fr);
	gap: clamp(18px, 3vw, 36px);
	padding: 1.15rem 0;
	border-bottom: 1px solid var(--color-border-soft);
}

.t-contact-detail-list__label,
.t-contact-info__subheading {
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-caption-size);
	font-weight: var(--thinking-type-caption-weight);
	line-height: var(--thinking-line-height-caption);
	text-transform: uppercase;
	letter-spacing: 0;
}

.t-contact-detail-list__label {
	margin: 0;
}

.t-contact-detail-list__value {
	margin: 0;
	color: var(--thinking-color-section-text-primary);
	font-size: var(--thinking-type-body-regular-size);
	font-weight: var(--thinking-type-body-regular-weight);
	line-height: var(--thinking-line-height-body);
	overflow-wrap: anywhere;
}

.t-contact-info__subheading {
	margin: 0 0 0.85rem;
}

.t-contact-address__body {
	color: var(--thinking-color-section-text-primary);
	font-size: var(--thinking-type-body-regular-size);
	font-style: normal;
	font-weight: var(--thinking-type-body-regular-weight);
	line-height: var(--thinking-line-height-body);
	overflow-wrap: anywhere;
}

.t-contact-social-link,
.t-contact-link {
	color: var(--thinking-color-section-heading);
	text-decoration-color: var(--color-border-soft);
	text-underline-offset: 0.18em;
	transition: color 160ms ease, text-decoration-color 160ms ease;
}

.t-contact-social-link:hover,
.t-contact-social-link:focus,
.t-contact-link:hover,
.t-contact-link:focus {
	color: var(--thinking-color-section-text-primary);
	text-decoration-color: currentColor;
}

.t-contact-social-link {
	display: inline-flex;
	margin-top: 1.5rem;
	font-size: var(--thinking-type-body-regular-size);
	line-height: var(--thinking-line-height-body);
}

.t-contact-map__embed {
	overflow: hidden;
	aspect-ratio: 16 / 7;
	border-top: 1px solid var(--color-border-soft);
	background: var(--thinking-color-section-soft-bg);
}

.t-contact-map__embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.t-contact-inquiry__note,
.t-contact-inquiry__response {
	margin: 0;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-body-regular-size);
	font-weight: var(--thinking-type-body-regular-weight);
	line-height: var(--thinking-line-height-body);
	overflow-wrap: anywhere;
}

.t-contact-inquiry__response {
	margin-top: 1.25rem;
	color: var(--thinking-color-section-text-primary);
}

.t-contact-form {
	max-width: var(--t-contact-text-width);
	border-top: 1px solid var(--color-border-soft);
}

.t-contact-form__placeholder {
	margin: 0;
	padding: 1rem 0;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-body-regular-size);
	line-height: var(--thinking-line-height-body);
	border-top: 1px solid var(--color-border-soft);
	border-bottom: 1px solid var(--color-border-soft);
}

.t-contact-form__embed {
	color: var(--thinking-color-section-text-primary);
	font-size: var(--thinking-type-body-regular-size);
	line-height: var(--thinking-line-height-body);
}

.t-contact-form__errors {
	max-width: var(--t-contact-text-width);
	margin-bottom: clamp(28px, 5vw, 44px);
	padding: 1rem 1.25rem;
	color: var(--thinking-color-section-text-primary);
	background: var(--thinking-color-section-soft-bg);
	border: 1px solid currentColor;
}

.t-contact-form__errors:focus {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.t-contact-form__errors-title {
	margin: 0;
	font-weight: 600;
}

.t-contact-form__errors ul {
	margin: 0.65rem 0 0;
	padding-left: 1.25rem;
}

.t-contact-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 40px);
}

.t-contact-form__field {
	min-width: 0;
}

.t-contact-form__field--wide,
.t-contact-form__field--message {
	grid-column: 1 / -1;
}

.t-contact-form__field label,
.t-contact-form__contact-methods legend {
	display: block;
	margin-bottom: 0.65rem;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-caption-size);
	font-weight: var(--thinking-type-caption-weight);
	line-height: var(--thinking-line-height-caption);
	letter-spacing: 0;
}

.t-contact-form .t-contact-form__field :where(input, select, textarea) {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.78rem 0.85rem;
	color: var(--thinking-color-section-text-primary);
	background: rgba(250, 251, 252, 0.38);
	border: 1px solid rgba(29, 29, 31, 0.26);
	border-radius: 0;
	font: inherit;
	transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.t-contact-form .t-contact-form__field :where(input, select, textarea):hover:not(:disabled) {
	border-color: rgba(29, 29, 31, 0.5);
}

.t-contact-form .t-contact-form__field select {
	appearance: auto;
}

.t-contact-form .t-contact-form__field textarea {
	min-height: 11rem;
	resize: vertical;
}

.t-contact-form .t-contact-form__field :where(input, select, textarea):focus-visible,
.t-contact-form__submit:focus-visible,
.t-contact-thank-you__actions a:focus-visible {
	outline: 2px solid var(--color-primary-green);
	outline-offset: 2px;
}

.t-contact-form .t-contact-form__field :where(input, select, textarea)[aria-invalid="true"] {
	border-width: 2px;
	border-color: currentColor;
	box-shadow: inset 4px 0 0 currentColor;
}

.t-contact-form .t-contact-form__field :where(input, select, textarea):disabled {
	cursor: not-allowed;
	background: var(--color-soft-gray);
	border-color: var(--color-border-soft);
	opacity: 0.65;
}

.t-contact-form__contact-methods {
	width: 100%;
	min-width: 0;
	margin: clamp(38px, 6vw, 56px) 0 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}

.t-contact-form__contact-methods legend {
	margin-left: 0;
	padding: 0;
}

.t-contact-form__hint,
.t-contact-form__privacy,
.t-contact-form__configuration {
	margin: 0;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-body-regular-size);
	line-height: var(--thinking-line-height-body);
}

.t-contact-form__hint {
	margin-bottom: clamp(20px, 3vw, 28px);
}

.t-contact-form__field--message {
	margin-top: clamp(38px, 6vw, 56px);
}

.t-contact-form__privacy {
	margin-top: 1.5rem;
}

.t-contact-form__privacy a {
	color: inherit;
	text-underline-offset: 0.18em;
}

.t-contact-form__turnstile,
.t-contact-form__configuration {
	max-width: 100%;
	margin-top: 1.5rem;
}

.t-contact-form__submit {
	width: auto;
	margin-top: 1.5rem;
	padding: 0.8rem 1.1rem;
	color: var(--thinking-color-section-heading);
	background: transparent;
	border: 1px solid var(--color-border-soft);
	border-radius: 0;
	cursor: pointer;
}

.t-contact-form__submit:hover {
	border-color: currentColor;
}

.t-contact-form__submit:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.t-contact-thank-you__content {
	max-width: var(--t-contact-text-width);
	margin-inline: auto;
	padding: clamp(88px, 14vw, 176px) var(--t-contact-inline) var(--t-contact-section-gap);
}

.t-contact-thank-you__title {
	margin: 0;
	color: var(--thinking-color-section-heading);
	font-size: var(--thinking-type-h1-size);
	font-weight: var(--thinking-type-h1-weight);
	line-height: var(--thinking-line-height-h1);
	overflow-wrap: anywhere;
}

.t-contact-thank-you__body {
	max-width: 640px;
	margin: 1.5rem 0 0;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-body-large-size);
	line-height: var(--thinking-line-height-body);
}

.t-contact-thank-you__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	margin-top: 2rem;
}

.t-contact-thank-you__actions a {
	color: var(--thinking-color-section-heading);
	text-decoration-color: var(--color-border-soft);
	text-underline-offset: 0.18em;
}

.t-contact-form__embed :where(label) {
	display: block;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-caption-size);
	font-weight: var(--thinking-type-caption-weight);
	line-height: var(--thinking-line-height-caption);
	text-transform: uppercase;
	letter-spacing: 0;
}

.t-contact-form__embed :where(input, textarea, select) {
	width: 100%;
	max-width: 100%;
	color: var(--thinking-color-section-text-primary);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--color-border-soft);
	border-radius: 0;
	font: inherit;
}

.t-contact-form__embed :where(textarea) {
	min-height: 9rem;
	resize: vertical;
}

.t-contact-form__embed :where(button, input[type="submit"]) {
	width: auto;
	padding: 0.7rem 1rem;
	color: var(--thinking-color-section-heading);
	background: transparent;
	border: 1px solid var(--color-border-soft);
	border-radius: 0;
	cursor: pointer;
}

.t-contact-empty__inner {
	max-width: var(--t-contact-text-width);
	padding-top: clamp(72px, 10vw, 136px);
}

.t-contact-empty__title {
	margin: 0;
	color: var(--thinking-color-section-heading);
	font-size: var(--thinking-type-h1-size);
	font-weight: var(--thinking-type-h1-weight);
	line-height: var(--thinking-line-height-h1);
	overflow-wrap: anywhere;
}

.t-contact-empty__text {
	margin: 1rem 0 0;
	color: var(--thinking-color-section-text-secondary);
	font-size: var(--thinking-type-body-regular-size);
	line-height: var(--thinking-line-height-body);
}

@media (min-width: 1280px) {
	.t-layout-shell .t-contact-hero,
	.t-layout-shell .t-contact-info,
	.t-layout-shell .t-contact-map,
	.t-layout-shell .t-contact-inquiry,
	.t-layout-shell .t-contact-empty {
		max-width: none;
		margin-inline: 0;
		padding-right: clamp(32px, 4vw, 64px);
		padding-left: 0;
	}

	.t-layout-shell .t-contact-thank-you__content {
		max-width: none;
		margin-inline: 0;
		padding-right: clamp(32px, 4vw, 64px);
		padding-left: 0;
	}
}

@media (max-width: 1023px) {
	.t-contact-info__grid,
	.t-contact-inquiry__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.t-contact-info__group + .t-contact-info__group,
	.t-contact-form {
		padding-top: clamp(24px, 5vw, 40px);
		border-top: 1px solid var(--color-border-soft);
	}

	.t-contact-map__embed {
		aspect-ratio: 16 / 9;
	}
}

@media (max-width: 767px) {
	.t-contact-page {
		--t-contact-inline: 20px;
		--t-contact-section-gap: 56px;
	}

	.t-contact-hero {
		padding-top: 64px;
	}

	.t-contact-detail-list__item {
		display: block;
	}

	.t-contact-detail-list__value {
		margin-top: 0.35rem;
	}

	.t-contact-map__embed {
		aspect-ratio: 1 / 1;
	}

	.t-contact-form__grid {
		grid-template-columns: 1fr;
	}

	.t-contact-thank-you__actions {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 340px) {
	.t-contact-page {
		--t-contact-inline: 10px;
	}
}
