/* Tik:Talk theme. Plain CSS, no build step. Colours from the Tik:Talk logo and the old site (teal #009a9a, gold #fdbc1e). */

@font-face {
	font-family: "Space Grotesk";
	src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
	font-weight: 500 700;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}

:root {
	--teal: #009a9a;          /* brand teal: large accents, icons, rules */
	--teal-dark: #007576;     /* teal for text and buttons on white (AA) */
	--teal-deep: #005a5b;
	--teal-light: #7fd3d0;
	--gold: #fdbc1e;
	--ink: #0e1a1d;
	--ink-2: #152629;
	--ink-3: #22383c;
	--text: #1c2a2e;
	--muted: #53656a;
	--line: #d6e2e3;
	--mist: #eff6f6;
	--white: #fff;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 1px 2px rgba(14, 26, 29, .06), 0 8px 24px rgba(14, 26, 29, .08);
	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 8vw, 104px);
	--font-head: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font: 400 17px/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--teal-dark); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: var(--ink);
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.4rem); letter-spacing: -.01em; }
p, ul, ol, dl, blockquote, figure { margin: 0 0 1.1em; }
p { text-wrap: pretty; }
strong { font-weight: 650; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--white); color: var(--ink); box-shadow: var(--shadow);
}

.tt-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.tt-center { text-align: center; }

/* Icons ------------------------------------------------------------------------------------------------------ */
.tt-icon { width: 24px; height: 24px; flex: none; }
.tt-icon--sm { width: 18px; height: 18px; }
.tt-icon--xs { width: 14px; height: 14px; display: inline; vertical-align: -1px; }

/* Buttons ---------------------------------------------------------------------------------------------------- */
.tt-btn, .wp-block-button__link, .tt-content .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .75em 1.5em;
	border: 2px solid var(--teal-dark); border-radius: 999px;
	background: var(--teal-dark); color: var(--white);
	font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.tt-btn:hover, .wp-block-button__link:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.tt-btn:active { transform: translateY(1px); }
.tt-btn--sm { min-height: 42px; padding: .55em 1.2em; font-size: .95rem; }
.tt-btn--light, .is-style-light .wp-block-button__link { background: var(--white); border-color: var(--white); color: var(--ink); }
.tt-btn--light:hover, .is-style-light .wp-block-button__link:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.tt-btn--ghost-light, .is-style-outline-light .wp-block-button__link { background: transparent; border-color: rgba(255, 255, 255, .45); color: var(--white); }
.tt-btn--ghost-light:hover, .is-style-outline-light .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); border-color: var(--white); color: var(--white); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--teal-dark); }
.is-style-outline .wp-block-button__link:hover { background: var(--teal-dark); color: var(--white); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 0; }
.tt-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.tt-link:hover { text-decoration: underline; }

.tt-eyebrow {
	display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1em;
	font: 600 .78rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark);
}
.tt-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.tt-eyebrow a { color: inherit; text-decoration: none; }
.tt-eyebrow--light { color: var(--teal-light); }

/* Header ----------------------------------------------------------------------------------------------------- */
.tt-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.tt-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(14, 26, 29, .06); }
.admin-bar .tt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tt-header { top: 46px; } }
.tt-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.tt-header__brand { display: block; flex: none; }
.tt-header__brand .tt-logo { width: 190px; height: auto; }

.tt-nav { display: flex; align-items: center; gap: 8px; }
.tt-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.tt-menu > li { position: relative; }
.tt-menu a {
	display: block; padding: 10px 14px; border-radius: 999px;
	color: var(--ink); font-weight: 550; font-size: .97rem; text-decoration: none;
}
.tt-menu a:hover, .tt-menu .current-menu-item > a, .tt-menu .current-menu-ancestor > a, .tt-menu .current-page-ancestor > a { color: var(--teal-dark); background: var(--mist); }
.tt-menu .menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 8px; vertical-align: 2px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6;
}
.tt-menu .sub-menu {
	position: absolute; top: calc(100% + 6px); left: -8px; min-width: 270px; margin: 0; padding: 8px; list-style: none;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.tt-menu .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.tt-menu li:hover > .sub-menu, .tt-menu li:focus-within > .sub-menu, .tt-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tt-menu .sub-menu a { border-radius: 10px; padding: 9px 12px; font-weight: 500; }
.tt-nav__cta { margin-left: 10px; }

.tt-nav-toggle {
	display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 12px;
	background: var(--white); color: var(--ink); cursor: pointer;
}
.tt-nav-toggle__bars, .tt-nav-toggle__bars::before, .tt-nav-toggle__bars::after {
	display: block; width: 20px; height: 2px; margin: auto; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, opacity .2s;
}
.tt-nav-toggle__bars::before, .tt-nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.tt-nav-toggle__bars::before { top: -6px; }
.tt-nav-toggle__bars::after { top: 6px; }
.tt-nav-toggle[aria-expanded="true"] .tt-nav-toggle__bars { background: transparent; }
.tt-nav-toggle[aria-expanded="true"] .tt-nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.tt-nav-toggle[aria-expanded="true"] .tt-nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
	:root { --header-h: 66px; }
	.tt-header__brand .tt-logo { width: 160px; }
	.tt-nav-toggle { display: grid; place-items: center; }
	.tt-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
		flex-direction: column; align-items: stretch; gap: 12px; padding: 16px var(--gutter) 28px;
		background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(14, 26, 29, .12);
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .tt-nav { top: calc(var(--header-h) + 46px); }
	.tt-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.tt-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.tt-menu a { padding: 12px 8px; border-radius: 10px; font-size: 1.05rem; }
	.tt-menu .menu-item-has-children > a::after { display: none; }
	.tt-menu .sub-menu {
		position: static; min-width: 0; padding: 0 0 6px 12px; border: 0; box-shadow: none; background: none;
		opacity: 1; visibility: visible; transform: none;
	}
	.tt-menu .sub-menu a { font-size: .98rem; color: var(--muted); padding: 8px; }
	.tt-nav__cta { margin: 6px 0 0; }
	body.nav-open { overflow: hidden; }
}

/* Page header ------------------------------------------------------------------------------------------------ */
.tt-page-header {
	position: relative; overflow: hidden;
	padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
	background: linear-gradient(180deg, var(--mist), var(--white));
	border-bottom: 1px solid var(--line);
}
.tt-page-header::after {
	content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
	border: 56px solid var(--teal); opacity: .07; pointer-events: none;
}
.tt-page-header__title { max-width: 18ch; margin-bottom: .3em; }
.tt-page-header__intro { max-width: 60ch; margin: 0; font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); }
.tt-page-header--project .tt-page-header__title { max-width: 24ch; }

.tt-project-meta { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 1.4em 0 0; }
.tt-project-meta div { min-width: 0; }
.tt-project-meta dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tt-project-meta dd { margin: 2px 0 0; font-weight: 550; }

/* Sections (template sections and block groups with these classes) ------------------------------------------- */
.tt-section { padding-block: var(--section); }
.tt-section--mist { background: var(--mist); }
.tt-section--ink { background: var(--ink); color: rgba(255, 255, 255, .82); }
.tt-section--ink h1, .tt-section--ink h2, .tt-section--ink h3 { color: var(--white); }
.tt-section--ink a:not(.wp-block-button__link):not(.tt-btn) { color: var(--teal-light); }
.tt-section--ink .tt-eyebrow { color: var(--teal-light); }
.tt-section--teal { background: var(--teal-deep); color: rgba(255, 255, 255, .88); }
.tt-section--teal h2, .tt-section--teal h3 { color: var(--white); }
.tt-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.tt-section__head h2 { margin: 0; }
.tt-lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.tt-section--ink .tt-lead { color: rgba(255, 255, 255, .75); }

/* Page content (blocks) -------------------------------------------------------------------------------------- */
/* Content is a grid: blocks sit in the 1180px column, sections and CTA bands span the full width, and text blocks
   keep a readable line length while staying left-aligned with the page title. */
.tt-content {
	--pad: clamp(40px, 6vw, 72px);
	display: grid;
	grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [wrap-start] min(var(--wrap), 100% - 2 * var(--gutter)) [wrap-end] minmax(var(--gutter), 1fr) [full-end];
	padding-block: var(--pad);
}
.tt-content > * { grid-column: wrap; min-width: 0; }
.tt-content > :is(p, ul, ol, h2, h3, h4, .wp-block-quote, .wp-block-details) { max-width: 760px; }
.tt-content > :is(.wp-block-columns, .wp-block-gallery, .wp-block-image, .wp-block-embed) { margin-bottom: 2em; }
.tt-content > :is(.tt-section, .tt-cta) { grid-column: full; padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.tt-content > .tt-section > * { max-width: 100%; }
.tt-content > :is(.tt-section, .tt-cta):last-child { margin-bottom: calc(-1 * var(--pad)); }
.tt-content > .tt-section:first-child { margin-top: calc(-1 * var(--pad)); }
.tt-content > .tt-cta .tt-wrap { padding-inline: 0; }
.tt-content > :is(.tt-section, .tt-cta) + :is(.tt-section, .tt-cta) { margin-top: 0; }
.tt-content > :not(.tt-section, .tt-cta) + :is(.tt-section, .tt-cta) { margin-top: var(--pad); }
.tt-content--sections { padding: 0; }
.tt-content--sections > :is(.tt-section, .tt-cta):first-child, .tt-content--sections > :is(.tt-section, .tt-cta):last-child { margin: 0; }
.tt-content h2 { margin-top: 1.6em; }
.tt-content h2:first-child, .tt-section h2:first-child, .wp-block-column > h2:first-child, .wp-block-column > h3:first-child { margin-top: 0; }
.tt-content h3 { margin-top: 1.4em; }
.tt-content .tt-eyebrow + :is(h1, h2, h3) { margin-top: 0; }
.tt-content .tt-section > h2 + .tt-tiles, .tt-content .tt-section > .tt-lead + .tt-services { margin-top: 28px; }
.tt-content ul:not(.tt-ticker__track):not(.tt-contact-list):not(.tt-social):not(.is-style-hero-facts), .tt-content ol { padding-left: 1.3em; }
.tt-content li { margin-bottom: .35em; }
.tt-content li::marker { color: var(--teal); }
.wp-block-list.is-style-checks { list-style: none; padding-left: 0 !important; }
.wp-block-list.is-style-checks li { position: relative; padding-left: 32px; }
.wp-block-list.is-style-checks li::before {
	content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.wp-block-list.is-style-columns { columns: 2 220px; column-gap: 32px; }
.wp-block-list.is-style-columns li { break-inside: avoid; }

.wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
@media (max-width: 781px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) { flex-direction: column; flex-wrap: nowrap !important; align-items: stretch; }
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; width: 100%; }
}

.wp-block-image img { border-radius: var(--radius); height: auto; }
.wp-block-image.is-style-plain img { border-radius: 0; }
.wp-element-caption, .wp-block-image figcaption { margin-top: .6em; font-size: .88rem; color: var(--muted); text-align: center; }
.wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.wp-block-gallery .wp-block-image { margin: 0; }
.wp-block-gallery .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tt-content .wp-block-gallery.has-nested-images figure.wp-block-image { flex-direction: column; }
.tt-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	position: static; flex: none; max-height: none; margin-top: .5em; padding: 0; background: none; color: var(--muted);
	font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-shadow: none;
}
.wp-block-gallery:has(> .wp-block-image:nth-child(2):last-child) {grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.wp-block-gallery:has(> .wp-block-image:nth-child(2):last-child) img { aspect-ratio: auto; object-fit: contain; background: var(--mist); }
.wp-block-embed__wrapper { position: relative; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-embed-aspect-16-9 .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--radius); }
.wp-block-separator { border: 0; height: 1px; background: var(--line); margin-block: 2.5em; }
.wp-block-quote, .tt-quote {
	margin-block: 1.5em; padding: 4px 0 4px 24px; border-left: 3px solid var(--teal);
	font: 500 clamp(1.15rem, 2vw, 1.45rem)/1.45 var(--font-head); color: var(--ink);
}
.wp-block-quote cite, .wp-block-quote footer { display: block; margin-top: .6em; font: 500 .9rem var(--font-body); color: var(--muted); font-style: normal; }
.wp-block-quote p { margin: 0; }

/* Home hero -------------------------------------------------------------------------------------------------- */
.tt-hero {
	position: relative; overflow: hidden; isolation: isolate;
	padding-block: clamp(72px, 11vw, 140px) clamp(64px, 9vw, 120px);
	background:
		radial-gradient(900px 500px at 85% 15%, rgba(0, 154, 154, .35), transparent 60%),
		radial-gradient(700px 420px at 0% 100%, rgba(0, 154, 154, .18), transparent 60%),
		var(--ink);
	color: rgba(255, 255, 255, .8);
}
.tt-hero::after {
	content: ""; position: absolute; z-index: -1; right: max(-140px, calc(50% - 760px)); top: 50%; translate: 0 -50%;
	width: min(560px, 70vw); aspect-ratio: 1; background: url("../img/mark-white.png") center / contain no-repeat; opacity: .07;
}
.tt-hero h1 { color: var(--white); font-size: clamp(2.7rem, 7.4vw, 5.6rem); max-width: 12ch; margin-bottom: .25em; }
.tt-hero h1 em { font-style: normal; color: var(--teal-light); }
.tt-hero .tt-lead { color: rgba(255, 255, 255, .78); font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 40ch; }
.tt-hero .tt-eyebrow { color: var(--teal-light); }
.tt-content .tt-hero .is-style-hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 2.4em 0 0; padding: 0; list-style: none; font-size: .95rem; color: rgba(255, 255, 255, .7); }
.tt-hero .is-style-hero-facts li { display: flex; align-items: center; gap: 10px; margin: 0; }
.tt-hero .is-style-hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Service cards ---------------------------------------------------------------------------------------------- */
.tt-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; margin-top: 8px; }
.tt-service {
	position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
	color: var(--text); text-decoration: none;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tt-service:hover { color: var(--text); border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.tt-service__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--mist); color: var(--teal-dark); }
.tt-service__title { margin: 0 0 .4em; font-size: 1.18rem; }
.tt-service__summary { flex: 1; margin: 0 0 18px; font-size: .95rem; color: var(--muted); }
.tt-service__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--teal-dark); }
.tt-service--featured { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, .8); }
.tt-service--featured:hover { color: rgba(255, 255, 255, .8); border-color: var(--teal); }
.tt-service--featured .tt-service__title { color: var(--white); }
.tt-service--featured .tt-service__summary { color: rgba(255, 255, 255, .72); }
.tt-service--featured .tt-service__icon { background: var(--teal); color: var(--white); }
.tt-service--featured .tt-service__more { color: var(--gold); }
.tt-service--featured::after {
	content: "New"; position: absolute; top: 22px; right: 22px; padding: 3px 10px; border-radius: 999px;
	background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.tt-section--mist .tt-service:not(.tt-service--featured) { border-color: transparent; }

/* Project cards + filter ------------------------------------------------------------------------------------- */
.tt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.tt-card { min-width: 0; }
.tt-card[hidden] { display: none; }
.tt-card__link { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; color: var(--text); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.tt-card__link:hover { color: var(--text); border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.tt-card__media { aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.tt-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tt-card__link:hover .tt-card__media img { transform: scale(1.04); }
.tt-card__body { padding: 16px 20px 20px; }
.tt-card__eyebrow { margin: 0 0 4px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); }
.tt-card__title { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.tt-section--mist .tt-card__link { border-color: transparent; }

.tt-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tt-filter__btn {
	padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
	color: var(--ink); font-weight: 550; font-size: .95rem; text-decoration: none; transition: all .15s;
}
.tt-filter__btn:hover { border-color: var(--teal); color: var(--teal-dark); }
.tt-filter__btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Client logos ----------------------------------------------------------------------------------------------- */
/* Client logo ticker. The list is printed twice; both copies slide left by their own width, so the loop is seamless.
   The logo files are 500×500 squares with their own padding, so each fills a square tile. */
.tt-ticker {
	--tile: 132px; --gap: 14px;
	display: flex; overflow: hidden; margin: 28px 0 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tt-ticker__track {
	display: flex; flex: none; gap: var(--gap); margin: 0; padding: 0 var(--gap) 0 0; list-style: none;
	animation: tt-ticker var(--tt-ticker-time, 80s) linear infinite;
}
.tt-ticker:hover .tt-ticker__track, .tt-ticker:focus-within .tt-ticker__track { animation-play-state: paused; }
.tt-ticker li { flex: none; width: var(--tile); aspect-ratio: 1; margin: 0; padding: 4px; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.tt-section:not(.tt-section--mist) .tt-ticker li { background: var(--mist); }
.tt-ticker img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: .85; transition: filter .2s, opacity .2s; }
.tt-ticker li:hover img { filter: none; opacity: 1; }
@keyframes tt-ticker { to { transform: translateX(-100%); } }
@media (max-width: 640px) { .tt-ticker { --tile: 104px; --gap: 10px; } }
/* No motion wanted: one swipeable row instead. */
@media (prefers-reduced-motion: reduce) {
	.tt-ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x proximity; }
	.tt-ticker__track { animation: none; }
	.tt-ticker__track[aria-hidden="true"] { display: none; }
	.tt-ticker li { scroll-snap-align: start; }
}

/* Feature tiles (home "how I work", AI page) ---------------------------------------------------------------- */
.tt-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.tt-tiles > .wp-block-group, .tt-tile { padding: 28px 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.tt-tiles > .wp-block-group > :last-child { margin-bottom: 0; }
.tt-tiles h3 { margin-top: 0; }
.tt-section--ink .tt-tiles > .wp-block-group { background: var(--ink-2); border-color: var(--ink-3); }
/* WordPress's flow-layout block gap adds a top margin to every block after the first; grids space themselves. */
.tt-content :is(.tt-tiles, .tt-services, .tt-grid, .tt-ticker, .wp-block-gallery) > * { margin-block: 0 !important; }
.wp-block-column .tt-tiles { grid-template-columns: 1fr; gap: 12px; }
.wp-block-column .tt-tiles > .wp-block-group { padding: 22px 24px; }
.wp-block-column .tt-tiles h3 { margin-bottom: .3em; }
.tt-section--ink .wp-block-quote { color: var(--white); border-color: var(--teal-light); }
.tt-section--ink .wp-block-quote cite { color: rgba(255, 255, 255, .6); }
.tt-tiles--steps { counter-reset: step; }
.tt-tiles--steps > .wp-block-group { position: relative; padding-top: 74px; }
.tt-tiles--steps > .wp-block-group::before {
	counter-increment: step; content: counter(step, decimal-leading-zero);
	position: absolute; top: 24px; left: 26px; font: 700 1.6rem/1 var(--font-head); color: var(--teal);
}

/* About band + photo ----------------------------------------------------------------------------------------- */
.tt-photo img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.tt-photo { position: relative; margin: 0; }
.tt-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--teal); border-radius: var(--radius-lg); z-index: -1; }
.tt-about { isolation: isolate; }
.tt-signoff { font-weight: 600; color: var(--ink); }
.tt-section--ink .tt-signoff { color: var(--white); }

/* FAQ (details blocks) --------------------------------------------------------------------------------------- */
.wp-block-details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.wp-block-details summary { cursor: pointer; font: 600 1.1rem/1.4 var(--font-head); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--teal-dark); }
.wp-block-details[open] summary::after { content: "–"; }
.wp-block-details > :not(summary) { margin: .8em 0 0; color: var(--muted); }

/* Contact ---------------------------------------------------------------------------------------------------- */
.tt-contact-list { margin: 0 0 18px; padding: 0; list-style: none; }
.tt-contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.tt-contact-list .tt-icon { color: var(--teal); margin-top: 2px; }
.tt-contact-list a { color: inherit; font-weight: 600; text-decoration: none; }
.tt-contact-list a:hover { text-decoration: underline; }
.tt-social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tt-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid currentColor; color: inherit; opacity: .85; transition: all .15s; }
.tt-social a:hover { opacity: 1; background: var(--teal); border-color: var(--teal); color: var(--white); }
.tt-social .tt-icon { width: 18px; height: 18px; }
.tt-panel { padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.tt-form { display: grid; gap: 4px; }
.tt-form p { margin: 0 0 14px; }
.tt-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 16px; }
.tt-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.tt-form input, .tt-form select, .tt-form textarea {
	width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #b9c9cb; border-radius: 12px;
	background: var(--white); color: var(--text); font: inherit; transition: border-color .15s, box-shadow .15s;
}
.tt-form textarea { min-height: 150px; resize: vertical; }
.tt-form input:focus, .tt-form select:focus, .tt-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 154, 154, .18); }
.tt-form .tt-btn { width: 100%; }
@media (min-width: 600px) { .tt-form .tt-btn { width: auto; } }
.tt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tt-form-msg { padding: 18px 22px; border-radius: var(--radius); margin-bottom: 18px; }
.tt-form-msg h3 { margin: 0 0 .3em; }
.tt-form-msg p { margin: 0; }
.tt-form-msg--ok { background: #e6f6ef; border: 1px solid #9fd9bf; }
.tt-form-msg--err { background: #fdeeee; border: 1px solid #f0b5b5; color: #7a1f1f; }

/* CTA band --------------------------------------------------------------------------------------------------- */
.tt-cta {
	position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 88px);
	background: radial-gradient(700px 400px at 100% 0%, rgba(253, 188, 30, .14), transparent 60%), var(--teal-deep);
	color: rgba(255, 255, 255, .85);
}
.tt-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.tt-cta__inner > div:first-child { max-width: 620px; }
.tt-cta__title { color: var(--white); margin-bottom: .35em; }
.tt-cta p { margin: 0; }
.tt-cta .tt-eyebrow { margin-bottom: .9em; }
.tt-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pager ------------------------------------------------------------------------------------------------------ */
.tt-pager { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px 56px; }
.tt-pager a { display: flex; flex-direction: column; max-width: 48%; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; text-decoration: none; }
.tt-pager a:hover { border-color: var(--teal); }
.tt-pager span { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tt-pager__next { margin-left: auto; text-align: right; }

/* Footer ----------------------------------------------------------------------------------------------------- */
.tt-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding-top: clamp(56px, 7vw, 80px); font-size: .95rem; }
.tt-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.tt-footer a:hover { color: var(--white); text-decoration: underline; }
.tt-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.tt-footer__brand .tt-logo { width: 200px; height: auto; margin-bottom: 18px; }
.tt-footer__tag { font: 600 1.1rem var(--font-head); color: var(--teal-light); margin-bottom: .4em; }
.tt-footer__heading { font: 600 .78rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.tt-footer__links { margin: 0; padding: 0; list-style: none; }
.tt-footer__links li { margin-bottom: 9px; }
.tt-footer .tt-contact-list .tt-icon { color: var(--teal-light); }
.tt-footer .tt-contact-list a { color: var(--white); }
.tt-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 22px 28px; border-top: 1px solid var(--ink-3); font-size: .85rem; }
.tt-footer__bottom p { margin: 0; }
@media (max-width: 1000px) { .tt-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tt-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

.tt-plain-list { padding-left: 1.2em; }

@media print {
	.tt-header, .tt-footer, .tt-cta, .tt-nav-toggle { display: none !important; }
}
