/*
Theme Name: Toby Martini Next
Theme URI: https://next.tobymartini.com/
Author: Digital Martini Creative LLC
Description: A purpose-built standalone block theme for the Toby Martini Phase 1 website.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
Version: 0.3.46
Text Domain: tobymartini-next
*/

:root {
	/* Approved palette: navy #17263b; cream #fffaf1; warm white #ffffff;
	 * pale blue #dceef8; mint #dff3e8; coral primary #e8523f;
	 * teal secondary #0b7c78; dark teal #075b5c; teal mid #249a88;
	 * light teal #7ad4ce; teal support #e7f2f1; line #c8dcda. */
	--tm-ink: #17263b;
	--tm-ink-soft: #3e4b5d;
	--tm-cream: #fffaf1;
	--tm-paper: #ffffff;
	--tm-coral: #e8523f;
	--tm-coral-dark: #b93225;
	--tm-gold: #f4b942;
	--tm-mint: #dff3e8;
	--tm-sky: #dceef8;
	--tm-lilac: #e7f2f1;
	--tm-line: #c8dcda;
	--tm-teal: #0b7c78;
	--tm-teal-dark: #075b5c;
	--tm-teal-mid: #249a88;
	--tm-teal-light: #7ad4ce;
	--tm-shadow: 0 18px 55px rgba(23, 38, 59, 0.12);
	--tm-radius: 1.35rem;
	--tm-content: 74rem;
	--tm-reading: 54rem;
	--tm-space-xs: 0.5rem;
	--tm-space-sm: 0.75rem;
	--tm-space-md: 1rem;
	--tm-space-lg: 1.5rem;
	--tm-space-xl: 2rem;
	--tm-space-2xl: clamp(2rem, 3vw, 2.75rem);
	--tm-section-space: clamp(1.5rem, 2.15vw, 2rem);
	--tm-hero-space: clamp(2.5rem, 4.5vw, 4.25rem);
	--tm-card-space: clamp(0.85rem, 1.4vw, 1.1rem);
	--tm-card-space-roomy: clamp(1rem, 1.6vw, 1.25rem);
	--tm-grid-start: clamp(1.2rem, 2vw, 1.5rem);
}

/* Patrick Hand is self-hosted under the SIL Open Font License 1.1.
 * See assets/fonts/OFL.txt and assets/fonts/README.md. Segoe Print is never packaged. */
@font-face {
	font-display: swap;
	font-family: "Patrick Hand";
	font-style: normal;
	font-weight: 400;
	src: url("assets/fonts/patrick-hand-regular.woff2") format("woff2");
}

* {
	box-sizing: border-box;
}

[hidden] {
	display: none !important;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--tm-cream);
	color: var(--tm-ink);
	font-family: "Segoe UI Variable", "Aptos", "Segoe UI", sans-serif;
	font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	line-height: 1.62;
	margin: 0;
}

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

a {
	color: var(--tm-teal-dark);
	text-decoration-thickness: 0.1em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--tm-teal);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
	outline: 0.22rem solid var(--tm-gold);
	outline-offset: 0.2rem;
}

img {
	height: auto;
	max-width: 100%;
}

h1,
h2,
h3 {
	font-family: "Trebuchet MS", "Segoe UI Variable", sans-serif;
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.02;
	margin: 0 0 0.42em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.85rem, 7vw, 6.25rem);
}

h2 {
	font-size: calc(clamp(2rem, 4.4vw, 3.85rem) - 0.125rem);
}

h3 {
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

p {
	margin: 0 0 0.82em;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.skip-link:focus {
	background: var(--tm-paper);
	clip: auto;
	clip-path: none;
	color: var(--tm-ink);
	height: auto;
	left: 1rem;
	padding: 0.75rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 1000;
}

.site-shell,
.section-inner {
	margin-inline: auto;
	max-width: var(--tm-content);
	width: min(calc(100% - 2rem), var(--tm-content));
}

.site-header {
	backdrop-filter: blur(16px);
	background: rgba(255, 250, 241, 0.94);
	border-bottom: 1px solid rgba(23, 38, 59, 0.09);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-inner {
	align-items: center;
	display: grid;
	gap: 1rem;
	grid-template-columns: auto 1fr auto;
	min-height: 5.25rem;
}

.brand {
	color: var(--tm-ink);
	font-family: "Trebuchet MS", sans-serif;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-decoration: none;
}

.brand-mark {
	background: var(--tm-coral);
	border-radius: 50%;
	display: inline-block;
	height: 0.72rem;
	margin-right: 0.45rem;
	transform: rotate(-8deg);
	width: 0.72rem;
}

.site-nav {
	justify-self: end;
}

.site-nav ul {
	align-items: center;
	display: flex;
	gap: clamp(0.8rem, 1.7vw, 1.6rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav a {
	color: var(--tm-ink);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
}

.site-nav a:hover {
	color: var(--tm-teal);
}

.nav-toggle {
	background: transparent;
	border: 2px solid var(--tm-ink);
	border-radius: 999px;
	color: var(--tm-ink);
	display: none;
	font: inherit;
	font-weight: 800;
	padding: 0.55rem 0.9rem;
}

.button,
.wp-element-button {
	align-items: center;
	background: var(--tm-coral);
	border: 2px solid var(--tm-coral);
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-weight: 800;
	gap: 0.5rem;
	justify-content: center;
	line-height: 1.2;
	padding: 0.88rem 1.35rem;
	text-decoration: none;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.wp-element-button:hover {
	background: var(--tm-coral-dark);
	border-color: var(--tm-coral-dark);
	color: #fff;
	transform: translateY(-2px);
}

.button-secondary {
	background: transparent;
	border-color: var(--tm-teal);
	color: var(--tm-teal-dark);
}

.button-secondary:hover {
	background: var(--tm-teal);
	border-color: var(--tm-teal);
	color: #fff;
}

.button-small {
	font-size: 0.9rem;
	padding: 0.65rem 1rem;
}

.button.is-disabled,
.button[aria-disabled="true"] {
	background: #687385;
	border-color: #687385;
	cursor: not-allowed;
	transform: none;
}

.text-link {
	font-weight: 800;
}

.section {
	padding-block: var(--tm-section-space);
	position: relative;
}

.section-compact {
	margin-top: var(--tm-space-2xl);
	padding-block: 0;
}

.section-paper {
	background: var(--tm-paper);
}

.section-ink {
	background: var(--tm-ink);
	color: #fff;
}

.section-mint {
	background: var(--tm-mint);
}

.section-sky {
	background: var(--tm-sky);
}

.section-lilac {
	background: var(--tm-lilac);
}

.eyebrow {
	color: var(--tm-coral-dark);
	font-family: "Segoe Print", "Patrick Hand", cursive;
	font-size: 0.82rem;
	font-weight: 900;
	letter-spacing: 0.13em;
	margin-bottom: var(--tm-space-xs);
	text-transform: uppercase;
}

/* Segoe Print stays device-local only; Patrick Hand is the self-hosted OFL fallback. */
.accent-print {
	font-family: "Segoe Print", "Patrick Hand", cursive;
	font-size: clamp(0.86rem, 0.76rem + 0.3vw, 1.02rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: none;
}

.section-ink .eyebrow {
	color: #ffd180;
}

.lead {
	color: var(--tm-ink-soft);
	font-size: clamp(1.2rem, 1rem + 0.8vw, 1.65rem);
	line-height: 1.42;
	margin-bottom: 0.68em;
}

.section-ink .lead {
	color: #dfe6ef;
}

.workshop-problem-content {
	margin-inline: auto;
	max-width: 62.5rem;
	width: min(calc(100% - 3rem), 62.5rem);
}

.workshop-problem-content > p:not(.eyebrow) {
	max-width: var(--tm-reading);
}

.workshop-problem-content > p.lead {
	max-width: 62.5rem;
}

.workshop-problem-section h2 {
	font-size: clamp(2rem, 3.65vw, 3.25rem);
	max-width: none;
}

.section-ink a:not(.button) {
	color: var(--tm-teal-light);
}

.section-ink a:not(.button):hover {
	color: #a9e8e3;
}

.section-detail-link {
	margin: var(--tm-grid-start) 0 0;
}

.section-detail-link a {
	font-family: "Trebuchet MS", "Segoe UI Variable", sans-serif;
	font-weight: 800;
}

.measure {
	max-width: var(--tm-reading);
}

.hero {
	overflow: hidden;
	padding-block: var(--tm-hero-space);
}

.hero::before {
	background: var(--tm-gold);
	border-radius: 45% 55% 55% 45%;
	content: "";
	height: 17rem;
	opacity: 0.22;
	position: absolute;
	right: -5rem;
	top: -4rem;
	transform: rotate(22deg);
	width: 17rem;
}

.hero-grid,
.split {
	align-items: center;
	display: grid;
	gap: clamp(1.75rem, 3.5vw, 3.5rem);
	grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
}

.hero h1 {
	color: var(--tm-ink);
	margin-bottom: 0.14em;
}

.hero .lead {
	margin-bottom: 0.62em;
	max-width: 52rem;
}

.home-hero {
	padding-block: clamp(2.25rem, 3.6vw, 3.5rem);
}

.home-hero .hero-grid {
	gap: clamp(1.5rem, 3vw, 3rem);
	grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
}

.home-hero .hero-visual {
	justify-self: end;
	width: min(100%, 38rem);
}

.home-hero .hero-visual img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 0.85rem;
	margin-top: 0.9rem;
}

.image-frame {
	background: var(--tm-paper);
	border: 0.65rem solid var(--tm-paper);
	border-radius: var(--tm-radius);
	box-shadow: var(--tm-shadow);
	overflow: hidden;
	outline: 2px solid rgba(11, 124, 120, 0.18);
	outline-offset: 0;
	transform: rotate(1.5deg);
}

.image-frame img {
	display: block;
	width: 100%;
}

.image-frame-alt {
	transform: rotate(-1deg);
}

.horizontal-band {
	border-radius: var(--tm-radius);
	box-shadow: var(--tm-shadow);
	display: block;
	margin-top: var(--tm-grid-start);
	overflow: hidden;
	width: 100%;
}

.horizontal-band img {
	display: block;
	width: 100%;
}

.card-grid {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: var(--tm-grid-start);
}

.card {
	background: var(--tm-paper);
	border: 1px solid var(--tm-line);
	border-radius: var(--tm-radius);
	padding: var(--tm-card-space);
}

.section-ink .card {
	color: var(--tm-ink);
}

.outcome-card {
	border-top: 0.45rem solid var(--accent, var(--tm-coral));
	padding: var(--tm-card-space-roomy);
}

.outcome-card:nth-child(2) {
	--accent: var(--tm-teal-mid);
}

.outcome-card:nth-child(3) {
	--accent: #f28c28;
}

.outcome-card:nth-child(4) {
	--accent: #287da8;
}

.card-number {
	color: var(--accent, var(--tm-coral));
	font-family: "Trebuchet MS", sans-serif;
	font-size: 0.9rem;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.compact-grid,
.comparison-grid,
.contact-grid,
.pathway-grid {
	display: grid;
	gap: 1.1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: var(--tm-grid-start);
}

.pull-quote {
	border-left: 0.45rem solid var(--tm-coral);
	font-family: "Trebuchet MS", sans-serif;
	font-size: calc(clamp(1.6rem, 3vw, 2.5rem) - 0.125rem);
	font-weight: 800;
	line-height: 1.22;
	margin: 1rem 0 0;
	padding-left: 1.25rem;
}

.dials {
	margin-top: var(--tm-grid-start);
	margin-inline: auto;
	max-width: 62rem;
	text-align: center;
}

.dials img {
	display: block;
	margin-inline: auto;
	width: 100%;
}

.dials figcaption {
	font-size: 1rem;
	font-weight: 700;
	margin-top: 1rem;
}

.home-customization-section .dials {
	margin-bottom: 0;
	max-width: 37.2rem;
}

.customization-section:not(.home-customization-section) .dials {
	max-width: 52.7rem;
}

.customization-section,
.testimonials-section {
	border-top: 0.75rem solid var(--tm-paper);
}

.home-customization-link {
	margin: 0.45rem 0 0;
	text-align: center;
}

.home-customization-link a {
	font-family: "Trebuchet MS", "Segoe UI Variable", sans-serif;
	font-weight: 800;
}

.testimonial-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: var(--tm-grid-start);
}

.testimonial {
	background: var(--tm-paper);
	border-radius: var(--tm-radius);
	box-shadow: 0 10px 35px rgba(23, 38, 59, 0.08);
	display: flex;
	flex-direction: column;
	padding: var(--tm-card-space-roomy);
}

.testimonial blockquote {
	font-size: calc(clamp(1.08rem, 1rem + 0.2vw, 1.18rem) - 0.125rem);
	line-height: 1.62;
	margin: 0 0 1rem;
}

.testimonial cite {
	line-height: 1.5;
	font-style: normal;
	margin-top: auto;
}

.testimonial strong {
	display: block;
}

.placeholder {
	background: #fff3c4;
	border: 2px dashed #8c6812;
	border-radius: 0.75rem;
	color: #4a380c;
	font-weight: 700;
	margin-top: 1.5rem;
	padding: 1rem 1.2rem;
}

.pathway-card {
	background: var(--tm-paper);
	border-radius: var(--tm-radius);
	box-shadow: var(--tm-shadow);
	overflow: hidden;
}

.pathway-card img {
	aspect-ratio: 16 / 10;
	display: block;
	object-fit: cover;
	width: 100%;
}

.pathway-card-portrait img {
	aspect-ratio: 16 / 10;
	object-position: center top;
}

.pathway-card .home-action-laughter {
	object-position: center 35%;
}

.pathway-copy {
	padding: var(--tm-card-space);
}

.check-list,
.detail-list {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.check-list li,
.detail-list li {
	padding: 0.45rem 0 0.45rem 1.65rem;
	position: relative;
}

.check-list li::before,
.detail-list li::before {
	color: var(--tm-coral-dark);
	content: "✓";
	font-weight: 900;
	left: 0;
	position: absolute;
}

.advocate-box {
	background: var(--tm-paper);
	border: 3px solid var(--tm-ink);
	border-radius: var(--tm-radius);
	box-shadow: 0.65rem 0.65rem 0 var(--tm-gold);
	padding: var(--tm-card-space-roomy);
}

.workshops-advocate-box {
	margin-inline: auto;
	padding-block: 0.55rem;
	width: 85%;
}

.workshops-advocate-box .eyebrow {
	margin-bottom: 0.25rem;
}

.workshops-advocate-box h2 {
	margin-bottom: 0.1em;
}

.workshops-advocate-box p {
	margin-bottom: 0.2em;
}

.workshops-advocate-box .actions {
	margin-top: 0.2rem;
}

.faq-list {
	display: grid;
	gap: 0.75rem;
	margin-top: var(--tm-grid-start);
}

.faq-item {
	background: var(--tm-paper);
	border: 1px solid var(--tm-line);
	border-radius: 1rem;
	padding: 0.9rem 1.1rem;
}

.faq-item h3 {
	font-size: 1.2rem;
	margin-bottom: 0.4rem;
}

.faq-item p:last-child {
	margin-bottom: 0;
}

.contact-grid {
	align-items: stretch;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.contact-card .actions {
	margin-top: auto;
	padding-top: 0;
}

.contact-card-primary-action {
	margin-top: auto;
}

.contact-card-primary-action p {
	margin-bottom: 0.5rem;
}

.card > :last-child,
.measure > :last-child,
.pathway-copy > :last-child,
.faq-item > :last-child {
	margin-bottom: 0;
}

.config-note {
	background: #fff3c4;
	border-radius: 0.5rem;
	color: #4a380c;
	display: inline-block;
	font-size: 0.86rem;
	font-weight: 800;
	margin-top: 0.75rem;
	padding: 0.4rem 0.6rem;
}

.phone-reveal {
	background: var(--tm-sky);
	border-radius: 0.8rem;
	margin-top: 1rem;
	padding: 1rem;
}

.phone-reveal[hidden] {
	display: none;
}

.turnstile-container {
	margin-top: 0.75rem;
	min-height: 0;
}

.phone-status {
	font-size: 0.9rem;
	margin: 0.75rem 0 0;
}

.phone-status:empty {
	display: none;
}

.site-footer {
	background: #0e1929;
	color: #dfe6ef;
	padding-block: 3.5rem 2rem;
}

.footer-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1.2fr 2fr;
}

.site-footer .brand,
.site-footer a {
	color: #fff;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 1.3rem;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-meta {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.88rem;
	margin-top: 2.5rem;
	padding-top: 1.5rem;
}

.interim-hero h1 {
	font-size: clamp(2.5rem, 5.25vw, 4.75rem);
}

.fun-useful .compact-grid {
	gap: 1rem;
}

.fun-useful-collage img {
	aspect-ratio: 32 / 15;
	object-fit: cover;
	object-position: center;
}

.fun-useful-collage {
	margin-inline: auto;
	width: 85%;
}

.outcomes-section .card-grid {
	margin-top: clamp(1rem, 1.5vw, 1.25rem);
}

/* Narrow the workshop outcome row while keeping the two-column structure. */
.outcomes-section:not(.home-outcomes-section) .card-grid {
	margin-inline: auto;
	width: 85%;
}

.outcomes-section:not(.home-outcomes-section) {
	padding-bottom: clamp(1.4rem, 2.5vw, 2rem);
}

.outcomes-section:not(.home-outcomes-section) .outcome-card {
	padding-block: 0.4rem;
}

.outcomes-section:not(.home-outcomes-section) .outcome-card .card-number {
	margin-bottom: 0.15rem;
}

.outcomes-section:not(.home-outcomes-section) .outcome-card h3 {
	margin-bottom: 0.2em;
}

.outcomes-section:not(.home-outcomes-section) .outcome-card > p:not(.card-number) {
	line-height: 1.48;
}

.outcome-card .card-number {
	margin-bottom: 0.35rem;
}

.outcome-card h3 {
	margin-bottom: 0.38em;
}

.home-outcomes-section .card-grid {
	gap: 0.8rem;
	margin-inline: auto;
	width: 85%;
}

.home-outcomes-section .outcome-card {
	min-height: 0;
	padding: 0;
}

/* Keep the compact Home index grouped at the top of each card. */
.home-outcomes-section .outcome-index-link {
	justify-content: flex-start;
}

.workshops-audience-grid {
	margin-inline: auto;
	width: 90%;
}

.workshops-audience-grid .card,
.workshop-details-box {
	min-height: 18rem;
}

.workshop-details-box {
	width: 44%;
}

.outcome-index-link {
	align-items: flex-start;
	color: var(--tm-ink);
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: space-between;
	min-height: clamp(7.4rem, 11vw, 9rem);
	padding: clamp(1rem, 1.75vw, 1.35rem);
	text-decoration: none;
	transition: background 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.outcome-index-link:hover {
	background: color-mix(in srgb, var(--accent, var(--tm-coral)) 10%, var(--tm-paper));
	box-shadow: 0 10px 22px rgba(23, 38, 59, 0.1);
	color: var(--tm-ink);
	transform: translateY(-2px);
}

.outcome-index-link .card-number,
.outcome-index-link h3 {
	margin: 0;
}

.safety-section .split {
	gap: clamp(1.75rem, 3vw, 3rem);
}

.safety-section > .section-inner > h2 {
	font-size: clamp(2rem, 3.48vw, 3.05rem);
	margin-bottom: clamp(1rem, 2vw, 1.5rem);
	max-width: none;
}

.safety-section .image-frame {
	justify-self: center;
	max-width: 30rem;
}

.safety-section .image-frame img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.safety-section .safety-laughter-visual img {
	aspect-ratio: 11 / 10;
}

.safety-section .pull-quote {
	margin-top: clamp(1.25rem, 2vw, 1.75rem);
	max-width: none;
}

.home-safety-section .pull-quote {
	margin-top: clamp(1rem, 1.5vw, 1.35rem);
}

.home-customization-section {
	padding-bottom: clamp(1.7rem, 2.6vw, 2.25rem);
}

.workshop-room-section .split {
	align-items: start;
	grid-template-columns: minmax(0, 1.32fr) minmax(18rem, 0.68fr);
}

.workshop-room-section {
	padding-block: clamp(1.75rem, 3vw, 2.5rem);
}

.workshop-room-section h2 {
	font-size: clamp(2rem, 3.4vw, 3rem);
}

@media (min-width: 69rem) {
	.workshop-problem-section h2,
	.safety-section > .section-inner > h2,
	.workshop-room-section h2,
	.safety-section .pull-quote {
		white-space: nowrap;
	}
}

.presentation-hero {
	padding-block: clamp(2.25rem, 3.5vw, 3.25rem);
}

.presentation-hero .hero-visual {
	justify-self: center;
	max-width: 27rem;
}

.presentation-hero-grid {
	align-items: start;
	grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
}

.presentation-hero .hero-visual img {
	object-fit: contain;
}

.presentation-hero .hero-visual {
	margin-top: 0.35rem;
}

.presentation-work-grid {
	align-items: start;
}

.presentation-video-section {
	padding-block: clamp(1.75rem, 2.75vw, 2.5rem);
}

.presentation-video-grid {
	align-items: start;
	display: grid;
	gap: clamp(1.5rem, 3vw, 3rem);
	grid-template-columns: minmax(0, 1fr) minmax(15rem, 21rem);
}

.presentation-video-copy {
	max-width: 40rem;
}

.presentation-video-frame {
	aspect-ratio: 9 / 16;
	background: var(--tm-ink);
	border-radius: var(--tm-radius);
	justify-self: end;
	max-width: 21rem;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.presentation-video-frame video {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.video-testimonial-section {
	padding-block: clamp(1.75rem, 2.75vw, 2.5rem);
}

.video-testimonial-grid {
	align-items: center;
	display: grid;
	gap: clamp(1.5rem, 3vw, 3.5rem);
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.video-testimonial-media {
	aspect-ratio: 16 / 9;
	background: var(--tm-ink);
	border-radius: var(--tm-radius);
	box-shadow: var(--tm-shadow);
	overflow: hidden;
}

.video-testimonial-media video {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.video-testimonial-copy {
	max-width: 38rem;
}

.presentation-testimonials-link {
	justify-content: flex-end;
}

.video-testimonial-copy > :last-child {
	margin-bottom: 0;
}

.workshop-details-box {
	margin-inline: auto;
	max-width: 62rem;
}

.talk-closing-section .measure {
	max-width: 74rem;
}

.testimonials-page-intro {
	padding-block: clamp(2rem, 3.5vw, 3.25rem);
}

.testimonials-page-intro .section-inner {
	/* Give the title a little more measure as its fluid type grows, so a wider
	 * desktop viewport never produces an extra line through font scaling. */
	max-width: clamp(var(--tm-reading), 72vw, 66rem);
}

.testimonials-page-intro h1 {
	max-width: none;
}

.testimonials-video-section {
	padding-block: clamp(1.75rem, 3vw, 2.5rem);
}

.testimonials-video-list {
	display: grid;
	gap: clamp(1rem, 2.5vw, 2rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-testimonial-label {
	font-weight: 800;
	margin: 0.55rem 0 0;
}

.testimonials-written-section {
	padding-block: clamp(2rem, 3vw, 2.75rem);
}

.testimonials-page-cta {
	padding-block: clamp(2rem, 3.25vw, 3rem);
}

.home-contact-grid {
	align-items: center;
	grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
}

.home-contact-portrait {
	justify-self: end;
	max-width: 19rem;
}

.home-contact-portrait img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center 20%;
}

.home-contact-outdoor-portrait img {
	object-position: 42% 20%;
}

.talk-hero-grid .hero-visual {
	justify-self: end;
	width: 90%;
}

.home-testimonials-section .horizontal-band {
	margin-inline: auto;
	width: 85%;
}

.meet-hero {
	padding-block: clamp(2.25rem, 3.75vw, 3.5rem);
}

.meet-hero > .section-inner > h1 {
	margin-bottom: clamp(1rem, 2vw, 1.5rem);
	max-width: none;
	text-wrap: wrap;
}

.meet-hero .hero-grid {
	gap: clamp(1.75rem, 3vw, 3rem);
}

.meet-hero .hero-visual {
	justify-self: center;
	max-width: 28rem;
}

.meet-presenting-visual img {
	aspect-ratio: auto;
	object-fit: contain;
	object-position: left center;
}

.meet-hero .meet-presenting-visual {
	max-width: 24rem;
}

.meet-point-section h2 {
	font-size: calc(clamp(1.9rem, 3.8vw, 3.4rem) - 0.125rem);
	max-width: none;
	text-wrap: wrap;
}

.meet-point-section .measure,
.customization-section .measure {
	max-width: none;
}

.customization-section h2 {
	max-width: none;
	text-wrap: wrap;
}

.contact-options-section {
	padding-bottom: clamp(2rem, 3vw, 3rem);
}

.conversation-section {
	padding-top: clamp(2.25rem, 3.25vw, 3.25rem);
}

.conversation-grid {
	align-items: start;
}

.talk-hero-grid {
	align-items: start;
}

.action-intro {
	padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

.action-gallery-section {
	padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
}

.action-gallery {
	display: grid;
	gap: clamp(0.8rem, 1.6vw, 1.25rem);
	grid-template-columns: repeat(12, minmax(0, 1fr));
	margin-top: var(--tm-grid-start);
}

.action-gallery figure {
	margin: 0;
	overflow: hidden;
}

.action-gallery img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.action-gallery-feature {
	grid-column: span 6;
}

.action-gallery-reaction {
	grid-column: span 6;
}

.action-gallery-southern {
	grid-column: span 4;
}

.action-gallery-small-group,
.action-gallery-conversation {
	grid-column: span 4;
}

.action-gallery-participation,
.action-gallery-connectwise {
	grid-column: span 6;
}

.action-gallery-feature,
.action-gallery-reaction,
.action-gallery-participation,
.action-gallery-connectwise {
	aspect-ratio: 16 / 9;
}

.action-gallery-participation img {
	object-position: left center;
}

.action-video-row {
	display: grid;
	gap: clamp(0.8rem, 1.6vw, 1.25rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: var(--tm-grid-start);
}

.action-video {
	margin: 0;
}

.action-video-media {
	aspect-ratio: 16 / 9;
	background: var(--tm-ink);
	border-radius: var(--tm-radius);
	overflow: hidden;
	position: relative;
}

.action-video video {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.action-video figcaption {
	color: var(--tm-ink-soft);
	font-size: 0.95rem;
	margin-top: 0.45rem;
}

.video-control-bar {
	align-items: center;
	background: rgba(23, 38, 59, 0.9);
	bottom: 0;
	color: var(--tm-paper);
	display: none;
	gap: 0.45rem;
	inset-inline: 0;
	padding: 0.45rem 0.6rem;
	position: absolute;
}

.js .video-control-bar {
	display: flex;
}

.video-control-button {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font-size: 1.05rem;
	line-height: 1;
	padding: 0.28rem;
}

.video-progress {
	accent-color: var(--tm-teal-light);
	flex: 1;
	min-width: 3.5rem;
}

.video-time {
	font-family: "Segoe UI Variable", "Aptos", "Segoe UI", sans-serif;
	font-size: 0.78rem;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.page-content {
	min-height: 50vh;
}

.not-found {
	padding-block: 8rem;
	text-align: center;
}

@media (max-width: 62rem) {
	.header-inner {
		grid-template-columns: auto auto 1fr;
	}

	.header-action {
		justify-self: end;
	}

	.js .nav-toggle {
		display: inline-flex;
	}

	.js .site-nav {
		background: var(--tm-paper);
		border: 1px solid var(--tm-line);
		border-radius: 1rem;
		box-shadow: var(--tm-shadow);
		display: none;
		grid-column: 1 / -1;
		justify-self: stretch;
		padding: 1rem;
	}

	.js .site-nav.is-open {
		display: block;
	}

	.site-nav ul {
		align-items: stretch;
		flex-direction: column;
	}

	.site-nav a {
		display: block;
		padding: 0.6rem;
	}

}

@media (max-width: 56rem) {
	.testimonial-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 48rem) {
	body.admin-bar .site-header {
		top: 46px;
	}

	.site-shell,
	.section-inner {
		width: min(calc(100% - 1.25rem), var(--tm-content));
	}

	.workshop-problem-content {
		margin-inline: auto;
		width: min(calc(100% - 1.25rem), 62.5rem);
	}

	.workshop-problem-section h2,
	.safety-section > .section-inner > h2,
	.workshop-room-section h2 {
		font-size: calc(clamp(2rem, 4.4vw, 3.85rem) - 0.125rem);
		white-space: normal;
		text-wrap: balance;
	}

	.workshop-room-section .split {
		grid-template-columns: 1fr;
	}

	.header-inner {
		min-height: 4.6rem;
	}

	.header-action {
		display: none;
	}

	.hero-grid,
	.split,
	.compact-grid,
	.comparison-grid,
	.contact-grid,
	.pathway-grid,
	.testimonial-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

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

	.outcomes-section:not(.home-outcomes-section) .card-grid,
	.workshops-advocate-box {
		width: 100%;
	}

	.home-outcomes-section .card-grid,
	.workshops-audience-grid,
	.home-testimonials-section .horizontal-band,
	.workshop-details-box {
		width: 100%;
	}

	.workshops-audience-grid .card,
	.workshop-details-box {
		min-height: 0;
	}

	.home-outcomes-section .card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.outcome-index-link {
		min-height: 7.25rem;
		padding: 0.9rem;
	}

	.hero-grid {
		gap: 1.75rem;
	}

	.home-hero .hero-grid {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		max-width: 34rem;
	}

	.home-hero .hero-visual {
		justify-self: stretch;
		width: 100%;
	}

	.fun-useful-collage img {
		aspect-ratio: auto;
	}

	.meet-hero .hero-visual {
		max-width: 26rem;
	}

	.home-contact-portrait {
		justify-self: center;
		max-width: 19rem;
	}

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

	.action-gallery-feature,
	.action-gallery-reaction,
	.action-gallery-southern,
	.action-gallery-small-group,
	.action-gallery-conversation,
	.action-gallery-participation {
		grid-column: 1 / -1;
	}

	.action-gallery-connectwise {
		grid-column: 1 / -1;
	}

	.action-video-row {
		grid-template-columns: 1fr;
	}

	.presentation-video-grid {
		grid-template-columns: 1fr;
	}

	.presentation-video-frame {
		justify-self: start;
	}

	.footer-nav {
		justify-content: flex-start;
	}
}

@media (max-width: 42rem) {
	.video-testimonial-grid,
	.testimonials-video-list {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: 0.01ms !important;
	}
}
