/*
Theme Name: Task Thieves
Theme URI: https://lowcyzadan.pl/
Author: Krzysztof Stanisz
Description: Motyw blokowy Łowców Zadań (dawniej Task Thieves) — koncept „Skaner zadań”: ciemne tło, radar na stronie głównej, akcent cyjan + fiolet.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
Version: 1.2.0
License: GPL-2.0-or-later
Text Domain: taskthieves
*/

/* Everything a block's own settings cannot express lives here, keyed by the classes used in the page content.
   1.2.0: dark only. The palette in theme.json is already dark (paper = black page, white = card surface, ink = light text). */

:root {
	color-scheme: dark;
	--tt-violet: #8B5CF6;
	--tt-violet-2: #A78BFA;
	--tt-on-accent: #04131F;
	--tt-line: rgba(255, 255, 255, .08);
	--tt-line-2: rgba(255, 255, 255, .14);
	--tt-ease: cubic-bezier(0.32, 0.72, 0, 1);
	--tt-shadow: none;
}
body { -webkit-font-smoothing: antialiased; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: rgba(34, 211, 238, .35); color: #fff; }

/* full-page radar (front page, assets/js/radar.js): a fixed canvas behind everything */
#tt-radar { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
.wp-site-blocks { position: relative; z-index: 1; }

/* sections */
.tt-section { padding-block: clamp(72px, 9vw, 112px); padding-inline: 24px; }
.tt-section--tight { padding-top: 0; }
.tt-grid-bg { background: transparent; }
.tt-white { background: rgba(0, 0, 0, .55); }
.tt-dark { background: rgba(0, 0, 0, .7); color: var(--wp--preset--color--ink); border-block: 1px solid var(--tt-line); }
.tt-dark :where(h1, h2, h3, p, li, a) { color: inherit; }
.tt-dark .tt-muted { color: var(--wp--preset--color--dark-muted); }
.tt-section > .wp-block-columns { flex-wrap: wrap !important; gap: 56px; }
.tt-section > .wp-block-columns > .wp-block-column { flex: 1 1 440px !important; min-width: 0; }

/* highlighted words: second hero line gradient, accent dot in headings */
.tt-h1 mark, .tt-hl { background: linear-gradient(90deg, var(--wp--preset--color--accent), var(--tt-violet-2)) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; padding: 0; }
h2 mark.has-inline-color { background-color: transparent !important; color: var(--wp--preset--color--accent) !important; }

/* small type */
.tt-eyebrow { font-family: var(--wp--preset--font-family--mono); font-size: 12px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--accent); margin-bottom: 12px; }
.tt-comment { font-family: var(--wp--preset--font-family--mono); font-size: 13px; color: var(--wp--preset--color--muted); }
.tt-muted { color: var(--wp--preset--color--muted); }
.tt-lead { font-size: 18px; line-height: 28px; color: var(--wp--preset--color--body); }
.tt-note { font-size: 14px; color: var(--wp--preset--color--muted); }

/* buttons: primary = cyan pill with a soft glow, outline = glass pill */
.wp-block-button__link { transition: all .7s var(--tt-ease); box-shadow: 0 0 0 1px rgba(34, 211, 238, .5), 0 8px 32px rgba(34, 211, 238, .25); }
.wp-block-button__link:hover { box-shadow: 0 0 0 1px rgba(103, 232, 249, .7), 0 8px 40px rgba(139, 92, 246, .35); }
.wp-block-button__link:active { transform: scale(.98); }
.wp-block-button.is-style-outline .wp-block-button__link, .tt-btn-ghost .wp-block-button__link { background: rgba(255, 255, 255, .04) !important; color: #fff !important; box-shadow: inset 0 0 0 1px var(--tt-line-2); border: 0; }

/* hero (front page) */
.tt-hero { min-height: 100vh; display: grid; align-items: center; padding-top: 140px !important; }
.tt-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--tt-line-2); font-size: 14px; line-height: 20px; color: var(--wp--preset--color--body); }
.tt-pill b { flex: 0 0 auto; white-space: nowrap; font-weight: 600; font-size: 12px; line-height: 16px; color: var(--tt-on-accent); background: var(--wp--preset--color--accent); padding: 4px 8px; border-radius: 999px; }
.tt-hero .tt-h1 { max-width: 680px; font-size: clamp(36px, 5vw, 56px); line-height: 1.06; background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tt-hero .tt-lead { max-width: 560px; }
.tt-proof { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; color: var(--wp--preset--color--muted); }
.tt-proof li::before { content: "✓"; color: var(--wp--preset--color--accent); margin-right: 8px; }

/* live scanner panel next to the hero heading */
.tt-hud { justify-self: end; margin-left: auto; width: min(100%, 400px); border-radius: 24px; padding: 16px; background: rgba(24, 24, 24, .72); border: 1px solid var(--tt-line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.tt-hud__head { display: flex; justify-content: space-between; gap: 12px; padding: 4px 8px 12px; font-family: var(--wp--preset--font-family--mono); font-size: 12px; line-height: 16px; color: var(--wp--preset--color--muted); }
.tt-live { color: var(--wp--preset--color--accent); display: inline-flex; align-items: center; gap: 8px; }
.tt-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--accent); box-shadow: 0 0 12px var(--wp--preset--color--accent); }
.tt-hud__stats { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.tt-hud__stats > div { border-radius: 16px; background: #000; border: 1px solid var(--tt-line); padding: 12px 16px; }
.tt-hud__stats small { display: block; font-family: var(--wp--preset--font-family--mono); font-size: 12px; line-height: 16px; color: var(--wp--preset--color--muted); }
.tt-hud__big { margin-top: 4px; font-size: 30px; line-height: 36px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.tt-hud__big span { color: var(--wp--preset--color--accent); }
.tt-hud__big--n { color: var(--tt-violet-2); }
.tt-hud ul { list-style: none; margin: 12px 0 0; padding: 0 8px; display: grid; gap: 8px; min-height: 108px; }
.tt-hud li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; color: var(--wp--preset--color--body); animation: tt-in .8s var(--tt-ease) both; }
.tt-hud li b { font-family: var(--wp--preset--font-family--mono); font-weight: 500; color: var(--tt-violet-2); white-space: nowrap; }
.tt-hud__note { margin: 12px 0 0; padding: 12px 8px 0; border-top: 1px solid var(--tt-line); font-size: 12px; line-height: 16px; color: var(--wp--preset--color--muted); }
@keyframes tt-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }

/* tagline revealed word by word on scroll (radar.js) */
.tt-tagline p { max-width: 900px; margin: 0 !important; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.tt-tagline .w { opacity: .28; transition: opacity .8s var(--tt-ease), color .8s var(--tt-ease); }
.tt-tagline .w.on { opacity: 1; }
.tt-tagline .w.hl.on { color: var(--wp--preset--color--accent); }

/* process: five steps */
.tt-process { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: tt-step; }
.tt-process li { padding: 24px 16px 16px; border-radius: 16px; background: var(--wp--preset--color--white); border: 1px solid var(--tt-line); }
.tt-process li::before { counter-increment: tt-step; content: "0" counter(tt-step); display: block; font-family: var(--wp--preset--font-family--mono); font-size: 12px; line-height: 16px; color: var(--wp--preset--color--accent); }
.tt-process li:last-child { border-color: rgba(139, 92, 246, .45); }
.tt-process h3 { margin: 8px 0 0; font-size: 18px; line-height: 28px; letter-spacing: -0.01em; }
.tt-process p { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--wp--preset--color--muted); }
.tt-process .tt-when { display: block; margin-top: 12px; font-family: var(--wp--preset--font-family--mono); font-size: 12px; line-height: 16px; color: var(--tt-violet-2); }

/* old hero diagram (kept for older content) */
.tt-flow { max-width: 420px; margin-inline: auto; font-family: var(--wp--preset--font-family--mono); font-size: 14px; }
.tt-flow > .tt-node { position: relative; background: var(--wp--preset--color--white); border: 1px solid var(--tt-line); border-radius: 16px; padding: 14px 18px; margin: 0 0 22px; }
.tt-node p { margin: 0; }
.tt-node .tt-num { color: var(--wp--preset--color--accent); }

/* shared card surface */
.tt-card, .tt-usecase, .wp-block-quote.tt-quote, .tt-demo__video, .tt-shot, .tt-faq__item { background: var(--wp--preset--color--white); border: 1px solid var(--tt-line); transition: border-color .7s var(--tt-ease), transform .7s var(--tt-ease); }

/* cards: audiences and services */
.tt-card { position: relative; border-radius: 24px; padding: 28px; overflow: hidden; }
.tt-card::after { content: ""; position: absolute; right: -40%; bottom: -60%; width: 240px; height: 240px; border-radius: 50%; background: var(--tt-violet); filter: blur(90px); opacity: 0; transition: opacity .7s var(--tt-ease); pointer-events: none; }
.tt-card:hover { border-color: var(--tt-line-2); transform: translateY(-4px); }
.tt-card:hover::after { opacity: .3; }
.tt-card--accent { border-color: rgba(34, 211, 238, .35); }
.tt-card h3 { font-size: 24px; line-height: 32px; margin: 0; }
.tt-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.tt-card li { display: flex; gap: 8px; margin: 0; color: var(--wp--preset--color--body); }
.tt-card li::before { content: "›"; color: var(--wp--preset--color--accent); }
.tt-card p:not([class]) { color: var(--wp--preset--color--body); font-weight: 400; }
.tt-card .tt-price { font-family: var(--wp--preset--font-family--mono); font-size: 16px; font-weight: 500; color: #fff; margin: 0; }
.tt-card .tt-time { font-family: var(--wp--preset--font-family--mono); font-size: 13px; color: var(--wp--preset--color--muted); margin: 0; }
.tt-card .tt-meta { font-family: var(--wp--preset--font-family--mono); font-size: 13px; color: var(--wp--preset--color--muted); border-top: 1px solid var(--tt-line); padding-top: 12px; margin: auto 0 0; }
.tt-card .tt-cta { margin: 0; font-weight: 600; }
.tt-card .tt-cta a, .tt-usecase .tt-cta a, .tt-demo__text .tt-cta a { color: var(--wp--preset--color--accent); text-decoration: none; }
.tt-card .tt-cta a:hover, .tt-usecase .tt-cta a:hover, .tt-demo__text .tt-cta a:hover { text-decoration: underline; }
.tt-audiences.is-layout-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }

/* examples: tabs + video per service */
.tt-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tt-filter[hidden] { display: none; }
.tt-filter button { font: inherit; font-size: 14px; color: var(--wp--preset--color--body); background: rgba(255, 255, 255, .04); border: 1px solid var(--tt-line-2); border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; transition: all .7s var(--tt-ease); }
.tt-filter button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tt-filter button[aria-pressed="true"] { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--tt-on-accent); font-weight: 600; }
.tt-filter button:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 3px; }
.tt-usecases { margin-top: 24px; }
.tt-usecase { border-radius: 24px; padding: 24px; gap: 14px !important; }
.tt-usecase[hidden] { display: none !important; }
.tt-usecase h3 { font-size: 20px; line-height: 1.25; margin: 0; }
.tt-usecase .tt-tags { font-family: var(--wp--preset--font-family--mono); font-size: 12px; color: var(--wp--preset--color--muted); margin: 0; }
.tt-steps { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--tt-line-2); font-size: 15px; line-height: 1.45; }
.tt-steps li { position: relative; padding: 0 0 10px 16px; margin: 0; color: var(--wp--preset--color--body); }
.tt-steps li:last-child { padding-bottom: 0; }
.tt-steps li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--wp--preset--color--muted); }
.tt-steps li:last-child::before { background: var(--wp--preset--color--accent); box-shadow: 0 0 10px var(--wp--preset--color--accent); }
.tt-steps strong { color: #fff; font-weight: 600; }
.tt-usecase .tt-meta, .tt-demo__text .tt-meta { font-family: var(--wp--preset--font-family--mono); font-size: 13px; color: var(--wp--preset--color--muted); border-top: 1px solid var(--tt-line); padding-top: 12px; margin: auto 0 0; }
.tt-usecase .tt-cta, .tt-demo__text .tt-cta { margin: 0; font-weight: 600; }
.tt-demos { margin-top: 24px; display: flex; flex-direction: column; gap: 48px; }
.tt-demo { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.tt-demo[hidden] { display: none !important; }
.tt-demo__video { margin: 0; border-radius: 24px; overflow: hidden; }
.tt-demo__video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.tt-demo__text > * { margin: 0 0 14px; }
.tt-demo__text h3 { font-size: 24px; line-height: 1.2; }
.tt-demo__text > p:not([class]) { color: var(--wp--preset--color--body); }
.tt-demo__text .tt-steps { margin-bottom: 18px; }
@media (max-width: 900px) { .tt-demo { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* FAQ */
.tt-faq { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.tt-faq__item { border-radius: 16px; padding: 16px 24px; }
.tt-faq__item[open] { border-color: var(--tt-line-2); }
.tt-faq__item summary { cursor: pointer; font-weight: 500; font-size: 18px; line-height: 28px; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.tt-faq__item summary::-webkit-details-marker { display: none; }
.tt-faq__item summary::after { content: "+"; font-family: var(--wp--preset--font-family--mono); color: var(--wp--preset--color--accent); flex: 0 0 auto; transition: transform .7s var(--tt-ease); }
.tt-faq__item[open] summary::after { transform: rotate(45deg); }
.tt-faq__item summary:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 4px; }
.tt-faq__item p { margin: 12px 0 0; max-width: 760px; color: var(--wp--preset--color--body); }
@media (max-width: 800px) { .tt-faq { grid-template-columns: minmax(0, 1fr); } }

/* contact form (Contact Form 7) */
.tt-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.tt-form p { margin: 0 0 16px; }
.tt-form__wide { grid-column: 1 / -1; }
.tt-form label { display: block; font-family: var(--wp--preset--font-family--mono); font-size: 13px; color: var(--wp--preset--color--muted); }
.tt-form input[type="text"], .tt-form input[type="email"], .tt-form select, .tt-form textarea {
	box-sizing: border-box; width: 100%; margin-top: 6px; font: inherit; font-family: var(--wp--preset--font-family--sans); font-size: 16px;
	color: #fff; background: #0B0B0B; border: 1px solid var(--tt-line-2); border-radius: 12px; padding: 12px 14px; min-height: 48px;
	transition: border-color .7s var(--tt-ease);
}
.tt-form :is(input, select, textarea):hover { border-color: rgba(255, 255, 255, .24); }
.tt-form textarea { min-height: 140px; resize: vertical; }
.tt-form :is(input, select, textarea):focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 2px; border-color: transparent; }
.tt-form .wpcf7-submit { font: inherit; font-weight: 600; font-size: 16px; color: var(--tt-on-accent); background: var(--wp--preset--color--accent); border: 0; border-radius: 999px; padding: 14px 28px; cursor: pointer; min-height: 48px;
	box-shadow: 0 0 0 1px rgba(34, 211, 238, .5), 0 8px 32px rgba(34, 211, 238, .25); transition: all .7s var(--tt-ease); }
.tt-form .wpcf7-submit:hover { background: var(--wp--preset--color--accent-dark); }
.tt-form .wpcf7-submit:active { transform: scale(.98); }
.tt-form__note { font-size: 14px; color: var(--wp--preset--color--muted); }
.wpcf7-not-valid-tip { font-size: 14px; color: #FCA5A5; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 8px 0 0; padding: 12px 16px; border-radius: 12px; border-width: 1px; font-size: 15px; }

/* "Brzmi znajomo?" quotes = targets on the radar */
.tt-section { counter-reset: tt-target; }
.wp-block-quote.tt-quote { margin: 0; border-radius: 16px; padding: 24px; counter-increment: tt-target; }
.wp-block-quote.tt-quote:hover { border-color: rgba(34, 211, 238, .45); transform: translateY(-4px); }
.wp-block-quote.tt-quote::before { content: "◎ cel 0" counter(tt-target); display: block; margin-bottom: 12px; font-family: var(--wp--preset--font-family--mono); font-size: 12px; line-height: 16px; color: var(--wp--preset--color--accent); }
.wp-block-quote.tt-quote p { font-size: 18px; font-weight: 500; line-height: 28px; color: #fff; margin: 0; }
.wp-block-quote.tt-quote cite { display: block; margin-top: 14px; font-size: 14px; font-style: normal; color: var(--wp--preset--color--muted); }

/* before/after numbers */
.tt-stats { font-family: var(--wp--preset--font-family--mono); font-size: 15px; }
.tt-stats > .wp-block-group { border-bottom: 1px solid var(--tt-line); padding: 14px 0; }
.tt-stats p { margin: 0; }
.tt-stats .tt-after { color: var(--wp--preset--color--accent); }

/* "jak pracuję": answers as cards */
.tt-defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tt-defs > .wp-block-group { border-radius: 16px; background: var(--wp--preset--color--white); border: 1px solid var(--tt-line); padding: 24px; }
.tt-defs h3, .tt-defs h4 { font-size: 18px; line-height: 28px; margin: 0 0 8px; letter-spacing: -0.01em; }
.tt-defs p { margin: 0; color: var(--wp--preset--color--body); font-size: 16px; }
@media (max-width: 800px) { .tt-defs { grid-template-columns: minmax(0, 1fr); } }

/* price list */
.tt-prices { border-top: 1px solid var(--tt-line-2); }
.tt-prices > .wp-block-group { border-bottom: 1px solid var(--tt-line); padding: 18px 0; }
.tt-prices h3 { font-size: 17px; margin: 0; letter-spacing: 0; flex: 0 0 220px; }
.tt-prices .tt-desc { margin: 0; color: var(--wp--preset--color--body); flex: 1 1 280px; }
.tt-prices .tt-price { margin: 0; font-family: var(--wp--preset--font-family--mono); white-space: nowrap; }

/* header: floating glass pill */
.wp-site-blocks > header.wp-block-template-part { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; padding-inline: 16px; pointer-events: none; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: calc(16px + var(--wp-admin--admin-bar--height, 0px)); }
.tt-header { pointer-events: auto; width: max-content; max-width: 100%; margin: 0 auto; padding: 6px 6px 6px 16px !important; border-radius: 999px; background: rgba(24, 24, 24, .72); border: 1px solid var(--tt-line-2); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.tt-header > .wp-block-group { flex-wrap: nowrap !important; gap: 20px !important; }
.tt-header > .wp-block-group > .wp-block-group { flex-wrap: nowrap !important; gap: 12px !important; }
html { scroll-padding-top: 96px; }
.tt-header .wp-block-navigation a { text-decoration: none; font-weight: 500; font-size: 14px; color: var(--wp--preset--color--body); padding: 8px 10px; border-radius: 999px; transition: all .7s var(--tt-ease); }
.tt-header .wp-block-navigation a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.tt-header .wp-block-navigation__container { gap: 0 !important; }
.tt-header .wp-block-button__link { padding: 8px 16px; font-size: 14px; white-space: nowrap; }
.tt-header .wp-block-navigation__responsive-container.is-menu-open { background: rgba(0, 0, 0, .9) !important; backdrop-filter: blur(24px); color: #fff !important; padding: 20px 24px !important; }
.tt-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px !important; align-items: flex-start !important; }
.tt-header .is-menu-open .wp-block-navigation__container { gap: 4px !important; width: 100%; }
.tt-header .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--tt-line); }
.tt-header .is-menu-open .wp-block-navigation-item a { display: block; font-size: 24px; font-weight: 600; color: #fff; padding: 14px 0; border-radius: 0; }
.tt-header .wp-block-navigation__responsive-container-close { top: 22px !important; right: 24px !important; }
.tt-header .wp-block-navigation__responsive-container-close svg, .tt-header .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }
@media (min-width: 600px) and (max-width: 1180px) {
	.tt-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.tt-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.tt-header .wp-block-navigation__responsive-container-close:not(.always-shown) { display: flex !important; }
}
@media (max-width: 600px) {
	.wp-site-blocks > header.wp-block-template-part { top: 12px; padding-inline: 12px; }
	.tt-header { width: 100%; }
	.tt-header .wp-block-buttons { display: none; }
	.tt-header > .wp-block-group, .tt-header > .wp-block-group > .wp-block-group { gap: 8px !important; }
	html { scroll-padding-top: 80px; }
}

/* logo: target mark (zadanie namierzone i załatwione) + wordmark */
.tt-logo { margin: 0; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; line-height: 1; }
.tt-header .tt-logo a { display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; white-space: nowrap; text-decoration: none; color: #fff; }
.tt-logo svg { width: 24px; height: 24px; flex: 0 0 auto; }

/* footer */
.tt-footer { border-top: 1px solid var(--tt-line); padding: 32px 24px 48px; font-size: 14px; color: var(--wp--preset--color--muted); background: rgba(0, 0, 0, .7); }
.tt-footer p { margin: 0; }
.tt-footer a { color: var(--wp--preset--color--muted); }
.tt-footer a:hover { color: #fff; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* stand-alone text links: at least 24 px tall touch targets (WCAG 2.5.8) */
.tt-cta a, .tt-logo a { display: inline-block; padding-block: 6px; }

/* subpages: the header floats, so content starts below it */
.tt-page { padding: 140px 24px clamp(48px, 7vw, 96px); }
.tt-page > .wp-block-post-content { max-width: none !important; }
.tt-project > p, .tt-project > h2 { max-width: 760px; }
.tt-project { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--tt-line-2); }
.tt-project > * { margin-block: 0 16px; }
.tt-project h2 { font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: -0.03em; }
.tt-shot { margin: 24px 0 0; border-radius: 24px; overflow: hidden; }
.tt-shot img { display: block; width: 100%; height: auto; }
.tt-shots { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; margin-top: 32px; }
.tt-shots .tt-shot { margin: 0; }
.tt-shot--phone { border-radius: 32px; }
.tt-project__h { margin-top: 48px; font-size: 24px; }
.tt-project__title { display: flex; align-items: center; gap: 18px; }
.tt-project__icon { width: 64px; height: 64px; border-radius: 14px; flex: 0 0 auto; }
.tt-shot--video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.tt-project .tt-note { margin-top: 24px; }
.tt-project__cta { margin-top: 24px; gap: 12px; }
@media (max-width: 700px) {
	.tt-shots { grid-template-columns: minmax(0, 1fr); }
	.tt-shot--phone { max-width: 280px; }
}

/* scroll reveal (radar.js adds .tt-reveal / .in); without JavaScript everything stays visible */
.tt-js .tt-reveal { opacity: 0; transform: translateY(48px); filter: blur(10px); transition: opacity .9s var(--tt-ease), transform .9s var(--tt-ease), filter .9s var(--tt-ease); }
.tt-js .tt-reveal.in { opacity: 1; transform: none; filter: none; }

@media (max-width: 1080px) {
	.tt-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tt-hud { justify-self: stretch; width: 100%; }
	.tt-hero { min-height: 0; }
}
@media (max-width: 600px) {
	.tt-prices h3 { flex-basis: 100%; }
	.tt-process { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.tt-js .tt-reveal { opacity: 1; transform: none; filter: none; }
	.tt-tagline .w { opacity: 1; }
}
