/* ==========================================================================
   Techinnover theme — components, motion and layout helpers
   Colours/typography come from theme.json presets.
   ========================================================================== */

:root {
	--tn-ink: var(--wp--preset--color--ink, #0E1A16);
	--tn-ink-soft: var(--wp--preset--color--ink-soft, #13211C);
	--tn-signal: var(--wp--preset--color--signal, #C6F36B);
	--tn-forest: var(--wp--preset--color--forest, #0F6B4F);
	--tn-slate: var(--wp--preset--color--slate, #4F5B55);
	--tn-mist: var(--wp--preset--color--mist, #F3F5F1);
	--tn-sage: var(--wp--preset--color--sage, #EEF2EC);
	--tn-line: var(--wp--preset--color--line, #E3E7E1);
	--tn-line-strong: #CFD6CC;
	--tn-ease: cubic-bezier(.2, .7, .2, 1);
	--tn-shadow: 0 28px 50px -28px rgba(14, 26, 22, .45);
	--tn-radius: 22px;
	--tn-display: var(--wp--preset--font-family--display);
	--tn-mono: var(--wp--preset--font-family--mono);
}

html { scroll-behavior: smooth; }
/* Sections sit flush against each other. */
.wp-site-blocks > *, .tn-main > *, .wp-block-post-content > .alignfull, .tn-main .wp-block-post-content > .wp-block-group.alignfull { margin-block: 0 !important; }
.wp-block-post-content > .wp-block-group.alignfull + .wp-block-group.alignfull { margin-top: 0 !important; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--tn-signal); color: var(--tn-ink); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--tn-forest); outline-offset: 3px; }
.screen-reader-text:focus { background: #fff; padding: 12px 16px; z-index: 100000; }
img { height: auto; }

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes tnUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes tnFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes tnMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tnPulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); } 100% { box-shadow: 0 0 0 12px rgba(22, 163, 74, 0); } }
@keyframes tnPop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes tnGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Entrance (page load) */
.tn-in { animation: tnUp .9s var(--tn-ease) both; }
.tn-d1 { animation-delay: .12s; } .tn-d2 { animation-delay: .24s; } .tn-d3 { animation-delay: .36s; } .tn-d4 { animation-delay: .48s; }

/* Scroll reveal — only hidden when JS is running (html.tn-js). */
.tn-js .tn-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--tn-ease), transform .8s var(--tn-ease); }
.tn-js .tn-reveal.is-in { opacity: 1; transform: none; }
.tn-js .tn-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--tn-ease), transform .7s var(--tn-ease); }
.tn-js .tn-stagger.is-in > * { opacity: 1; transform: none; }
.tn-js .tn-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.tn-js .tn-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.tn-js .tn-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.tn-js .tn-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.tn-js .tn-stagger.is-in > *:nth-child(6) { transition-delay: .4s; }
.tn-js .tn-stagger.is-in > *:nth-child(7) { transition-delay: .48s; }
.tn-js .tn-stagger.is-in > *:nth-child(n+8) { transition-delay: .56s; }

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */
.tn-eyebrow {
	font-family: var(--tn-mono);
	font-size: .8125rem !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--tn-forest);
	margin-bottom: .875rem !important;
}
.tn-lead { font-size: var(--wp--preset--font-size--large); line-height: 1.55; color: var(--tn-slate); max-width: 40rem; }
.tn-muted { color: var(--tn-slate); }
.tn-mark { box-shadow: inset 0 -.26em 0 var(--tn-signal); }
.tn-display { font-size: var(--wp--preset--font-size--huge) !important; }

.tn-pill {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border: 1px solid var(--tn-line-strong);
	border-radius: 999px;
	background: #fff;
	font-size: .875rem !important;
	font-weight: 500;
	color: #33413A;
	width: fit-content;
}
.tn-pill::before, .tn-live::before {
	content: "";
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #16A34A;
	animation: tnPulse 1.8s ease-out infinite;
	flex: none;
}
.tn-live { display: inline-flex !important; align-items: center; gap: 10px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.tn-section { padding-top: clamp(72px, 9vw, 112px) !important; padding-bottom: clamp(72px, 9vw, 112px) !important; }
.tn-section-sm { padding-top: clamp(48px, 6vw, 72px) !important; padding-bottom: clamp(48px, 6vw, 72px) !important; }
.tn-hero { padding-top: clamp(64px, 8vw, 104px) !important; padding-bottom: clamp(64px, 8vw, 104px) !important; overflow: hidden; }
.tn-bg-mist { background: var(--tn-mist); }
.tn-bg-ink { background: var(--tn-ink); color: #fff; }
.tn-bg-ink :where(h1, h2, h3, h4, p) { color: inherit; }
.tn-bg-ink .tn-eyebrow { color: var(--tn-signal); }
.tn-bg-ink .tn-lead, .tn-bg-ink .tn-muted { color: #A9B5AE; }
.tn-bg-ink a:where(:not(.wp-element-button)) { color: var(--tn-signal); }
.tn-section-head { margin-bottom: clamp(32px, 4vw, 56px) !important; }
.tn-section-head > * { margin-top: 0; }
.tn-flush > *:first-child { margin-top: 0 !important; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 52px;
	transition: transform .25s var(--tn-ease), box-shadow .25s, background-color .25s, color .25s, border-color .25s;
}
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(14, 26, 22, .55); }
.is-style-tn-ghost .wp-block-button__link { background: #fff; color: var(--tn-ink); border: 1px solid var(--tn-line-strong); }
.is-style-tn-ghost .wp-block-button__link:hover { background: #fff; color: var(--tn-ink); border-color: var(--tn-ink); }
.is-style-tn-signal .wp-block-button__link { background: var(--tn-signal); color: var(--tn-ink); }
.is-style-tn-signal .wp-block-button__link:hover { background: #D5F98C; color: var(--tn-ink); }
.is-style-tn-ghost-dark .wp-block-button__link { background: transparent; color: #fff; border: 1px solid #3A4A43; }
.is-style-tn-ghost-dark .wp-block-button__link:hover { background: transparent; color: #fff; border-color: #fff; }

/* Icons on buttons via Font Awesome (class on the button block). */
.tn-arrow .wp-block-button__link::after,
.tn-cal .wp-block-button__link::before,
.tn-send .wp-block-button__link::after {
	font-family: "Font Awesome 7 Free"; font-weight: 900; font-size: .9em; line-height: 1;
	-webkit-font-smoothing: antialiased;
}
.tn-arrow .wp-block-button__link::after { content: "\f061"; transition: transform .3s var(--tn-ease); }
.tn-arrow .wp-block-button__link:hover::after { transform: translateX(5px); }
.tn-cal .wp-block-button__link::before { content: "\f274"; color: var(--tn-signal); }
.is-style-tn-signal.tn-cal .wp-block-button__link::before { color: var(--tn-ink); }
.tn-send .wp-block-button__link::after { content: "\f1d8"; }

/* Text links with arrow */
.tn-more a, a.tn-more {
	display: inline-flex; align-items: center; gap: 8px;
	font-weight: 600; text-decoration: none;
}
.tn-more a::after, a.tn-more::after {
	content: "\f061"; font-family: "Font Awesome 7 Free"; font-weight: 900; font-size: .8em;
	transition: transform .3s var(--tn-ease);
}
.tn-more a:hover::after, a.tn-more:hover::after, .tn-card:hover .tn-more a::after, .tn-card:hover a.tn-more::after { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   Cards & icon tiles
   -------------------------------------------------------------------------- */
.tn-card, .is-style-tn-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--tn-line);
	border-radius: var(--tn-radius);
	padding: clamp(24px, 3vw, 32px) !important;
	transition: transform .35s var(--tn-ease), box-shadow .35s var(--tn-ease);
}
.tn-card:hover, .is-style-tn-card:hover { transform: translateY(-6px); box-shadow: var(--tn-shadow); }
.tn-card > *:first-child { margin-top: 0; }
.tn-card.tn-card-mist { background: var(--tn-mist); border-color: transparent; }
.tn-card.tn-card-dark { background: var(--tn-ink-soft); border-color: #33413A; color: #fff; }
.tn-card.tn-card-dark p { color: #A9B5AE; }
.tn-card.tn-card-ink { background: var(--tn-ink); border-color: var(--tn-ink); color: #fff; }
.tn-card.tn-card-ink .tn-muted { color: #D4DCD7; }
.tn-card h3 { margin-bottom: .25rem; }
.tn-card p { margin-top: .5rem; }
.tn-card .tn-more { margin-top: auto; }
.tn-card-stack { display: flex; flex-direction: column; gap: 16px; }
/* Make whole card clickable when it contains a .tn-cover-link */
.tn-card a.tn-cover-link::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }

.tn-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 16px;
	background: var(--tn-sage); color: var(--tn-forest);
	font-size: 22px;
	transition: transform .35s var(--tn-ease), background-color .35s, color .35s;
}
.tn-icon.is-lg { width: 64px; height: 64px; border-radius: 18px; font-size: 26px; }
.tn-icon.is-sm { width: 40px; height: 40px; border-radius: 12px; font-size: 17px; }
.tn-card:hover .tn-icon, .tn-hover-icon:hover .tn-icon { transform: rotate(-6deg) scale(1.08); background: var(--tn-ink); color: var(--tn-signal); }
.tn-card-dark .tn-icon, .tn-bg-ink .tn-icon { background: #1A2923; color: var(--tn-signal); }
.tn-card-dark:hover .tn-icon, .tn-bg-ink .tn-card:hover .tn-icon { background: var(--tn-signal); color: var(--tn-ink); }
.wp-block-html:has(> .tn-icon) { line-height: 0; }

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
.is-style-tn-checks { list-style: none; padding-left: 0 !important; display: grid; gap: 12px; }
.is-style-tn-checks li { position: relative; padding-left: 30px; }
.is-style-tn-checks li::before {
	content: "\f058"; font-family: "Font Awesome 7 Free"; font-weight: 900;
	position: absolute; left: 0; top: .1em; color: var(--tn-forest);
}
.tn-bg-ink .is-style-tn-checks li::before { color: var(--tn-signal); }
.is-style-tn-chips { list-style: none; padding-left: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.is-style-tn-chips li {
	padding: 10px 18px; border-radius: 999px; border: 1px solid var(--tn-line-strong);
	background: #fff; font-size: .9375rem; font-weight: 500; margin: 0;
	transition: background-color .25s, color .25s, transform .25s var(--tn-ease);
}
.is-style-tn-chips li:hover { background: var(--tn-ink); color: #fff; transform: translateY(-2px); }
.tn-numbered { list-style: none; padding-left: 0 !important; counter-reset: tn; display: grid; gap: 12px; }
.tn-numbered li { counter-increment: tn; position: relative; padding: 16px 20px 16px 64px; background: #fff; border: 1px solid var(--tn-line); border-radius: 16px; }
.tn-numbered li::before {
	content: counter(tn); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
	width: 32px; height: 32px; border-radius: 50%; background: var(--tn-ink); color: var(--tn-signal);
	display: inline-flex; align-items: center; justify-content: center; font-family: var(--tn-mono); font-size: 13px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.tn-site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--tn-line);
	transition: box-shadow .3s;
}
.admin-bar .tn-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tn-site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .tn-site-header { top: 0; } }
.tn-scrolled .tn-site-header { box-shadow: 0 10px 30px -18px rgba(14, 26, 22, .35); }
.tn-header-inner, .tn-foot-grid, .tn-foot-bottom { box-sizing: border-box; padding-inline: 24px !important; }
.tn-header-inner { max-width: 1328px; margin-inline: auto; padding-block: 12px; gap: 16px 24px; }
.tn-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tn-ink) !important; min-height: 44px; }
.tn-logo span { font-family: var(--tn-display); font-weight: 800; font-size: 23px; letter-spacing: -.03em; }
.tn-logo svg { flex: none; transition: transform .4s var(--tn-ease); }
.tn-logo:hover svg { transform: rotate(-8deg); }
.tn-bg-ink .tn-logo, .tn-site-footer .tn-logo { color: #fff !important; }

.tn-nav .wp-block-navigation__container { gap: 2px; }
.tn-nav .wp-block-navigation-item__content {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px !important;
	border-radius: 999px; color: #33413A; text-decoration: none;
	transition: background-color .2s, color .2s;
}
.tn-nav .wp-block-navigation-item__content:hover,
.tn-nav .current-menu-item > .wp-block-navigation-item__content,
.tn-nav .wp-block-navigation-submenu__toggle[aria-expanded="true"] { background: var(--tn-sage); color: var(--tn-ink); }
.tn-nav .current-menu-item > .wp-block-navigation-item__content { font-weight: 600; }
.tn-nav .wp-block-navigation__submenu-icon { margin-left: 4px; }
.tn-nav .wp-block-navigation__submenu-container {
	border: 1px solid var(--tn-line) !important; border-radius: 16px; padding: 8px !important;
	min-width: 240px !important; box-shadow: 0 24px 48px -20px rgba(14, 26, 22, .3);
	background: #fff !important; top: calc(100% + 6px) !important;
}
.tn-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { width: 100%; border-radius: 10px; padding: 10px 12px !important; }
.tn-nav .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item__label::before {
	font-family: "Font Awesome 7 Free"; font-weight: 900; color: var(--tn-forest);
	display: inline-block; width: 22px; margin-right: 8px; text-align: center;
}
.tn-nav .tn-i-web .wp-block-navigation-item__label::before { content: "\f5fc"; }
.tn-nav .tn-i-mobile .wp-block-navigation-item__label::before { content: "\f3cd"; }
.tn-nav .tn-i-ai .wp-block-navigation-item__label::before { content: "\f544"; }
.tn-nav .tn-i-ux .wp-block-navigation-item__label::before { content: "\f5ae"; }
.tn-nav .tn-i-team .wp-block-navigation-item__label::before { content: "\f0c0"; }
.tn-nav .tn-i-story .wp-block-navigation-item__label::before { content: "\e533"; }
.tn-nav .tn-i-process .wp-block-navigation-item__label::before { content: "\f542"; }
.tn-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.tn-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.125rem; }
.tn-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0 0 0 12px !important; }
.tn-nav .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; border-radius: 12px; background: var(--tn-sage); align-items: center; justify-content: center; }
@media (max-width: 599px) { .tn-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; } }
.tn-header-inner > .wp-block-navigation { flex: 1 1 auto; justify-content: center; }
@media (max-width: 599px) { .tn-header-cta { display: none !important; } }
.tn-header-cta .wp-block-button__link { min-height: 46px; padding: .75rem 1.25rem; font-size: .9375rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.tn-site-footer { background: var(--tn-ink); color: #fff; }
.tn-site-footer p, .tn-site-footer li { color: #A9B5AE; font-size: .9375rem; }
.tn-site-footer h3, .tn-site-footer .tn-foot-title {
	font-family: var(--tn-mono); font-size: .75rem !important; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8C9A93 !important; margin-bottom: 1rem;
}
.tn-site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.tn-site-footer ul a { color: #D4DCD7; text-decoration: none; padding: 6px 0; display: inline-block;
	background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 85%;
	transition: background-size .3s var(--tn-ease), color .2s; }
.tn-site-footer ul a:hover { color: #fff; background-size: 100% 1.5px; }
.tn-foot-grid { max-width: 1328px; margin-inline: auto; padding-block: 64px 48px !important; gap: 40px !important; }
.tn-foot-brand p { margin: 20px 0 0; max-width: 300px; }
.tn-foot-offices .tn-address p { margin: 0; }
.tn-foot-offices a { color: #D4DCD7; }
.tn-foot-bottom { max-width: 1328px; margin-inline: auto; border-top: 1px solid #26352F; padding-block: 20px 28px !important; font-size: .8125rem; }
.tn-foot-bottom p { font-size: .8125rem; color: #8C9A93; margin: 0; }
.tn-address { display: flex; gap: 12px; margin-bottom: 18px; }
.tn-address i { color: var(--tn-signal); margin-top: 4px; }
.tn-address strong { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.tn-socials, .tn-site-footer .tn-socials { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.tn-socials a {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
	background: #1A2923; color: #fff !important; text-decoration: none; font-size: 17px;
	transition: background-color .25s, color .25s, transform .25s var(--tn-ease);
}
.tn-socials a:hover { background: var(--tn-signal); color: var(--tn-ink) !important; transform: translateY(-3px); }
.tn-socials.is-light a { background: #fff; color: var(--tn-ink) !important; border: 1px solid var(--tn-line-strong); width: auto; padding: 0 16px; gap: 10px; border-radius: 999px; font-size: .875rem; font-weight: 500; }
.tn-socials.is-light a:hover { background: var(--tn-ink); color: #fff !important; }
.tn-totop {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
	background: #1A2923; color: #fff !important; text-decoration: none; font-size: .875rem; font-weight: 500;
	transition: background-color .25s, color .25s, transform .25s var(--tn-ease);
}
.tn-totop:hover { background: var(--tn-signal); color: var(--tn-ink) !important; transform: translateY(-3px); }

/* --------------------------------------------------------------------------
   Home hero visual
   -------------------------------------------------------------------------- */
.tn-hero-visual { position: relative; height: 480px; max-width: 560px; margin-left: auto; }
.tn-mock { position: absolute; inset: 30px 0 30px 30px; border-radius: 24px; background: var(--tn-ink); box-shadow: 0 40px 70px -30px rgba(14, 26, 22, .55); overflow: hidden; }
.tn-mock__bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid #26352F; }
.tn-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #3A4A43; }
.tn-mock__bar span:last-child { width: auto; flex: 1; height: 22px; border-radius: 6px; background: #1A2923; margin-left: 14px; }
.tn-mock__body { padding: 24px; display: grid; gap: 16px; }
.tn-mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tn-mock__tiles span { height: 70px; border-radius: 12px; background: #1A2923; }
.tn-mock__chart { height: 150px; display: flex; align-items: flex-end; gap: 10px; padding: 16px; background: #1A2923; border-radius: 12px; }
.tn-mock__chart span { flex: 1; border-radius: 5px 5px 2px 2px; background: #33413A; transform-origin: bottom; animation: tnGrow 1.2s var(--tn-ease) both; }
.tn-mock__chart span:nth-child(1) { height: 38%; animation-delay: .5s; } .tn-mock__chart span:nth-child(2) { height: 55%; animation-delay: .58s; }
.tn-mock__chart span:nth-child(3) { height: 46%; animation-delay: .66s; } .tn-mock__chart span:nth-child(4) { height: 70%; animation-delay: .74s; }
.tn-mock__chart span:nth-child(5) { height: 62%; animation-delay: .82s; }
.tn-mock__chart span:nth-child(6) { height: 84%; background: var(--tn-signal); animation-delay: .9s; }
.tn-mock__chart span:nth-child(7) { height: 96%; background: var(--tn-signal); animation-delay: .98s; }
.tn-mock__line { height: 8px; border-radius: 4px; background: #26352F; }
.tn-mock__line.is-short { width: 70%; }
.tn-badge {
	position: absolute; display: inline-flex; align-items: center; gap: 10px;
	padding: 10px 18px 10px 10px; border-radius: 999px; background: #fff;
	box-shadow: 0 18px 36px -18px rgba(14, 26, 22, .45); font-size: .875rem; font-weight: 600; color: var(--tn-ink);
	animation: tnFloat 6s ease-in-out infinite; white-space: nowrap;
}
.tn-badge i { width: 36px; height: 36px; border-radius: 50%; background: var(--tn-sage); color: var(--tn-forest); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.tn-badge.is-lime { background: var(--tn-signal); }
.tn-badge.is-lime i { background: var(--tn-ink); color: var(--tn-signal); }
.tn-badge.b1 { top: 0; left: 0; }
.tn-badge.b2 { top: 120px; right: 0; animation-duration: 7s; animation-delay: -2.5s; }
.tn-badge.b3 { bottom: 0; left: 8%; animation-duration: 8s; animation-delay: -5s; }
.tn-badge.b4 { bottom: 70px; right: 6%; animation-delay: -1s; }
@media (max-width: 781px) { .tn-hero-visual { height: 400px; margin-inline: auto; } }

/* Service hero icon */
.tn-hero-icon {
	width: min(280px, 70vw); aspect-ratio: 1; border-radius: 48px; margin-inline: auto;
	background: var(--tn-ink); color: var(--tn-signal); display: flex; align-items: center; justify-content: center;
	font-size: clamp(72px, 10vw, 110px); box-shadow: 0 40px 70px -30px rgba(14, 26, 22, .55);
	animation: tnFloat 6s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Clients marquee
   -------------------------------------------------------------------------- */
.tn-marquee { overflow: hidden; border-block: 1px solid var(--tn-line); background: #fff;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.tn-marquee__track { display: flex; width: max-content; padding: 34px 0; margin: 0; list-style: none; animation: tnMarquee 32s linear infinite; }
.tn-marquee:hover .tn-marquee__track { animation-play-state: paused; }
.tn-marquee__track li { padding: 0 44px; font-family: var(--tn-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; color: #8C9A93; white-space: nowrap; display: flex; align-items: center; transition: color .3s; }
.tn-marquee__track li:hover { color: var(--tn-ink); }
.tn-marquee__track img { max-height: 40px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.tn-marquee__track li:hover img { filter: none; opacity: 1; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.tn-stat { display: flex; flex-direction: column; gap: 10px; }
.tn-stat__num { font-family: var(--tn-display); font-weight: 800; font-size: clamp(2.75rem, 5vw, 3.75rem) !important; line-height: 1 !important; letter-spacing: -.03em; margin: 0 !important; }
.tn-card-ink .tn-stat__num { color: var(--tn-signal); }
.tn-stat__label { margin: 0 !important; color: var(--tn-slate); }
.tn-card-ink .tn-stat__label { color: #D4DCD7; }

/* --------------------------------------------------------------------------
   Project / post cards (rendered by Techinnover Core and query loops)
   -------------------------------------------------------------------------- */
.tn-projects { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.tn-projects.is-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }
.tn-project { margin: 0; transition: opacity .35s, transform .35s var(--tn-ease); }
.tn-project.is-hidden { display: none; }
.tn-project__link {
	position: relative; display: flex; flex-direction: column; height: 100%;
	border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--tn-ink);
	background: #fff; border: 1px solid var(--tn-line);
	transition: transform .35s var(--tn-ease), box-shadow .35s var(--tn-ease);
}
.tn-project__link:hover { transform: translateY(-6px); box-shadow: var(--tn-shadow); color: var(--tn-ink); }
.tn-bg-ink .tn-project__link { background: #16241F; border-color: #26352F; color: #fff; }
.tn-bg-ink .tn-project__link:hover { color: #fff; }
.tn-project__media { aspect-ratio: 4 / 3; overflow: hidden; background: #DDEBD5; }
.tn-projects.is-wide .tn-project__media { aspect-ratio: 16 / 10; }
.tn-project:nth-child(4n+2) .tn-project__media { background: #D8E6EE; }
.tn-project:nth-child(4n+3) .tn-project__media { background: #ECE6D6; }
.tn-project:nth-child(4n+4) .tn-project__media { background: #E4E0EE; }
.tn-project__media img, .tn-project__media .tn-project__ph { width: 100%; height: 100%; object-fit: cover; display: flex; align-items: center; justify-content: center; transition: transform .7s var(--tn-ease); }
.tn-project__ph { color: var(--tn-forest); font-size: 44px; }
.tn-project__link:hover .tn-project__media img, .tn-project__link:hover .tn-project__ph { transform: scale(1.05); }
.tn-project__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tn-project__terms { font-family: var(--tn-mono); font-size: .75rem; letter-spacing: .04em; color: var(--tn-forest); }
.tn-bg-ink .tn-project__terms { color: var(--tn-signal); }
.tn-project__title { margin: 0; font-family: var(--tn-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.015em; flex: 1; }
.tn-projects.is-wide .tn-project__title { font-size: 1.375rem; }
.tn-project__more { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 600; color: var(--tn-forest); }
.tn-bg-ink .tn-project__more { color: #A9B5AE; }
.tn-project__more i { transition: transform .3s var(--tn-ease); }
.tn-project__link:hover .tn-project__more i { transform: translateX(5px); }

/* Filters */
.tn-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.tn-filter {
	display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px;
	border: 1px solid var(--tn-line-strong); background: #fff; color: var(--tn-ink);
	font: 500 .9375rem/1 var(--wp--preset--font-family--body); cursor: pointer;
	transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--tn-ease);
}
.tn-filter i { color: var(--tn-forest); }
.tn-filter:hover { border-color: var(--tn-ink); transform: translateY(-2px); }
.tn-filter[aria-pressed="true"] { background: var(--tn-ink); color: #fff; border-color: var(--tn-ink); font-weight: 600; }
.tn-filter[aria-pressed="true"] i { color: var(--tn-signal); }
.tn-filter .tn-count { padding: 2px 8px; border-radius: 999px; background: var(--tn-sage); color: #33413A; font-size: .75rem; }
.tn-filter[aria-pressed="true"] .tn-count { background: var(--tn-signal); color: var(--tn-ink); }

/* Blog query loops */
.tn-posts .wp-block-post { margin: 0; }
.tn-post-card {
	height: 100%; display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--tn-line);
	transition: transform .35s var(--tn-ease), box-shadow .35s var(--tn-ease);
}
.tn-post-card:hover { transform: translateY(-6px); box-shadow: var(--tn-shadow); }
.tn-post-card .wp-block-post-featured-image { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tn-sage); }
.tn-post-card .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--tn-ease); }
.tn-post-card:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.tn-post-card__body { padding: 22px 24px 26px !important; gap: 12px; flex: 1; }
.tn-post-card .wp-block-post-terms { font-family: var(--tn-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.tn-post-card .wp-block-post-terms a { text-decoration: none; }
.tn-post-card .wp-block-post-title { font-size: 1.375rem; line-height: 1.25; letter-spacing: -.015em; margin: 0; }
.tn-post-card .wp-block-post-title a { text-decoration: none; color: var(--tn-ink); }
.tn-post-card .wp-block-post-title a::before { content: ""; position: absolute; inset: 0; }
.tn-post-card { position: relative; }
.tn-post-card .wp-block-post-terms a { position: relative; z-index: 1; }
.tn-post-card .wp-block-post-date { font-size: .875rem; color: var(--tn-slate); }
.wp-block-query-pagination { gap: 8px; margin-top: 40px; }
.wp-block-query-pagination-numbers .page-numbers, .wp-block-query-pagination a {
	display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--tn-line-strong); color: var(--tn-ink); text-decoration: none; transition: background-color .25s, color .25s;
}
.wp-block-query-pagination-numbers .page-numbers.current { background: var(--tn-ink); color: #fff; border-color: var(--tn-ink); }
.wp-block-query-pagination a:hover { background: var(--tn-ink); color: #fff; }
.tn-cat-chips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.tn-cat-chips li { margin: 0; }
.tn-cat-chips a {
	display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--tn-line-strong);
	background: #fff; color: var(--tn-ink); text-decoration: none; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s;
}
.tn-cat-chips a:hover, .tn-cat-chips .current-cat a { background: var(--tn-ink); color: #fff; border-color: var(--tn-ink); }
.tn-search .wp-block-search__inside-wrapper { border: 1px solid var(--tn-line-strong) !important; border-radius: 999px; background: #fff; padding: 4px !important; transition: border-color .2s, box-shadow .2s; }
.tn-search .wp-block-search__inside-wrapper:focus-within { border-color: var(--tn-forest) !important; box-shadow: 0 0 0 4px rgba(15, 107, 79, .15); }
.tn-search .wp-block-search__input { border: 0 !important; background: transparent; padding: 0 16px; min-height: 46px; font-size: 1rem; }
.tn-search .wp-block-search__input:focus { outline: none; }
.tn-search .wp-block-search__button { margin: 0; border-radius: 999px; min-height: 46px; padding: 0 20px; }

/* --------------------------------------------------------------------------
   Process timeline
   -------------------------------------------------------------------------- */
.tn-timeline { position: relative; max-width: 960px; margin-inline: auto; }
.tn-timeline::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--tn-line); transform-origin: top; }
.tn-js .tn-timeline.is-in::before { animation: tnGrow 1.6s var(--tn-ease) both; }
.tn-step { position: relative; display: flex; gap: 24px; align-items: flex-start; margin-bottom: 24px !important; }
.tn-step__dot {
	flex: 0 0 56px; height: 56px; border-radius: 18px; background: var(--tn-ink); color: var(--tn-signal);
	display: inline-flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 0 0 8px #fff;
	transition: transform .35s var(--tn-ease), background-color .35s, color .35s; position: relative; z-index: 1;
}
.tn-step:hover .tn-step__dot { transform: scale(1.1) rotate(-6deg); background: var(--tn-signal); color: var(--tn-ink); }
.tn-step__card { flex: 1; min-width: 0; }
.tn-step:hover .tn-step__card { transform: translateY(-4px); box-shadow: var(--tn-shadow); }
.tn-step__num { font-family: var(--tn-mono); font-size: .8125rem; letter-spacing: .06em; color: var(--tn-forest); margin: 0 0 6px !important; }
.tn-jumps { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.tn-jumps a {
	display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px 0 8px; border-radius: 999px;
	border: 1px solid var(--tn-line-strong); background: #fff; color: var(--tn-ink); text-decoration: none; font-size: .875rem; font-weight: 600;
	transition: background-color .25s, color .25s, transform .25s var(--tn-ease);
}
.tn-jumps a span { width: 30px; height: 30px; border-radius: 50%; background: var(--tn-sage); color: var(--tn-forest); display: inline-flex; align-items: center; justify-content: center; font-family: var(--tn-mono); font-size: .75rem; transition: inherit; }
.tn-jumps a:hover { background: var(--tn-ink); color: #fff; transform: translateY(-2px); }
.tn-jumps a:hover span { background: var(--tn-signal); color: var(--tn-ink); }

/* --------------------------------------------------------------------------
   Breadcrumbs, project detail
   -------------------------------------------------------------------------- */
.tn-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .875rem; color: var(--tn-slate); margin: 0 0 28px; }
.tn-crumbs a { text-decoration: none; }
.tn-crumbs span[aria-current] { color: var(--tn-ink); font-weight: 500; }
.tn-client-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--tn-line-strong); font-size: .875rem; font-weight: 500; color: #33413A; }
.tn-client-chip i { color: var(--tn-forest); }
.tn-project-details { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.tn-project-details h2 { display: flex; align-items: center; gap: 12px; font-size: 1.625rem; margin: 0 0 24px; }
.tn-project-details h2 i { color: var(--tn-forest); font-size: .85em; }
.tn-project-details ul { margin: 0; }
.tn-live-link { display: inline-flex !important; }

/* Media placeholders (replace with images in the editor) */
.tn-ph {
	border-radius: 28px; background: #DDE5D9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	color: var(--tn-forest); min-height: 280px; text-align: center; padding: 24px;
}
.tn-ph i { font-size: 52px; }
.tn-ph p { font-family: var(--tn-mono); font-size: .8125rem; color: var(--tn-slate); margin: 0; }

/* CTA band */
.tn-cta-band { border-radius: 32px; padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 56px) !important; }

/* Rows (about services list) */
.tn-rows { list-style: none; padding: 0 !important; margin: 0; border-top: 1px solid var(--tn-line); }
.tn-rows li { border-bottom: 1px solid var(--tn-line); margin: 0; }
.tn-rows a {
	display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 8px 12px; border-radius: 12px;
	text-decoration: none; color: var(--tn-ink); font-size: 1.0625rem; font-weight: 600;
	transition: background-color .25s, transform .25s var(--tn-ease);
}
.tn-rows a::after { content: "\f061"; font-family: "Font Awesome 7 Free"; font-weight: 900; margin-left: auto; color: var(--tn-forest); font-size: .85em; }
.tn-rows a:hover { background: var(--tn-mist); transform: translateX(4px); }
.tn-rows a i { width: 40px; height: 40px; border-radius: 12px; background: var(--tn-sage); color: var(--tn-forest); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; }

/* 404 */
.tn-404-num { font-family: var(--tn-display); font-weight: 800; font-size: clamp(6rem, 18vw, 12rem); line-height: .9; letter-spacing: -.05em; margin: 0; }
.tn-404-num span { color: var(--tn-forest); }

/* Single post content */
.tn-entry .wp-block-post-content > * + * { margin-top: 1.25em; }
.tn-entry .wp-block-post-content :where(h2) { font-size: 2rem; margin-top: 2em; }
.tn-entry .wp-block-post-content :where(h3) { font-size: 1.5rem; margin-top: 1.75em; }
.tn-entry .wp-block-post-featured-image img { border-radius: 28px; }

/* --------------------------------------------------------------------------
   Utility
   -------------------------------------------------------------------------- */
.tn-nowrap { white-space: nowrap; }
.tn-rounded img, .tn-rounded { border-radius: 28px; overflow: hidden; }
.tn-center { text-align: center; }
.tn-mt-0 { margin-top: 0 !important; }

/* Reduced motion: switch everything off. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.tn-js .tn-reveal, .tn-js .tn-stagger > * { opacity: 1 !important; transform: none !important; }
}

/* Editor: never hide reveal content while editing. */
.editor-styles-wrapper .tn-reveal, .editor-styles-wrapper .tn-stagger > * { opacity: 1 !important; transform: none !important; }
.editor-styles-wrapper .tn-site-header { position: relative; }

/* Footer social icons (beat the generic footer link rule). */
.tn-site-footer .tn-socials a { display: inline-flex; padding: 0; background-image: none; }
.tn-site-footer { border-top: 1px solid #26352F; }
.tn-bg-ink + .tn-site-footer, .tn-main:has(> .wp-block-post-content > .tn-bg-ink:last-child) + .tn-site-footer { border-top-color: #26352F; }
.is-style-tn-chips li i { margin-right: 6px; color: var(--tn-forest); }
.is-style-tn-chips li:hover i { color: var(--tn-signal); }
.is-layout-constrained > .tn-lead { max-width: 1280px !important; box-sizing: border-box; padding-right: max(0px, calc(min(100%, 1280px) - 42rem)); }
.tn-center.is-layout-constrained > .tn-lead { max-width: 42rem !important; padding-right: 0; }
.tn-step__title { font-size: clamp(1.375rem, 2.2vw, 1.75rem) !important; margin-bottom: .5rem; }
.tn-hero > .wp-block-html:has(.tn-ph), .tn-hero .tn-ph { margin-top: clamp(32px, 4vw, 56px); }
mark.tn-mark { background: none; color: inherit; }
.tn-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { min-height: 0; padding: 10px 12px !important; }
.tn-nav .wp-block-navigation__submenu-container { gap: 2px; }
