/*
 * Thomm Partners: presentation layer.
 *
 * Colors and type come from theme.json. The palette is the client's approved
 * INK · BONE · CAMEL · STONE · BRASS, weighted roughly 55% Bone/Ivory, 30% Ink, 8% Stone,
 * 5% Camel, 2% Brass ("brass used like jewelry, restrained and rare"). Deep Cognac (#7A5434)
 * is Camel darkened for text-contrast on Bone; Brass only ever sits on Ink.
 *
 * Contents: 1 Tokens & base · 2 Block styles · 3 Bands & intros · 4 Hero · 5 Principles &
 *           capabilities · 6 Splits, statements, steps · 7 Call to action · 8 Bios
 *           9 Contact & forms · 10 Header · 11 Footer · 12 Responsive, motion & print
 */

/* 1. Tokens & base ------------------------------------------------------------------------ */

:root {
	--thm-ink: var(--wp--preset--color--ink);
	--thm-ink-deep: var(--wp--preset--color--ink-deep);
	--thm-bone: var(--wp--preset--color--bone);
	--thm-ivory: var(--wp--preset--color--ivory);
	--thm-stone: var(--wp--preset--color--stone);
	--thm-hair: var(--wp--preset--color--stone-light);
	--thm-camel: var(--wp--preset--color--camel);
	--thm-cognac: var(--wp--preset--color--cognac);
	--thm-brass: var(--wp--preset--color--brass);
	--thm-muted: var(--wp--preset--color--muted);
	--thm-on-dark: var(--wp--preset--color--on-dark);
	--thm-muted-on-dark: var(--wp--preset--color--muted-on-dark);
	--thm-hair-dark: rgba(183, 174, 162, 0.24);
	--thm-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--thm-sticky: 88px;
	--thm-gutter: var(--wp--preset--spacing--gutter);
	--thm-edge: max(var(--thm-gutter), calc((100vw - 1240px) / 2));
	--thm-label: 500 0.75rem/1.3 var(--wp--preset--font-family--body);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--thm-sticky) + 24px);
}
body.thm-site {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "kern", "liga";
}
.thm-site h1,
.thm-site h2,
.thm-site h3,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3 {
	text-wrap: balance;
}
.thm-site p,
.thm-site li {
	text-wrap: pretty;
}
::selection {
	background: var(--thm-ink);
	color: var(--thm-ivory);
}
.thm-site :focus-visible {
	outline: 1px solid var(--thm-cognac);
	outline-offset: 4px;
}
.thm-site .is-dark :focus-visible,
.thm-site-footer :focus-visible,
#offcanvas :focus-visible {
	outline-color: var(--thm-brass);
}
.thm-ico {
	display: inline-block;
	flex: none;
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: var(--thm-icon) center / contain no-repeat;
	mask: var(--thm-icon) center / contain no-repeat;
}

/* Blocksy leaves an empty hero wrapper with a bottom margin even when the page hero is off. */
.thm-site .hero-section {
	display: none;
}
/* Full-bleed bands sit flush (WordPress block gap + Blocksy content spacing). */
.entry-content > .alignfull,
.thm-site-footer > .alignfull {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.thm-site .entry-content p,
.thm-site .entry-content li {
	font-weight: 400;
}
.thm-site strong {
	font-weight: 600;
}

/* 2. Block styles ------------------------------------------------------------------------- */

/* Eyebrow: tracked caps behind a short brass rule (the rules either side of PARTNERS in the logo). */
.is-style-eyebrow {
	display: flex;
	align-items: center;
	gap: 1rem;
	font: var(--thm-label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--thm-cognac);
}
.is-style-eyebrow::before {
	content: "";
	flex: none;
	width: 2.5rem;
	height: 1px;
	background: var(--thm-camel);
}
.is-centered .is-style-eyebrow {
	justify-content: center;
}
.is-dark .is-style-eyebrow {
	color: var(--thm-brass);
}
.is-dark .is-style-eyebrow::before {
	background: var(--thm-brass);
}
.is-style-lead {
	font-size: var(--wp--preset--font-size--lg);
	line-height: 1.6;
}
.thm-site .is-style-statement,
.editor-styles-wrapper .is-style-statement {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xxl);
	font-style: italic;
	font-weight: 500;
	line-height: 1.22;
	letter-spacing: -0.005em;
	color: var(--thm-ink);
}
.is-dark p,
.is-dark li {
	color: var(--thm-on-dark);
}
.thm-site .is-dark .is-style-statement,
.editor-styles-wrapper .is-dark .is-style-statement {
	color: var(--thm-ivory);
}
.thm-site .is-dark h1,
.thm-site .is-dark h2,
.thm-site .is-dark h3,
.editor-styles-wrapper .is-dark h1,
.editor-styles-wrapper .is-dark h2,
.editor-styles-wrapper .is-dark h3 {
	color: var(--thm-ivory);
}
/* Italic phrases inside headings take the brass/cognac accent ("Protecting interests."). */
.thm-site h1 em,
.thm-site h2 em,
.editor-styles-wrapper h1 em,
.editor-styles-wrapper h2 em {
	font-style: italic;
	color: var(--thm-cognac);
}
.thm-site .is-dark h1 em,
.thm-site .is-dark h2 em,
.editor-styles-wrapper .is-dark h1 em,
.editor-styles-wrapper .is-dark h2 em {
	color: var(--thm-brass);
}
.is-dark a:not(.wp-block-button__link) {
	color: var(--thm-ivory);
	text-decoration-color: var(--thm-brass);
	text-underline-offset: 0.2em;
}
.is-dark a:not(.wp-block-button__link):hover {
	color: var(--thm-brass);
}

/* Buttons: square, tracked caps. */
.thm-site .wp-block-button__link,
.editor-styles-wrapper .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.85em;
	min-height: 3.25rem;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.is-dark .wp-block-button:not(.is-style-ghost):not(.is-style-arrow) .wp-block-button__link {
	background: var(--thm-brass);
	border-color: var(--thm-brass);
	color: var(--thm-ink);
}
.is-dark .wp-block-button:not(.is-style-ghost):not(.is-style-arrow) .wp-block-button__link:hover {
	background: var(--thm-ivory);
	border-color: var(--thm-ivory);
	color: var(--thm-ink);
}
.wp-block-button.is-style-ghost .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--thm-ink);
	color: var(--thm-ink);
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover {
	background: var(--thm-ink);
	color: var(--thm-ivory);
}
.is-dark .wp-block-button.is-style-ghost .wp-block-button__link {
	border-color: var(--thm-brass);
	color: var(--thm-ivory);
}
.is-dark .wp-block-button.is-style-ghost .wp-block-button__link:hover {
	background: var(--thm-brass);
	color: var(--thm-ink);
}
.wp-block-button.is-style-ghost .wp-block-button__link::after,
.wp-block-button.is-style-arrow .wp-block-button__link::after {
	content: "";
	flex: none;
	width: 0.95em;
	height: 0.95em;
	background: currentColor;
	-webkit-mask: var(--thm-i-arrow) center / contain no-repeat;
	mask: var(--thm-i-arrow) center / contain no-repeat;
	transition: transform 0.3s var(--thm-ease);
}
.wp-block-button.is-style-arrow .wp-block-button__link {
	min-height: 0;
	padding: 0 0 0.45rem;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--thm-camel);
	color: var(--thm-cognac);
}
.wp-block-button.is-style-arrow .wp-block-button__link:hover {
	background: none;
	color: var(--thm-ink);
	border-bottom-color: var(--thm-ink);
}
.is-dark .wp-block-button.is-style-arrow .wp-block-button__link {
	color: var(--thm-brass);
	border-bottom-color: var(--thm-brass);
}
.is-dark .wp-block-button.is-style-arrow .wp-block-button__link:hover {
	color: var(--thm-ivory);
	border-bottom-color: var(--thm-ivory);
}
.wp-block-button .wp-block-button__link:hover::after {
	transform: translateX(4px);
}

/* Ruled list: short lines with a hairline between. */
ul.is-style-ruled {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--thm-hair);
}
ul.is-style-ruled li {
	padding: 1rem 0;
	border-bottom: 1px solid var(--thm-hair);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 500;
	line-height: 1.25;
}
.is-dark ul.is-style-ruled,
.is-dark ul.is-style-ruled li {
	border-color: var(--thm-hair-dark);
}
.is-dark ul.is-style-ruled li {
	color: var(--thm-ivory);
}

/* 3. Bands & intros ------------------------------------------------------------------------ */

.thm-band {
	position: relative;
}
.thm-band.has-ivory-background-color + .thm-band.has-ivory-background-color,
.thm-band.has-bone-background-color + .thm-band.has-bone-background-color {
	border-top: 1px solid var(--thm-hair);
}
.thm-intro.is-centered {
	text-align: center;
}
.thm-intro > h2 {
	max-width: 22ch;
}
.thm-intro.is-centered > h2 {
	margin-inline: auto;
}
.thm-prose > p {
	max-width: 66ch;
}
.thm-site .thm-prose > p + p {
	margin-top: 1.1em;
}

/* 4. Hero ------------------------------------------------------------------------------------ */

.thm-hero .thm-hero__cols {
	margin: 0;
	min-height: inherit;
	align-items: stretch !important;
}
.thm-hero.thm-hero {
	min-height: clamp(560px, 82vh, 860px);
}
.thm-hero.thm-page-hero {
	min-height: clamp(460px, 64vh, 640px);
}
.thm-hero .thm-hero__copycol {
	display: flex;
	align-items: center;
	padding: var(--wp--preset--spacing--xxxxl) var(--wp--preset--spacing--xxxl) var(--wp--preset--spacing--xxxxl) var(--thm-edge);
}
.thm-hero .thm-hero__copy {
	width: 100%;
}
.thm-hero .thm-hero__photocol {
	display: flex;
	padding: 0;
}
.thm-heroimg.wp-block-group {
	flex: 1;
	min-height: 320px;
	background-color: var(--thm-stone);
	background-repeat: no-repeat;
}
.thm-hero h1 {
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.015em;
}
.thm-hero h1 em {
	display: block;
}
.thm-hero .is-style-lead {
	max-width: 34rem;
}
.thm-hero__copy > p:not(.is-style-eyebrow):not(.is-style-lead):not(.thm-hero__kicker) {
	max-width: 34rem;
	color: var(--thm-muted);
}
.thm-hero.is-dark .thm-hero__copy > p:not(.is-style-eyebrow):not(.is-style-lead):not(.thm-hero__kicker) {
	color: var(--thm-muted-on-dark);
}
.thm-hero__kicker {
	font: var(--thm-label);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--thm-muted);
}
.is-dark .thm-hero__kicker {
	color: var(--thm-stone);
}
.thm-hero .thm-hero__actions {
	gap: 1.75rem 2.25rem;
	padding-top: 0.5rem;
}
/* Brass hairline down the seam between copy and photo on the home hero. */
.thm-hero.is-dark .thm-hero__photocol {
	box-shadow: inset 1px 0 0 var(--thm-brass);
}

/* 5. Principles & capabilities -------------------------------------------------------------- */

.thm-principles {
	counter-reset: thm-principle;
}
.thm-principle {
	counter-increment: thm-principle;
	padding-top: 1.75rem;
	border-top: 1px solid var(--thm-hair-dark);
}
.thm-principle::before {
	content: counter(thm-principle, decimal-leading-zero);
	display: block;
	margin-bottom: 1.25rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.75rem;
	font-style: italic;
	font-weight: 500;
	line-height: 1;
	color: var(--thm-brass);
}
.thm-site h3.thm-principle__title,
.editor-styles-wrapper h3.thm-principle__title {
	margin: 0 0 0.75rem;
	font: var(--thm-label);
	font-size: 0.875rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--thm-ivory);
}
.thm-principle p {
	margin: 0;
	font-size: var(--wp--preset--font-size--base);
	line-height: 1.65;
}
.thm-band:not(.is-dark) .thm-principle {
	border-top-color: var(--thm-hair);
}
.thm-band:not(.is-dark) .thm-principle::before {
	color: var(--thm-cognac);
}
.thm-band:not(.is-dark) h3.thm-principle__title {
	color: var(--thm-ink);
}

.thm-caps {
	counter-reset: thm-cap;
	row-gap: var(--wp--preset--spacing--xxl) !important;
}
.thm-cap {
	counter-increment: thm-cap;
	display: grid;
	grid-template-columns: 3.25rem 1fr;
	column-gap: 0.75rem;
	align-content: start;
	padding-top: 1.75rem;
	border-top: 1px solid var(--thm-hair);
}
.thm-cap::before {
	content: counter(thm-cap, decimal-leading-zero);
	grid-row: span 2;
	padding-top: 0.2rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	font-style: italic;
	font-weight: 500;
	line-height: 1;
	color: var(--thm-cognac);
}
.thm-site h3.thm-cap__title,
.editor-styles-wrapper h3.thm-cap__title {
	margin: 0 0 0.65rem;
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 600;
}
.thm-cap p {
	margin: 0;
	color: var(--thm-muted);
}
.is-dark .thm-cap {
	border-top-color: var(--thm-hair-dark);
}
.is-dark .thm-cap::before {
	color: var(--thm-brass);
}
.is-dark .thm-cap p {
	color: var(--thm-on-dark);
}

/* 6. Splits, statements, steps --------------------------------------------------------------- */

.thm-split .wp-block-image,
.thm-bio .wp-block-image {
	margin: 0;
}
/* Photo with an offset brass frame behind it. */
figure.thm-photo {
	position: relative;
	isolation: isolate;
}
figure.thm-photo::before {
	content: "";
	position: absolute;
	inset: 1.25rem -1.25rem -1.25rem 1.25rem;
	z-index: -1;
	border: 1px solid var(--thm-camel);
	pointer-events: none;
}
.is-flipped figure.thm-photo::before {
	inset: 1.25rem 1.25rem -1.25rem -1.25rem;
}
.is-dark figure.thm-photo::before {
	border-color: var(--thm-brass);
}
figure.thm-photo img {
	display: block;
	width: 100%;
	height: auto;
}
.thm-split .thm-intro > h2 {
	max-width: 18ch;
}

.thm-statement-band .is-style-statement {
	max-width: 30ch;
}
.thm-said {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 2rem;
}
.thm-said li {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xl);
	font-style: italic;
	font-weight: 500;
	line-height: 1.3;
	color: var(--thm-cognac);
}
.is-dark .thm-said li {
	color: var(--thm-brass);
}

ol.thm-steps {
	counter-reset: thm-step;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--thm-hair);
}
ol.thm-steps li {
	counter-increment: thm-step;
	position: relative;
	padding: 1.75rem 1.5rem 0 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 500;
	line-height: 1.2;
}
ol.thm-steps li::before {
	content: counter(thm-step, decimal-leading-zero);
	display: block;
	margin-bottom: 0.9rem;
	font: var(--thm-label);
	letter-spacing: 0.22em;
	color: var(--thm-cognac);
}
ol.thm-steps li::after {
	content: "";
	position: absolute;
	top: -4px;
	left: 0;
	width: 7px;
	height: 7px;
	background: var(--thm-camel);
	transform: rotate(45deg);
}
.is-dark ol.thm-steps {
	border-top-color: var(--thm-hair-dark);
}
.is-dark ol.thm-steps li {
	color: var(--thm-ivory);
}
.is-dark ol.thm-steps li::before {
	color: var(--thm-brass);
}
.is-dark ol.thm-steps li::after {
	background: var(--thm-brass);
}

/* 7. Call to action -------------------------------------------------------------------------- */

.thm-cta.wp-block-group {
	background-color: var(--thm-ink);
	background-repeat: no-repeat;
}
.thm-cta .thm-cta__scrim {
	min-height: clamp(420px, 56vh, 600px);
	display: flex;
	align-items: center;
}
.thm-cta .thm-cta__frame {
	width: 100%;
}
.thm-cta h2 {
	max-width: 18ch;
}
.thm-site .thm-cta .thm-cta__sub {
	color: var(--thm-on-dark);
	font-size: var(--wp--preset--font-size--xl);
}
.thm-cta .thm-cta__actions {
	padding-top: 0.75rem;
}

/* 8. Bios ------------------------------------------------------------------------------------ */

.thm-bio-wrap + .thm-bio-wrap {
	margin-top: var(--wp--preset--spacing--xxxxxl) !important;
}
.thm-bio .thm-bio__photo {
	position: sticky;
	top: calc(var(--thm-sticky) + 2rem);
}
.thm-site h2.thm-bio__name {
	margin: 0;
	line-height: 1;
}
.thm-bio__cred {
	font-size: 0.55em;
	font-style: italic;
	letter-spacing: 0;
	color: var(--thm-muted);
}
.thm-site p.thm-bio__role {
	margin: 0;
	font: var(--thm-label);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--thm-cognac);
}
.thm-site .is-style-statement.thm-bio__tagline {
	margin-top: 0.4rem;
	font-size: var(--wp--preset--font-size--xl);
	color: var(--thm-ink);
}
.thm-bio__head {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--thm-hair);
}
details.thm-bio__more {
	border-top: 1px solid var(--thm-hair);
	border-bottom: 1px solid var(--thm-hair);
}
details.thm-bio__more > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 0;
	cursor: pointer;
	list-style: none;
	font: var(--thm-label);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--thm-cognac);
}
details.thm-bio__more > summary::-webkit-details-marker {
	display: none;
}
details.thm-bio__more > summary::after {
	content: "";
	flex: none;
	width: 0.85rem;
	height: 0.85rem;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
		linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
	transition: transform 0.3s var(--thm-ease);
}
details.thm-bio__more[open] > summary::after {
	transform: rotate(45deg);
}
details.thm-bio__more > summary:hover {
	color: var(--thm-ink);
}
details.thm-bio__more[open] {
	padding-bottom: 1.75rem;
}
details.thm-bio__more > :not(summary) {
	margin-top: 0;
}
details.thm-bio__more > p + p {
	margin-top: 1em;
}
.thm-site h3.thm-bio__known-label {
	margin: 1.75rem 0 0.75rem;
	font: var(--thm-label);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--thm-muted);
}
ul.thm-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.thm-tags li {
	padding: 0.45rem 0.8rem;
	border: 1px solid var(--thm-hair);
	background: var(--thm-ivory);
	font-size: var(--wp--preset--font-size--sm);
	line-height: 1.2;
}
a.thm-linkedin {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font: var(--thm-label);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--thm-ink);
	text-decoration: none;
}
a.thm-linkedin .thm-ico {
	width: 1.05rem;
	height: 1.05rem;
	color: var(--thm-cognac);
}
a.thm-linkedin:hover {
	color: var(--thm-cognac);
}

/* 9. Contact & forms ------------------------------------------------------------------------- */

.thm-contact.is-direct {
	display: grid;
	gap: 1.75rem;
}
.thm-contact__person {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--thm-hair);
}
.thm-contact p {
	margin: 0;
}
.thm-site .thm-contact__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 600;
	line-height: 1.2;
}
.thm-contact__email {
	margin-top: 0.35rem !important;
}
.thm-contact__email a {
	color: var(--thm-cognac);
	text-decoration: none;
	border-bottom: 1px solid var(--thm-camel);
}
.thm-contact__email a:hover {
	color: var(--thm-ink);
	border-bottom-color: var(--thm-ink);
}
.thm-contact__social {
	margin-top: 0.75rem !important;
}
.thm-contact__place {
	display: flex;
	gap: 0.85rem;
	line-height: 1.5;
	color: var(--thm-muted);
}
.thm-contact__place .thm-ico {
	margin-top: 0.3em;
	color: var(--thm-camel);
}
.thm-contact__place strong {
	color: var(--thm-ink);
	font-weight: 500;
}
.thm-contact.is-footer {
	display: grid;
	gap: 1.1rem;
}
.thm-contact.is-footer .thm-contact__person {
	padding: 0;
	border: 0;
}
.thm-site .thm-contact.is-footer .thm-contact__name {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 500;
	color: var(--thm-ivory);
}
.thm-contact.is-footer .thm-contact__email {
	margin-top: 0.15rem !important;
}
.thm-contact.is-footer .thm-contact__email a {
	color: var(--thm-on-dark);
	border-bottom-color: var(--thm-hair-dark);
	font-size: var(--wp--preset--font-size--sm);
}
.thm-contact.is-footer .thm-contact__email a:hover {
	color: var(--thm-brass);
	border-bottom-color: var(--thm-brass);
}
.thm-contact.is-footer .thm-contact__place,
.thm-contact.is-footer .thm-contact__place strong {
	color: var(--thm-muted-on-dark);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 400;
}
.thm-contact.is-footer .thm-contact__place .thm-ico {
	color: var(--thm-brass);
}

.wp-block-group.thm-form-card {
	padding: clamp(1.75rem, 4vw, 3.25rem);
	background: var(--thm-ivory);
	border-top: 2px solid var(--thm-camel);
	box-shadow: 0 30px 60px -40px rgba(37, 37, 37, 0.35);
}
.wp-block-group.thm-form-card > p {
	color: var(--thm-muted);
}
.thm-site .gform_wrapper.gform-theme,
.editor-styles-wrapper .gform_wrapper.gform-theme {
	--gf-color-primary: #252525;
	--gf-color-primary-rgb: 37, 37, 37;
	--gf-color-primary-darker: #000;
	--gf-color-primary-lighter: #444;
	--gf-ctrl-btn-bg-color-primary: #252525;
	--gf-ctrl-btn-border-color-primary: #252525;
	--gf-ctrl-btn-color-primary: #fbf9f4;
	--gf-ctrl-btn-radius: 0;
	--gf-ctrl-btn-font-family: var(--wp--preset--font-family--body);
	--gf-ctrl-btn-font-weight: 500;
	--gf-ctrl-btn-font-size-md: 0.8125rem;
	--gf-ctrl-btn-padding-x-md: 2rem;
	--gf-ctrl-radius: 0;
	--gf-ctrl-bg-color: #fff;
	--gf-ctrl-border-color: #cfc6b8;
	--gf-ctrl-border-color-hover: #7a5434;
	--gf-ctrl-border-color-focus: #252525;
	--gf-ctrl-outline-color-focus: rgba(169, 120, 80, 0.3);
	--gf-ctrl-font-family: var(--wp--preset--font-family--body);
	--gf-ctrl-font-size: 1rem;
	--gf-ctrl-label-color-primary: #252525;
	--gf-ctrl-label-font-family-primary: var(--wp--preset--font-family--body);
	--gf-ctrl-label-font-size-primary: 0.75rem;
	--gf-ctrl-label-font-weight-primary: 500;
	--gf-ctrl-desc-color: #625b52;
	--gf-ctrl-desc-font-family: var(--wp--preset--font-family--body);
	--gf-ctrl-label-color-req: #7a5434;
	--gf-ctrl-size-md: 3.1rem;
}
.thm-site .gform_wrapper .gfield_label {
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.thm-site .gform_wrapper .gform_footer .gform_button,
.thm-site .gform_wrapper .gform_footer input[type="submit"] {
	min-height: 3.4rem;
	min-width: 13rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	transition: background-color 0.25s ease;
}
.thm-site .gform_wrapper .gform_footer .gform_button:hover,
.thm-site .gform_wrapper .gform_footer input[type="submit"]:hover {
	background-color: var(--thm-cognac);
	border-color: var(--thm-cognac);
}
.thm-site .gform_confirmation_message {
	padding: 1.5rem 1.75rem;
	background: var(--thm-bone);
	border-left: 2px solid var(--thm-camel);
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xl);
	line-height: 1.35;
	color: var(--thm-ink);
}

/* 10. Header --------------------------------------------------------------------------------- */

/* Sticky header without Blocksy Pro. */
#header.ct-header {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar #header.ct-header {
	top: 32px;
}
#header [data-row*="middle"] {
	box-shadow: 0 1px 0 var(--thm-hair);
}
#header .site-logo-container img {
	width: auto;
}
#header [data-row*="middle"] .menu > li > a {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
#header [data-row*="middle"] .menu > li > a:hover,
#header [data-row*="middle"] .menu > li.current-menu-item > a {
	color: var(--thm-cognac);
}
#header .ct-header-cta .ct-button {
	min-height: 2.9rem;
	padding-inline: 1.6rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border-radius: 0;
	white-space: nowrap;
}
#offcanvas .mobile-menu .menu > li > a,
#offcanvas .mobile-menu a {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.85rem;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}
#offcanvas .ct-header-cta .ct-button {
	border-radius: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

/* 11. Footer --------------------------------------------------------------------------------- */

.thm-site-footer {
	border-top: 1px solid var(--thm-brass);
}
.thm-footer-logo img {
	display: block;
	width: 210px;
	height: auto;
}
.thm-site .thm-footer p.thm-footer-tagline {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--lg);
	font-style: italic;
	color: var(--thm-brass);
}
.thm-site h2.thm-footer-heading {
	margin: 0;
	font: var(--thm-label);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--thm-stone);
}
.thm-footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}
.thm-footer-links li + li {
	margin-top: 0.55rem;
}
.thm-site .thm-footer-links a {
	color: var(--thm-on-dark);
	font-size: var(--wp--preset--font-size--sm);
	text-decoration: none;
}
.thm-site .thm-footer-links a:hover {
	color: var(--thm-brass);
}
.wp-block-group.thm-footer-bottom {
	gap: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--thm-hair-dark);
}
.thm-site .thm-footer p.thm-footer-copy {
	margin: 0;
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
	color: var(--thm-muted-on-dark);
}
/* Blocksy's own footer rows are unused (the Site Footer page replaces them). */
.thm-site #footer.ct-footer:not(:has(.ct-container *)) {
	display: none;
}

/* 12. Responsive, motion & print ----------------------------------------------------------- */

@media (min-width: 1000px) and (max-width: 1180px) {
	#header [data-row*="middle"] .menu > li > a {
		letter-spacing: 0.14em;
	}
}
@media (max-width: 999.98px) {
	.admin-bar #header.ct-header {
		top: 46px;
	}
}
@media (max-width: 781px) {
	.thm-hero.thm-hero,
	.thm-hero.thm-page-hero {
		min-height: 0;
	}
	.thm-hero .thm-hero__photocol {
		order: -1;
	}
	.thm-heroimg.wp-block-group {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}
	.thm-hero .thm-hero__copycol {
		padding: var(--wp--preset--spacing--xxl) var(--thm-gutter) var(--wp--preset--spacing--xxxl);
	}
	.thm-hero.is-dark .thm-hero__photocol {
		box-shadow: inset 0 -1px 0 var(--thm-brass);
	}
	.thm-caps.is-layout-grid {
		grid-template-columns: 1fr !important;
	}
	ol.thm-steps {
		grid-template-columns: 1fr 1fr;
		row-gap: 1.5rem;
	}
	.thm-bio .thm-bio__photo {
		position: static;
	}
	figure.thm-photo::before {
		inset: 0.85rem -0.85rem -0.85rem 0.85rem;
	}
	.is-flipped figure.thm-photo::before {
		inset: 0.85rem 0.85rem -0.85rem -0.85rem;
	}
	.thm-split.is-flipped > .wp-block-column:last-child,
	.thm-bio.is-flipped > .wp-block-column:last-child {
		order: -1;
	}
	.thm-cta .thm-cta__scrim {
		min-height: 0;
		background: linear-gradient(180deg, rgba(28, 28, 28, 0.7) 0%, rgba(28, 28, 28, 0.88) 100%) !important;
	}
}
@media (max-width: 600px) {
	.thm-heroimg[style*="--thm-hero-sm"] {
		background-image: var(--thm-hero-sm) !important;
	}
}
@media (max-width: 480px) {
	ol.thm-steps {
		grid-template-columns: 1fr;
	}
	.thm-site .gform_wrapper .gform_footer .gform_button {
		width: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.thm-site *,
	.thm-site *::before,
	.thm-site *::after {
		transition: none !important;
		animation: none !important;
	}
}
@media print {
	.thm-form-card,
	.wp-block-buttons,
	.thm-heroimg {
		display: none !important;
	}
}

/* 13. Refinements (pass 2) --------------------------------------------------------------------- */

/* Blocksy's button styles win over theme.json's; restate the tracked-caps button type. */
.thm-site .wp-block-button__link,
.editor-styles-wrapper .wp-block-button__link {
	padding: 1.05rem 1.9rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border-radius: 0;
}
.thm-site .wp-block-button.is-style-arrow .wp-block-button__link,
.editor-styles-wrapper .wp-block-button.is-style-arrow .wp-block-button__link {
	padding: 0 0 0.6rem;
}
.thm-hero__kicker {
	letter-spacing: 0.18em;
	line-height: 1.8;
}
/* A call to action without a photo carries the brass monogram, large and quiet, on the right. */
.thm-cta:not([style*="background-image"]) .thm-cta__scrim {
	position: relative;
	overflow: hidden;
	background: none !important;
}
.thm-cta:not([style*="background-image"]) .thm-cta__scrim::after {
	content: "";
	position: absolute;
	top: 50%;
	right: max(var(--thm-gutter), calc((100vw - 1240px) / 2));
	width: clamp(180px, 26vw, 380px);
	aspect-ratio: 230 / 225;
	background: url("../images/thomm-monogram.png") center / contain no-repeat;
	opacity: 0.16;
	transform: translateY(-50%);
	pointer-events: none;
}
.thm-cta:not([style*="background-image"]) .thm-cta__frame {
	position: relative;
	z-index: 1;
}
.thm-cta .thm-cta__scrim {
	min-height: clamp(380px, 48vh, 540px);
}
.thm-cta:not([style*="background-image"]) .thm-cta__scrim {
	min-height: 0;
}
.thm-sign .wp-block-image.thm-sign-mark {
	margin-inline: auto;
}
.thm-sign .wp-block-image.thm-sign-mark img {
	width: 88px;
	height: auto;
	margin-inline: auto;
}
.thm-impact {
	padding-top: 1.5rem;
	border-top: 1px solid var(--thm-hair);
}
p.thm-caps-lead {
	font: var(--thm-label);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--thm-stone) !important;
}
.thm-site .thm-bio__head > p.thm-bio__role {
	margin-top: 1.1rem;
	line-height: 1.6;
}
.thm-site .thm-bio__head > .is-style-statement.thm-bio__tagline {
	margin-top: 0.85rem;
}
.thm-cta:not([style*="background-image"]) .thm-cta__scrim::after {
	opacity: 0.1;
}
.thm-site .gform_wrapper.gform-theme .gform_footer .gform_button {
	font-size: 0.75rem !important;
	letter-spacing: 0.22em !important;
	text-transform: uppercase !important;
	font-weight: 500 !important;
	padding-inline: 2.25rem !important;
}
.thm-sign .thm-sign-mark img {
	display: block;
}
