/*
Theme Name: Tegrity Marketing
Theme URI: https://tegrity.marketing/
Author: Tegrity Marketing
Author URI: https://tegrity.marketing/
Description: Pixel-matched WordPress rebuild of the tegrity.marketing Framer site. Custom post types for Services, Case Studies, Testimonials and Team Members, ACF Pro field groups for every page template, contact form with entry log, and a one-click demo importer.
Version: 1.0.10
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tegrity
*/

/* =========================================================================
   Tokens
   ====================================================================== */
:root {
	--tm-bg: #f8f8fa;
	--tm-ink: #151716;
	--tm-body: #222222;
	--tm-muted: #444444;
	--tm-muted-2: #aaaaaa;
	--tm-tag: #eeeeee;
	--tm-green: #9ebc80;
	--tm-font: "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--tm-gutter: 80px;
	--tm-section: 112px;
}

/* =========================================================================
   Base
   ====================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--tm-bg);
	color: var(--tm-body);
	font-family: var(--tm-font);
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; font-weight: 400; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.tm-page { position: relative; overflow-x: clip; }
.tm-main { display: block; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.tm-container { width: 100%; max-width: 1280px; margin: 0 auto; }
.tm-container--1200 { max-width: 1200px; }
.tm-container--900 { max-width: 900px; }
.tm-section { padding: var(--tm-section) var(--tm-gutter); }
.tm-section--work { padding-top: 0; }
.tm-stack-60 { display: flex; flex-direction: column; gap: 60px; }
.tm-max-960 { max-width: 960px; }
.tm-head-960 { max-width: 960px; display: flex; flex-direction: column; gap: 16px; }
.tm-head-960 p { color: var(--tm-body); }
.tm-upper { text-transform: uppercase; }
.tm-divider { height: 1px; background: var(--tm-ink); }

.tm-h1 { font-size: 56px; line-height: 61.6px; color: var(--tm-ink); font-weight: 400; }
.tm-h1 strong { font-weight: 700; }
.tm-h1--case { line-height: 72.8px; }
.tm-h2 { font-size: 48px; line-height: 57.6px; color: var(--tm-ink); font-weight: 400; }
.tm-h2--32 { font-size: 32px; line-height: 38.4px; }

/* Rich text */
.tm-rich { color: var(--tm-body); font-size: 16px; line-height: 24px; }
.tm-rich > * + * { margin-top: 20px; }
.tm-rich p + p { margin-top: 20px; }
.tm-rich h2 { font-size: 48px; line-height: 57.6px; color: var(--tm-ink); margin-top: 40px; }
.tm-rich h3 { font-size: 32px; line-height: 38.4px; color: var(--tm-ink); margin-top: 40px; }
.tm-rich h4 { font-size: 24px; line-height: 28.8px; color: var(--tm-ink); margin-top: 40px; }
.tm-rich h5, .tm-rich h6 { font-size: 18px; line-height: 24px; font-weight: 700; color: var(--tm-ink); margin-top: 32px; }
.tm-rich--article h2, .tm-rich--article h3, .tm-rich--article h4 { margin-top: 84px; }
.tm-rich--article > :first-child { margin-top: 0; }
.tm-rich h2 + *, .tm-rich h3 + *, .tm-rich h4 + *, .tm-rich h5 + *, .tm-rich h6 + * { margin-top: 20px; }
.tm-rich ul, .tm-rich ol { padding-left: 18px; }
.tm-rich li + li { margin-top: 0; }
.tm-rich a { color: var(--tm-ink); text-decoration: underline; }
.tm-rich strong { font-weight: 700; }
.tm-rich img { width: 100%; height: auto; margin: 20px 0; }
.tm-rich figure { margin: 20px 0; }
.tm-rich blockquote { margin: 20px 0; padding-left: 18px; border-left: 2px solid var(--tm-ink); }
.tm-rich--case { max-width: 800px; }
.tm-rich--case p strong { font-weight: 700; }

/* Buttons */
.tm-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.tm-btns--center { justify-content: center; }
.tm-btns--left { justify-content: flex-start; }
.tm-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	height: 43px;
	padding: 0 24px;
	border: 1px solid var(--tm-ink);
	background: var(--tm-bg);
	color: var(--tm-body);
	font-size: 16px;
	line-height: 24px;
	text-transform: uppercase;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	white-space: nowrap;
}
.tm-btn--solid { background: var(--tm-ink); color: var(--tm-bg); }
.tm-btn--white { background: var(--tm-bg); color: var(--tm-body); }
.tm-btn__bg {
	position: absolute;
	inset: 0;
	background: var(--tm-ink);
	transform: translateY(calc(100% + 5px));
	transition: transform .35s cubic-bezier(.44, 0, .56, 1);
	z-index: 0;
}
.tm-btn--solid .tm-btn__bg { background: var(--tm-green); }
.tm-btn__txt { position: relative; z-index: 1; display: block; height: 24px; overflow: hidden; }
.tm-btn { transition: color .35s cubic-bezier(.44, 0, .56, 1); }
.tm-btn__a { display: block; }
.tm-btn__b { display: none; }
.tm-btn:hover .tm-btn__bg, .tm-btn:focus-visible .tm-btn__bg { transform: translateY(0); }
.tm-btn--outline:hover, .tm-btn--white:hover { color: var(--tm-bg); }
.tm-btn--solid:hover { color: var(--tm-ink); }

/* Pills / tags */
.tm-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tm-pills--left { justify-content: flex-start; }
.tm-pill { display: inline-block; background: var(--tm-tag); padding: 4px 8px; font-size: 16px; line-height: 20.8px; color: #000; }
.tm-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tm-tag { display: inline-block; background: var(--tm-tag); padding: 0 4px; font-size: 12px; line-height: 18px; color: var(--tm-body); }

/* Arrow link */
.tm-arrow-link { display: inline-flex; align-items: center; gap: 8px; color: var(--tm-ink); font-size: 16px; line-height: 24px; text-decoration: none; }
.tm-arrow-link__icon { position: relative; width: 22px; height: 22px; overflow: hidden; }
.tm-arrow-link__icon svg { position: absolute; inset: 0; width: 22px; height: 22px; fill: var(--tm-ink); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.tm-arrow-link__icon svg + svg { transform: translate(-100%, 100%); }
.tm-arrow-link:hover .tm-arrow-link__icon svg:first-child { transform: translate(100%, -100%); }
.tm-arrow-link:hover .tm-arrow-link__icon svg + svg { transform: translate(0, 0); }

/* =========================================================================
   Header + navigation
   ====================================================================== */
.tm-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; background: var(--tm-bg); }
.tm-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 79px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 24px var(--tm-gutter);
}
.tm-header__logo { display: block; width: 72px; height: 32px; }
.tm-header__logo svg { width: 72px; height: 32px; }
.tm-nav { display: flex; align-items: center; gap: 24px; }
.tm-nav__link { font-size: 16px; line-height: 24px; text-transform: uppercase; color: var(--tm-body); text-decoration: none; transition: opacity .2s; }
.tm-nav__link:hover { opacity: .6; }
.tm-nav__services[aria-expanded="true"] { opacity: .6; }
.tm-menu-toggle { display: none; font-size: 18.08px; line-height: 27.12px; color: var(--tm-body); }
.tm-menu-toggle__close { display: none; }
.tm-menu-toggle[aria-expanded="true"] .tm-menu-toggle__open { display: none; }
.tm-menu-toggle[aria-expanded="true"] .tm-menu-toggle__close { display: inline; }

.tm-mega { position: absolute; left: 0; right: 0; top: 79px; background: var(--tm-bg); padding: 32px var(--tm-gutter); box-shadow: 0 24px 40px -30px rgba(21, 23, 22, .25); }
.tm-mega[hidden] { display: none; }
.tm-mega__inner { display: flex; justify-content: space-between; max-width: 1280px; margin: 0 auto; }
.tm-mega__col { width: 320px; display: flex; flex-direction: column; gap: 32px; }
.tm-mega__col:last-child { width: 392px; }
.tm-mega__title { white-space: nowrap; font-size: 40px; line-height: 48px; font-weight: 600; text-transform: uppercase; color: var(--tm-ink); text-decoration: none; }
.tm-mega__title:hover { opacity: .7; }
.tm-mega__list { display: flex; flex-direction: column; gap: 16px; }
.tm-mega__item { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tm-body); }
.tm-mega__item:hover .tm-mega__name { text-decoration: underline; }
.tm-mega__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 50px; background: var(--tm-ink); }
.tm-mega__icon svg { width: 30px; height: 30px; fill: #fff; }
.tm-mega__text { display: flex; flex-direction: column; }
.tm-mega__name { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--tm-body); }
.tm-mega__sub { font-size: 14.08px; line-height: 21.12px; color: var(--tm-muted); }

.tm-mnav { position: absolute; left: 0; right: 0; top: 55px; background: var(--tm-bg); padding: 0 20px 60px; display: flex; flex-direction: column; gap: 40px; max-height: calc(100vh - 55px); overflow-y: auto; }
.tm-mnav[hidden] { display: none; }
.tm-mnav__links { display: flex; flex-direction: column; gap: 16px; }
.tm-mnav__link { font-size: 28.8px; line-height: 34.56px; font-weight: 600; text-transform: uppercase; color: var(--tm-ink); text-decoration: none; }
.tm-mnav__services { display: flex; flex-direction: column; gap: 24px; }
.tm-mnav__services-title { font-size: 28.8px; line-height: 43.2px; text-transform: uppercase; color: var(--tm-ink); }
.tm-mnav__group { display: flex; flex-direction: column; gap: 16px; }
.tm-mnav__group-title { font-size: 24px; line-height: 28.8px; color: var(--tm-ink); text-decoration: none; }
.tm-mnav__group-list { display: flex; flex-direction: column; gap: 12px; }
.tm-mnav__sub { font-size: 16px; line-height: 24px; color: var(--tm-body); text-decoration: none; }
body.tm-nav-open { overflow: hidden; }

/* =========================================================================
   Hero variants
   ====================================================================== */
.tm-hero { padding: 200px var(--tm-gutter) 112px; text-align: center; }
.tm-hero__inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.tm-hero__inner--900 { max-width: 900px; gap: 40px; }
.tm-hero__inner--900 .tm-hero__sub { margin-top: -16px; }
.tm-hero__heading { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.tm-eyebrow { font-size: 16px; line-height: 24px; color: var(--tm-muted); }
.tm-hero__sub { padding: 0 16px; }
.tm-hero__sub p { font-size: 18.08px; line-height: 27.12px; color: var(--tm-body); }
.tm-hero--page { padding-bottom: 64px; }
.tm-hero--service { padding-bottom: 0; }
.tm-hero--case { padding: 144px var(--tm-gutter) 64px; }
.tm-hero--cat { padding-bottom: 112px; }

/* =========================================================================
   Case study grid (home featured + our work + category pages)
   ====================================================================== */
.tm-featured { padding: var(--tm-section) var(--tm-gutter); }
.tm-work-grid { display: flex; gap: 32px; align-items: flex-start; }
.tm-work-grid__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.tm-work-grid__col + .tm-work-grid__col { padding-top: 50px; margin-bottom: -50px; }
.tm-work-list { display: none; flex-direction: column; gap: 32px; }
.tm-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--tm-body); }
.tm-card.is-hidden { display: none; }
.tm-card__img { display: block; width: 100%; overflow: hidden; background: var(--tm-tag); }
.tm-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tm-card__title { display: block; font-size: 24px; line-height: 36px; color: var(--tm-body); }

.tm-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0 0 30px; }
.tm-filter { padding: 4px 8px; border: 1px solid transparent; font-size: 16px; line-height: 25.6px; letter-spacing: -0.32px; text-transform: uppercase; color: var(--tm-body); }
.tm-filter.is-active { border-color: var(--tm-ink); }

/* =========================================================================
   Home
   ====================================================================== */
.tm-intro { padding: var(--tm-section) var(--tm-gutter); min-height: 100vh; display: flex; align-items: center; }
.tm-intro > .tm-container { width: 100%; }
.tm-intro__text { font-size: 40px; line-height: 52px; color: var(--tm-ink); }
.tm-ch { display: inline-block; }

.tm-testimonials { padding: 120px var(--tm-gutter); }
.tm-testimonials__inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.tm-testimonials__h { text-align: center; }
.tm-carousel { position: relative; width: 100%; max-width: 1200px; height: 320px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.tm-carousel__track { display: flex; width: 100%; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.tm-carousel__slide { flex: 0 0 100%; min-width: 0; padding-top: 24px; }
.tm-testimonial { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.tm-testimonial__quote { font-size: 24px; line-height: 36px; color: var(--tm-ink); }
.tm-testimonial__author { font-size: 16px; line-height: 24px; color: var(--tm-body); }
.tm-carousel__dots { display: flex; justify-content: center; gap: 10px; padding: 16px 0 0; }
.tm-carousel__dot { width: 10px; height: 10px; }
.tm-carousel__dot span { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--tm-ink); opacity: .5; transition: opacity .2s; }
.tm-carousel__dot.is-active span { opacity: 1; }

.tm-services { padding: var(--tm-section) var(--tm-gutter); }
.tm-services__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 64px; }
.tm-services__statement { width: 640px; max-width: 100%; font-size: 40px; line-height: 48px; font-weight: 600; color: var(--tm-ink); }
.tm-service-row { display: grid; align-items: start; grid-template-columns: 256px 608px 256px; column-gap: 80px; padding: 64px 0; border-top: 1px solid var(--tm-ink); text-decoration: none; color: var(--tm-body); }
.tm-service-row__title { font-size: 32px; line-height: 38.4px; color: var(--tm-ink); }
.tm-service-row__body { padding-left: 54px; }
.tm-service-row__body p { max-width: 500px; font-size: 16px; line-height: 24px; }
.tm-service-row__list p { font-size: 16px; line-height: 24px; }
.tm-service-row:hover .tm-service-row__title { text-decoration: underline; }

/* =========================================================================
   About
   ====================================================================== */
.tm-about-hero { padding: 144px var(--tm-gutter) 0; }
.tm-about-hero .tm-container { display: flex; flex-direction: column; gap: 40px; }
.tm-about-hero__intro { font-size: 28.8px; line-height: 43.2px; color: var(--tm-ink); }
.tm-about-services__inner { display: flex; gap: 55px; align-items: flex-start; }
.tm-about-services__side { position: sticky; top: 32px; width: 446px; flex: none; display: flex; flex-direction: column; gap: 0; }
.tm-about-services__indicator { height: 14.4px; overflow: hidden; padding-left: 4px; }
.tm-about-services__indicator-track { transition: transform .4s cubic-bezier(.22, 1, .36, 1); }
.tm-about-services__indicator p { font-size: 12px; line-height: 14.4px; height: 14.4px; color: var(--tm-ink); white-space: nowrap; }
.tm-about-services__main { flex: 1 1 auto; min-width: 0; }
.tm-about-group { display: flex; flex-direction: column; gap: 16px; padding: 64px 0; }
.tm-about-group:first-child { padding-top: 0; }
.tm-about-group__item { font-size: 32px; line-height: 25.6px; text-transform: uppercase; color: var(--tm-ink); }

.tm-stats__row { display: flex; gap: 32px; padding-top: 34px; }
.tm-stat { flex: 1 1 0; display: flex; flex-direction: column; gap: 8px; }
.tm-stat__num { font-size: 80px; line-height: 80px; font-weight: 500; color: var(--tm-ink); }
.tm-stat__label { font-size: 18px; line-height: normal; color: var(--tm-body); }

.tm-logos { padding: 0 var(--tm-gutter) 64px; overflow: hidden; }
.tm-logos__track { display: flex; align-items: center; gap: 40px; width: max-content; height: 40px; animation: tm-marquee 60s linear infinite; }
.tm-logos:hover .tm-logos__track { animation-play-state: paused; }
.tm-logos__item { flex: none; display: flex; align-items: center; height: 40px; }
.tm-logos__item img { height: 40px; width: auto; max-width: none; }
@keyframes tm-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 20px)); } }

.tm-team__head { width: 486px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; margin-bottom: 40px; }
.tm-team__head p { color: var(--tm-body); }
.tm-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 80px 32px; }
.tm-member { display: flex; flex-direction: column; text-decoration: none; color: var(--tm-ink); }
.tm-member__role { display: block; padding-top: 16px; font-size: 18.08px; line-height: 18.08px; text-transform: uppercase; }
.tm-member__img { display: block; margin-top: 10px; aspect-ratio: 405 / 489; overflow: hidden; background: var(--tm-tag); }
.tm-member__img img { width: 100%; height: 100%; object-fit: cover; }
.tm-member__name { display: flex; flex-direction: column; margin-top: 10px; font-size: 32px; line-height: 32px; text-transform: uppercase; }

/* =========================================================================
   Case study single
   ====================================================================== */
.tm-gallery { padding: 0 var(--tm-gutter); }
.tm-gallery__grid { display: grid; gap: 30px; }
.tm-gallery__item { width: 100%; overflow: hidden; background: var(--tm-tag); }
.tm-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.tm-case-about { padding: 32px var(--tm-gutter) 112px; }
.tm-case-about__inner { display: flex; gap: 145px; align-items: flex-start; }
.tm-case-about__main { flex: 0 1 885px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.tm-case-about__side { flex: 1 1 auto; }
.tm-case-about__label { font-size: 16px; line-height: 20.8px; color: #000; }
.tm-case-about__roles { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.tm-case-about__roles p { font-size: 16px; line-height: 20.8px; color: #000; }

/* =========================================================================
   Service single
   ====================================================================== */
.tm-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.tm-svc-overview .tm-stack-60, .tm-svc-seo .tm-stack-60 { gap: 31px; }
.tm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tm-card-box { display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 16px; box-shadow: inset 0 0 0 1px var(--tm-ink); }
.tm-card-box h5 { font-size: 24px; line-height: 28.8px; color: var(--tm-ink); }
.tm-card-box p { font-size: 16px; line-height: 24px; color: var(--tm-body); }
.tm-numbered { max-width: 800px; display: flex; flex-direction: column; gap: 48px; }
.tm-numbered__row { display: flex; gap: 40px; }
.tm-numbered__num { flex: none; width: 28px; margin-left: 8px; font-size: 48px; line-height: 38.4px; color: var(--tm-ink); }
.tm-numbered__body { display: flex; flex-direction: column; gap: 16px; }
.tm-numbered__body h5 { font-size: 24px; line-height: 28.8px; color: var(--tm-ink); }
.tm-numbered__body p { color: var(--tm-body); }
.tm-frame { width: 1024px; max-width: 100%; background: var(--tm-bg); border-radius: 12px; box-shadow: 0 1px 5px rgba(0, 0, 0, .3); padding: 16px 16px 64px; }
.tm-frame__dots { display: flex; gap: 8px; }
.tm-frame__dots span { width: 12px; height: 12px; border-radius: 50%; background: #de6666; }
.tm-frame__dots span:nth-child(2) { background: #e3cd40; }
.tm-frame__dots span:nth-child(3) { background: var(--tm-green); }
.tm-frame__list { display: flex; flex-direction: column; gap: 24px; padding: 80px 0 0 24px; }
.tm-frame__row { display: flex; gap: 12px; align-items: flex-start; max-width: 720px; }
.tm-frame__radio { flex: none; width: 14px; height: 14px; margin-top: 7px; border-radius: 50%; border: 1px solid var(--tm-ink); background: var(--tm-bg); }
.tm-frame__body h3 { font-size: 24px; line-height: 28.8px; color: var(--tm-ink); }
.tm-frame__body p { color: var(--tm-muted); }
.tm-audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 80px 32px; }
.tm-audience__item { display: flex; flex-direction: column; gap: 0; }
.tm-audience__item p { margin-top: 16px; }
.tm-audience__item h3 { font-size: 24px; line-height: 28.8px; color: var(--tm-ink); }
.tm-audience__line { display: block; height: 1px; margin-top: 4px; background: var(--tm-ink); }
.tm-audience__item p { color: var(--tm-body); }

.tm-faq .tm-container { display: flex; flex-direction: column; gap: 60px; }
.tm-faq__h { text-align: center; }
.tm-acc { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.tm-acc__item { padding: 20px 0; }
.tm-acc__q { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px; text-align: left; }
.tm-acc__q span { font-size: 24px; line-height: 28.8px; color: var(--tm-ink); }
.tm-acc__caret { flex: none; width: 29px; height: 29px; fill: var(--tm-ink); transition: transform .3s; }
.tm-acc__q[aria-expanded="true"] .tm-acc__caret { transform: rotate(90deg); }
.tm-acc__a { overflow: hidden; transition: height .65s cubic-bezier(.44, 0, .56, 1); }
.tm-acc__a[hidden] { display: none; }
.tm-acc__a p { padding-top: 24px; color: var(--tm-body); }

.tm-cta__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.tm-cta__head p { color: var(--tm-body); }

/* =========================================================================
   Service category showcase
   ====================================================================== */
.tm-showcase { padding: 0 var(--tm-gutter) 112px; }
.tm-showcase__sticky { position: sticky; top: calc(50vh - 400px); height: 800px; display: flex; align-items: center; justify-content: space-between; }
.tm-showcase__icon { position: relative; width: 165px; height: 165px; }
.tm-showcase__glyph { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.tm-showcase__glyph svg { width: 165px; height: 165px; fill: var(--tm-ink); }
.tm-showcase__glyph.is-active { opacity: 1; }
.tm-showcase__card { width: 896px; max-width: 100%; display: flex; flex-direction: column; gap: 25px; }
.tm-showcase__progress { height: 1px; background: rgba(21, 23, 22, .1); }
.tm-showcase__bar { display: block; height: 1px; background: var(--tm-ink); transition: width .5s cubic-bezier(.22, 1, .36, 1); }
.tm-showcase__panels { position: relative; min-height: 274px; }
.tm-showcase__panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s; pointer-events: none; }
.tm-showcase__panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.tm-showcase__text { display: flex; flex-direction: column; gap: 24px; }
.tm-showcase__text p { color: var(--tm-body); }
.tm-showcase__gap { height: 1500px; }

/* =========================================================================
   Contact
   ====================================================================== */
.tm-contact { padding: 200px var(--tm-gutter) 112px; }
.tm-contact__inner { display: flex; gap: 80px; align-items: flex-start; }
.tm-contact__text { width: 497px; flex: none; }
.tm-contact__text p { margin-top: 16px; color: var(--tm-body); }
.tm-form { flex: 1 1 auto; max-width: 703px; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.tm-field { display: flex; flex-direction: column; gap: 10px; }
.tm-field__label { font-size: 12px; line-height: 14.4px; color: var(--tm-muted); }
.tm-field__box { display: block; background: var(--tm-tag); padding: 12px; height: 40px; }
.tm-field__box--area { height: 150px; }
.tm-field__box input, .tm-field__box textarea { display: block; width: 100%; height: 16px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 14px; line-height: 16.8px; color: var(--tm-body); outline: none; resize: none; }
.tm-field__box textarea { height: 126px; }
.tm-field__box input::placeholder, .tm-field__box textarea::placeholder { color: #8a8a8a; }
.tm-field__box:focus-within { outline: 1px solid var(--tm-ink); }
.tm-form__submit { height: 40px; width: 100%; background: var(--tm-ink); color: var(--tm-bg); font-size: 16px; line-height: 19.2px; transition: background .2s; }
.tm-form__submit:hover { background: var(--tm-green); color: var(--tm-ink); }
.tm-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tm-form__notice { padding: 12px; font-size: 14px; line-height: 20px; }
.tm-form__notice--ok { background: #e6efdd; color: var(--tm-ink); }
.tm-form__notice--err { background: #f6dede; color: #7a1f1f; }

/* =========================================================================
   Blog
   ====================================================================== */
.tm-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.tm-post { display: flex; flex-direction: column; text-decoration: none; color: var(--tm-body); }
.tm-post.is-hidden { display: none; }
.tm-post__img { display: block; aspect-ratio: 405 / 250; overflow: hidden; background: var(--tm-tag); }
.tm-post__img img { width: 100%; height: 100%; object-fit: cover; }
.tm-post__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 12.8px; line-height: 15.36px; }
.tm-post__author { display: flex; gap: 4px; }
.tm-post__title { display: block; margin-top: 10px; font-size: 24px; line-height: 28.8px; }

.tm-article__header { max-width: 1200px; margin: 0 auto; padding: 199px var(--tm-gutter) 120px; display: flex; flex-direction: column; gap: 24px; }
.tm-article__head { display: flex; flex-direction: column; gap: 8px; }
.tm-article__hero { width: 1040px; max-width: 100%; aspect-ratio: 1040 / 500; overflow: hidden; background: var(--tm-tag); }
.tm-article__hero img { width: 100%; height: 100%; object-fit: cover; }
.tm-article__body { max-width: 900px; margin: 0 auto; padding: 0 var(--tm-gutter) 120px; }
.tm-hero--page + .tm-section .tm-rich--article { padding-bottom: 0; }

/* =========================================================================
   Team member single
   ====================================================================== */
.tm-member-hero { padding: 144px var(--tm-gutter) 112px; }
.tm-member-hero__inner { display: flex; gap: 100px; align-items: flex-start; }
.tm-member-hero__photo { flex: none; width: 443px; overflow: hidden; background: var(--tm-tag); }
.tm-member-hero__photo img { width: 100%; height: auto; object-fit: cover; }
.tm-member-hero__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.tm-member-hero__title { display: flex; flex-direction: column; gap: 8px; }
.tm-member-hero__role { font-size: 24px; line-height: 31.2px; color: var(--tm-muted); }
.tm-member-hero__contact { display: flex; flex-direction: column; gap: 24px; }
.tm-member-hero__lines { display: flex; flex-direction: column; gap: 8px; }
.tm-member-hero__lines p { font-size: 16px; line-height: 20.8px; color: var(--tm-ink); }
.tm-member-hero__lines a { text-decoration: none; }
.tm-member-gallery { padding: 0 var(--tm-gutter) 112px; }
.tm-member-gallery__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tm-member-gallery__item { aspect-ratio: 1 / 1; overflow: hidden; background: var(--tm-tag); }
.tm-member-gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   Footer
   ====================================================================== */
.tm-footer { background: var(--tm-ink); color: var(--tm-bg); padding: 80px var(--tm-gutter); }
.tm-footer__inner { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 144px; }
.tm-footer__top { display: flex; gap: 40px; align-items: flex-start; }
.tm-footer__nav { width: 354px; flex: none; display: flex; flex-direction: column; }
.tm-footer__big { display: block; padding: 12px 0; font-size: 48px; line-height: 33.6px; font-weight: 700; text-transform: uppercase; color: var(--tm-bg); text-decoration: none; }
.tm-footer__big:hover { color: var(--tm-green); }
.tm-footer__right { flex: 1 1 auto; min-width: 0; }
.tm-footer__services { display: flex; }
.tm-footer__svc { width: 295px; flex: none; display: flex; flex-direction: column; gap: 16px; }
.tm-footer__svc-title { font-size: 24px; line-height: 36px; font-weight: 600; text-transform: uppercase; color: var(--tm-bg); text-decoration: none; }
.tm-footer__svc-list { display: flex; flex-direction: column; gap: 8px; }
.tm-footer__svc-list a { font-size: 12px; line-height: 14.4px; text-transform: uppercase; color: var(--tm-muted-2); text-decoration: none; }
.tm-footer__svc-list a:hover { color: var(--tm-bg); }
.tm-footer__locations { display: flex; margin-top: 80px; }
.tm-footer__loc { width: 443px; flex: none; display: flex; flex-direction: column; gap: 8px; }
.tm-footer__loc-top { display: flex; flex-direction: column; }
.tm-footer__city { font-size: 24px; line-height: 36px; font-weight: 600; color: var(--tm-bg); }
.tm-footer__clock { font-size: 10.08px; line-height: 12px; color: var(--tm-muted-2); font-variant-numeric: tabular-nums; }
.tm-footer__addr { font-size: 14px; line-height: 19.6px; color: var(--tm-bg); }
.tm-footer__contact { margin-top: 0; }
.tm-footer__contact { display: flex; flex-direction: column; gap: 4px; }
.tm-footer__contact p { font-size: 14.08px; line-height: 19.712px; }
.tm-footer__contact a { color: var(--tm-bg); text-decoration: none; }
.tm-footer__contact a:hover { text-decoration: underline; }
.tm-footer__bottom { display: flex; flex-direction: column; }
.tm-footer__wordmark img { width: 100%; height: auto; }
.tm-footer__divider { height: 1px; background: var(--tm-bg); margin: 40px 0; }
.tm-footer__credits { display: flex; justify-content: space-between; gap: 24px; font-size: 14.08px; line-height: 21.12px; color: var(--tm-bg); }
.tm-footer__legal { display: flex; gap: 24px; }
.tm-footer__legal a, .tm-footer__legal span { color: var(--tm-bg); text-decoration: underline; }

/* =========================================================================
   Tablet (810–1199)
   ====================================================================== */
@media (max-width: 1199px) {
	:root { --tm-gutter: 40px; --tm-section: 60px; }
	.tm-header__bar { height: 55px; padding: 12px var(--tm-gutter); }
	.tm-nav, .tm-mega { display: none !important; }
	.tm-menu-toggle { display: inline-block; }
	.tm-mnav { padding-left: var(--tm-gutter); padding-right: var(--tm-gutter); }
	.tm-h1 { font-size: 44.8px; line-height: 49.28px; }
	.tm-h2 { font-size: 38.4px; line-height: 46.08px; }
	.tm-hero { padding: 115px var(--tm-gutter) 60px; }
	.tm-hero--page { padding-bottom: 40px; }
	.tm-hero--service { padding-bottom: 0; }
	.tm-hero--case { padding: 100px var(--tm-gutter) 40px; }
	.tm-work-grid { display: none; }
	.tm-work-list { display: flex; }
	.tm-intro { padding: 120px var(--tm-gutter); }
	.tm-intro__text { font-size: 32px; line-height: 41.6px; }
	.tm-testimonials { padding: 60px var(--tm-gutter); }
	.tm-services__head { gap: 64px; }
	.tm-services__head .tm-h2--32 { font-size: 25.6px; line-height: 30.72px; }
	.tm-services__statement { width: 50%; font-size: 32px; line-height: 38.4px; }
	.tm-service-row { grid-template-columns: 1fr 1fr; gap: 20px 40px; padding: 40px 0; }
	.tm-service-row__title { grid-column: 1 / -1; }
	.tm-service-row__body { padding-left: 0; }
	.tm-about-hero { padding-top: 100px; }
	.tm-about-services__inner { flex-direction: column; gap: 40px; }
	.tm-about-services__side { position: static; width: 100%; }
	.tm-team__grid { grid-template-columns: repeat(2, 1fr); gap: 60px 32px; }
	.tm-case-about__inner { gap: 60px; }
	.tm-cards { grid-template-columns: repeat(2, 1fr); }
	.tm-audience { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
	.tm-showcase__sticky { gap: 40px; }
	.tm-showcase__icon { flex: none; }
	.tm-showcase__card { flex: 1 1 auto; }
	.tm-contact { padding: 115px var(--tm-gutter) 60px; }
	.tm-contact__inner { flex-direction: column; gap: 40px; }
	.tm-contact__text { width: 100%; }
	.tm-form { max-width: 100%; padding: 0; }
	.tm-blog-grid { grid-template-columns: repeat(2, 1fr); }
	.tm-article__header { padding: 115px var(--tm-gutter) 60px; }
	.tm-article__body { padding-bottom: 60px; }
	.tm-member-hero { padding: 100px var(--tm-gutter) 60px; }
	.tm-member-hero__inner { gap: 40px; }
	.tm-member-hero__photo { width: 40%; }
	.tm-member-gallery { padding-bottom: 60px; }
	.tm-footer { padding: 40px var(--tm-gutter); }
	.tm-footer__inner { gap: 80px; }
	.tm-footer__top { flex-direction: column; gap: 60px; }
	.tm-footer__nav { width: 100%; }
	.tm-footer__services { flex-wrap: wrap; gap: 32px; }
	.tm-footer__svc { width: calc(33.333% - 22px); }
	.tm-footer__locations { margin-top: 60px; gap: 32px; }
	.tm-footer__loc { width: calc(50% - 16px); }
}

/* =========================================================================
   Phone (<810)
   ====================================================================== */
@media (max-width: 809px) {
	:root { --tm-gutter: 20px; --tm-section: 40px; }
	.tm-header__bar { padding: 12px 20px; }
	.tm-mnav { padding: 0 20px 60px; }
	.tm-h1 { font-size: 35.84px; line-height: 39.424px; }
	.tm-h1--case { line-height: 43px; }
	.tm-h2 { font-size: 30.72px; line-height: 36.864px; }
	.tm-rich h2 { font-size: 30.72px; line-height: 36.864px; }
	.tm-rich h3 { font-size: 20.48px; line-height: 24.576px; }
	.tm-hero { padding: 105px 20px 40px; text-align: left; }
	.tm-hero__inner, .tm-hero__inner--900 { align-items: flex-start; }
	.tm-hero__sub { padding: 0; }
	.tm-hero--home { padding: 95px 20px 60px; text-align: center; }
	.tm-hero--home .tm-hero__inner { align-items: center; }
	.tm-hero--home .tm-hero__sub { padding: 0 16px; }
	.tm-hero--page { padding-bottom: 32px; }
	.tm-hero--page:not(.tm-hero--cat) .tm-h1 { font-size: 28.64px; line-height: 32px; }
	.tm-hero--service { padding-bottom: 0; }
	.tm-hero--case { padding: 91px 20px 40px; }
	.tm-hero--case .tm-pills { justify-content: flex-start; }
	.tm-hero--cat { padding-bottom: 40px; }
	.tm-btns { flex-direction: column; align-items: flex-start; }
	.tm-btns--center { align-items: flex-start; }
	.tm-hero--home .tm-btns { align-items: center; }
	.tm-featured { padding: 40px 20px 0; }
	.tm-hero--cat + .tm-section--work { padding-bottom: 0; }
	.tm-filters { justify-content: flex-start; gap: 10px 8px; padding-bottom: 24px; }
	.tm-filter { font-size: 10.08px; line-height: 16px; letter-spacing: -0.2px; }
	.tm-intro { padding: 110px 20px 120px; min-height: 0; }
	body[class*="template-service-category"] .tm-intro { padding-top: 50px; }
	.tm-intro__text { font-size: 25.6px; line-height: 33.28px; }
	.tm-testimonials { padding: 40px 20px; }
	.tm-testimonials__inner { gap: 24px; }
	.tm-carousel { height: auto; min-height: 320px; }
	.tm-testimonial__quote { font-size: 15.36px; line-height: 23.04px; }
	.tm-services { padding: 40px 20px; }
	.tm-services__head { flex-direction: column; gap: 20px; padding-bottom: 23px; }
	.tm-services__head .tm-h2--32 { font-size: 20.48px; line-height: 24.576px; }
	.tm-services__statement { width: 100%; font-size: 28.8px; line-height: 34.56px; }
	.tm-service-row { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 20px 0; }
	.tm-service-row__title { font-size: 28.8px; line-height: 34.56px; }
	.tm-service-row__list { padding-top: 40px; display: flex; flex-direction: column; align-items: flex-end; }
	.tm-about-hero { padding: 92px 20px 20px; }
	.tm-about-hero__intro { font-size: 18.4px; line-height: 27.6px; }
	.tm-about-group__item { font-size: 20.48px; line-height: 16.384px; }
	.tm-about-group { gap: 15.6px; }
	.tm-stats__row { flex-direction: column; gap: 32px; padding-top: 0; }
	.tm-logos { padding-bottom: 40px; }
	.tm-logos__track { height: 20px; gap: 20px; }
	.tm-logos__item, .tm-logos__item img { height: 20px; }
	.tm-team { padding: 60px 20px; }
	.tm-team__grid { grid-template-columns: 1fr; gap: 60px; }
	.tm-gallery__grid { gap: 16px; }
	.tm-case-about { padding: 24px 20px 60px; }
	.tm-case-about__inner { flex-direction: column; gap: 40px; }
	.tm-two-col { grid-template-columns: 1fr; gap: 20px; }
	.tm-stack-60 { gap: 30px; }
	.tm-cards { grid-template-columns: 1fr; }
	.tm-card-box { min-height: 232px; gap: 22px; }
	.single-service .tm-section > .tm-container { width: calc(100% + 4px); max-width: none; }
	.tm-frame__list { padding-top: 60px; }
	.tm-audience { grid-template-columns: 1fr; gap: 48px; }
	.tm-showcase { padding: 0 20px 40px; }
	.tm-showcase__sticky { flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; height: 640px; top: calc(50vh - 320px); }
	.tm-showcase__icon { width: 100px; height: 100px; }
	.tm-showcase__glyph svg { width: 100px; height: 100px; }
	.tm-showcase__card { width: 100%; }
	.tm-showcase__panels { min-height: 300px; }
	.tm-contact { padding: 155px 20px 40px; }
	.tm-contact__text { max-width: 263px; }
	.tm-form { padding: 20px; }
	.tm-blog-grid { grid-template-columns: 1fr; gap: 32px; }
	.tm-post__img { aspect-ratio: 350 / 300; }
	.tm-post__meta { justify-content: flex-start; gap: 0; }
	.tm-post__author { min-width: 192px; }
	.tm-section--work .tm-filters { padding-bottom: 36px; }
	.tm-article__header { padding: 85px 20px 40px; }
	.tm-article__body { padding: 0 20px 60px; }
	.tm-member-hero { padding: 95px 20px 60px; }
	.tm-member-hero__inner { flex-direction: column; gap: 32px; }
	.tm-member-hero__photo { width: 100%; }
	.tm-member-hero .tm-h2 { font-size: 48px; line-height: 57.6px; }
	.tm-member-hero__role { font-size: 24px; line-height: 31.2px; }
	.tm-member-gallery__grid { grid-template-columns: 1fr; }
	.tm-member-gallery__grid { gap: 10px; }
	.tm-footer { padding: 40px 20px; }
	.tm-footer__inner { gap: 60px; }
	.tm-footer__top { gap: 29px; }
	.tm-footer__right { width: 100%; }
	.tm-footer__services { flex-direction: column; gap: 0; }
	.tm-footer__svc { width: 100%; }
	.tm-footer__locations { flex-direction: column; margin-top: 30px; gap: 32px; }
	.tm-footer__loc { width: 100%; }
	.tm-footer__credits { flex-direction: column; gap: 40px; }
	.tm-footer__legal { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
	html.tm-js .tm-a, html.tm-js .tm-ch { opacity: 1 !important; transform: none !important; }
}


/* =========================================================================
   Motion (matches the original site's Framer effects)
   Load effects run once the page is ready; scroll effects run when the
   element enters the screen. html.tm-js is set in <head>, so nothing
   is hidden when JavaScript is off.
   ====================================================================== */
html.tm-js .tm-a {
	opacity: .001;
	transform: translate(var(--tm-x, 0), var(--tm-y, 0));
	transition: opacity var(--tm-d, 1s) cubic-bezier(.44, 0, .56, 1) var(--tm-delay, 0s), transform var(--tm-d, 1s) cubic-bezier(.44, 0, .56, 1) var(--tm-delay, 0s);
}
html.tm-js .tm-a--keep { opacity: 1; }
html.tm-js .tm-a.is-in, html.tm-anim-done .tm-a { opacity: 1; transform: none; }

/* Load: header, heroes */
html.tm-js .tm-header__logo { --tm-x: -70px; --tm-d: .8s; }
html.tm-js .tm-nav { --tm-x: 320px; }
html.tm-js .tm-hero--home .tm-eyebrow { --tm-x: 374px; --tm-delay: .8s; }
html.tm-js .tm-hero--home .tm-h1 { --tm-y: 145px; }
html.tm-js .tm-hero--home .tm-hero__sub { --tm-y: 53px; --tm-delay: .4s; }
html.tm-js .tm-hero--home .tm-btn:nth-child(1) { --tm-y: 47px; --tm-delay: .6s; }
html.tm-js .tm-hero--home .tm-btn:nth-child(2) { --tm-y: 47px; --tm-delay: .8s; }
html.tm-js .tm-featured.tm-a { --tm-d: .4s; transition-timing-function: ease-out; }
html.tm-js .tm-hero--cat .tm-h1 { --tm-y: 145px; }
html.tm-js .tm-hero--cat .tm-btn:nth-child(1) { --tm-y: 47px; --tm-delay: .2s; }
html.tm-js .tm-hero--cat .tm-btn:nth-child(2) { --tm-y: 47px; --tm-delay: .4s; }
html.tm-js .tm-hero--page:not(.tm-hero--cat) .tm-h1, html.tm-js .tm-about-hero .tm-h1, html.tm-js .tm-work-filters { --tm-y: 20px; }
html.tm-js .tm-contact__text .tm-h2 { --tm-y: 130px; }
html.tm-js .tm-contact__text p { --tm-y: 95px; --tm-delay: .2s; }
html.tm-js .tm-form.tm-a { --tm-x: 418px; }

/* Scroll: headings, cards, lists */
html.tm-js .tm-a--up57 { --tm-y: 57px; }
html.tm-js .tm-a--up50 { --tm-y: 50px; }
html.tm-js .tm-a--card { --tm-y: 50px; }
html.tm-js .tm-a--item { --tm-x: -25px; opacity: 1; }
html.tm-js .tm-a--divider { --tm-x: -290px; }

/* Character reveal (intro paragraphs, About services list) */
html.tm-js .tm-ch {
	opacity: .001;
	transform: translateY(10px);
	transition: opacity 1s cubic-bezier(.44, 0, .56, 1), transform 1s cubic-bezier(.44, 0, .56, 1);
}
html.tm-js .is-in .tm-ch, html.tm-anim-done .tm-ch { opacity: 1; transform: none; }

/* Phones and tablets: the header nav is replaced by the Menu button */
@media (max-width: 1199px) {
	html.tm-js .tm-nav { --tm-x: 0; }
	html.tm-js .tm-hero--home .tm-eyebrow { --tm-x: 0; --tm-y: 20px; }
	html.tm-js .tm-form.tm-a { --tm-x: 0; --tm-y: 60px; }
}

/* WordPress admin bar offset (only shown to logged-in users when enabled) */
body.admin-bar .tm-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tm-header { top: 46px; } }
