/*
Theme Name: Greyturtle
Theme URI: https://greyturtle.co.uk/
Author: Greyturtle Consulting Ltd
Description: Lightweight custom block theme for greyturtle.co.uk. No page builder. Brand colours, fonts and spacing are set in theme.json.
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
Version: 1.0.1
License: Proprietary
Text Domain: greyturtle
*/

/*
 * Most styling lives in theme.json so the block editor only offers on-brand options.
 * This file holds the few things theme.json cannot express: shell corners, waves,
 * the turtle motif, the mobile call/book bar and accessibility helpers.
 */

:root {
	--gt-shell: 28px 6px 28px 6px;
	--gt-shell-lg: 32px 8px 32px 8px;
	--gt-shell-photo: 120px 16px 120px 16px;
}

/* Shell-shaped corners */
.is-style-shell { border-radius: var(--gt-shell); overflow: hidden; }
.is-style-shell-lg { border-radius: var(--gt-shell-lg); overflow: hidden; }
.is-style-shell-photo img { border-radius: var(--gt-shell-photo); }

/* Numbers in the italic serif (only numbers and big figures) */
.gt-figure {
	font-family: var(--wp--preset--font-family--numbers);
	font-style: italic;
	font-weight: 400;
	line-height: 0.95;
}

/* Testimonials in body-font italic */
.wp-block-quote, .gt-testimonial blockquote { font-style: italic; }

/* Turtle line-art behind heroes (decorative) */
.gt-has-turtle { position: relative; isolation: isolate; overflow: hidden; }
.gt-has-turtle::before {
	content: "";
	position: absolute;
	right: -8%;
	top: 0;
	width: 55%;
	max-width: 820px;
	aspect-ratio: 140 / 110;
	background: url("assets/images/turtle-teal.svg") no-repeat center / contain;
	opacity: 0.14;
	transform: rotate(-14deg);
	z-index: -1;
	pointer-events: none;
}

/* Wave-shaped bottom edge: set --gt-wave-next to the next section's colour */
.gt-wave-bottom { position: relative; padding-bottom: clamp(56px, 6vw, 96px); }
.gt-wave-bottom::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: clamp(40px, 5vw, 72px);
	background: var(--gt-wave-next, #fff);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 120, 480 0, 720 50 S 1200 110, 1440 40 L 1440 120 L 0 120 Z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 240 120, 480 0, 720 50 S 1200 110, 1440 40 L 1440 120 L 0 120 Z'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	pointer-events: none;
}

/* Mobile call / book bar */
.gt-mobile-bar { display: none; }
@media (max-width: 781px) {
	body { padding-bottom: 78px; }
	.gt-mobile-bar {
		display: flex;
		gap: 10px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px));
		background: #fff;
		border-top: 1px solid #dce6ec;
		box-shadow: 0 -8px 24px rgba(5, 29, 75, 0.12);
	}
	.gt-mobile-bar a {
		min-height: 50px;
		border-radius: 999px;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		font-weight: 600;
		text-decoration: none;
		color: var(--wp--preset--color--navy);
	}
	.gt-mobile-bar .gt-call { flex: 1 1 0; border: 2px solid var(--wp--preset--color--navy); }
	.gt-mobile-bar .gt-book { flex: 2.4 1 0; background: var(--wp--preset--color--yellow); padding: 0 10px; text-align: center; font-size: 0.875rem; line-height: 1.2; }
	/* CookieYes "change cookie settings" button: sit above the call bar instead of on top of it.
	   (The WP Engine chat button is moved the same way in nav.js, inside its shadow DOM.) */
	.cky-btn-revisit-wrapper { bottom: calc(87px + env(safe-area-inset-bottom, 0px)) !important; }
	.gt-menu-open .cky-btn-revisit-wrapper { display: none !important; }
}

/* Accessibility */
:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--wp--preset--color--yellow);
	outline-offset: 2px;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Page sections (homepage and shared)
   ========================================================================== */

.wp-block-post-content > .alignfull, .gt-sections > .alignfull { margin-block: 0; }
.wp-block-post-content > section, .gt-sections > section { padding-block: var(--wp--preset--spacing--70); }

/* Accent words: colour only, upright (no italics in headings) */
.gt-accent { color: var(--wp--preset--color--teal-deep); }
.gt-dark .gt-accent, .gt-hero .gt-accent { color: var(--wp--preset--color--teal); }
.gt-underline { position: relative; display: inline-block; }
.gt-underline::after {
	content: "";
	position: absolute;
	left: -2%;
	right: -2%;
	bottom: -0.18em;
	height: 0.32em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16' preserveAspectRatio='none'%3E%3Cpath d='M2 10 C 20 2, 40 14, 60 7 S 100 2, 118 9' fill='none' stroke='%23F6C343' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* Dark sections */
.gt-dark, .gt-hero { background: var(--wp--preset--color--navy); color: #fff; }
.gt-dark--slate { background: var(--wp--preset--color--slate); }
.gt-dark a:not(.wp-block-button__link), .gt-hero a:not(.wp-block-button__link) { color: #fff; }
.gt-dark p, .gt-hero p { color: #e3ecf6; }
.gt-mint { background: var(--wp--preset--color--mint); }
.gt-mist { background: var(--wp--preset--color--mist); }

.gt-eyebrow {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal-deep);
}
.gt-dark .gt-eyebrow { color: #bfe9ee; }
.gt-small { font-size: 0.9375rem; }
.gt-lead { font-size: var(--wp--preset--font-size--large); max-width: 620px; }
.gt-h3-size { font-size: 1.625rem !important; }
.gt-section-head { margin-bottom: 2rem; }

/* Hero */
.gt-hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(7rem, 12vw, 12rem) !important; }
.gt-hero__cols { gap: 3.5rem; align-items: flex-start; }
.gt-hero h1 { color: #fff; margin-top: 0.5rem; }
.gt-hero__sub { font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.2; color: #fff; }
.gt-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border: 1px solid var(--wp--preset--color--teal);
	border-radius: 999px;
	background: rgba(50, 178, 191, 0.16);
	color: #fff !important;
	font-size: 0.875rem;
	font-weight: 600;
}
.gt-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--yellow); }
/* Trust points: ticks, not buttons (they are not clickable) */
.gt-pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; margin-block: 1.75rem 1.5rem; }
.gt-pills li { position: relative; padding-left: 32px; font-weight: 600; color: #fff; }
.gt-pills li::before {
	content: ""; position: absolute; left: 0; top: 0.1em;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--wp--preset--color--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23051D4B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.gt-hero .gt-small { color: #c5d4e9; }
.gt-hero { --gt-wave-next: #fff; }

/* Form card with teal offset block */
.gt-form-card {
	position: relative;
	background: #fff;
	color: var(--wp--preset--color--navy);
	border-radius: var(--gt-shell-lg);
	padding: 28px;
	box-shadow: 14px 14px 0 var(--wp--preset--color--teal);
	max-width: 460px;
}
.gt-form-card--wide { max-width: none; box-shadow: none; }
.gt-form-card__title { font-size: 1.375rem !important; color: var(--wp--preset--color--navy) !important; margin: 0 0 0.75rem; }

/* Remove the gap between header and first section */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-post-content > :first-child { margin-top: 0; }

/* Forms */
.gt-form-card p, .gt-form-card label { color: var(--wp--preset--color--navy) !important; }
.gt-form { display: flex; flex-wrap: wrap; gap: 12px; }
.gt-field { flex: 1 1 100%; margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 0.875rem; font-weight: 500; }
.gt-field--half { flex: 1 1 140px; }
.gt-field input, .gt-field textarea {
	font: inherit;
	font-size: 1rem;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #b9cfd6;
	border-radius: 10px;
	color: var(--wp--preset--color--navy);
	background: #fff;
}
.gt-field--submit button {
	min-height: 52px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--navy);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.gt-form--contact .gt-field--submit button { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
.gt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gt-form__thanks { padding: 16px; border-radius: 12px; background: var(--wp--preset--color--mint); color: var(--wp--preset--color--navy) !important; font-weight: 600; }
.gt-form__error { flex: 1 1 100%; margin: 0; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #7a1c14 !important; font-size: 0.9375rem; }
.gt-form__error a { color: inherit !important; font-weight: 600; }
.gt-turnstile { min-height: 65px; }
.gt-form__privacy { flex: 1 1 100%; margin: 0; font-size: 0.8125rem; line-height: 1.4; color: var(--wp--preset--color--navy) !important; }
.gt-form__privacy a { color: inherit !important; text-decoration: underline; }
.gt-rating { margin: 0.75rem 0 0; text-align: center; font-size: 0.875rem; }
.gt-rating a { color: var(--wp--preset--color--ink) !important; text-decoration: none; }
.gt-rating__stars { color: #c98a0b; letter-spacing: 1px; }
/* Homepage hero: no breadcrumb, so less space above it */
.gt-hero:not(.gt-hero--service) { padding-top: clamp(1.5rem, 3vw, 2.5rem) !important; }

/* Buttons */
.wp-block-button.is-style-navy .wp-block-button__link { background: var(--wp--preset--color--navy); color: #fff; }
.wp-block-button.is-style-text .wp-block-button__link { background: none; color: inherit; padding-inline: 0; text-decoration: underline; text-underline-offset: 3px; }
.gt-dark .wp-block-button.is-style-text .wp-block-button__link { color: #fff; }
.gt-cta-row { margin-top: 2.5rem; gap: 1rem 1.75rem; align-items: center; }

/* Audience cards */
.gt-audience { padding-top: 1rem !important; }
.gt-aud h3 a { color: var(--wp--preset--color--navy); text-decoration: none; font-size: 1.5rem; }
.gt-aud__media {
	position: relative;
	aspect-ratio: 5 / 4;
	border-radius: var(--gt-shell-photo);
	background: var(--wp--preset--color--mint) center / cover no-repeat;
}
.gt-aud__media--alt { border-radius: 16px 120px 16px 120px; }
.gt-aud__num {
	position: absolute;
	right: -6px;
	bottom: -14px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 4px solid #fff;
	background: var(--wp--preset--color--teal);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.75rem;
	color: var(--wp--preset--color--navy);
}
.gt-aud__num--accent { background: var(--wp--preset--color--yellow); }
.gt-aud__photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* Licensed photos in the content columns: same shapes as the image slots they replaced */
.gt-photo { display: block; width: 100%; height: auto; object-fit: cover; background-color: var(--wp--preset--color--mint); }
.gt-photo--benefits { aspect-ratio: 5 / 3; border-radius: var(--gt-shell); }
.gt-photo--local { aspect-ratio: 4 / 3; border-radius: var(--gt-shell-photo); }
.gt-photo--case { aspect-ratio: 4 / 3; border-radius: var(--gt-shell-lg); }
.gt-hero .gt-photo { background-color: rgba(255, 255, 255, 0.1); }
.gt-photo--shot { aspect-ratio: 16 / 10; border-radius: var(--gt-shell-lg); margin-top: 24px; background-color: #fff; box-shadow: 0 0 0 1px #dce6ec; }

/* Placeholder slots for images still to be licensed (remove once real images are added) */
.gt-img-slot { background-color: var(--wp--preset--color--mint); }
.gt-img-slot[data-label]::after {
	content: attr(data-label);
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	text-align: center;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--teal-deep);
}
.gt-expertise__img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px 100px 16px 100px; background: rgba(255, 255, 255, 0.12); }

/* Services band */
.gt-band { background: var(--wp--preset--color--slate); padding-block: 22px !important; }
.gt-band__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: clamp(1.0625rem, 1.7vw, 1.375rem); }
.gt-band__list a { color: #fff !important; text-decoration: none; display: inline-flex; align-items: center; gap: 22px; }
.gt-band__list a:not(:last-child)::after { content: "✦"; color: var(--wp--preset--color--yellow); font-size: 0.8em; }

/* Services groups */
.gt-services { background: var(--wp--preset--color--mint); }
.gt-has-turtle--left::before { left: -80px; right: auto; top: auto; bottom: -60px; width: 360px; transform: rotate(22deg); opacity: 0.18; }
.gt-cards { gap: 20px; }
.gt-card {
	background: #fff;
	border-radius: var(--gt-shell);
	padding: 28px;
	box-shadow: 0 10px 30px rgba(5, 29, 75, 0.06);
}
.gt-group h3 { font-size: 1.375rem; margin: 0 0 6px; }
.gt-group h3::before {
	content: "";
	display: block;
	width: 48px;
	height: 48px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--wp--preset--color--navy) url("assets/images/turtle-white.svg") no-repeat center / 30px auto;
}
.gt-group p { font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.gt-links { list-style: none; padding: 0; margin: 0; }
.gt-links li { border-top: 1px solid #dce6ec; }
.gt-links a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 48px;
	color: var(--wp--preset--color--navy);
	text-decoration: none;
	font-weight: 600;
}
.gt-links a::after { content: "→"; color: var(--wp--preset--color--teal-deep); }

/* Expertise */
.gt-expertise h2 { color: #fff; }
.gt-stack { display: flex; flex-direction: column; gap: 16px; }
.gt-note { padding: 20px 24px; border-radius: 24px 6px 24px 6px; color: var(--wp--preset--color--navy); }
.gt-note p { color: inherit !important; margin: 0; }
.gt-note--white { background: #fff; }
.gt-note--yellow { background: var(--wp--preset--color--yellow); border-radius: 6px 24px 6px 24px; }
.gt-note__title { font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: 1.125rem !important; margin-bottom: 4px !important; }

/* Why choose: italic serif numbers 01–04 */
.gt-numbered { counter-reset: gt; gap: 2rem; }
.gt-numbered > .wp-block-column { counter-increment: gt; }
.gt-numbered > .wp-block-column::before {
	content: counter(gt, decimal-leading-zero);
	display: block;
	font-family: var(--wp--preset--font-family--numbers);
	font-style: italic;
	font-size: 2.75rem;
	line-height: 1;
	color: var(--wp--preset--color--teal);
	margin-bottom: 10px;
}

/* Case study cards */
.gt-case { border-radius: 40px 8px 40px 8px; padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.gt-case--navy { background: var(--wp--preset--color--navy); color: #fff; border-radius: 40px 8px 40px 8px; }
.gt-case--navy p { color: #c5d4e9; }
.gt-case--navy .gt-eyebrow { color: var(--wp--preset--color--teal); }
.gt-case--navy .is-style-text .wp-block-button__link { color: var(--wp--preset--color--teal); }
.gt-case--yellow { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); border-radius: 8px 40px 8px 40px; }
.gt-case--yellow .gt-eyebrow { color: var(--wp--preset--color--navy); }
.gt-case__figure { font-family: var(--wp--preset--font-family--numbers); font-style: italic; font-size: var(--wp--preset--font-size--figure); line-height: 0.9; margin: 0; color: inherit !important; }
.gt-case .wp-block-buttons { margin-top: auto; }

/* Testimonial slider */
.gt-testimonials h2 { color: #fff; }
.gt-slider__controls { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 1.25rem; color: #e6f4f5; font-size: 0.9375rem; }
.gt-slider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #bfe9ee; background: transparent; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.gt-slider__btn--next { background: var(--wp--preset--color--yellow); border-color: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
.gt-slider__track {
	list-style: none;
	margin: 0;
	padding: 0 0 8px;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 48px) / 3);
	align-items: start;
	column-gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}
.gt-slider__item { scroll-snap-align: start; }
.gt-testimonial { margin: 0; box-sizing: border-box; background: #fff; color: var(--wp--preset--color--navy); border-radius: var(--gt-shell); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.gt-testimonial blockquote { margin: 0; font-size: 1rem; }
.gt-testimonial blockquote p { color: var(--wp--preset--color--navy) !important; margin: 0; }
.gt-testimonial figcaption { margin-top: auto; font-size: 0.9375rem; }
.gt-testimonial figcaption span { color: #4a5872; }

/* Client logos */
.gt-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.gt-logo-slot { height: 64px; border: 1px dashed #b9cfd6; border-radius: 20px 4px 20px 4px; display: flex; align-items: center; justify-content: center; font-size: 0.8125rem; color: #4a5872; }

/* Insights */
.gt-posts .wp-block-post-featured-image img { border-radius: 60px 8px 60px 8px; }
.gt-posts .wp-block-post-featured-image:empty, .gt-posts .wp-block-post:not(:has(.wp-block-post-featured-image img)) .wp-block-post-featured-image { display: none; }
.gt-posts .wp-block-post-terms { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.gt-posts .wp-block-post-title { font-size: 1.25rem; }
.gt-posts .wp-block-post-title a { color: var(--wp--preset--color--navy); text-decoration: none; }

/* Contact */
.gt-contact h2 { color: #fff; }

/* Locations */
.gt-plain { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.gt-loc-cols { max-width: 640px; }
.gt-locations h3 a { color: var(--wp--preset--color--navy); }

@media (max-width: 781px) {
	.gt-form-card { box-shadow: 8px 8px 0 var(--wp--preset--color--teal); }
	.gt-slider__track { grid-auto-columns: 85%; }
}
.gt-plain { gap: 2px; }
.gt-plain a { display: inline-block; padding-block: 6px; min-height: 24px; }

/* Buttons: keep brand colours even if a plugin's CSS tries to recolour links (contrast) */
.wp-block-button .wp-block-button__link.wp-element-button:not(.has-text-color) { color: var(--wp--preset--color--navy); }
.wp-block-button .wp-block-button__link.wp-element-button:not(.has-text-color):hover,
.wp-block-button .wp-block-button__link.wp-element-button:not(.has-text-color):focus-visible { color: #fff; }
.wp-block-button.is-style-navy .wp-block-button__link.wp-element-button:not(.has-text-color) { color: #fff; }
.wp-block-button.is-style-navy .wp-block-button__link.wp-element-button:hover { background: var(--wp--preset--color--teal-deep); }
.wp-block-button.is-style-text .wp-block-button__link.wp-element-button:not(.has-text-color),
.wp-block-button.is-style-text .wp-block-button__link.wp-element-button:not(.has-text-color):hover { color: inherit; background: none; }

/* ---------- Header ---------- */
.gt-site-header { position: relative; z-index: 50; padding: 0 !important; } /* core adds padding to groups with a background */
.gt-header {
	--gt-gutter: 16px;
	display: grid;
	grid-template-columns: minmax(var(--gt-gutter), 1fr) minmax(0, 1280px) minmax(var(--gt-gutter), 1fr);
	align-items: center;
	font-size: 0.9375rem;
}
body .gt-header a { color: #fff; text-decoration: none; }
.gt-header ul { list-style: none; margin: 0; padding: 0; }
.gt-header__logo { grid-column: 2; grid-row: 1; justify-self: start; padding-block: 24px; }
.gt-header__logo img { display: block; height: 52px; width: auto; }
.gt-company ul { display: flex; gap: 4px 26px; }
body .gt-company a:hover, body .gt-company a[aria-current] { color: var(--wp--preset--color--teal); }
.gt-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.gt-phone svg { color: var(--wp--preset--color--teal); }
.gt-header .gt-services { background: var(--wp--preset--color--navy-deep); }
.gt-services__link { font-family: var(--wp--preset--font-family--headings); font-weight: 500; }
.gt-sub-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.gt-sub-toggle svg { transition: transform 0.15s; }
.is-open > .gt-sub-toggle svg { transform: rotate(180deg); }
.gt-contact-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 10px 24px; border-radius: 999px;
	background: var(--wp--preset--color--yellow);
	color: var(--wp--preset--color--navy) !important;
	font-weight: 600; white-space: nowrap;
}
.gt-contact-btn:hover { background: #fff; }
.gt-burger { display: none; }

/* Search: icon button and search box */
.gt-header { position: relative; }
.gt-search-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
	background: none; color: #fff; cursor: pointer;
}
.gt-search-btn:hover, .gt-search-btn[aria-expanded="true"] { color: var(--wp--preset--color--teal); }
.gt-search[hidden], .gt-search__results[hidden] { display: none !important; }
.gt-search {
	position: absolute; z-index: 60; top: 100%;
	right: max(16px, (100% - 1280px) / 2);
	width: min(560px, 100% - 32px);
	padding: 16px;
	background: #fff; color: var(--wp--preset--color--navy);
	border-radius: 0 0 32px 8px;
	box-shadow: 0 24px 48px rgba(3, 19, 49, 0.28);
}
.gt-search__form { position: relative; }
.gt-search__input {
	width: 100%; min-height: 50px; padding: 0 56px 0 20px;
	border: 2px solid #c9d3e0; border-radius: 999px;
	font: inherit; font-size: 1rem; color: var(--wp--preset--color--navy); background: #fff;
}
.gt-search__input:focus { outline: none; border-color: var(--wp--preset--color--teal-deep); box-shadow: 0 0 0 3px rgba(50, 178, 191, 0.35); }
.gt-search__input::-webkit-search-cancel-button { display: none; }
.gt-search__submit {
	position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
	background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); cursor: pointer;
}
.gt-search__submit:hover { background: var(--wp--preset--color--navy); color: #fff; }
.gt-search__results { margin: 10px 0 0 !important; }
body .gt-search__results a {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	padding: 10px 12px; border-radius: 8px;
	color: var(--wp--preset--color--navy); line-height: 1.35;
}
body .gt-search__results a:hover, body .gt-search__results a:focus { background: var(--wp--preset--color--mint); outline: none; }
body .gt-search__results a:focus-visible { box-shadow: inset 0 0 0 2px var(--wp--preset--color--teal-deep); }
.gt-search__title { font-weight: 600; }
.gt-search__type { flex-shrink: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--teal-deep); }
body .gt-search__results a.gt-search__all { margin-top: 4px; font-weight: 600; color: var(--wp--preset--color--teal-deep); text-decoration: underline; text-underline-offset: 3px; }

/* Mega menu panel */
.gt-mega { display: none; color: var(--wp--preset--color--navy); background: #fff; }
.gt-mega__main { display: grid; grid-template-columns: 1fr 1fr; }
.gt-mega__main > .gt-mega__col { padding: 28px 32px; }
.gt-mega__col--guide { background: var(--wp--preset--color--mint); }
.gt-mega__side { padding: 28px 32px; background: var(--wp--preset--color--mint); }
.gt-mega__head { margin: 0 0 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--teal-deep); }
body .gt-mega a { display: block; padding: 6px 0; color: var(--wp--preset--color--navy); line-height: 1.35; }
body .gt-mega a:hover { color: var(--wp--preset--color--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
body .gt-mega a.gt-more { margin-top: 6px; font-weight: 600; color: var(--wp--preset--color--teal-deep); }
/* "… near you" column: muted, for search engines more than people (grey #5c6878 on #f5f8fa = 5.3:1, passes AA) */
.gt-mega__side--near { background: var(--wp--preset--color--mist); }
.gt-mega__col--near .gt-mega__head, body .gt-mega .gt-mega__col--near a, body .gt-mega .gt-mega__col--near a.gt-more { color: #5c6878; font-weight: 400; }
.gt-mega__col--near a { font-size: 0.875rem; }
body .gt-mega .gt-mega__col--near a:hover { color: var(--wp--preset--color--navy); }

@media (min-width: 1024px) {
	.gt-nav-panel { display: contents; }
	.gt-company { grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 32px; margin-right: 64px; }
	.gt-search-btn { grid-column: 2; grid-row: 1; justify-self: end; margin-right: -10px; }
	.gt-search { top: 100%; }
	.gt-header .gt-services { grid-column: 1 / -1; grid-row: 2; position: relative; }
	.gt-services__inner { width: min(1280px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
	.gt-services__list { display: flex; gap: 6px 30px; }
	.gt-services__item { display: flex; align-items: center; gap: 6px; }
	.gt-services__link { display: inline-block; padding: 16px 0 13px; border-bottom: 3px solid transparent; }
	.gt-services__link[aria-current], .gt-services__item:hover .gt-services__link, .gt-services__item.is-open .gt-services__link { border-bottom-color: var(--wp--preset--color--teal); }
	.gt-sub-toggle { width: 22px; height: 22px; border-radius: 50%; }
	.gt-mega {
		position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
		width: min(1280px, 100% - 32px);
		grid-template-columns: 2fr 1fr;
		border-radius: 0 0 32px 8px;
		overflow: hidden;
		box-shadow: 0 24px 48px rgba(3, 19, 49, 0.28);
	}
	.has-mega:hover > .gt-mega, .has-mega:focus-within > .gt-mega, .has-mega.is-open > .gt-mega { display: grid; }
	.gt-services__list:hover .has-mega:not(:hover) > .gt-mega, .has-mega.is-dismissed > .gt-mega { display: none; }
}

/* Mobile and tablet menu: services first, then company links, phone and Contact Us */
@media (max-width: 1023px) {
	.gt-header { grid-template-columns: 1fr auto auto; column-gap: 8px; padding-inline: 16px; }
	.gt-header__logo { grid-column: 1; padding-block: 14px; }
	.gt-header__logo img { height: 44px; }
	.gt-search-btn { grid-column: 2; grid-row: 1; border: 2px solid rgba(255, 255, 255, 0.5); }
	.gt-search { top: 100%; left: 8px; right: 8px; width: auto; border-radius: 0 0 24px 8px; }
	.gt-burger {
		grid-column: 3; grid-row: 1;
		display: inline-flex; align-items: center; gap: 10px;
		min-height: 44px; padding: 0 16px;
		border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 999px;
		background: none; color: #fff; font: inherit; font-weight: 600; cursor: pointer;
	}
	.gt-burger__bars, .gt-burger__bars::before, .gt-burger__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
	.gt-burger__bars::before, .gt-burger__bars::after { content: ""; position: absolute; left: 0; }
	.gt-burger__bars::before { top: -6px; }
	.gt-burger__bars::after { top: 6px; }
	.gt-header.is-open .gt-burger__bars { background: transparent; }
	.gt-header.is-open .gt-burger__bars::before { top: 0; transform: rotate(45deg); }
	.gt-header.is-open .gt-burger__bars::after { top: 0; transform: rotate(-45deg); }
	.gt-nav-panel { display: none; grid-column: 1 / -1; flex-direction: column; padding-bottom: 20px; }
	.gt-header.is-open .gt-nav-panel { display: flex; }
	.gt-header .gt-services { order: -1; background: none; }
	.gt-services__item { display: flex; flex-wrap: wrap; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.15); }
	.gt-services__link { flex: 1; padding: 12px 0; font-size: 1.0625rem; }
	.gt-sub-toggle { width: 44px; height: 44px; }
	.gt-sub-toggle svg { width: 16px; height: 16px; }
	.gt-services__item.is-open > .gt-mega { display: block; flex-basis: 100%; margin-bottom: 14px; border-radius: 16px; overflow: hidden; }
	.gt-mega__main { grid-template-columns: 1fr; }
	.gt-mega__main > .gt-mega__col { padding: 18px 20px; }
	.gt-mega__side { padding: 18px 20px; }
	.gt-contact-btn { display: flex; margin-top: 16px; min-height: 48px; }
	.gt-company { display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 8px; margin-top: 4px; }
	.gt-company ul { flex-direction: column; gap: 0; }
	body .gt-company a { display: block; padding: 10px 0; }
	.gt-company .gt-phone { display: inline-flex; padding: 12px 0; }
	.gt-menu-open .gt-mobile-bar { display: none; }
}

/* ---------- Footer ---------- */
.gt-footer { font-size: 0.9375rem; }
body .gt-footer a { color: #fff; text-decoration: none; }
body .gt-footer a:hover { color: var(--wp--preset--color--teal); text-decoration: underline; text-underline-offset: 3px; }
.gt-footer p { margin: 0 0 0.9rem; }
.gt-footer .gt-footer__head { margin: 1.6rem 0 0.6rem; font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: 1rem; color: var(--wp--preset--color--teal); }
.gt-footer .wp-block-column > .gt-footer__head:first-child { margin-top: 0; }
.gt-footer .gt-footer__head a { color: inherit; }
.gt-footer__trust { font-family: var(--wp--preset--font-family--headings); font-weight: 500; color: var(--wp--preset--color--yellow); }
.gt-footer__links { list-style: none; margin: 0; padding: 0; }
.gt-footer__links li { padding-block: 4px; }
body .gt-footer__contact a { display: inline-block; padding-block: 4px; font-weight: 600; }
.gt-footer__small { color: rgba(255, 255, 255, 0.78); font-size: 0.875rem; line-height: 1.7; }
.gt-footer__social { gap: 10px; }
body .gt-footer__social a:hover { color: inherit; }

/* ==========================================================================
   Service pages
   ========================================================================== */

/* Service hero: longer headings, so a smaller size */
.gt-hero.gt-hero--service { padding-top: clamp(1.25rem, 2.5vw, 2rem) !important; }
.gt-hero--service h1 { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.06; }

/* Breadcrumb */
.gt-crumbs { margin: 0 auto 1.25rem; font-size: 0.875rem; color: #c5d4e9; }
.gt-crumbs a { color: #fff; }
.gt-crumbs__sep { margin-inline: 8px; opacity: 0.6; }

/* Tick and cross lists */
.gt-ticks, .gt-crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.gt-ticks li, .gt-crosses li { position: relative; padding-left: 32px; }
.gt-ticks li::before, .gt-crosses li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px;
	background: currentColor;
	-webkit-mask: var(--gt-icon) no-repeat center / contain; mask: var(--gt-icon) no-repeat center / contain;
}
.gt-ticks li::before { --gt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); color: var(--wp--preset--color--teal); }
.gt-crosses li::before { --gt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); color: #8a4b2e; }
.gt-ticks--small { gap: 8px; margin-top: 1rem; font-size: 0.9375rem; color: var(--wp--preset--color--navy); }
.gt-ticks--small li::before { color: var(--wp--preset--color--teal-deep); }

/* Intro paragraph under a section heading */
.gt-intro { max-width: 680px; margin-bottom: 2.5rem; color: var(--wp--preset--color--ink); }

/* Logos strip (compact) */
.gt-clients--compact { padding-block: 3rem !important; }

/* Without / with comparison */
.gt-compare__cols { gap: 0 !important; border: 1px solid #dce6ec; border-radius: var(--gt-shell-lg); overflow: hidden; }
.gt-compare__cols > .wp-block-column { padding: clamp(28px, 3.5vw, 48px); }
.gt-compare__without { background: var(--wp--preset--color--mist); color: var(--wp--preset--color--ink); }
.gt-compare__without h3 { color: #4a5872; }
.gt-compare__with { background: var(--wp--preset--color--navy); color: #fff; }
.gt-compare__with h3 { color: var(--wp--preset--color--teal); }
.gt-compare h3 { font-size: 1.375rem; margin: 0 0 1.5rem; }

/* Benefit panels */
.gt-benefits__cols { gap: 3rem; }
.gt-panel { background: #fff; border-radius: var(--gt-shell); padding: 28px; }
.gt-panel h3 { font-size: 1.3125rem; margin: 0 0 0.5rem; }
.gt-panel p { margin: 0; color: var(--wp--preset--color--ink); }
.gt-stack > * { margin-block: 0 !important; }
.gt-benefits .gt-stack { gap: 20px; }
.gt-figure-slot { margin: 2rem 0 0; }
.gt-figure-slot figcaption { margin-top: 10px; font-size: 0.875rem; color: #4a5872; }

/* Copy questions for the client (only visible to logged-in editors) */
.gt-check { margin-top: 12px !important; padding: 8px 12px; border: 1px dashed #b45309; border-radius: 8px; background: #fff4e5; color: #7a3e00 !important; font-size: 0.8125rem; font-weight: 600; }

/* Process (numbers 1, 2, 3) */
.gt-numbered--plain > .wp-block-column::before { content: counter(gt); font-size: 5rem; color: var(--wp--preset--color--teal-deep); }
.gt-process h3 { font-size: 1.375rem; margin-top: 0; }
.gt-process .gt-section-head h2 { margin-bottom: 0.5rem; }

/* Outline buttons */
.wp-block-button.is-style-outline-navy .wp-block-button__link.wp-element-button:not(.has-text-color) { background: none; color: var(--wp--preset--color--navy); box-shadow: inset 0 0 0 2px var(--wp--preset--color--navy); }
.wp-block-button.is-style-outline-navy .wp-block-button__link.wp-element-button:not(.has-text-color):hover { background: var(--wp--preset--color--navy); color: #fff; }
.wp-block-button.is-style-outline-white .wp-block-button__link.wp-element-button:not(.has-text-color) { background: none; color: #fff; box-shadow: inset 0 0 0 1px #4a6496; }
.wp-block-button.is-style-outline-white .wp-block-button__link.wp-element-button:not(.has-text-color):hover { background: #fff; color: var(--wp--preset--color--navy); }

/* Call-to-action band */
.wp-block-post-content > section.gt-cta-band { padding-block: clamp(3rem, 6vw, 5rem); }
.gt-cta-band h2 { margin: 0; max-width: 700px; font-size: clamp(1.625rem, 3vw, 2.5rem); line-height: 1.15; color: #fff; }
.gt-cta-stack { flex-direction: column; align-items: flex-start; gap: 12px; }
.gt-cta-stack--full { align-items: stretch; }
.gt-cta-stack--full .wp-block-button__link { width: 100%; text-align: center; }

/* What's included + price card */
.gt-included__cols { gap: 3rem; }
.gt-rows .gt-row { padding-block: 24px; border-top: 1px solid #dce6ec; }
.gt-rows .gt-row:last-child { border-bottom: 1px solid #dce6ec; }
.gt-row h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.gt-row p { margin: 0; color: var(--wp--preset--color--ink); }
.gt-price-card { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--gt-shell-lg); background: var(--wp--preset--color--navy); color: #fff; }
.gt-price-card h3 { margin: 0; font-size: 1.25rem; color: #fff; }
.gt-price-card p { margin: 0; color: #e3ecf6; }

/* Featured case study */
.gt-case-feature .gt-eyebrow { color: var(--wp--preset--color--teal); margin-bottom: 1rem; }
.gt-case-feature__cols { gap: 2rem 4rem; }
.gt-case-feature .gt-case-feature__figure { margin: 0; font-size: clamp(5.5rem, 13vw, 11rem); color: var(--wp--preset--color--yellow); }
.gt-case-feature h2 { color: #fff; line-height: 1.25; }
.gt-case-feature p:not(.gt-eyebrow):not(.gt-figure) { color: #c5d4e9; }


/* FAQ */
.gt-faq__cols { gap: 3rem 4rem; }
.gt-faq__cta { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--gt-shell); background: var(--wp--preset--color--navy); }
.gt-faq__phone { margin: 0; }
.gt-faq__phone a { color: #fff; font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: 1.1875rem; text-decoration: none; }
.gt-faq__list { border-top: 1px solid #dce6ec; }
.gt-faq__list .wp-block-details { padding-block: 22px; border-bottom: 1px solid #dce6ec; margin: 0; }
.gt-faq__list summary { position: relative; padding-right: 36px; cursor: pointer; list-style: none; font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: 1.1875rem; color: var(--wp--preset--color--navy); }
.gt-faq__list summary::-webkit-details-marker { display: none; }
.gt-faq__list summary::after { content: "+"; position: absolute; right: 4px; top: -4px; font-size: 1.75rem; font-weight: 400; color: var(--wp--preset--color--teal-deep); }
.gt-faq__list details[open] > summary::after { content: "–"; }
.gt-faq__list details p { margin: 12px 0 0; color: var(--wp--preset--color--ink); }

/* Insights heading link and second locations list */
.gt-insights h2 a { color: inherit; text-decoration: none; }
.gt-insights h2 a:hover { color: var(--wp--preset--color--teal-deep); }
.gt-locations__second { margin-top: 3rem !important; }

/* ---------- Search results page ---------- */
.gt-search-page h1 { font-size: var(--wp--preset--font-size--xx-large); }
.gt-search-page .gt-search-page__form { margin: 1.5rem 0 2rem; max-width: 640px; }
.gt-search-page__form .wp-block-search__input { min-height: 50px; padding: 0 20px; border: 2px solid #c9d3e0; border-radius: 999px; font: inherit; }
.gt-search-page__list > li { padding-block: 1.25rem; border-bottom: 1px solid #dde4ec; }
.gt-search-page__list h2 { margin: 0 0 0.5rem; }

/* ---------- 404 page ---------- */
.gt-hero--404 { --gt-wave-next: var(--wp--preset--color--mist); }
.gt-404 { gap: 2rem; }
.gt-hero .gt-404__num { margin: 0; text-align: center; font-size: clamp(7rem, 16vw, 15rem); color: var(--wp--preset--color--yellow); }
@media (max-width: 781px) { .gt-404 > .wp-block-column:last-child { display: none; } }
.gt-404 .gt-404__search { margin-block: 1.75rem 1.5rem; max-width: 560px; }
.gt-404__search .wp-block-search__input { min-height: 50px; padding: 0 20px; border: 0; border-radius: 999px; font: inherit; }
.gt-404-popular { padding-bottom: 0 !important; }
.gt-404-links { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
body .gt-404-links a {
	display: block; padding: 14px 20px; border-radius: 8px 24px 8px 8px;
	background: #fff; color: var(--wp--preset--color--navy); font-family: var(--wp--preset--font-family--headings); font-weight: 500; text-decoration: none;
	box-shadow: 0 1px 0 #dde4ec;
}
body .gt-404-links a:hover { background: var(--wp--preset--color--navy); color: #fff; }

/* ---------- Service pages: shared extras ---------- */
/* Hero form card keeps its own height when the text column is taller */
.gt-hero__cols > .gt-form-card { align-self: flex-start; }
/* Hero star line ("★★★★★ Clients stay with us … | … | …"), kept as typed */
.gt-hero .gt-proof { margin-block: 1.25rem 0; font-size: 0.9375rem; font-weight: 500; color: #fff; }
.gt-proof__stars { margin-right: 6px; color: var(--wp--preset--color--yellow); letter-spacing: 2px; }
.gt-hero .gt-proof + .wp-block-buttons + .gt-pills { margin-top: 1.5rem; }
.gt-hero__buttons, .gt-hero .gt-pills + .wp-block-buttons { margin-bottom: 1.25rem; }
/* "What's included" rows whose title links to another service */
.gt-row h3 a { color: inherit; text-decoration: underline; text-decoration-color: var(--wp--preset--color--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gt-row h3 a:hover { color: var(--wp--preset--color--teal-deep); }
.gt-row p.gt-row__more { margin-top: 10px; }
.gt-row__more a { font-weight: 600; color: var(--wp--preset--color--teal-deep); text-decoration: none; }
.gt-row__more a:hover { text-decoration: underline; }
/* Platform names shown in logo slots until logo files are supplied */
.gt-logos--names .gt-logo-slot { font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: 0.9375rem; color: var(--wp--preset--color--navy); text-align: center; padding-inline: 8px; line-height: 1.2; }
.gt-platforms .gt-logos { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
@media (min-width: 1000px) { .gt-platforms .gt-logos { grid-template-columns: repeat(6, 1fr); } }
/* Intro made of several paragraphs */
.gt-intro--multi > p { margin-block: 0 1rem; max-width: 760px; }
.gt-intro--multi > p:last-child { margin-bottom: 0; }
/* Panel grids (services, portfolio, use cases, pillars, related services) */
.gt-tiles__grid, .gt-pillars__grid, .gt-related__grid { gap: 20px; }
.gt-tiles__grid > .gt-panel { margin: 0; }
.gt-portfolio h3 a { color: var(--wp--preset--color--navy); text-decoration-color: var(--wp--preset--color--teal); text-underline-offset: 4px; }
.gt-pillars .gt-card, .gt-styles .gt-panel { border: 1px solid #dce6ec; box-shadow: none; }
.gt-pillars .gt-card h3, .gt-related .gt-card h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.gt-pillars .gt-card p, .gt-related .gt-card p:not(.gt-check) { margin: 0; color: var(--wp--preset--color--ink); }
.gt-related .gt-card { display: flex; flex-direction: column; gap: 12px; }
.gt-related .gt-card > * { margin-block: 0; }
.gt-related .gt-card .wp-block-buttons { margin-top: auto; padding-top: 8px; }
.gt-related .gt-card h3 a { color: var(--wp--preset--color--navy); text-decoration: none; }
.gt-related .gt-card h3 a:hover { color: var(--wp--preset--color--teal-deep); text-decoration: underline; }
@media (max-width: 781px) { .gt-pillars__grid, .gt-related__grid { grid-template-columns: 1fr !important; } }
/* Ecommerce: "When a B2B business should consider ecommerce" */
.gt-b2b__cols { gap: 2rem 4rem; }
.gt-b2b h2 { margin-top: 0; }
.gt-b2b .wp-block-buttons { margin-top: 1.5rem; }

/* Click-to-play YouTube videos: a poster and play button; nothing from YouTube loads until the visitor plays it */
.gt-video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0; padding: 0; border: 0; border-radius: var(--gt-shell); overflow: hidden; background: var(--wp--preset--color--navy); color: inherit; font: inherit; cursor: pointer; }
.gt-video img, .gt-video iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.gt-video__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); transition: transform 0.15s ease; }
.gt-video__play svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 2px 6px rgba(5, 29, 75, 0.35)); }
.gt-video:hover .gt-video__play, .gt-video:focus-visible .gt-video__play { transform: translate(-50%, -50%) scale(1.08); }
.gt-panel > .gt-video { margin-bottom: 20px; }
@media (max-width: 600px) { .gt-video__play { width: 60px; height: 60px; } }
@media (prefers-reduced-motion: reduce) { .gt-video__play { transition: none; } }
.gt-styles__note { margin-top: 2rem !important; font-weight: 600; color: var(--wp--preset--color--navy); }
.gt-founder h2 { color: #fff; }

/* ==========================================================================
   Contact overlay (inc/contact-overlay.php, script in assets/js/nav.js)
   ========================================================================== */
html.gt-modal-open { overflow: hidden; padding-right: var(--gt-scrollbar, 0); }
.gt-modal {
	width: min(940px, calc(100% - 48px));
	max-width: none;
	max-height: calc(100dvh - 48px);
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
	color: var(--wp--preset--color--navy);
}
.gt-modal::backdrop { background: rgba(5, 29, 75, 0.75); }
.gt-modal[open] { animation: gt-modal-in 0.22s ease-out; }
.gt-modal[open]::backdrop { animation: gt-fade-in 0.22s ease-out; }
@keyframes gt-modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes gt-sheet-in { from { opacity: 0; transform: translateY(48px); } }
@keyframes gt-fade-in { from { opacity: 0; } }
.gt-modal__panel {
	position: relative;
	display: grid;
	grid-template-columns: 5fr 7fr;
	max-height: calc(100dvh - 48px);
	overflow: auto;
	overscroll-behavior: contain;
	background: #fff;
	border-radius: var(--gt-shell-lg);
	box-shadow: 14px 14px 0 var(--wp--preset--color--teal);
}
.gt-modal__intro {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 44px 36px;
	background: var(--wp--preset--color--navy);
	color: #fff;
}
.gt-modal__intro p { margin: 0; color: #dbe6f3; line-height: 1.6; }
.gt-modal__intro a { color: #fff; text-decoration-color: var(--wp--preset--color--teal); text-underline-offset: 3px; }
.gt-modal__intro .gt-rating { text-align: left; }
.gt-modal__intro .gt-rating a { color: #fff !important; }
.gt-modal__title { margin: 0; color: #fff; font-size: clamp(1.375rem, 2.4vw, 1.875rem); line-height: 1.2; }
.gt-modal__title:focus { outline: none; }
.gt-modal__ticks { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.gt-modal__ticks li { display: flex; align-items: center; gap: 10px; }
.gt-modal__ticks svg { flex: none; box-sizing: border-box; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
.gt-modal__body { padding: 44px 36px 36px; }
.gt-modal__body label { color: var(--wp--preset--color--navy); }
.gt-modal form[hidden] { display: none; }
.gt-modal .gt-field input { box-sizing: border-box; min-height: 48px; }
.gt-modal .gt-field textarea { box-sizing: border-box; min-height: 96px; resize: vertical; }
.gt-modal .gt-field input:focus, .gt-modal .gt-field textarea:focus { outline: 2px solid var(--wp--preset--color--teal); outline-offset: 0; border-color: var(--wp--preset--color--teal); }
.gt-modal .gt-field [aria-invalid="true"] { border-color: #b3261e; box-shadow: inset 0 0 0 1px #b3261e; }
.gt-field__error { color: #b3261e; font-size: 0.8125rem; font-weight: 500; }
.gt-modal .gt-field--submit { margin-top: 4px; }
.gt-modal .gt-field--submit button[aria-disabled="true"] { cursor: progress; opacity: 0.7; }
.gt-modal__error { margin: 14px 0 0; padding: 12px 14px; border-radius: 10px; background: #fdecea; color: #7a1c14; font-size: 0.9375rem; }
.gt-modal__error a { color: inherit; font-weight: 600; }
.gt-modal__done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.gt-modal__done[hidden] { display: none; }
.gt-modal__done .gt-form__thanks { margin: 0; width: 100%; box-sizing: border-box; }
.gt-modal__done .gt-form__thanks:focus { outline: none; }
.gt-modal__back {
	min-height: 48px;
	padding: 0 24px;
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 999px;
	background: #fff;
	color: var(--wp--preset--color--navy);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}
.gt-modal__back:hover { background: var(--wp--preset--color--navy); color: #fff; }
.gt-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--mint);
	color: var(--wp--preset--color--navy);
	cursor: pointer;
}
.gt-modal__close:hover { background: var(--wp--preset--color--navy); color: #fff; }
.gt-modal__close:focus-visible, .gt-modal__back:focus-visible { outline: 3px solid var(--wp--preset--color--teal); outline-offset: 2px; }
@media (max-width: 781px) {
	/* Phones: a sheet that slides up from the bottom of the screen. */
	.gt-modal { width: 100%; max-height: 100dvh; margin: auto 0 0; }
	.gt-modal[open] { animation-name: gt-sheet-in; }
	.gt-modal__panel { grid-template-columns: 1fr; max-height: calc(100dvh - 16px); border-radius: 24px 24px 0 0; box-shadow: none; }
	.gt-modal__intro { gap: 10px; padding: 20px 64px 18px 20px; }
	.gt-modal__title { font-size: 1.25rem; }
	.gt-modal__intro p { font-size: 0.875rem; line-height: 1.5; }
	.gt-modal__ticks { flex-flow: row wrap; gap: 6px 14px; margin: 0; font-size: 0.8125rem; }
	.gt-modal__ticks li { gap: 6px; }
	.gt-modal__ticks svg { width: 18px; height: 18px; padding: 3px; }
	.gt-modal .gt-form { gap: 10px; }
	.gt-modal .gt-field textarea { min-height: 80px; }
	.gt-modal__body { padding: 22px 20px calc(24px + env(safe-area-inset-bottom)); }
	.gt-modal__close { top: 10px; right: 10px; background: rgba(255, 255, 255, 0.14); color: #fff; }
	.gt-modal__close:hover { background: #fff; color: var(--wp--preset--color--navy); }
}

/* Header form: compact (boxes 48px including padding, shorter message box) */
.gt-form--hero { gap: 10px; }
.gt-form--hero .gt-field input, .gt-form--hero .gt-field textarea { box-sizing: border-box; }
.gt-form--hero .gt-field input { min-height: 48px; }
.gt-form--hero .gt-field textarea { min-height: 72px; resize: vertical; }
.gt-form--hero .gt-field--submit { margin-top: 2px; }
/* ==========================================================================
   Location pages (patterns/location-*.php, built by tools/locations/build.py)
   ========================================================================== */
.wp-block-post-content > section.gt-features { padding-block: 8px 0; }
.gt-features__cols { gap: 16px; }
.gt-features__cols > .wp-block-column { padding: 18px 20px; border: 1px solid #dce6ec; border-radius: var(--gt-shell); background: #fff; }
.gt-features h3 { margin: 0; font-size: 1.0625rem; }
.gt-features p { margin: 2px 0 0; color: #4a5872; font-size: 0.9375rem; }
.gt-local__cols { gap: clamp(24px, 4vw, 56px); align-items: center !important; }
.gt-local p { color: var(--wp--preset--color--ink); }
.gt-figure-slot--local { margin: 0; }
.gt-explain { background: var(--wp--preset--color--mist); }
.gt-feature-card { margin-bottom: 20px; }
.gt-feature-card h3 { margin: 0 0 8px; }
.gt-feature-card p { margin: 0 0 8px; max-width: 900px; }
.gt-feature-card .gt-row__more { margin: 0; }
.gt-whatwedo__intro { max-width: 820px; }
.gt-whatwedo__intro h3 { margin: 0 0 0.5rem; }
.gt-whatwedo__intro p { color: var(--wp--preset--color--ink); }
.gt-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 2rem; }
.gt-blocks > * { margin: 0 !important; }
.gt-blocks .gt-card h3 { margin: 0 0 14px; font-size: 1.25rem; }
.gt-blocks .gt-card p { margin: 0; color: var(--wp--preset--color--ink); }
.gt-whatwedo__why { margin-top: 20px; }
.gt-card--navy { background: var(--wp--preset--color--navy); color: #fff; }
.gt-card--navy h3 { color: #fff; margin: 0 0 14px; font-size: 1.375rem; }
.gt-card--navy .gt-ticks li::before { color: var(--wp--preset--color--yellow); }
.gt-card--navy .gt-ticks { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.gt-card--navy .gt-cta-row { margin-top: 24px; }
.gt-ticks--inline { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.gt-related-locations { background: #fff; }
.gt-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gt-chips a { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--wp--preset--color--teal); border-radius: 999px; color: var(--wp--preset--color--navy); font-weight: 600; text-decoration: none; }
.gt-chips a:hover { background: var(--wp--preset--color--mint); }
@media (max-width: 781px) {
	.gt-blocks { grid-template-columns: 1fr; }
	.gt-features__cols > .wp-block-column { padding: 14px 16px; }
}

/* ==========================================================================
   Case studies (patterns/case-study-*.php and case-studies.php, built by tools/case-studies/build.py)
   ========================================================================== */
.gt-hero--case h1, .gt-hero--cases h1 { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.1; }
.gt-hero--cases h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.gt-cs-hero__cols { align-items: center !important; }
.gt-cs-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; }
.gt-cs-tags__who { font-weight: 600; color: #c5d4e9; font-size: 0.9375rem; }
.gt-figure-slot--case { margin: 0; }
.gt-img-slot--case { position: relative; aspect-ratio: 4 / 3; border-radius: var(--gt-shell-lg); }
.gt-hero .gt-img-slot--case { background: rgba(255, 255, 255, 0.1); }
.gt-hero .gt-img-slot--case::after { color: #e6f4f5 !important; }
.gt-cs-hero__lead { color: var(--wp--preset--color--teal) !important; font-weight: 600; font-size: clamp(1.125rem, 1.6vw, 1.375rem); }
.gt-cs-hero__aside { margin: 0; }
.gt-cs-hero__aside a { font-weight: 600; }

/* At a glance */
.gt-cs-glance { border-bottom: 1px solid #dce6ec; }
.gt-cs-glance h2, .gt-cs-approach h2, .gt-cs-challenge h2, .gt-cs-results h2, .gt-cs-extra h2 { margin-top: 0; }
.gt-cs-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; margin-top: 2rem; }
.gt-cs-figures > * { margin: 0 !important; }
.gt-cs-figure .gt-figure { margin: 0; font-size: clamp(3.25rem, 5vw, 4.25rem); color: var(--wp--preset--color--teal-deep); }
.gt-cs-figure h3 { margin: 10px 0 4px; font-size: 1.125rem; }
.gt-cs-figure p:last-child { margin: 0; font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.gt-cs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); margin-top: 2.5rem; border: 1px solid #dce6ec; border-radius: var(--gt-shell); overflow: hidden; font-size: 0.9375rem; }
.gt-cs-facts__panel { margin: 0; padding: 24px; background: var(--wp--preset--color--mist); display: grid; grid-template-columns: minmax(84px, max-content) 1fr; gap: 8px 14px; align-content: start; }
.gt-cs-facts__panel--mint { background: var(--wp--preset--color--mint); }
.gt-cs-facts dt { font-weight: 600; }
.gt-cs-facts dd { margin: 0; }

/* Client, challenge, approach */
.gt-cs-client__cols { gap: 2rem 4rem; }
.gt-cs-client h2 { margin-top: 0; }
.gt-cs-client p { color: var(--wp--preset--color--ink); max-width: 760px; }
.gt-cs-highlight { padding: 20px 24px; border-radius: 16px; background: var(--wp--preset--color--mint); color: var(--wp--preset--color--navy) !important; font-weight: 500; }
.gt-cs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px 32px; }
.gt-cs-grid > * { margin: 0 !important; }
.gt-cs-grid h3 { margin: 0 0 8px; font-size: 1.25rem; }
.gt-cs-grid p { margin: 0; font-size: 1rem; }
.gt-cs-challenge h2, .gt-cs-challenge h3 { color: #fff; }
.gt-cs-challenge .gt-accent { color: var(--wp--preset--color--yellow); }
.gt-cs-intro p { max-width: 820px; margin: 0 0 2.5rem; color: var(--wp--preset--color--ink); }
.gt-cs-challenge .gt-cs-intro p { color: #e3ecf6; }
.gt-cs-item { border-top: 3px solid var(--wp--preset--color--teal); padding-top: 18px; }
.gt-cs-item p { color: #c5d4e9 !important; }
.gt-cs-steps--4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.gt-cs-step { background: var(--wp--preset--color--mint); border-radius: var(--gt-shell); padding: 28px; }
.gt-cs-approach.gt-mint .gt-cs-step { background: #fff; }
.gt-cs-step p, .gt-cs-panel p { color: var(--wp--preset--color--ink); }

/* Results and charts */
.gt-cs-results__cols { gap: 40px; margin-top: 1.5rem; }
.gt-cs-lead { margin-top: 0; font-size: 1.25rem; color: var(--wp--preset--color--teal-deep); }
.gt-cs-note { padding: 20px 24px; border-radius: 16px; background: #fff; font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.gt-cs-results__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.gt-cs-results__cards > * { margin: 0 !important; }
.gt-cs-result { background: #fff; border-radius: var(--gt-shell); padding: 24px; }
.gt-cs-result h3 { margin: 0 0 8px; font-size: 1.1875rem; }
.gt-cs-result p { margin: 0; font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.gt-cs-result--navy { background: var(--wp--preset--color--navy); }
.gt-cs-result--navy h3 { color: var(--wp--preset--color--teal); }
.gt-cs-result--navy p { color: #e3ecf6; }
.gt-chart { margin: 24px 0 0; padding: 24px; background: #fff; border-radius: var(--gt-shell); font-size: 0.8125rem; color: var(--wp--preset--color--ink); }
.gt-chart__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 28px; padding: 0; }
.gt-chart__legend li { display: inline-flex; align-items: center; gap: 6px; }
.gt-chart__key { width: 12px; height: 12px; border-radius: 3px; background: var(--wp--preset--color--navy); }
.gt-chart__key--b { background: var(--wp--preset--color--teal); }
.gt-chart__plot { height: 200px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; border-bottom: 1px solid #b9cfd6; }
.gt-chart__col { height: 100%; display: flex; gap: 6px; align-items: flex-end; justify-content: center; }
.gt-chart__bar { position: relative; width: 38%; background: var(--wp--preset--color--navy); border-radius: 6px 6px 0 0; }
.gt-chart__bar--b { width: 28%; background: var(--wp--preset--color--teal); }
.gt-chart__bar span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); padding-bottom: 4px; font-weight: 600; color: var(--wp--preset--color--navy); white-space: nowrap; }
.gt-chart__names { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 8px; text-align: center; }
.gt-chart__axis { margin: 4px 0 0; text-align: center; font-weight: 600; }
.gt-chart__ylabel { margin: 0 0 4px; font-weight: 600; }
.gt-chart__svg { display: block; width: 100%; height: auto; font-size: 13px; fill: var(--wp--preset--color--ink); }
.gt-chart__grid { stroke: #dce6ec; }
.gt-chart__area { fill: var(--wp--preset--color--mint); }
.gt-chart__line { fill: none; stroke: var(--wp--preset--color--teal-deep); stroke-width: 3; }
.gt-chart figcaption { margin-top: 12px; color: #4a5872; }

/* Quote, extra section, call to action, related */
.gt-cs-quote__inner { max-width: 1000px; }
.gt-cs-quote h2 { margin-top: 0; }
.gt-cs-quote__q { margin: 2rem 0; padding-left: 28px; border-left: 4px solid var(--wp--preset--color--teal); }
.gt-cs-quote__q p { font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.45; color: var(--wp--preset--color--navy); margin: 0 0 12px; }
.gt-cs-quote__q cite { font-style: normal; font-size: 0.9375rem; color: #4a5872; }
.gt-cs-quote__q cite strong { color: var(--wp--preset--color--teal-deep); }
.gt-cs-after { color: var(--wp--preset--color--ink); }
.gt-cs-panel { background: #fff; border-left: 4px solid var(--wp--preset--color--slate); border-radius: 0 16px 16px 0; padding: 24px; }
.gt-cs-after-wrap { margin-top: 24px; }
.gt-cs-cta__cols { gap: 2.5rem 4rem; }
.gt-cs-cta h2 { color: #fff; margin-top: 0; }
.gt-cs-cta__kicker { margin: 0 0 8px; font-weight: 600; color: var(--wp--preset--color--teal) !important; }
.gt-cs-cta__sub { color: var(--wp--preset--color--teal) !important; font-weight: 500; font-size: 1.375rem; margin-top: 2rem; }
.gt-cs-cta__actions { align-self: center; }
.gt-cs-cta__note { text-align: center; color: #c5d4e9 !important; font-size: 0.8125rem !important; }
.gt-cs-related__cols { gap: 32px; }
.gt-cs-related h2 { margin-top: 0; }
.gt-cs-download a { font-weight: 600; color: var(--wp--preset--color--teal-deep); }

/* Listing: filters and cards */
.gt-cs-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 32px; }
.gt-cs-filters[hidden] { display: none; }
.gt-cs-filters__group { display: flex; flex-wrap: wrap; gap: 8px; }
.gt-cs-filters button, .gt-cs-filters select { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #b9cfd6; background: #fff; color: var(--wp--preset--color--navy); font: inherit; font-size: 0.9375rem; font-weight: 600; cursor: pointer; }
.gt-cs-filters button[aria-pressed="true"] { background: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); color: #fff; }
.gt-cs-filters__service { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 600; }
.gt-cs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.gt-cs-card { display: flex; flex-direction: column; border: 1px solid #dce6ec; border-radius: var(--gt-shell-lg); overflow: hidden; background: #fff; }
.gt-cs-card[hidden] { display: none; }
.gt-cs-card__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 28px 28px 24px; background: var(--wp--preset--color--navy); }
.gt-cs-card__stat { margin: 0; font-size: clamp(3.5rem, 6vw, 4.75rem); color: var(--wp--preset--color--yellow); }
.gt-cs-card__label { margin: 0; max-width: 160px; text-align: right; font-size: 0.8125rem; color: #c5d4e9; }
.gt-cs-card__body { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 28px; }
.gt-cs-card__body h2 { margin: 0; font-size: 1.3125rem; line-height: 1.25; }
.gt-cs-card__body p { margin: 0; font-size: 1rem; color: var(--wp--preset--color--ink); }
.gt-cs-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 0.875rem; color: var(--wp--preset--color--ink); }
.gt-cs-card dt { font-weight: 600; color: var(--wp--preset--color--navy); }
.gt-cs-card dd { margin: 0; }
.gt-cs-card__link { margin-top: auto; align-self: flex-start; padding: 12px 22px; border-radius: 999px; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); font-weight: 600; text-decoration: none; }
.gt-cs-card__link:hover { background: var(--wp--preset--color--navy); color: #fff; }
.gt-cs-empty { padding: 24px; border-radius: var(--gt-shell); background: var(--wp--preset--color--mist); font-weight: 600; }
@media (max-width: 781px) {
	.gt-cs-card__top, .gt-cs-card__body { padding: 22px; }
	.gt-chart { padding: 18px; }
}

/* ==========================================================================
   Reviews page and audience pages (patterns/reviews.php and audience-*.php, built by tools/audience/build.py)
   ========================================================================== */
/* Reviews: Google rating card */
.gt-rating-card { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--gt-shell-lg); background: #fff; color: var(--wp--preset--color--navy); }
.gt-rating-card p { margin: 0; color: var(--wp--preset--color--ink) !important; }
.gt-rating-card__label { font-size: 0.875rem; font-weight: 600; }
.gt-rating-card__score { display: flex; align-items: baseline; gap: 12px; }
.gt-rating-card__score strong { font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: 3.25rem; line-height: 1; color: var(--wp--preset--color--navy); }
.gt-rating-card__score .gt-rating__stars { font-size: 1.5rem; }
.gt-rating-card__count { font-size: 0.9375rem; }
.gt-rating-card__links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 8px !important; }
.gt-hero .gt-rating-card a { color: var(--wp--preset--color--teal-deep); font-weight: 600; }

/* Reviews: wall of testimonials (filter buttons reuse the case studies listing styles) */
.gt-wall { list-style: none; margin: 0; padding: 0; columns: 340px; column-gap: 24px; }
.gt-wall__item { break-inside: avoid; margin-bottom: 24px; }
.gt-wall__item[hidden] { display: none; }
.gt-wall .gt-testimonial { background: var(--wp--preset--color--mist); gap: 14px; }
.gt-wall .gt-testimonial::before { content: "\201C"; font-family: var(--wp--preset--font-family--headings); font-weight: 700; font-size: 2.75rem; line-height: 0.6; color: var(--wp--preset--color--teal); }

/* Reviews: call to action band */
.gt-reviews-cta__cols { align-items: center !important; gap: 1.5rem 3rem; }
.gt-reviews-cta h2 { color: #fff; margin: 0 0 8px; }
.gt-reviews-cta p { margin: 0; }
.gt-reviews-cta__btns { justify-content: flex-end; gap: 12px; }

/* Audience pages */
.gt-hero--audience { --gt-wave-next: var(--wp--preset--color--mint); }
.gt-aud-hero__btns { margin-top: 1.75rem; gap: 12px; }
.gt-rating--dark { text-align: left; }
.gt-rating--dark a { color: #c5d4e9 !important; }
.gt-rating--dark strong { color: #fff; }
.gt-rating--dark .gt-rating__stars { color: var(--wp--preset--color--yellow); }
.gt-aud-results h2, .gt-aud-services h2 { margin-top: 0; margin-bottom: 2rem; }
.gt-aud-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.gt-aud-case { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--gt-shell-lg); background: #fff; }
.gt-aud-case p, .gt-aud-case h3 { margin: 0; }
.gt-aud-case p { color: var(--wp--preset--color--ink); }
.gt-aud-case h3 { font-size: 1.25rem; line-height: 1.25; }
.gt-aud-case__stat { font-size: clamp(4rem, 6vw, 5rem); color: var(--wp--preset--color--navy) !important; }
.gt-aud-case__label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--teal-deep) !important; }
.gt-aud-case__link { margin-top: auto; font-weight: 600; color: var(--wp--preset--color--teal-deep); }
.gt-aud-case--navy { background: var(--wp--preset--color--navy); }
.gt-aud-case--navy h3, .gt-aud-case--navy .gt-aud-case__stat { color: #fff !important; }
.gt-aud-case--navy p { color: #e3ecf6; }
.gt-aud-case--navy .gt-aud-case__label, .gt-aud-case--navy .gt-aud-case__link { color: var(--wp--preset--color--teal) !important; }
.gt-aud-services__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.gt-aud-services__grid > * { margin: 0 !important; }
.gt-svc { display: flex; flex-direction: column; gap: 12px; border: 1px solid #dce6ec; box-shadow: none; }
.gt-svc > * { margin: 0 !important; }
.gt-svc h3 { font-size: 1.3125rem; }
.gt-svc p { font-size: 1rem; color: var(--wp--preset--color--ink); }
.gt-svc__link { margin-top: auto !important; font-weight: 600; }
.gt-svc__link a { color: var(--wp--preset--color--teal-deep); }
.gt-svc--cta { justify-content: center; background: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); }
.gt-svc--cta .gt-svc__title { font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: 1.375rem; color: #fff; }
.gt-svc--cta .wp-block-buttons { gap: 8px 20px; align-items: center; }
.gt-svc--cta .is-style-text .wp-block-button__link { color: #fff !important; }
.gt-aud-services__grid > .gt-svc--cta:nth-child(7) { grid-column: 1 / -1; flex-flow: row wrap; align-items: center; justify-content: space-between; }
.gt-tm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; align-items: start; }

/* ==========================================================================
   Company pages: About, Our Prices, Contact Us, Our Clients
   (patterns/company-*.php, built by tools/company-pages/build.py)
   ========================================================================== */
.gt-hero--company h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.gt-hero--to-slate { --gt-wave-next: var(--wp--preset--color--slate); }
.gt-hero--to-mint { --gt-wave-next: var(--wp--preset--color--mint); }
.gt-hero__media { margin: 0; }
.gt-hero__media img, .gt-hero__pair img { display: block; width: 100%; height: auto; border-radius: var(--gt-shell-photo); }
.gt-hero__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gt-hero__pair img { aspect-ratio: 2 / 3; object-fit: cover; border-radius: 80px 12px 80px 12px; }
.gt-hero__pair img + img { border-radius: 12px 80px 12px 80px; margin-top: 40px; }

/* Real client logos (uploaded files) */
.gt-logos--img { list-style: none; margin: 2rem auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 26px; }
.gt-logos--img li { flex: 0 1 110px; display: flex; align-items: center; justify-content: center; height: 80px; }
.gt-logos--img:not(.gt-logos--platforms) img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 781px) { .gt-logos--img { gap: 16px 24px; } .gt-logos--img li { flex-basis: 120px; height: 64px; } }

/* Platform and tool logos: each file's width and height are set for an even visual weight */
.gt-logos--platforms { gap: 28px 44px; }
.gt-logos--platforms li { flex: 0 0 auto; height: 52px; }
.gt-logos--platforms img { display: block; max-width: 100%; height: auto; }
@media (max-width: 781px) { .gt-logos--platforms { gap: 20px 28px; } .gt-logos--platforms li { flex-basis: auto; height: 48px; } }

/* About: founder and team */
.gt-founder-bio__cols { gap: 2rem 3rem; }
.gt-founder-bio h2 { margin-top: 0; }
.gt-founder-bio p:not(.gt-check) { max-width: 760px; color: var(--wp--preset--color--ink); }
.gt-founder-bio__photo img { max-width: 300px; }
.gt-founder-bio figure { margin: 0; }
.gt-founder-bio img, .gt-ethos__media img { display: block; width: 100%; height: auto; border-radius: var(--gt-shell-lg); }
.gt-team h2 { margin-top: 0; }
.gt-team__grid { list-style: none; padding: 0; margin: 2rem auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 24px; }
.gt-team__person { flex: 0 1 200px; text-align: center; }
@media (max-width: 781px) { .gt-team__person { flex-basis: 150px; } }
.gt-team__person img { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 auto 14px; border-radius: 50%; border: 4px solid #fff; box-shadow: 8px 8px 0 var(--wp--preset--color--teal); }
.gt-team__person h3 { margin: 0 0 4px; font-size: 1.25rem; }
.gt-team__person p { margin: 0; font-size: 0.9375rem; color: var(--wp--preset--color--ink); }

/* Ethos */
.gt-ethos__cols { gap: 2rem 4rem; align-items: center !important; }
.gt-ethos__media { margin: 0; }
.gt-ethos p { color: var(--wp--preset--color--ink); }
.gt-ethos__text { columns: 2 340px; column-gap: 4rem; }
.gt-ethos__text p { margin: 0 0 1.25rem; break-inside: avoid; }
.gt-why .gt-eyebrow { margin-bottom: 0; }

/* Our Prices: plan cards */
.gt-plans-sec h2 { margin-top: 0; }
.gt-plans-sec > .gt-eyebrow { margin-bottom: 0.5rem; }
.gt-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px 24px; align-items: start; margin-top: 2.5rem; }
.gt-plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; border: 1px solid #dce6ec; border-radius: var(--gt-shell-lg); background: #fff; }
.gt-plan > * { margin: 0; }
.gt-plan h3 { font-size: 1.3125rem; line-height: 1.25; }
.gt-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--wp--preset--color--teal-deep); }
.gt-plan__price .gt-figure { font-size: clamp(3.25rem, 5vw, 4.25rem); color: var(--wp--preset--color--navy); }
.gt-plan__period { font-weight: 600; }
.gt-plan__list { gap: 10px; font-size: 0.9375rem; }
.gt-plan__list li::before { color: var(--wp--preset--color--teal-deep); }
.gt-ticks .gt-plan__note::before { --gt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E"); color: #b45309; }
.gt-plan__btn { align-self: flex-start; padding: 12px 22px; border-radius: 999px; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); font-weight: 600; text-decoration: none; }
.gt-plan__btn:hover { background: var(--wp--preset--color--navy); color: #fff; }
.gt-plan__fit { padding-top: 16px; border-top: 1px solid #dce6ec; font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.gt-plan__fit p { margin: 0 0 8px; }
.gt-plan__fit p:last-child { margin: 0; }
.gt-plan--popular { background: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); color: #fff; box-shadow: 14px 14px 0 var(--wp--preset--color--teal); }
.gt-plan--popular h3, .gt-plan--popular .gt-plan__price .gt-figure { color: #fff; }
.gt-plan--popular .gt-plan__price, .gt-plan--popular .gt-plan__list li::before { color: var(--wp--preset--color--teal); }
.gt-plan--popular .gt-plan__fit { color: #e3ecf6; border-color: #33507f; }
.gt-plan--popular .gt-ticks .gt-plan__note::before { color: var(--wp--preset--color--yellow); }
.gt-plan__badge { position: absolute; top: -15px; left: 28px; padding: 4px 14px; border-radius: 999px; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); font-size: 0.8125rem; font-weight: 600; }
.gt-plans__after { margin-top: 2.5rem !important; max-width: 900px; }
.gt-plans__after p { color: var(--wp--preset--color--ink); }
.gt-plans__after a { font-weight: 600; color: var(--wp--preset--color--teal-deep); }

/* Contact Us */
.gt-contact-details { margin-top: 1.5rem; }
.gt-contact-details p { margin-block: 0 1rem; }
.gt-contact-details .gt-contact-detail__label { margin-bottom: 0.25rem; color: #fff; }
.gt-map-link a { font-weight: 600; }
.gt-contact-closing { padding-block: 3rem !important; }
.gt-contact-closing__inner { display: flex; align-items: center; gap: 24px; }
.gt-contact-closing__inner::before { content: ""; flex: 0 0 96px; aspect-ratio: 140 / 110; background: url("assets/images/turtle-teal.svg") no-repeat center / contain; }
.gt-contact-closing .gt-lead { margin: 0; max-width: 760px; color: var(--wp--preset--color--navy); }
.gt-contact-ways { display: flex; flex-wrap: wrap; gap: 16px 48px; margin-top: 1.5rem; }
.gt-contact-way h3 { margin: 0 0 4px; font-size: 1.25rem; color: #fff; }
.gt-contact-way p { margin: 0; }

/* Our Clients */
.gt-cta-band__cols { align-items: center !important; gap: 1.5rem 3rem; }
.gt-cta-band__cols p { margin-bottom: 0; }
.gt-client-list h2 { margin-top: 0; }
.gt-client-list__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; margin-top: 2rem; }
.gt-client { display: flex; flex-direction: column; gap: 10px; }
.gt-client > * { margin: 0; }
.gt-client img { width: auto; max-width: 220px; height: 72px; object-fit: contain; object-position: left center; margin-bottom: 8px; }
.gt-client h3 { font-size: 1.25rem; }
.gt-client p { color: var(--wp--preset--color--ink); }
@media (max-width: 781px) {
	.gt-plan--popular { box-shadow: 8px 8px 0 var(--wp--preset--color--teal); }
	.gt-contact-closing__inner::before { flex-basis: 64px; }
}

/* ==========================================================================
   Hub pages: Services, AI Powered Digital Marketing
   (patterns/hub-*.php, built by tools/hub-pages/build.py)
   ========================================================================== */
.gt-hero__sub--small { font-size: clamp(1.375rem, 2.2vw, 1.75rem); margin-block: 2rem 0.75rem; }
.gt-hub-inbound__text { max-width: 900px; }
.gt-hub-inbound__text h2 { margin-top: 0; }
.gt-hub-inbound__text p { color: var(--wp--preset--color--ink); }
.gt-hub-inbound__text p a { color: var(--wp--preset--color--teal-deep); }
.gt-hub-group__cols { gap: 2rem 3.5rem; }
.gt-hub-group__head h2 { margin-top: 0; }
.gt-hub-group__head .gt-lead { color: var(--wp--preset--color--ink); }
.gt-hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.gt-hub-grid > * { margin: 0 !important; }
.gt-hub-grid--two { margin-top: 2rem !important; }
@media (min-width: 782px) { .gt-hub-grid--two { grid-template-columns: 1fr 1fr; } }
.gt-hub-card { background: #fff; }
.gt-hub-card__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 40px 8px 40px 8px; }
.gt-hub-card h3 a { color: var(--wp--preset--color--navy); text-decoration: none; }
.gt-hub-card h3 a:hover { color: var(--wp--preset--color--teal-deep); text-decoration: underline; }
.gt-hub-explore h2 { margin-top: 0; }

/* ==========================================================================
   Growth Partnership Opportunities, Privacy Policy, Cookie Policy
   (patterns/page-*.php, built by tools/more-pages/build.py)
   ========================================================================== */
.gt-gp__cols { gap: 2rem 4rem; }
.gt-gp__cols--center { align-items: center !important; }
.gt-gp__cols h2 { margin-top: 0; }
.gt-gp__head .gt-lead, .gt-gp-next p, .gt-gp-final p, .gt-gp-fit p { color: var(--wp--preset--color--ink); }
.gt-gp__photo { margin: 2rem 0 0; }
.gt-gp-final .gt-gp__photo { margin: 0; }
.gt-gp__photo img { display: block; width: 100%; height: auto; border-radius: var(--gt-shell-photo); }
.gt-gp__panels { display: flex; flex-direction: column; gap: 20px; }
.gt-gp__panels .gt-panel, .gt-gp__grid .gt-panel { margin: 0; }
.gt-gp__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; margin-top: 2rem !important; }
.gt-gp-why .gt-panel h3 { color: var(--wp--preset--color--navy); }
.gt-gp-why h2 { margin-top: 0; color: #fff; }
.gt-gp-fit .gt-crosses { margin-top: 1.5rem; }
.gt-gp__steps { list-style: none; counter-reset: gt-step; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 20px; }
.gt-gp__steps li { counter-increment: gt-step; position: relative; padding-left: 56px; color: var(--wp--preset--color--ink); }
.gt-gp__steps li strong { font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: 1.1875rem; color: var(--wp--preset--color--navy); }
.gt-gp__steps li::before { content: counter(gt-step); position: absolute; left: 0; top: -6px; font-family: var(--wp--preset--font-family--numbers); font-style: italic; font-size: 2.5rem; line-height: 1; color: var(--wp--preset--color--teal-deep); }
.gt-gp-next .gt-ticks { margin-block: 1.25rem; }
.gt-gp__card { padding: clamp(24px, 3vw, 40px); border-radius: var(--gt-shell-lg); background: var(--wp--preset--color--mint); }
.gt-gp__card h3 { margin-top: 0; }
.gt-gp__card ul { padding-left: 1.25rem; }
.gt-gp__final { font-family: var(--wp--preset--font-family--headings); font-size: var(--wp--preset--font-size--x-large); color: var(--wp--preset--color--navy) !important; }

/* Policies: one readable column */
.gt-hero--legal { padding-bottom: clamp(5rem, 9vw, 8rem) !important; }
.gt-legal { padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem) !important; color: var(--wp--preset--color--ink); }
.gt-legal h2 { margin-block: 2.5rem 0.75rem; font-size: clamp(1.625rem, 2.6vw, 2rem); }
.gt-legal h3 { margin-block: 2rem 0.5rem; font-size: 1.375rem; }
.gt-legal h4 { margin-block: 1.5rem 0.5rem; font-size: 1.125rem; }
.gt-legal p, .gt-legal li { overflow-wrap: anywhere; }
.gt-legal li + li { margin-top: 0.5rem; }
.gt-legal__date { font-weight: 600; color: var(--wp--preset--color--navy); }
.gt-legal__toc { margin-block: 2rem !important; padding: 20px 24px; border-radius: var(--gt-shell); background: var(--wp--preset--color--mint); }
.gt-legal__toc p { margin: 0 0 0.5rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.gt-legal__toc ul { margin: 0; padding-left: 1.25rem; }
.gt-legal__button span { display: inline-block; padding: 8px 24px; border: 1px solid #c9d3e0; border-radius: 8px; background: #f5f8fa; color: #4a5872; }

/* ==========================================================================
   Blog: listing (/digital-marketing-insights/, templates/home.html), category pages
   (archive.html), articles (single.html) and search results (search.html).
   Patterns: blog-listing, blog-intro, blog-cta, blog-contact. PHP: inc/blog.php
   ========================================================================== */
/* Hero */
.gt-hero--blog, .gt-hero--post { --gt-wave-next: var(--wp--preset--color--mist); padding-bottom: clamp(5rem, 8vw, 7rem) !important; }
.gt-hero--post { --gt-wave-next: #fff; }
.gt-blog-head, .gt-post-head { max-width: 900px; }
.gt-hero--blog h1, .gt-hero--post h1 { margin-block: 0.25rem 0; }
.gt-hero--post h1 { font-size: clamp(2.125rem, 4vw, 3.5rem); line-height: 1.1; }
.gt-page-of { margin: 0.75rem 0 0; font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: 1.125rem; color: var(--wp--preset--color--yellow) !important; }
.gt-hero .gt-blog-intro { max-width: 760px; margin-top: 1.25rem; font-size: 1.125rem; }
.gt-hero .gt-blog-intro p { margin: 0; color: inherit; }

/* Category links (chips) */
.gt-blog-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 2.5rem; }
.gt-blog-topics__label { margin: 0; font-weight: 600; color: var(--wp--preset--color--navy); }
.gt-chips--topics { gap: 8px; }
.gt-chips--topics a { padding: 8px 16px; background: #fff; font-size: 0.9375rem; }
.gt-chips--topics .current-cat a, .gt-chips--topics a[aria-current] { background: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--navy); color: #fff; }

/* Article cards (the whole card is clickable through its title link) */
.gt-blog { padding-top: clamp(2rem, 4vw, 3rem) !important; }
.gt-post-cards > li { margin: 0 !important; }
.gt-post-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gt-post-card { position: relative; height: 100%; margin: 0; display: flex; flex-direction: column; gap: 10px; padding: 0 0 24px; border-radius: var(--gt-shell-lg); background: #fff; box-shadow: 0 10px 30px rgba(5, 29, 75, 0.06); overflow: hidden; }
.gt-post-card > * { margin: 0 24px !important; }
.gt-post-card > .gt-post-card__img { margin: 0 0 8px !important; }
.gt-post-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--wp--preset--color--mint); }
.gt-post-card__cats { position: relative; z-index: 1; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #4a5872; }
.gt-post-card__cats a { color: var(--wp--preset--color--teal-deep); text-decoration: none; }
.gt-post-card__cats a:hover { text-decoration: underline; }
.gt-post-card__title { font-size: 1.25rem !important; line-height: 1.3; }
.gt-post-card__title a { color: var(--wp--preset--color--navy); text-decoration: none; }
.gt-post-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.gt-post-card:hover .gt-post-card__title a { color: var(--wp--preset--color--teal-deep); text-decoration: underline; }
.gt-post-card:has(.gt-post-card__title a:focus-visible) { outline: 3px solid var(--wp--preset--color--navy); outline-offset: 3px; }
/* Light sections: a navy focus ring (the site's yellow ring is hard to see on white) */
.gt-blog a:focus-visible, .gt-article a:focus-visible, .gt-author a:focus-visible { outline-color: var(--wp--preset--color--navy); }
.gt-post-card__title a:focus-visible { outline: none; }
.gt-post-card__excerpt { font-size: 0.9375rem; color: var(--wp--preset--color--ink); }
.gt-post-card__excerpt p { margin: 0; }
.gt-post-card__more { position: relative; z-index: 1; margin-top: auto !important; align-self: flex-start; font-weight: 600; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--teal-deep); text-decoration: none; }
.gt-post-card__more:hover { color: var(--wp--preset--color--navy); text-decoration: underline; }

/* Pagination: previous / numbers / next; the current page is not a link */
.gt-pagination { margin-top: 2.5rem !important; gap: 8px; font-weight: 600; }
.gt-pagination a, .gt-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--wp--preset--color--navy); text-decoration: none; }
.gt-pagination a { background: #fff; box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--teal); }
.gt-pagination a:hover { background: var(--wp--preset--color--mint); }
.gt-pagination .page-numbers.current { background: var(--wp--preset--color--navy); color: #fff; }
.gt-pagination .page-numbers.dots { box-shadow: none; background: none; min-width: 24px; padding: 0; }
.gt-pagination .wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; gap: 8px; }

/* Article */
.gt-post { padding-block: 0 clamp(3rem, 6vw, 5rem); --wp--style--global--content-size: 820px; --wp--style--global--wide-size: 1000px; }
.gt-post > .gt-post-image { max-width: 1000px !important; margin: 0 auto 2.5rem; }
.gt-post-image { text-align: center; }
.gt-post-image img { display: block; width: auto; max-width: 100%; max-height: 560px; height: auto; margin-inline: auto; object-fit: contain; border-radius: var(--gt-shell-lg); }
.gt-post-head__cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0.75rem; font-size: 0.875rem; font-weight: 600; }
.gt-post-head__cats a { padding: 5px 14px; border: 1px solid var(--wp--preset--color--teal); border-radius: 999px; background: rgba(50, 178, 191, 0.16); text-decoration: none; }
.gt-post-head__cats a:hover { background: var(--wp--preset--color--teal); color: var(--wp--preset--color--navy) !important; }
.gt-post-head__cats .wp-block-post-terms__separator { display: none; }
.gt-post-meta { margin-top: 1.25rem; gap: 4px 0; color: #c5d4e9; font-size: 0.9375rem; }
.gt-post-meta > * { margin: 0; }
.gt-post-meta > * + *::before { content: "·"; margin-inline: 10px; }

/* Article text: one readable column (760px, from theme.json) */
.gt-article { color: var(--wp--preset--color--ink); font-size: 1.125rem; line-height: 1.7; overflow-wrap: break-word; }
/* Reading column 820px; tables, pictures, cards and the call to action may use up to 1000px */
.gt-post > .gt-article { max-width: var(--wp--style--global--wide-size) !important; }
.gt-article > :is(table, figure, .wp-block-table, .wp-block-image, .wp-caption, .gt-cluster-card, .gt-post-cta) { max-width: var(--wp--style--global--wide-size) !important; }
.gt-article :where(h2, h3, h4) { color: var(--wp--preset--color--navy); font-style: normal; }
.gt-article h2 { margin-block: 2.75rem 0.75rem; font-size: clamp(1.625rem, 2.8vw, 2.125rem); line-height: 1.2; }
.gt-article h3 { margin-block: 2rem 0.5rem; font-size: 1.375rem; }
.gt-article h4 { margin-block: 1.5rem 0.5rem; font-size: 1.125rem; }
.gt-article > :first-child { margin-top: 0; }
.gt-article :where(ul, ol) { padding-left: 1.4rem; }
.gt-article li + li { margin-top: 0.4rem; }
.gt-article li::marker { color: var(--wp--preset--color--teal-deep); }
.gt-article a { text-underline-offset: 3px; }
.gt-article img, .gt-article video, .gt-article iframe, .gt-article embed, .gt-article object { max-width: 100%; }
.gt-article img { height: auto; border-radius: 12px; }
.gt-article figure { max-width: 100%; margin-inline: 0; }
.gt-article figcaption, .gt-article .wp-caption-text { margin-top: 8px; font-size: 0.875rem; color: #4a5872; }
.gt-article .wp-caption { max-width: 100% !important; }
/* Quotes in articles are not testimonials, so upright (italics are for numbers and testimonials) */
.gt-article blockquote, .gt-article .wp-block-quote { margin: 2rem 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--wp--preset--color--teal); font-style: normal; font-size: 1.125rem; color: var(--wp--preset--color--navy); }
.gt-article blockquote p { margin: 0 0 0.5rem; }
.gt-article blockquote cite { font-style: normal; font-size: 0.9375rem; color: #4a5872; }
/* Tables scroll sideways on small screens instead of widening the page */
.gt-article table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-block: 1.5rem; font-size: 0.9375rem; line-height: 1.5; }
.gt-article .wp-block-table { overflow-x: auto; }
.gt-article .wp-block-table table { display: table; }
.gt-article :where(th, td) { padding: 10px 14px; border: 1px solid #dce6ec; text-align: left; vertical-align: top; min-width: 120px; }
.gt-article th, .gt-article thead td { background: var(--wp--preset--color--mint); color: var(--wp--preset--color--navy); font-weight: 600; }
.gt-article :where(code, kbd) { padding: 2px 6px; border-radius: 4px; background: var(--wp--preset--color--mist); font-size: 0.9em; }
.gt-article pre { max-width: 100%; overflow-x: auto; padding: 16px 20px; border-radius: 12px; background: var(--wp--preset--color--mist); font-size: 0.9375rem; }
.gt-article pre code { padding: 0; background: none; }
.gt-article hr { margin-block: 2.5rem; border: 0; border-top: 1px solid #dce6ec; }
/* Leftovers from the old page builder: keep the text, drop the duplicate arrow icons */
.gt-article [id^="elementor-tab-title"] svg, .gt-article [id^="elementor-tab-title"] br { display: none; }
.gt-article [id^="elementor-tab-title"] a { color: inherit; text-decoration: none; }
.gt-article [class*="elementor"] { max-width: 100%; }

/* Pillar → cluster cards and "Part of our … guide" notes (made from the article's own links, see inc/blog.php) */
.gt-cluster-card { box-sizing: border-box; position: relative; margin-block: 2rem !important; padding: 22px 26px; border: 1.5px solid var(--wp--preset--color--teal); border-radius: var(--gt-shell); background: #fff; transition: background-color 0.15s, box-shadow 0.15s; }
.gt-cluster-card:hover { background: var(--wp--preset--color--mint); box-shadow: 0 10px 30px rgba(5, 29, 75, 0.08); }
.gt-article .gt-cluster-card__title { margin: 0; font-size: 1.3125rem; line-height: 1.3; }
.gt-cluster-card__title a { color: var(--wp--preset--color--teal-deep); text-decoration: none; }
.gt-cluster-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.gt-cluster-card:hover .gt-cluster-card__title a { text-decoration: underline; text-underline-offset: 4px; }
.gt-cluster-card__title a:focus-visible { outline: none; }
.gt-cluster-card:has(.gt-cluster-card__title a:focus-visible) { outline: 3px solid var(--wp--preset--color--navy); outline-offset: 3px; }
.gt-cluster-card p { margin: 8px 0 0; font-size: 1rem; }
.gt-cluster-card p a { position: relative; z-index: 1; }
.gt-guide-note { box-sizing: border-box; margin-block: 1.5rem 2rem !important; padding: 16px 22px; border-left: 4px solid var(--wp--preset--color--teal); border-radius: 0 16px 16px 0; background: var(--wp--preset--color--mint); color: var(--wp--preset--color--navy); }
.gt-article .gt-guide-note__title { margin: 0 0 6px; font-size: 1.1875rem; }
.gt-guide-note p { margin: 0; }

/* Call to action inside the article (wording follows the article's category, see inc/blog.php) */
.gt-post-cta { box-sizing: border-box; position: relative; margin-block: 2.5rem !important; padding: clamp(24px, 3vw, 36px); border-radius: var(--gt-shell-lg); background: var(--wp--preset--color--navy); color: #fff; box-shadow: 12px 12px 0 var(--wp--preset--color--teal); }
.gt-article .gt-post-cta__title { margin: 0 0 18px; font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: clamp(1.375rem, 2.4vw, 1.75rem); line-height: 1.2; color: #fff; }
.gt-post-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 0; }
.gt-article .gt-post-cta__btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 26px; border-radius: 999px; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); font-weight: 600; font-size: 1rem; text-decoration: none; }
.gt-article .gt-post-cta__btn:hover { background: #fff; }
.gt-article .gt-post-cta__link { color: #fff; font-weight: 600; font-size: 1rem; text-underline-offset: 4px; }
.gt-article .gt-post-cta__link::after { content: " →"; }
.gt-article .gt-post-cta__link[href$="/services/"]::after { content: none; }
.gt-post-cta a:focus-visible { outline-color: var(--wp--preset--color--yellow) !important; }

/* End-of-article call to action: a navy card on mint */
.gt-cta-band--post { background: var(--wp--preset--color--mint); padding-block: clamp(3rem, 6vw, 5rem) !important; }
.gt-cta-card { padding: clamp(32px, 5vw, 64px); border-radius: var(--gt-shell-photo); gap: 2rem; box-shadow: 14px 14px 0 var(--wp--preset--color--teal); }
.gt-cta-card h2 { font-size: clamp(1.875rem, 3.6vw, 3rem) !important; max-width: 620px !important; color: #fff; }
.gt-cta-card::before { opacity: 0.18; width: 380px; right: -60px; top: -40px; }

/* Author line */
.gt-author { max-width: var(--wp--style--global--content-size, 820px); margin: 3rem auto 0 !important; padding: 24px 28px; border-radius: var(--gt-shell); background: var(--wp--preset--color--mint); }
.gt-author > * { margin: 0; }
.gt-author__label { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--teal-deep); }
.gt-author__name { margin-top: 4px; font-family: var(--wp--preset--font-family--headings); font-weight: 600; font-size: 1.25rem; color: var(--wp--preset--color--navy); }
.gt-author__bio { margin-top: 8px; color: var(--wp--preset--color--ink); }

/* Related articles */
.gt-related-posts h2 { margin: 0 auto 1.75rem; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.gt-related-posts .gt-post-card__title { font-size: 1.1875rem !important; }

/* Search results as cards */
.gt-post-search { margin-top: 1rem; }

@media (max-width: 1100px) { .gt-post-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 781px) {
	.gt-post-cards { grid-template-columns: 1fr; gap: 20px; }
	.gt-post-card > * { margin-inline: 20px !important; }
	.gt-blog-topics { margin-bottom: 1.75rem; }
	.gt-chips--topics { gap: 6px; }
	.gt-chips--topics a { padding: 6px 12px; font-size: 0.875rem; }
	.gt-hero .gt-blog-intro { font-size: 1rem; }
	.gt-article h2 { margin-top: 2.25rem; }
	.gt-author { padding: 20px; }
}
@media (max-width: 781px) {
	.gt-post-cta { box-shadow: 6px 6px 0 var(--wp--preset--color--teal); }
	.gt-cta-card { border-radius: var(--gt-shell-lg); box-shadow: 8px 8px 0 var(--wp--preset--color--teal); }
	.gt-cluster-card { padding: 18px 20px; }
	.gt-article { font-size: 1.0625rem; }
}
