:root {
	--tym-forest: #173f35;
	--tym-forest-deep: #0b2a24;
	--tym-sage: #6f8772;
	--tym-mist: #dce6dd;
	--tym-cream: #faf7ef;
	--tym-sand: #ece1cf;
	--tym-copper: #aa5d3b;
	--tym-ink: #17211e;
	--tym-white: #fff;
	--tym-border: rgba(23, 63, 53, 0.17);
	--tym-shadow: 0 1.25rem 3.5rem rgba(23, 33, 30, 0.1);
	--tym-radius: 1.1rem;
	--tym-content: min(74rem, calc(100% - 2rem));
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--tym-cream);
	color: var(--tym-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
	line-height: 1.68;
	margin: 0;
}

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

* {
	box-sizing: border-box;
}

img,
video {
	display: block;
	max-width: 100%;
}

a {
	color: var(--tym-forest);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--tym-copper);
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 3px solid #d88a60;
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
.wp-block-site-title {
	color: var(--tym-forest-deep);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.08;
}

h1 {
	font-size: clamp(2.7rem, 7vw, 5.9rem);
}

h2 {
	font-size: clamp(2.15rem, 4.8vw, 4.1rem);
}

h3 {
	font-size: clamp(1.35rem, 2.7vw, 2rem);
}

p,
ul,
ol {
	margin-block: 0 1.15rem;
}

.wp-site-blocks {
	overflow: clip;
}

.tym-site-header {
	backdrop-filter: blur(18px);
	background: rgba(250, 247, 239, 0.93);
	border-bottom: 1px solid var(--tym-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.tym-header-inner {
	align-items: center;
	min-height: 5rem;
}

.tym-brand {
	align-items: center;
	display: flex;
	gap: 0.75rem;
}

.tym-brand .wp-block-site-logo img {
	border-radius: 50%;
	height: 3.2rem;
	object-fit: contain;
	width: 3.2rem;
}

.tym-brand .wp-block-site-title {
	font-size: 1.28rem;
	margin: 0;
}

.tym-brand .wp-block-site-title a,
.tym-site-header .wp-block-navigation a {
	text-decoration: none;
}

.tym-site-header .wp-block-navigation {
	font-size: 0.93rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.tym-site-header .wp-block-navigation-item__content {
	padding: 0.55rem 0.15rem;
}

.tym-site-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--tym-cream);
	color: var(--tym-ink);
	padding: 2rem;
}

.tym-hero {
	align-items: end;
	background: var(--tym-forest-deep);
	display: grid;
	isolation: isolate;
	min-height: clamp(39rem, 78vh, 54rem);
	overflow: hidden;
	position: relative;
}

.tym-hero__media,
.tym-hero__shade {
	inset: 0;
	position: absolute;
}

.tym-hero__media img,
.tym-hero__media video {
	height: 100%;
	inset: 0;
	object-fit: cover;
	object-position: center;
	position: absolute;
	width: 100%;
}

.tym-hero__poster {
	filter: saturate(0.78) contrast(1.05);
	opacity: 1;
	transition: opacity 1.2s ease;
}

.tym-hero__video {
	filter: saturate(0.78) contrast(1.05);
	opacity: 0;
	transition: opacity 1.2s ease;
}

.tym-hero__video.is-ready {
	opacity: 1;
}

.tym-hero__media.is-video-ready .tym-hero__poster {
	opacity: 0;
}

.tym-hero__shade {
	background:
		linear-gradient(90deg, rgba(7, 27, 23, 0.9) 0%, rgba(7, 27, 23, 0.62) 48%, rgba(7, 27, 23, 0.18) 100%),
		linear-gradient(0deg, rgba(7, 27, 23, 0.55), transparent 55%);
	z-index: 1;
}

.tym-hero__content {
	color: var(--tym-white);
	margin: 0 auto;
	padding: clamp(6rem, 14vw, 10rem) 0 clamp(4rem, 10vw, 7rem);
	position: relative;
	width: var(--tym-content);
	z-index: 2;
}

.tym-hero h1 {
	color: var(--tym-white);
	margin: 0 0 1.25rem;
	max-width: 11ch;
	text-wrap: balance;
}

.tym-hero__lede {
	font-size: clamp(1.08rem, 1rem + 0.45vw, 1.4rem);
	max-width: 43rem;
}

.tym-eyebrow {
	color: var(--tym-copper);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
}

.tym-hero .tym-eyebrow {
	color: #efb092;
}

.tym-button-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1.1rem 1.5rem;
	margin-top: 2rem;
}

.tym-button,
.wp-block-button__link {
	background: var(--tym-forest);
	border: 2px solid var(--tym-forest);
	border-radius: 999px;
	color: var(--tym-white);
	cursor: pointer;
	display: inline-block;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.025em;
	line-height: 1.2;
	padding: 0.9rem 1.4rem;
	text-align: center;
	text-decoration: none;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.tym-button:hover,
.wp-block-button__link:hover {
	background: var(--tym-copper);
	border-color: var(--tym-copper);
	color: var(--tym-white);
	transform: translateY(-1px);
}

.tym-button--light,
.is-style-outline > .wp-block-button__link {
	background: var(--tym-white);
	border-color: var(--tym-white);
	color: var(--tym-forest-deep);
}

.tym-text-link {
	font-weight: 750;
}

.tym-text-link--light {
	color: var(--tym-white);
}

.tym-text-link--light:hover {
	color: #efb092;
}

.tym-section {
	padding-block: clamp(4.5rem, 10vw, 8rem);
}

.tym-section--compact {
	padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.tym-section--mist {
	background: var(--tym-mist);
}

.tym-section--dark {
	background: var(--tym-forest-deep);
	color: rgba(255, 255, 255, 0.83);
}

.tym-section--dark h2,
.tym-section--dark h3,
.tym-section--dark a {
	color: var(--tym-white);
}

.tym-section-heading {
	margin-bottom: clamp(2rem, 5vw, 4rem);
	max-width: 48rem;
}

.tym-section-heading h2 {
	margin: 0 0 1rem;
	text-wrap: balance;
}

.tym-section-heading p:last-child {
	margin-bottom: 0;
}

.tym-intro-grid,
.tym-frog-grid,
.tym-contact-grid,
.tym-service-grid {
	align-items: center;
	gap: clamp(2.5rem, 7vw, 6rem);
}

.tym-intro-stat {
	border-left: 3px solid var(--tym-copper);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.4rem, 3vw, 2.15rem);
	line-height: 1.35;
	padding-left: 1.5rem;
}

.tym-card-grid,
.tym-process-grid,
.tym-package-grid {
	display: grid !important;
	gap: 1.1rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tym-card,
.tym-process-card,
.tym-package-card {
	background: var(--tym-white);
	border: 1px solid var(--tym-border);
	border-radius: var(--tym-radius);
	box-shadow: 0 0.4rem 1.6rem rgba(23, 33, 30, 0.04);
	height: 100%;
	padding: clamp(1.4rem, 3vw, 2rem);
}

.tym-card h3,
.tym-process-card h3,
.tym-package-card h3 {
	margin-top: 0;
}

.tym-step {
	align-items: center;
	background: var(--tym-sand);
	border-radius: 50%;
	color: var(--tym-forest-deep);
	display: inline-flex;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	height: 2.8rem;
	justify-content: center;
	margin-bottom: 1.2rem;
	width: 2.8rem;
}

.tym-frog-panel {
	background-image:
		linear-gradient(135deg, rgba(11, 42, 36, 0.1), rgba(11, 42, 36, 0)),
		url("../media/frog-cinematic.webp");
	background-position: center;
	background-size: cover;
	border-radius: 50% 50% 1.2rem 1.2rem;
	box-shadow: var(--tym-shadow);
	min-height: clamp(24rem, 50vw, 39rem);
}

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

.tym-package-card {
	padding: clamp(2rem, 5vw, 3.3rem);
}

.tym-package-card--feature {
	background: var(--tym-forest);
	color: rgba(255, 255, 255, 0.86);
}

.tym-package-card--feature h3,
.tym-package-card--feature a {
	color: var(--tym-white);
}

.tym-testimonial-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tym-testimonial {
	background: var(--tym-white);
	border: 1px solid var(--tym-border);
	border-radius: var(--tym-radius);
	box-shadow: var(--tym-shadow);
	padding: clamp(1.5rem, 3vw, 2.3rem);
	position: relative;
}

.tym-testimonial__mark {
	color: var(--tym-copper);
	font-family: Georgia, serif;
	font-size: 4rem;
	line-height: 0.8;
}

.tym-testimonial blockquote {
	margin: 1rem 0 0;
}

.tym-testimonial__quote p:last-child {
	margin-bottom: 0;
}

.tym-testimonial footer {
	border-top: 1px solid var(--tym-border);
	display: flex;
	flex-direction: column;
	font-size: 0.91rem;
	margin-top: 1.5rem;
	padding-top: 1rem;
}

.tym-testimonial footer span {
	color: #52615c;
}

.tym-cta {
	background: var(--tym-copper);
	border-radius: var(--tym-radius);
	color: var(--tym-white);
	padding: clamp(2rem, 7vw, 5rem);
}

.tym-cta h2 {
	color: var(--tym-white);
	margin-top: 0;
}

.tym-page-hero {
	background: var(--tym-forest-deep);
	color: rgba(255, 255, 255, 0.82);
	padding-block: clamp(5rem, 12vw, 9rem);
}

.tym-page-hero h1 {
	color: var(--tym-white);
	font-size: clamp(2.7rem, 7vw, 5.3rem);
	margin: 0 0 1rem;
	max-width: 13ch;
}

.tym-page-hero p {
	font-size: 1.18rem;
	max-width: 42rem;
}

.tym-prose,
.tym-content-area {
	padding-block: clamp(3.5rem, 8vw, 6rem);
}

.tym-prose > * {
	max-width: 48rem;
}

.tym-prose > .alignwide,
.tym-prose > .alignfull {
	max-width: none;
}

.tym-contact-details {
	display: grid;
	gap: 1.5rem;
}

.tym-contact-details > div {
	border-bottom: 1px solid var(--tym-border);
	padding-bottom: 1rem;
}

.tym-contact-details p {
	margin-bottom: 0.35rem;
}

.tym-form-wrap,
.tym-calculator-shell {
	background: var(--tym-white);
	border: 1px solid var(--tym-border);
	border-radius: var(--tym-radius);
	box-shadow: var(--tym-shadow);
	padding: clamp(1.4rem, 4vw, 2.6rem);
}

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

.tym-field {
	margin-bottom: 1.2rem;
}

.tym-field label {
	display: block;
	font-size: 0.91rem;
	font-weight: 750;
	margin-bottom: 0.42rem;
}

.tym-field input,
.tym-field textarea,
.tym-form-wrap select {
	background: #fff;
	border: 1px solid #85958f;
	border-radius: 0.45rem;
	color: var(--tym-ink);
	font: inherit;
	padding: 0.78rem 0.85rem;
	width: 100%;
}

.tym-field textarea {
	resize: vertical;
}

.tym-honeypot {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.tym-turnstile,
.tym-calculator-turnstile,
.tym-calculator-shell .cf-turnstile {
	margin: 1rem 0;
	min-height: 65px;
}

.tym-form-status,
.tym-notice {
	border-left: 4px solid var(--tym-copper);
	border-radius: 0.25rem;
	margin-bottom: 1.25rem;
	padding: 0.8rem 1rem;
}

.tym-form-status--success {
	background: #e8f5ea;
	border-color: #338349;
}

.tym-form-status--error,
.tym-notice--warning {
	background: #fff1ea;
	border-color: var(--tym-copper);
}

.tym-form-note,
.tym-admin-hint {
	color: #52615c;
	font-size: 0.84rem;
	margin-top: 0.8rem;
}

/* Cost Calculator Builder integration: visual only; plugin behavior stays intact. */
.tym-calculator-shell .calc-container,
.tym-calculator-shell .calc-list {
	font-family: inherit !important;
}

.tym-calculator-shell input,
.tym-calculator-shell textarea,
.tym-calculator-shell select {
	border-radius: 0.45rem !important;
}

.tym-calculator-shell button,
.tym-calculator-shell .calc-btn-action,
.tym-calculator-shell .ccb-btn-wrap button {
	border-radius: 999px !important;
}

.tym-site-footer {
	background: var(--tym-forest-deep);
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.91rem;
	padding-block: 3.5rem 1.5rem;
}

.tym-site-footer h2,
.tym-site-footer h3,
.tym-site-footer a,
.tym-site-footer .wp-block-site-title {
	color: var(--tym-white);
}

.tym-site-footer .wp-block-navigation a {
	text-decoration: none;
}

.tym-footer-grid {
	align-items: start;
	gap: 2rem;
}

.tym-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	margin-top: 2.5rem;
	padding-top: 1.25rem;
}

.tym-query-card {
	border-bottom: 1px solid var(--tym-border);
	padding-block: 1.6rem;
}

.tym-query-card .wp-block-post-title {
	font-size: 1.8rem;
}

@media (max-width: 960px) {
	.tym-card-grid,
	.tym-process-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tym-testimonial-grid {
		grid-template-columns: 1fr;
	}
}

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

	.tym-hero__shade {
		background: linear-gradient(0deg, rgba(7, 27, 23, 0.9), rgba(7, 27, 23, 0.44));
	}

	.tym-intro-grid,
	.tym-frog-grid,
	.tym-contact-grid,
	.tym-service-grid,
	.tym-footer-grid {
		gap: 2rem;
	}

	.tym-frog-panel {
		min-height: 26rem;
	}
}

@media (max-width: 600px) {
	.tym-brand .wp-block-site-title {
		font-size: 1.05rem;
	}

	.tym-card-grid,
	.tym-process-grid,
	.tym-package-grid,
	.tym-form-grid {
		grid-template-columns: 1fr;
	}

	.tym-hero__content {
		padding-top: 7rem;
	}

	.tym-hero h1 {
		font-size: clamp(2.75rem, 15vw, 4.4rem);
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.tym-hero__video {
		display: none;
	}
}

@media print {
	.tym-site-header,
	.tym-site-footer,
	.tym-hero__video,
	.tym-button-row {
		display: none !important;
	}
}
