/**
 * ToTheMoon design system.
 * Single source of truth for tokens; no page may define ad hoc values.
 * Ported from the approved Claude Design export (dark theme, Manrope).
 */

/* ---------------------------------------------------------------- fonts */

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/manrope-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------- tokens */

:root {
	/* surfaces */
	--ttm-bg-1: #0a0a0a;
	--ttm-bg-2: #000000;
	--ttm-bg-deep: #04060c;
	--ttm-bg-foot: #05070c;
	--ttm-nav-bg: rgba(10, 10, 10, 0.92);

	/* ink */
	--ttm-fg: #ffffff;
	--ttm-muted: #9a9a9a;
	--ttm-muted-soft: #a8a8a8;
	--ttm-dim: #d8dce6;
	--ttm-dim-soft: #b9bec9;
	--ttm-cream: #f2efe6;

	/* accent */
	--ttm-accent: #8aa2ff;
	--ttm-accent-line: rgba(138, 162, 255, 0.45);
	--ttm-accent-soft: rgba(138, 162, 255, 0.1);
	--ttm-accent-hair: rgba(140, 160, 255, 0.16);
	--ttm-grad: linear-gradient(96deg, #2b5cff 0%, #5b3fe8 55%, #9b2fc9 100%);
	--ttm-grad-lite: linear-gradient(96deg, #4e7cff 0%, #7c5cf5 52%, #b45ce8 100%);
	--ttm-grad-soft: linear-gradient(158deg, rgba(78, 124, 255, 0.1) 0%, rgba(180, 92, 232, 0.05) 42%, rgba(255, 255, 255, 0) 78%);
	--ttm-card-surface: #0c0c0c;
	--ttm-card-line: rgba(140, 160, 255, 0.16);

	/* lines */
	--ttm-line: #1e1e1e;
	--ttm-line-strong: #2a2a2a;
	--ttm-line-hair: rgba(255, 255, 255, 0.06);

	/* buttons */
	--ttm-btn-p-bg: var(--ttm-grad-lite);
	--ttm-btn-p-fg: #ffffff;
	--ttm-btn-s-bg: linear-gradient(180deg, #1c1c1c, #101010);
	--ttm-btn-s-fg: #ffffff;
	--ttm-glow: 0 8px 26px rgba(90, 100, 240, 0.38);
	--ttm-glow-hover: 0 16px 40px rgba(90, 100, 240, 0.55);

	/* The blue halo every box picks up on hover, straight from the design. */
	--ttm-card-hover-line: rgba(140, 160, 255, 0.34);
	--ttm-glow-card: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 44px rgba(60, 80, 220, 0.22);
	--ttm-glow-card-lg: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 54px rgba(60, 80, 220, 0.28);

	/* radii */
	--ttm-r-sm: 8px;
	--ttm-r-md: 12px;
	--ttm-r-lg: 14px;
	--ttm-r-xl: 18px;
	--ttm-r-pill: 999px;

	/* rhythm */
	--ttm-section-y: clamp(72px, 9vw, 120px);
	--ttm-gutter: 24px;
	--ttm-container: 1320px;
	--ttm-container-wide: 1380px;

	/* type */
	--ttm-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
	--ttm-h1: clamp(38px, 6vw, 62px);
	--ttm-h2: clamp(32px, 4.6vw, 52px);
	--ttm-h2-lg: clamp(34px, 4.6vw, 58px);
	--ttm-h3: clamp(24px, 2.4vw, 32px);
	--ttm-lead: 18px;

	/* motion */
	--ttm-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--ttm-fast: 0.18s;
	--ttm-base: 0.22s;
}

/* ------------------------------------------------------------- elements */

.ttm {
	font-family: var(--ttm-font);
	background: var(--ttm-bg-1);
	color: var(--ttm-fg);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

.ttm *,
.ttm *::before,
.ttm *::after {
	box-sizing: border-box;
}

.ttm img {
	max-width: 100%;
	height: auto;
}

.ttm a {
	color: inherit;
	text-decoration: none;
}

.ttm h1,
.ttm h2,
.ttm h3,
.ttm h4,
.ttm p,
.ttm ul,
.ttm ol,
.ttm figure {
	margin: 0;
}

.ttm ul,
.ttm ol {
	padding: 0;
	list-style: none;
}

.ttm :focus-visible {
	outline: 2px solid var(--ttm-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ------------------------------------------------------------ structure */

.ttm-section {
	background: var(--ttm-bg-1);
	color: var(--ttm-fg);
	padding: var(--ttm-section-y) 0;
}

/*
 * The darker band used to be a flat fill, so every boundary between a normal
 * and an alternate section drew a visible horizontal line — the page read as
 * a stack of boxes with borders. Now the band starts and ends at exactly the
 * neighbouring colour and only deepens in the middle, so the seam disappears
 * while the rhythm stays.
 */
.ttm-section--alt {
	background: linear-gradient(
		180deg,
		var(--ttm-bg-1) 0%,
		var(--ttm-bg-2) 9%,
		var(--ttm-bg-2) 91%,
		var(--ttm-bg-1) 100%
	);
}

/* Two alternate sections in a row must not fade back up in between. */
.ttm-section--alt + .ttm-section--alt {
	background: linear-gradient(180deg, var(--ttm-bg-2) 0%, var(--ttm-bg-2) 91%, var(--ttm-bg-1) 100%);
}

.ttm-section--alt:has(+ .ttm-section--alt) {
	background: linear-gradient(180deg, var(--ttm-bg-1) 0%, var(--ttm-bg-2) 9%, var(--ttm-bg-2) 100%);
}

.ttm-section--alt + .ttm-section--alt:has(+ .ttm-section--alt) {
	background: var(--ttm-bg-2);
}

.ttm-wrap {
	max-width: var(--ttm-container);
	margin: 0 auto;
	padding: 0 var(--ttm-gutter);
}

.ttm-wrap--wide {
	max-width: var(--ttm-container-wide);
}

/* ------------------------------------------------------------ typography */

.ttm-eyebrow {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ttm-dim-soft);
}

.ttm-h1 {
	font-size: var(--ttm-h1);
	line-height: 1.06;
	font-weight: 600;
	letter-spacing: -0.035em;
}

.ttm-h2 {
	font-size: var(--ttm-h2);
	line-height: 1.22;
	font-weight: 600;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.ttm-h3 {
	font-size: var(--ttm-h3);
	line-height: 1.15;
	font-weight: 600;
	letter-spacing: -0.025em;
}

.ttm-lead {
	font-size: var(--ttm-lead);
	line-height: 1.62;
	color: var(--ttm-muted);
	text-wrap: pretty;
}

.ttm-grad-text {
	background: var(--ttm-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* section head: eyebrow + h2 + lead */
.ttm-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 62ch;
	margin-bottom: clamp(36px, 4vw, 56px);
}

.ttm-head--center {
	align-items: center;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

/* --------------------------------------------------------------- buttons */

.ttm-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	padding: 15px 24px;
	border: 0;
	border-radius: var(--ttm-r-sm);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: transform var(--ttm-fast) ease, box-shadow var(--ttm-fast) ease,
		filter var(--ttm-fast) ease, border-color var(--ttm-fast) ease;
}

.ttm .ttm-btn--primary {
	background: var(--ttm-btn-p-bg);
	color: var(--ttm-btn-p-fg);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), var(--ttm-glow);
}

.ttm .ttm-btn--primary:hover {
	transform: translateY(-3px);
	filter: brightness(1.15);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), var(--ttm-glow-hover);
}

.ttm .ttm-btn--ghost {
	background: var(--ttm-btn-s-bg);
	color: var(--ttm-btn-s-fg);
	border: 1px solid var(--ttm-line-strong);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ttm .ttm-btn--ghost:hover {
	transform: translateY(-2px);
	border-color: rgba(140, 160, 255, 0.55);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 22px rgba(90, 100, 240, 0.28);
}

.ttm-btn--sm {
	padding: 10px 16px;
	font-size: 13px;
}

/* the micro-copy that always sits under a primary CTA */
.ttm-micro {
	display: block;
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ttm-muted);
}

.ttm-cta-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	/* Never zero: two buttons stacked here would touch. */
	gap: 12px;
}

/* The line under a button already carries its own space. */
.ttm-cta-group > .ttm-micro {
	margin-top: 0;
}

.ttm-cta-group--center .ttm-cta-row {
	justify-content: center;
}

.ttm-cta-group--center {
	align-items: center;
	text-align: center;
}

.ttm-hero__inner--left .ttm-cta-group--center {
	align-items: flex-start;
	text-align: left;
}

.ttm-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

/* pill used for eyebrow chips inside the hero */
.ttm-pill {
	display: inline-block;
	padding: 6px 13px;
	border: 1px solid var(--ttm-accent-line);
	background: var(--ttm-accent-soft);
	border-radius: var(--ttm-r-pill);
	font-size: 12px;
	font-weight: 600;
	color: var(--ttm-accent);
}

/* ----------------------------------------------------------------- cards */

.ttm-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px;
	border: 1px solid var(--ttm-line);
	border-radius: var(--ttm-r-xl);
	background: var(--ttm-grad-soft);
	transition: transform var(--ttm-base) ease, box-shadow var(--ttm-base) ease,
		border-color var(--ttm-base) ease;
}

.ttm-card:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
	box-shadow: var(--ttm-glow-card);
}

.ttm-card__num {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--ttm-accent);
}

.ttm-card__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
}

.ttm-card__text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

.ttm-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ttm-grid--2 {
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.ttm-grid--3 {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* --------------------------------------------------------------- marquee */

.ttm-marquee {
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ttm-marquee__track {
	display: flex;
	width: max-content;
	animation: ttm-marquee 38s linear infinite;
}

.ttm-marquee__item {
	flex: 0 0 auto;
	margin-right: 64px;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--ttm-dim);
}

@keyframes ttm-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* Three-copy variant, used by the image wall. */
.ttm-wall__row--a .ttm-wall__track {
	animation-name: ttm-marquee-third;
}

@keyframes ttm-marquee-third {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-33.3333%);
	}
}

/* ---------------------------------------------------------------- motion */

@keyframes ttmRise {
	from {
		transform: translateY(105%);
	}
	to {
		transform: translateY(0);
	}
}

@keyframes ttmFade {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes ttmScrollDot {
	0% {
		transform: translateY(0);
		opacity: 0;
	}
	18% {
		opacity: 1;
	}
	70% {
		transform: translateY(13px);
		opacity: 1;
	}
	100% {
		transform: translateY(17px);
		opacity: 0;
	}
}

@keyframes ttmScrollNudge {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(6px);
	}
}

/* Scroll reveal is progressive enhancement: the hiding only applies once
   the inline script has marked the document, so a page without JavaScript
   (and any crawler) still shows every section. */
.ttm-js .ttm-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s var(--ttm-ease), transform 0.6s var(--ttm-ease);
}

.ttm-js .ttm-reveal.is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.ttm *,
	.ttm *::before,
	.ttm *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.ttm-js .ttm-reveal {
		opacity: 1;
		transform: none;
	}
}

/* ================================================================ chrome */

.ttm .ttm-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 12px 18px;
	background: #fff;
	color: #0a0a0a;
	font-weight: 600;
	border-radius: 0 0 var(--ttm-r-sm) 0;
}

.ttm-skip:focus {
	left: 0;
}

.ttm-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--ttm-nav-bg);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--ttm-line);
}

.ttm-header.is-scrolled {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.ttm-header__bar {
	min-height: 64px;
	padding-top: 10px;
	padding-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
}

.ttm-logo svg {
	height: 19px;
	width: auto;
	display: block;
	fill: currentColor;
}

.ttm-logo--text {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.ttm-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.ttm-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 14px;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.ttm-nav__item {
	position: relative;
}

.ttm .ttm-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 8px 4px;
	background: none;
	border: 0;
	font: inherit;
	color: var(--ttm-muted-soft);
	cursor: pointer;
	transition: color var(--ttm-fast) ease;
}

.ttm .ttm-nav__link:hover,
.ttm-nav__toggle[aria-expanded='true'] {
	color: var(--ttm-fg);
}

.ttm-nav__chev {
	font-size: 10px;
	transition: transform var(--ttm-fast) ease;
}

.ttm-nav__toggle[aria-expanded='true'] .ttm-nav__chev {
	transform: rotate(180deg);
}

.ttm-mega {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	width: min(560px, 90vw);
	padding: 14px;
	background: #0e0e10;
	border: 1px solid var(--ttm-line-strong);
	border-radius: var(--ttm-r-lg);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
	white-space: normal;
}

.ttm-mega__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px;
}

.ttm-mega__list a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--ttm-r-md);
	transition: background var(--ttm-fast) ease;
}

.ttm-mega__list a:hover {
	background: var(--ttm-accent-soft);
}

.ttm .ttm-mega__title {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--ttm-fg);
}

.ttm .ttm-mega__desc {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--ttm-muted);
}

.ttm .ttm-mega__all {
	display: inline-block;
	margin: 10px 0 2px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ttm-accent);
}

.ttm-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ttm-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 0 10px;
	background: var(--ttm-btn-s-bg);
	border: 1px solid var(--ttm-line-strong);
	border-radius: var(--ttm-r-sm);
	cursor: pointer;
}

.ttm-burger span {
	display: block;
	height: 2px;
	background: #fff;
	border-radius: 2px;
}

.ttm-mobile {
	position: fixed;
	inset: 64px 0 0;
	z-index: 49;
	overflow-y: auto;
	background: var(--ttm-bg-1);
	border-top: 1px solid var(--ttm-line);
}

.ttm-mobile__inner {
	padding: 24px var(--ttm-gutter) 48px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ttm-mobile__label {
	margin-top: 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ttm-muted);
}

.ttm-mobile__list a {
	display: block;
	padding: 12px 0;
	font-size: 17px;
	font-weight: 600;
	border-bottom: 1px solid var(--ttm-line);
}

.ttm-mobile__cta {
	margin-top: 22px;
	justify-content: center;
}

@media (max-width: 1099px) {
	.ttm-nav,
	.ttm-header__cta {
		display: none;
	}

	.ttm-burger {
		display: flex;
	}
}

/* A value Miha still has to supply. Deliberately visible, never invented. */
.ttm-todo {
	display: inline-block;
	padding: 1px 7px;
	border: 1px dashed rgba(255, 180, 90, 0.6);
	border-radius: var(--ttm-r-sm);
	font-size: 12px;
	color: #ffb45a;
}

/* ================================================================== hero */

.ttm-hero {
	position: relative;
	background: var(--ttm-bg-1);
	color: var(--ttm-fg);
	padding: clamp(96px, 12vw, 160px) 0 clamp(150px, 16vw, 210px);
	min-height: min(100svh, 900px);
	display: grid;
	place-items: center;
	overflow: hidden;
	isolation: isolate;
}

.ttm-sky {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.ttm-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(
		ellipse 54% 48% at 50% 46%,
		rgba(5, 7, 12, 0.8) 0%,
		rgba(5, 7, 12, 0.5) 58%,
		rgba(5, 7, 12, 0) 80%
	);
}

.ttm-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	text-align: center;
}

.ttm-hero__title {
	/* Wide enough that the second line stays on one row. */
	max-width: 24ch;
}

.ttm-line {
	display: block;
	overflow: hidden;
	padding-bottom: 0.2em;
	margin-bottom: -0.2em;
}

.ttm-line > span {
	display: inline-block;
	animation: ttmRise 0.9s var(--ttm-ease) both;
}

.ttm-line:nth-child(2) > span {
	animation-delay: 0.09s;
}

.ttm-hero__lead {
	max-width: 52ch;
	animation: ttmFade 0.8s ease 0.42s both;
}

.ttm-hero__cta {
	animation: ttmFade 0.8s ease 0.56s both;
	margin-top: 6px;
}

.ttm-hero__trust {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 0 0 34px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	pointer-events: none;
}

/* ============================================================== sections */

.ttm .ttm-section__link, .ttm .ttm-section__link a {
	margin-top: 28px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ttm-accent);
}

.ttm-section__link a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ttm-card--link,
.ttm-card--proj > a {
	color: inherit;
}




.ttm .ttm-card__more {
	margin-top: auto;
	padding-top: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--ttm-accent);
}

/* ------------------------------------------------------------- quotes */

.ttm-quotes {
	columns: 3 300px;
	column-gap: 18px;
}

.ttm-quote {
	break-inside: avoid;
	margin: 0 0 18px;
	padding: 26px;
	border: 1px solid var(--ttm-line);
	border-radius: var(--ttm-r-xl);
	background: rgba(255, 255, 255, 0.02);
}

.ttm-quote blockquote {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.62;
	color: var(--ttm-dim);
}

.ttm-quote blockquote::before {
	content: '„';
	display: block;
	margin-bottom: 4px;
	font-size: 34px;
	line-height: 0.6;
	color: var(--ttm-accent);
}

.ttm-quote figcaption {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ttm-quote__name {
	font-size: 14px;
	font-weight: 700;
}

.ttm-quote__role {
	font-size: 13px;
	color: var(--ttm-muted);
}

/* ---------------------------------------------------------- interlude */

.ttm-mid {
	position: relative;
	background: var(--ttm-bg-deep);
	color: var(--ttm-fg);
	min-height: min(70svh, 620px);
	display: grid;
	place-items: center;
	overflow: hidden;
	isolation: isolate;
}

.ttm-mid::before {
	content: '';
	position: absolute;
	inset: -20% -10%;
	z-index: 0;
	background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(78, 124, 255, 0.18), transparent 70%);
	pointer-events: none;
}

.ttm-mid__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
	max-width: 68ch;
}

/* -------------------------------------------------------------- steps */

.ttm-steps {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	margin-bottom: 40px;
	counter-reset: ttm-step;
}

.ttm-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 26px 26px 0;
	border-top: 2px solid var(--ttm-line-strong);
}

.ttm-step__num {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--ttm-accent);
}

/* -------------------------------------------------------------- final */

.ttm-final .ttm-head {
	margin-bottom: 26px;
}

/* ------------------------------------------------- touch target sizing */

/* On a phone every list link gets a full-height row so it is comfortably
   tappable; on desktop the tighter text spacing is kept. */
@media (max-width: 1099px) {
	.ttm-footer__col li a,
	.ttm-mobile__list a {
		display: block;
		min-height: 44px;
		display: flex;
		align-items: center;
	}

	.ttm-footer__col li {
		margin-bottom: 0;
	}

	.ttm .ttm-section__link a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.ttm-nap a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
}

/* The card is one link, so the "Preberite več" line does not need its own
   tap target — but the whole card must be comfortably large. */
.ttm-card--link,
.ttm-card--proj > a {
	min-height: 150px;
}

/* ------------------------------------------------------ grid columns */

/* auto-fit gives four columns on a wide screen, which breaks the rhythm of
   a six-item set (4 + 2). Pin the counts instead. */
@media (min-width: 1100px) {
	.ttm-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ttm-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 700px) and (max-width: 1099px) {
	.ttm-grid--3,
	.ttm-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Seven quotes in three masonry columns leaves one column far longer than
   the others. Balance them. */
.ttm-quotes {
	column-fill: balance;
}

@media (min-width: 1100px) {
	.ttm-quotes {
		columns: 3;
	}
}

/* Project shots are light screenshots on a dark card: give them a hairline
   so they do not float, and keep every card the same height. */
.ttm-card--proj {
	height: 100%;
}

.ttm-proj__shot img {
	background: #f4f4f6;
}

/* ========================================================== inner pages */

/* A page hero is shorter than the home hero and left aligned. */
.ttm-hero--page {
	min-height: 0;
	padding: clamp(56px, 7vw, 96px) 0 clamp(56px, 7vw, 88px);
}

.ttm-hero__inner--left {
	align-items: flex-start;
	text-align: left;
}

.ttm-hero--page .ttm-hero__title {
	max-width: 22ch;
}

.ttm-hero--page .ttm-hero__lead {
	max-width: 58ch;
}

/* --------------------------------------------------------- breadcrumbs */

.ttm-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: var(--ttm-muted);
}

.ttm-crumbs li + li::before {
	content: '/';
	margin-right: 8px;
	color: var(--ttm-line-strong);
}

.ttm-crumbs a:hover {
	color: var(--ttm-accent);
}

/* ------------------------------------------------- the "answer first" p */

/* This paragraph is what AI engines quote, so it gets its own weight. */
.ttm-answer {
	max-width: 68ch;
	padding: 20px 24px;
	border-left: 2px solid var(--ttm-accent);
	background: var(--ttm-grad-soft);
	border-radius: 0 var(--ttm-r-lg) var(--ttm-r-lg) 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ttm-dim);
}

/* ---------------------------------------------------------------- prose */

.ttm-prose {
	max-width: 900px;
	margin-inline: auto;
}

.ttm-prose .ttm-head {
	margin-bottom: 24px;
}

.ttm-prose__p {
	max-width: 68ch;
	margin-top: 20px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ttm-muted);
}

.ttm-list {
	display: flex;
	flex-direction: column;
	max-width: 74ch;
}

.ttm-list li {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--ttm-dim);
	border-top: 1px solid var(--ttm-line-hair);
}

.ttm-list li:first-child {
	border-top: 0;
}

.ttm-mark--dot {
	color: var(--ttm-line-strong);
}

.ttm-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

/* ---------------------------------------------------------------- table */

.ttm-tablewrap {
	overflow-x: auto;
	border: 1px solid var(--ttm-line);
	border-radius: var(--ttm-r-lg);
}

.ttm-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.ttm-table th,
.ttm-table td {
	padding: 13px 18px;
	text-align: left;
	border-bottom: 1px solid var(--ttm-line-hair);
}

.ttm-table th {
	font-weight: 700;
	color: var(--ttm-accent);
	background: rgba(255, 255, 255, 0.02);
}

.ttm-table td {
	color: var(--ttm-dim);
}

.ttm-table tr:last-child td {
	border-bottom: 0;
}

/* ------------------------------------------------------------------ faq */

.ttm-faq {
	max-width: 820px;
	border-top: 1px solid var(--ttm-line);
}

.ttm-faq__item {
	border-bottom: 1px solid var(--ttm-line);
}

.ttm-faq__item h3 {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
}

.ttm .ttm-faq__q {
	display: flex;
	width: 100%;
	gap: 18px;
	align-items: center;
	justify-content: space-between;
	padding: 20px 4px;
	background: none;
	border: 0;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	color: var(--ttm-fg);
	cursor: pointer;
	transition: color var(--ttm-fast) ease;
}

.ttm .ttm-faq__q:hover {
	color: var(--ttm-accent);
}

/* A plus that becomes a minus — drawn, so it cannot be misread as text. */
.ttm-faq__sign {
	position: relative;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
}

.ttm-faq__sign::before,
.ttm-faq__sign::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	background: var(--ttm-accent);
	transform: translate(-50%, -50%);
	transition: opacity var(--ttm-fast) ease, transform var(--ttm-fast) ease;
}

.ttm-faq__sign::before {
	width: 16px;
	height: 2px;
}

.ttm-faq__sign::after {
	width: 2px;
	height: 16px;
}

.ttm-faq__q[aria-expanded='true'] .ttm-faq__sign::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(90deg);
}

.ttm-faq__a {
	padding: 0 4px 22px;
	max-width: 68ch;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ttm-muted);
}

.ttm-head--spaced {
	margin-top: clamp(40px, 5vw, 64px);
}

/* ================================================================ filters */

.ttm-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.ttm .ttm-filters__btn {
	padding: 9px 16px;
	min-height: 40px;
	background: transparent;
	border: 1px solid var(--ttm-line-strong);
	border-radius: var(--ttm-r-pill);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--ttm-muted);
	cursor: pointer;
	transition: color var(--ttm-fast) ease, border-color var(--ttm-fast) ease,
		background var(--ttm-fast) ease;
}

.ttm .ttm-filters__btn:hover {
	color: var(--ttm-fg);
	border-color: var(--ttm-accent-line);
}

.ttm .ttm-filters__btn.is-on {
	color: var(--ttm-fg);
	background: var(--ttm-accent-soft);
	border-color: var(--ttm-accent);
}

.ttm-filters__note {
	margin: 0 0 32px;
	max-width: 74ch;
}

/* ================================================================== stats */

.ttm-stats {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ttm-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 26px;
	border: 1px solid var(--ttm-line);
	border-radius: var(--ttm-r-xl);
	background: var(--ttm-grad-soft);
}

.ttm-stat__num {
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	background: var(--ttm-grad);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ttm-stat__label {
	font-size: 14px;
	color: var(--ttm-muted);
}

/* ================================================================ contact */

.ttm-contact {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: start;
}

@media (max-width: 899px) {
	.ttm-contact {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ttm-details {
	display: grid;
	grid-template-columns: auto;
	gap: 0;
	margin: 18px 0 0;
}

.ttm-details dt {
	margin-top: 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ttm-muted);
}

.ttm-details dd {
	margin: 4px 0 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ttm-dim);
}

.ttm-details a:hover {
	color: var(--ttm-accent);
}

/* ------------------------------------------------------------------ form */

.ttm-form__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ttm-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.ttm-field--wide {
	grid-column: 1 / -1;
}

.ttm-field__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--ttm-dim);
}

.ttm-field__label abbr {
	text-decoration: none;
	color: var(--ttm-accent);
}

.ttm-field__hint {
	font-weight: 400;
	color: var(--ttm-muted);
}

.ttm input[type='text'],
.ttm input[type='email'],
.ttm input[type='tel'],
.ttm select,
.ttm textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--ttm-line-strong);
	border-radius: var(--ttm-r-md);
	font-family: inherit;
	font-size: 16px;
	color: var(--ttm-fg);
	transition: border-color var(--ttm-fast) ease, background var(--ttm-fast) ease;
}

.ttm textarea {
	min-height: 150px;
	resize: vertical;
}

.ttm select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--ttm-muted) 50%),
		linear-gradient(135deg, var(--ttm-muted) 50%, transparent 50%);
	background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 42px;
}

.ttm select option {
	background: #101014;
	color: #fff;
}

.ttm input:focus,
.ttm select:focus,
.ttm textarea:focus {
	border-color: var(--ttm-accent);
	background: rgba(255, 255, 255, 0.05);
}

.ttm-field--check {
	margin-top: 22px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

.ttm-field--check input[type='checkbox'] {
	width: 18px;
	height: 18px;
	margin-right: 8px;
	accent-color: #5b3fe8;
	vertical-align: -3px;
}

.ttm-form__send {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	margin-top: 26px;
}

/* The honeypot pair. Hidden from sight and from assistive tech, but still
   submitted — a bot fills them in, a person never sees them. */
.ttm-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Contact Form 7's own status and validation messages. */
.ttm .wpcf7-not-valid-tip {
	margin-top: 5px;
	font-size: 13px;
	color: #ff9b9b;
}

.ttm .wpcf7-response-output {
	margin: 24px 0 0 !important;
	padding: 14px 18px !important;
	border: 1px solid var(--ttm-line-strong) !important;
	border-radius: var(--ttm-r-md);
	font-size: 15px;
	color: var(--ttm-dim);
}

.ttm .wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--ttm-accent) !important;
	background: var(--ttm-accent-soft);
}

.ttm .wpcf7 form.invalid .wpcf7-response-output,
.ttm .wpcf7 form.failed .wpcf7-response-output {
	border-color: rgba(255, 155, 155, 0.6) !important;
}

.ttm .wpcf7-spinner {
	margin: 0 0 0 12px;
}

/* ============================================================== canvases */

/* The three scenes drawn by ttm-sky.js. Each sits behind its section's
   content and never takes pointer events — except the hero, which wants the
   crosshair so the comet trail reads as something you can play with. */
.ttm-meteors,
.ttm-mid-canvas,
.ttm-foot-sky {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.ttm-meteors {
	z-index: 1;
}

.ttm-hero {
	cursor: crosshair;
}

.ttm-hero__inner,
.ttm-hero__trust {
	cursor: auto;
}

.ttm-mid-canvas {
	z-index: 0;
}

.ttm-mid__inner {
	z-index: 2;
}

.ttm-foot {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

.ttm-foot-sky {
	z-index: 0;
}

.ttm-foot > .ttm-wrap {
	position: relative;
	z-index: 1;
}

/* The interlude already paints its own nebula on canvas. */
.ttm-mid::before {
	content: none;
}

/* --------------------------------------------------------- scroll hint */

.ttm-scroll {
	margin-top: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 9px;
	animation: ttmScrollNudge 2.6s ease-in-out infinite;
}

.ttm-scroll__mouse {
	width: 25px;
	height: 40px;
	border: 1.5px solid rgba(216, 220, 230, 0.55);
	border-radius: 13px;
	display: flex;
	justify-content: center;
	padding-top: 8px;
}

.ttm-scroll__mouse span {
	width: 3.5px;
	height: 8px;
	border-radius: 2px;
	background: var(--ttm-dim);
	animation: ttmScrollDot 1.9s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.ttm-scroll__arrow {
	font-size: 15px;
	line-height: 1;
	color: var(--ttm-dim);
}


/* ============================================================ light theme */

/* Only the tokens are redefined; not one component rule is duplicated.
   The initial value is stamped on <html> by an inline script in the head,
   so the page never flashes the wrong theme. */
:root[data-theme='light'] {
	--ttm-bg-1: #ffffff;
	--ttm-bg-2: #f4f5f9;
	--ttm-bg-deep: #eef1f8;
	--ttm-bg-foot: #0a0a0a;
	--ttm-nav-bg: rgba(255, 255, 255, 0.9);

	--ttm-fg: #0b0c10;
	--ttm-muted: #5a5f6b;
	--ttm-muted-soft: #4a4f5a;
	--ttm-dim: #22252c;
	--ttm-dim-soft: #6b7180;
	--ttm-cream: #f2efe6;

	--ttm-accent: #3b56d8;
	--ttm-accent-line: rgba(59, 86, 216, 0.35);
	--ttm-accent-soft: rgba(59, 86, 216, 0.08);
	--ttm-accent-hair: rgba(59, 86, 216, 0.14);
	--ttm-grad-soft: linear-gradient(135deg, rgba(78, 124, 255, 0.07), rgba(180, 92, 232, 0.04));

	--ttm-line: #e3e6ef;
	--ttm-line-strong: #d3d8e6;
	--ttm-line-hair: rgba(11, 12, 16, 0.08);

	--ttm-btn-s-bg: linear-gradient(180deg, #ffffff, #f2f4f9);
	--ttm-btn-s-fg: #0b0c10;
	--ttm-glow: 0 8px 22px rgba(60, 80, 220, 0.22);
	--ttm-glow-hover: 0 14px 34px rgba(60, 80, 220, 0.3);
}

/* The hero scrim is a dark veil; on light it has to lift, not darken. */
:root[data-theme='light'] .ttm-hero__scrim {
	background: radial-gradient(
		ellipse 54% 48% at 50% 46%,
		rgba(255, 255, 255, 0.86) 0%,
		rgba(255, 255, 255, 0.55) 58%,
		rgba(255, 255, 255, 0) 80%
	);
}

:root[data-theme='light'] .ttm-card,
:root[data-theme='light'] .ttm-quote,
:root[data-theme='light'] .ttm-compare__col--bad,
:root[data-theme='light'] .ttm-stat {
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04);
}

:root[data-theme='light'] .ttm-card:hover {
	box-shadow: 0 18px 40px rgba(11, 12, 16, 0.1);
}

:root[data-theme='light'] .ttm-mega {
	background: #ffffff;
	box-shadow: 0 24px 60px rgba(11, 12, 16, 0.14);
}

:root[data-theme='light'] .ttm-burger span {
	background: #0b0c10;
}

:root[data-theme='light'] .ttm-logo {
	color: #0b0c10;
}

:root[data-theme='light'] .ttm input[type='text'],
:root[data-theme='light'] .ttm input[type='email'],
:root[data-theme='light'] .ttm input[type='tel'],
:root[data-theme='light'] .ttm select,
:root[data-theme='light'] .ttm textarea {
	background: #ffffff;
	color: #0b0c10;
}

:root[data-theme='light'] .ttm select option {
	background: #ffffff;
	color: #0b0c10;
}

/* The footer keeps its night sky in both themes — it is the "moon" end of
   the page and the canvas behind it is painted dark on purpose. */
:root[data-theme='light'] .ttm-footer {
	color: var(--ttm-cream);
	border-top-color: transparent;
}

:root[data-theme='light'] .ttm-footer .ttm-footer__heading,
:root[data-theme='light'] .ttm-footer .ttm-nap__note {
	color: #b9bec9;
}

:root[data-theme='light'] .ttm-footer__legal {
	color: #9a9a9a;
	border-top-color: rgba(255, 255, 255, 0.12);
}

/* ----------------------------------------------------------- the switch */

.ttm .ttm-theme {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	background: var(--ttm-btn-s-bg);
	border: 1px solid var(--ttm-line-strong);
	border-radius: var(--ttm-r-sm);
	cursor: pointer;
	transition: transform var(--ttm-fast) ease, border-color var(--ttm-fast) ease;
}

.ttm .ttm-theme:hover {
	transform: translateY(-1px) rotate(-12deg);
	border-color: var(--ttm-accent-line);
}

/* Sun in dark mode (click for light), moon in light mode (click for dark). */
.ttm-theme__icon {
	display: block;
	width: 16px;
	height: 16px;
	background: currentColor;
	color: var(--ttm-fg);
	-webkit-mask: var(--ttm-icon-sun) center / contain no-repeat;
	mask: var(--ttm-icon-sun) center / contain no-repeat;
}

:root[data-theme='light'] .ttm-theme__icon {
	-webkit-mask-image: var(--ttm-icon-moon);
	mask-image: var(--ttm-icon-moon);
}

:root {
	--ttm-icon-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Cpath d='M12 2v2.5M12 19.5V22M2 12h2.5M19.5 12H22M4.9 4.9l1.8 1.8M17.3 17.3l1.8 1.8M19.1 4.9l-1.8 1.8M6.7 17.3l-1.8 1.8'/%3E%3C/svg%3E");
	--ttm-icon-moon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M21 13.2A9 9 0 1 1 10.8 3a7.2 7.2 0 0 0 10.2 10.2z'/%3E%3C/svg%3E");
}

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

/* ------------------------------------------------- home hero alignment */

/* The hero column lines up with the logo in the header rather than sitting
   centred: same container width, same gutter. The moon keeps the right. */
.ttm-page-home .ttm-hero__inner {
	align-items: flex-start;
	text-align: left;
}

.ttm-page-home .ttm-hero__title {
	max-width: 18ch;
}

.ttm-page-home .ttm-hero__lead {
	max-width: 46ch;
}

.ttm-page-home .ttm-scroll {
	align-items: flex-start;
}

/* The trust strip stays centred across the full width. */
.ttm-hero__trust {
	align-items: center;
	text-align: center;
}

@media (min-width: 1200px) and (max-width: 1699px) {
	.ttm-page-home .ttm-hero__inner {
		max-width: var(--ttm-container-wide);
	}
}

/* Each headline line is its own span (for the rise animation), so balancing
   has to happen per line — otherwise the last word drops alone onto a row. */
.ttm-line > span {
	text-wrap: balance;
}

/* The mark inherits the header's text colour, so it works in both themes. */
.ttm-logo {
	display: block;
	color: var(--ttm-fg);
}

.ttm-logo svg {
	fill: currentColor;
}

/* ======================================================= hover behaviour */

/* Every box in the design lifts and picks up the same blue halo on hover.
   Collected in one place so a new component cannot forget it. */
.ttm-quote,
.ttm-stat,
.ttm-compare__col,
.ttm-step,
.ttm-faq__item,
.ttm-tablewrap {
	transition: transform var(--ttm-base) ease, box-shadow var(--ttm-base) ease,
		border-color var(--ttm-base) ease;
}

.ttm-quote:hover,
.ttm-stat:hover,
.ttm-compare__col:hover,
.ttm-tablewrap:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
	box-shadow: var(--ttm-glow-card);
}

/* Larger surfaces get the wider halo. */
.ttm-compare__col--good:hover,
.ttm-card--proj:hover {
	box-shadow: var(--ttm-glow-card-lg);
}

/* A step is an open column, not a card. Give it a surface on hover so the
   halo has something to sit behind, and light up the rule above it. */
.ttm-step {
	border-radius: 0 0 var(--ttm-r-lg) var(--ttm-r-lg);
	padding-left: 18px;
	padding-right: 18px;
}

.ttm-step:hover {
	transform: translateY(-4px);
	border-top-color: var(--ttm-accent);
	background: var(--ttm-grad-soft);
	box-shadow: var(--ttm-glow-card);
}

.ttm-faq__item:hover {
	border-bottom-color: var(--ttm-card-hover-line);
}

/* Filter pills and the theme switch are boxes too. */
.ttm .ttm-filters__btn:hover,
.ttm .ttm-theme:hover {
	box-shadow: 0 8px 22px rgba(60, 80, 220, 0.22);
}

/* The header buttons sit on a blurred bar, so they get the tighter halo. */
.ttm-header .ttm-btn--ghost:hover {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 22px rgba(90, 100, 240, 0.28);
}

.ttm-header .ttm-btn--primary:hover {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 10px 28px rgba(90, 100, 240, 0.5);
}

/* In light mode a blue halo on white needs less spread and more colour. */
:root[data-theme='light'] {
	--ttm-glow-card: 0 12px 30px rgba(60, 80, 220, 0.16);
	--ttm-glow-card-lg: 0 18px 44px rgba(60, 80, 220, 0.2);
	--ttm-card-hover-line: rgba(59, 86, 216, 0.4);
}

@media (prefers-reduced-motion: reduce) {
	.ttm-card:hover,
	.ttm-quote:hover,
	.ttm-stat:hover,
	.ttm-compare__col:hover,
	.ttm-tablewrap:hover {
		transform: none;
	}
}

/* ================================================= section: focus block */

/* The treatment the design uses for its "so what" sections: a solid blue
   chip, a gradient headline, oversized numerals and a centred CTA. */

.ttm-focus__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.ttm-focus__inner .ttm-head {
	gap: 20px;
	margin-bottom: 0;
	max-width: none;
}

.ttm-focus__grid {
	width: 100%;
	margin-top: 18px;
	text-align: left;
}

.ttm-focus__inner .ttm-cta-group {
	margin-top: 8px;
}

.ttm-pill--solid {
	background: #2b5cff;
	border-color: transparent;
	color: #ffffff;
	max-width: 100%;
	white-space: normal;
	line-height: 1.5;
}

.ttm-h2--grad {
	padding-bottom: 0.14em;
	max-width: 18ch;
	background: var(--ttm-grad-lite);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* The oversized numeral. Kept translucent so it frames the title instead of
   competing with it. */
.ttm-card__num--big {
	padding-bottom: 0.14em;
	margin-bottom: 2px;
	font-size: 52px;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.12;
	opacity: 0.55;
	background: var(--ttm-grad-lite);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

/* Card surface, matched to the export: a cool wash over near-black, a hairline
   in the accent hue and a one-pixel highlight along the top edge. */
.ttm-card {
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	border-color: var(--ttm-card-line);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

:root[data-theme='light'] .ttm-card {
	background: #ffffff;
	border-color: var(--ttm-line);
}

:root[data-theme='light'] .ttm-pill--solid {
	background: #2b5cff;
	color: #ffffff;
}

/* ------------------------------------------------- hero: trust + scroll */

/* The scroll hint belongs in the middle of the hero, directly above the
   client names, not next to the left-aligned copy. */
.ttm-hero__trust {
	gap: 14px;
}

.ttm-page-home .ttm-scroll,
.ttm-hero__trust .ttm-scroll {
	align-items: center;
	margin-top: 0;
	margin-bottom: 4px;
	pointer-events: auto;
}

.ttm-marquee__track {
	/* Four passes are printed, so half the track is two passes wide. */
	animation-duration: 64s;
}

/* Longer headlines in a focus block get a wider measure. */
.ttm-h2--wide {
	max-width: 20ch;
}

/* Process steps use the same numeral, one size down — they sit in a row of
   four, so 52px would crowd them. */
.ttm-step__num {
	padding-bottom: 0.14em;
	font-size: 44px;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.12;
	opacity: 0.55;
	background: var(--ttm-grad-lite);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

@media (max-width: 639px) {
	.ttm-card__num--big {
		font-size: 42px;
	}

	.ttm-step__num {
		font-size: 36px;
	}
}

/* ================================================== wall of screenshots */

/* Two tilted rows of real client work, drifting in opposite directions.
   The rows are wider than the viewport and rotated, so the ends never
   reach the edge; a radial mask fades them out instead of cutting them. */

.ttm-wall {
	position: relative;
	background: var(--ttm-bg-2);
	padding: 0;
	overflow: hidden;
}

.ttm-wall__mask {
	position: relative;
	padding: clamp(40px, 5vw, 72px) 0;
	-webkit-mask-image: radial-gradient(ellipse 86% 76% at 50% 50%, #000 55%, transparent);
	mask-image: radial-gradient(ellipse 86% 76% at 50% 50%, #000 55%, transparent);
}

.ttm-wall__rows {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 132%;
	margin-left: -16%;
	transform: rotate(-5deg);
}

.ttm-wall__row {
	overflow: hidden;
}

/* The gap lives on the track, not as a margin on the tile: the base reset
   sets `.ttm figure { margin: 0 }` and would win on specificity. */
.ttm-wall__track {
	display: flex;
	width: max-content;
	gap: 20px;
}

.ttm-wall__row--a .ttm-wall__track {
	animation: ttm-marquee 64s linear infinite;
}

.ttm-wall__row--b .ttm-wall__track {
	animation: ttm-marquee-rev 78s linear infinite;
}

.ttm-wall__tile {
	flex: 0 0 auto;
	margin: 0;
	width: clamp(288px, 28.8vw, 432px);
	height: clamp(192px, 18vw, 276px);
	border-radius: var(--ttm-r-lg);
	overflow: hidden;
	background: #e8edff;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.ttm-wall__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

/* The track is printed three times and moves by a third, so the loop closes
   on the identical second copy. */
@keyframes ttm-marquee-rev {
	from {
		transform: translateX(-33.3333%);
	}
	to {
		transform: translateX(0);
	}
}

:root[data-theme='light'] .ttm-wall__tile {
	box-shadow: 0 18px 40px rgba(11, 12, 16, 0.18);
}

@media (prefers-reduced-motion: reduce) {
	.ttm-wall__track {
		animation: none;
	}
}

/* ================================================================ footer */

/* Built to the design: a night sky, one row of links, the legal line and the
   wordmark drawn as an outline along the bottom edge. */

.ttm-footer {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--ttm-bg-foot);
	color: var(--ttm-cream);
	padding: clamp(96px, 12vw, 150px) var(--ttm-gutter) 0;
	text-align: center;
	border-top: 0;
}

.ttm-foot-sky {
	z-index: 0;
}

.ttm-foot__inner {
	position: relative;
	z-index: 2;
	max-width: var(--ttm-container);
	margin: 0 auto;
}

.ttm-foot__nav {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px 34px;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ttm-footer .ttm-foot__nav a {
	color: var(--ttm-cream);
	opacity: 0.9;
	transition: opacity var(--ttm-fast) ease;
}

.ttm-footer .ttm-foot__nav a:hover {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 6px;
}

.ttm-foot__nap {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
	margin-top: 26px;
	font-style: normal;
	font-size: 14px;
	color: #b8bcc8;
}

.ttm-foot__name {
	font-weight: 700;
	color: var(--ttm-cream);
}

.ttm-footer .ttm-foot__nap a:hover {
	color: var(--ttm-accent);
}

.ttm-foot__legal {
	margin-top: 14px;
	font-size: 13px;
	color: #9aa0ae;
}

.ttm-footer .ttm-foot__legal a:hover {
	color: var(--ttm-cream);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ------------------------------------------------------- the wordmark */

.ttm-foot__mark {
	position: relative;
	z-index: 1;
	margin-top: 40px;
	height: clamp(110px, 17vw, 240px);
	overflow: hidden;
}

.ttm-foot__mark svg {
	position: absolute;
	left: 50%;
	bottom: -8%;
	transform: translateX(-50%);
	width: min(96vw, 1400px);
	height: auto;
	display: block;
}

.ttm-foot__mark text {
	font-family: var(--ttm-font);
	font-weight: 800;
	font-size: 250px;
	letter-spacing: -0.04em;
	fill: none;
	stroke: url(#ttm-mark-stroke);
	stroke-width: 1.6;
}

.ttm-foot__star {
	fill: #f4e9c9;
	/* Slowed from 4s: in the corner of the eye a four-second pulse reads as
	   blinking rather than as a star. */
	animation: ttmPulse 11s ease-in-out infinite;
}

@keyframes ttmPulse {
	0%,
	100% {
		opacity: 0.55;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.25);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ttm-foot__star {
		animation: none;
	}
}

/* The footer keeps its night sky in both themes. */
:root[data-theme='light'] .ttm-footer {
	background: var(--ttm-bg-foot);
	color: var(--ttm-cream);
}

/* ============================================================ blog cards */

/* The staggered row from the design: every other card sits lower, so the row
   reads as a scatter rather than a grid. */
.ttm-posts {
	width: 100%;
	margin-top: 18px;
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	text-align: left;
}

.ttm-post {
	border: 1px solid var(--ttm-card-line);
	border-radius: var(--ttm-r-xl);
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: transform var(--ttm-base) ease, box-shadow var(--ttm-base) ease,
		border-color var(--ttm-base) ease;
}

.ttm-post:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
	box-shadow: var(--ttm-glow-card);
}

.ttm-post > a {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 14px 14px 22px;
	height: 100%;
}

.ttm-post__cover {
	display: block;
	border-radius: var(--ttm-r-md);
	overflow: hidden;
	aspect-ratio: 8 / 5;
	background: #0c0d12;
}

.ttm-post__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ttm-post__pill {
	align-self: flex-start;
	padding: 4px 11px;
	border: 1px solid var(--ttm-accent-line);
	background: var(--ttm-accent-soft);
	border-radius: var(--ttm-r-pill);
	font-size: 12px;
	font-weight: 600;
	color: var(--ttm-accent);
}

.ttm-post__title {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ttm-fg);
	text-wrap: pretty;
}

/* The stagger only makes sense once the cards sit side by side. */
@media (min-width: 1000px) {
	.ttm-posts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		align-items: start;
	}

	.ttm-post:nth-child(even) {
		margin-top: 46px;
	}
}

:root[data-theme='light'] .ttm-post {
	background: #ffffff;
	border-color: var(--ttm-line);
}

/* ========================================================== team section */

.ttm-lead--narrow {
	max-width: 58ch;
}

.ttm-team {
	width: 100%;
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-align: left;
}

/* The "what usually happens" panel: one wide card, items in flowing columns. */
.ttm-team__bad {
	padding: 26px clamp(24px, 3vw, 40px);
	border: 1px solid var(--ttm-card-line);
	border-radius: 22px;
	background: #111111;
	transition: transform var(--ttm-base) ease, box-shadow var(--ttm-base) ease,
		border-color var(--ttm-base) ease;
}

.ttm-team__bad:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
	box-shadow: var(--ttm-glow-card);
}

.ttm-team__label {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ttm-muted);
}

.ttm-team__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 12px 28px;
}

.ttm-team__list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.62;
	color: var(--ttm-muted);
	text-wrap: pretty;
	border: 0;
	padding: 0;
}

.ttm-team__list--good {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 10px 28px;
	margin-top: 4px;
}

.ttm-team__list--good li {
	font-size: 15px;
	color: var(--ttm-fg);
}

/* The "one team" panel: copy on the left, a real system shot on the right. */
.ttm-team__good {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	border: 1px solid var(--ttm-card-line);
	border-radius: 22px;
	overflow: hidden;
	transition: transform var(--ttm-base) ease, box-shadow var(--ttm-base) ease,
		border-color var(--ttm-base) ease;
}

.ttm-team__good:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
	box-shadow: var(--ttm-glow-card-lg);
}

.ttm-team__copy {
	min-width: 0;
	padding: clamp(28px, 3.4vw, 44px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
}

.ttm-team__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border: 1px solid var(--ttm-card-line);
	border-radius: var(--ttm-r-pill);
	background: rgba(255, 255, 255, 0.03);
	font-size: 13px;
	font-weight: 600;
	color: var(--ttm-fg);
}

.ttm-team__badge .ttm-logo svg {
	height: 13px;
}

.ttm-team__visual {
	position: relative;
	min-width: 0;
	min-height: clamp(260px, 26vw, 420px);
	display: grid;
	place-items: center;
	padding: clamp(20px, 2.4vw, 34px);
	background: radial-gradient(circle at 50% 45%, rgba(90, 110, 255, 0.3) 0%, rgba(60, 40, 120, 0.12) 45%, rgba(0, 0, 0, 0) 72%),
		var(--ttm-card-surface);
}

.ttm-team__visual figure:not(.ttm-podpis) {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	aspect-ratio: 16 / 10;
	border-radius: var(--ttm-r-md);
	overflow: hidden;
	box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.ttm-team__visual img:not(.ttm-podpis__foto) {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.ttm-podpis-wrap {
	display: flex;
	justify-content: center;
}

.ttm-podpis-wrap .ttm-podpis {
	width: 100%;
	max-width: 520px;
}

.ttm-person__zunanji {
	align-self: flex-start;
	margin-top: 2px;
	padding: 3px 9px;
	border: 1px solid var(--ttm-line-hair);
	border-radius: 999px;
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ttm-muted);
}

.ttm-person__foto {
	width: 88px;
	height: 88px;
	margin-bottom: 8px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid var(--ttm-card-line);
}

.ttm-team__visual .ttm-podpis {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
}

.ttm-team__visual .ttm-podpis__foto {
	flex: 0 0 auto;
	width: 180px;
	height: 180px;
}

:root[data-theme='light'] .ttm-team__bad {
	background: #ffffff;
	border-color: var(--ttm-line);
}

:root[data-theme='light'] .ttm-team__copy {
	background: #ffffff;
}

:root[data-theme='light'] .ttm-team__good {
	border-color: var(--ttm-line);
}

/* --------------------------------------------------------- the left rail */

/* A hairline down the left edge of every page, with the address at the foot
   of it. Fixed, so it stays put while the page scrolls. */
.ttm-rail {
	position: fixed;
	left: 14px;
	top: 0;
	bottom: 0;
	z-index: 40;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	padding-bottom: clamp(20px, 3vw, 40px);
	pointer-events: none;
}

.ttm-rail__line {
	flex: 1 1 auto;
	width: 1px;
	background: linear-gradient(
		180deg,
		transparent 0%,
		rgba(216, 220, 230, 0.16) 22%,
		rgba(216, 220, 230, 0.16) 100%
	);
}

.ttm .ttm-rail__mail {
	pointer-events: auto;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-size: 12px;
	letter-spacing: 0.16em;
	color: var(--ttm-dim-soft);
	transition: color var(--ttm-fast) ease, letter-spacing var(--ttm-fast) ease;
}

.ttm .ttm-rail__mail:hover {
	color: var(--ttm-accent);
	letter-spacing: 0.22em;
}

.ttm-rail__dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--ttm-dim-soft);
	opacity: 0.6;
}

@media (min-width: 1140px) {
	.ttm-rail {
		display: flex;
	}
}

:root[data-theme='light'] .ttm-rail__line {
	background: linear-gradient(180deg, transparent 0%, rgba(40, 46, 70, 0.22) 22%, rgba(40, 46, 70, 0.22) 100%);
}

/* Two columns of ticks once the copy column is wide enough, as in the design.
   auto-fit alone collapses to one because the items are long sentences. */
@media (min-width: 1100px) {
	.ttm-team__list--good {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ======================================================= solutions cards */

/* The design's asymmetric rhythm: rows of two whose widths alternate, so the
   block reads as a composition rather than a grid of equal tiles. */
.ttm-services {
	width: 100%;
	margin-top: 26px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-align: left;
}

.ttm-services__row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ttm-srv {
	min-width: 0;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--ttm-card-line);
	border-radius: var(--ttm-r-xl);
	overflow: hidden;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: transform var(--ttm-base) ease, box-shadow var(--ttm-base) ease,
		border-color var(--ttm-base) ease;
}

.ttm-srv:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
	box-shadow: var(--ttm-glow-card);
}

.ttm-srv--w2 {
	flex: 2 1 340px;
}

.ttm-srv--w1 {
	flex: 1 1 260px;
}

.ttm-srv--wfull {
	flex: 1 1 100%;
}

.ttm-srv__shot {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #0c0d12;
	border-bottom: 1px solid var(--ttm-line);
}

.ttm-srv--wfull .ttm-srv__shot {
	aspect-ratio: 32 / 9;
}

/* Kartica z dvema risbama ima vmes <picture>; ta mora zavzeti ves prostor. */
.ttm-srv__shot picture {
	display: block;
	width: 100%;
	height: 100%;
}

.ttm-srv__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
	transition: transform 0.4s var(--ttm-ease);
}

.ttm-srv:hover .ttm-srv__shot img {
	transform: scale(1.04);
}

.ttm-srv__body {
	display: block;
	padding: 20px 22px 24px;
}

.ttm-srv__title {
	display: block;
	margin-bottom: 8px;
	font-size: 18px;
	font-weight: 600;
	color: var(--ttm-fg);
}

.ttm-srv__text {
	display: block;
	font-size: 15px;
	line-height: 1.62;
	color: var(--ttm-muted);
	text-wrap: pretty;
}

:root[data-theme='light'] .ttm-srv {
	background: #ffffff;
	border-color: var(--ttm-line);
}

/* The shot is a strip, not a hero: in the design it is far flatter than 16:9,
   which keeps the whole block from running to three screens. */
.ttm-srv--w2 .ttm-srv__shot {
	aspect-ratio: 22 / 9;
}

.ttm-srv--w1 .ttm-srv__shot {
	aspect-ratio: 16 / 9;
}

.ttm-srv--wfull .ttm-srv__shot {
	aspect-ratio: 40 / 9;
}

@media (max-width: 699px) {
	.ttm-srv--w2 .ttm-srv__shot,
	.ttm-srv--wfull .ttm-srv__shot {
		aspect-ratio: 16 / 9;
	}
}

/* ==================================================== testimonials rail */

/* A slow horizontal drift with the cards staggered, as in the design.
   Full-bleed, with the edges faded so the row has no hard ends. */
.ttm-quotes-rail {
	width: 100%;
	margin-top: 26px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ttm-quotes-rail__track {
	display: flex;
	width: max-content;
	gap: 20px;
	padding: 34px 0;
	align-items: flex-start;
	animation: ttm-marquee 96s linear infinite;
}

.ttm-quotes-rail:hover .ttm-quotes-rail__track {
	animation-play-state: paused;
}

.ttm-qcard {
	flex: 0 0 auto;
	width: clamp(270px, 24vw, 330px);
	margin: 0;
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	text-align: left;
	border: 1px solid var(--ttm-card-line);
	border-radius: var(--ttm-r-xl);
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: transform var(--ttm-base) ease, box-shadow var(--ttm-base) ease,
		border-color var(--ttm-base) ease;
}

/* Every other card drops, so the row reads as a scatter. */
.ttm-qcard:nth-child(even) {
	transform: translateY(34px);
}

.ttm-qcard:hover {
	border-color: var(--ttm-card-hover-line);
	box-shadow: var(--ttm-glow-card);
}

/* Initials, not a portrait: we have no photos of these people and will not
   invent one. Swap for a real photo the moment there is one. */
.ttm-qcard__mono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: var(--ttm-r-md);
	background: var(--ttm-grad-lite);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.ttm-qcard blockquote {
	margin: 0;
	font-size: 14px;
	line-height: 1.62;
	color: var(--ttm-dim);
	display: -webkit-box;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ttm-qcard figcaption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-top: auto;
	padding-top: 6px;
	border-top: 1px solid var(--ttm-line-hair);
}

.ttm-qcard__name {
	font-size: 14px;
	font-weight: 700;
	color: var(--ttm-fg);
}

.ttm-qcard__role {
	font-size: 13px;
	color: var(--ttm-muted);
}

:root[data-theme='light'] .ttm-qcard {
	background: #ffffff;
	border-color: var(--ttm-line);
}

@media (prefers-reduced-motion: reduce) {
	.ttm-quotes-rail__track {
		animation: none;
	}

	.ttm-qcard:nth-child(even) {
		transform: none;
	}
}

/* Keep the drifting cards clear of the fixed left rail. Padding sits on the
   masked container, not on the track, so the loop maths stays intact. */
@media (min-width: 1140px) {
	.ttm-quotes-rail {
		padding-inline: 48px;
	}
}

/* ========================================================= project cards */

/* Three across, image on top, then the name with its type beside it. No
   description line: the only per-project text on file is leftover English
   demo copy, and inventing one is not an option. */
.ttm-projects {
	width: 100%;
	margin-top: 26px;
	text-align: left;
}

.ttm-proj {
	display: flex;
	border: 1px solid var(--ttm-card-line);
	border-radius: var(--ttm-r-xl);
	overflow: hidden;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: transform var(--ttm-base) ease, box-shadow var(--ttm-base) ease,
		border-color var(--ttm-base) ease;
}

.ttm-proj:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
	box-shadow: var(--ttm-glow-card);
}

.ttm-proj > a {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.ttm-proj__shot {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #0c0d12;
	border-bottom: 1px solid var(--ttm-line);
}

.ttm-proj__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s var(--ttm-ease);
}

.ttm-proj:hover .ttm-proj__shot img {
	transform: scale(1.04);
}

.ttm-proj__body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px 18px;
}

.ttm-proj__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--ttm-fg);
}

.ttm-proj__tag {
	flex: 0 0 auto;
	padding: 4px 10px;
	border: 1px solid var(--ttm-accent-line);
	background: var(--ttm-accent-soft);
	border-radius: var(--ttm-r-pill);
	font-size: 12px;
	font-weight: 600;
	color: var(--ttm-accent);
	white-space: nowrap;
}

:root[data-theme='light'] .ttm-proj {
	background: #ffffff;
	border-color: var(--ttm-line);
}

/* ============================================================ the steps */

/* Four cards with a cover, as in the design, rather than four open columns. */
.ttm-steps {
	width: 100%;
	margin-top: 26px;
	text-align: left;
}

.ttm-step {
	display: flex;
	flex-direction: column;
	padding: 0;
	gap: 0;
	border: 1px solid var(--ttm-card-line);
	border-top: 1px solid var(--ttm-card-line);
	border-radius: var(--ttm-r-xl);
	overflow: hidden;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ttm-step:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: var(--ttm-glow-card);
}

.ttm-step__shot {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #0c0d12;
	border-bottom: 1px solid var(--ttm-line);
}

.ttm-step__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ttm-step__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 22px 24px;
}

:root[data-theme='light'] .ttm-step {
	background: #ffffff;
	border-color: var(--ttm-line);
}

/* The canvas fades its own top edge, but the very first pixel row still meets
   the section above. This overlay carries the join across that seam. */
.ttm-footer::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: clamp(120px, 18vh, 260px);
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, var(--ttm-bg-1) 0%, rgba(0, 0, 0, 0) 100%);
}

:root[data-theme='light'] .ttm-footer::before {
	background: linear-gradient(180deg, var(--ttm-bg-1) 0%, rgba(244, 245, 249, 0) 100%);
}

/* ================================================================ social */

.ttm-social {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* The icon alone: no box, no border. */
.ttm .ttm-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	color: var(--ttm-dim-soft);
	transition: color var(--ttm-fast) ease, transform var(--ttm-fast) ease;
}

.ttm .ttm-social a:hover {
	color: var(--ttm-fg);
	transform: translateY(-2px);
}

.ttm-social svg {
	width: 26px;
	height: 26px;
	display: block;
}

/* In the footer the icons sit under the address, centred with the rest. */
.ttm-foot__social {
	justify-content: center;
	gap: 28px;
	margin-top: 30px;
}

.ttm-foot__social svg {
	width: 30px;
	height: 30px;
}

.ttm-footer .ttm-foot__social a {
	border-color: rgba(255, 255, 255, 0.16);
	color: var(--ttm-cream);
}

/* On the rail they stack under the vertical address. */
.ttm-rail__social {
	flex-direction: column;
	gap: 8px;
	pointer-events: auto;
	margin-top: 4px;
}

.ttm .ttm-rail__social a {
	width: 30px;
	height: 30px;
}

.ttm-rail__social svg {
	width: 15px;
	height: 15px;
}

.ttm-mobile__social {
	margin-top: 26px;
}

/* The rail reads bottom-up: the address sits closest to the floor, the icons
   just above it. Everything is pushed down by justify-content on the rail. */
.ttm-rail__social {
	margin-top: 0;
	margin-bottom: 4px;
}

.ttm .ttm-rail__mail {
	margin-bottom: 2px;
}

/* ---------------------------------------------------------------- price */

/*
 * The starting price on a service page. It is the one number a visitor is
 * looking for, so it gets the headline gradient and nothing competes with it.
 */
.ttm-price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	flex-wrap: wrap;
	margin: 4px 0 18px;
}

.ttm-price__od {
	font-size: clamp(30px, 4.4vw, 44px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
	background: var(--ttm-grad-lite);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ttm-price__vat {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ttm-muted);
}

/* Price column in the starting-price and not-included tables. */
.ttm-table__price {
	white-space: nowrap;
	font-weight: 700;
	color: var(--ttm-fg);
}

.ttm-mark--yes {
	color: var(--ttm-accent);
	font-weight: 700;
}

/*
 * Row headers are labels, not links. Only the ones that really lead somewhere
 * get the accent colour, so nothing looks clickable that is not.
 */
.ttm-table th[scope='row'] {
	color: var(--ttm-fg);
	background: none;
}

.ttm .ttm-table th[scope='row'] a {
	color: var(--ttm-accent);
}

/* ================================================== service page (2026-09) */
/*
 * Layout of a solution page, from the design export
 * "ToTheMoon B2B portali (offline).html". Everything below is scoped to
 * classes that only that template uses, so the rest of the site is untouched.
 */

/* ----------------------------------------------------- scroll progress */

.ttm-progress {
	position: fixed;
	inset: 0 0 auto;
	height: 2px;
	z-index: 60;
	pointer-events: none;
}

.ttm-progress__bar {
	display: block;
	height: 100%;
	width: 0;
	background: var(--ttm-grad-lite);
	box-shadow: 0 0 14px rgba(110, 130, 255, 0.6);
}

/* ---------------------------------------------------------- split hero */

.ttm-shero {
	position: relative;
	display: block;
	min-height: 0;
	place-items: initial;
	background: var(--ttm-bg-deep);
	color: var(--ttm-fg);
}

/* The canvas paints a full nebula; a second vignette would muddy it.
   This one only darkens the side the text sits on, so the H1 stays legible. */
.ttm-shero__veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: radial-gradient(ellipse 58% 62% at 26% 48%, rgba(4, 6, 12, 0.88) 0%, rgba(4, 6, 12, 0.55) 55%, rgba(4, 6, 12, 0) 84%);
}

.ttm-shero__inner {
	position: relative;
	z-index: 2;
	padding-top: clamp(48px, 6vw, 84px);
	padding-bottom: clamp(56px, 7vw, 96px);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.ttm-shero__text {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}

.ttm-shero__title {
	max-width: 20ch;
}

.ttm-shero__lead {
	max-width: 52ch;
	margin: 0;
}

.ttm-answer--card {
	max-width: 56ch;
	margin: 0;
}

.ttm-shero__stage {
	position: relative;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(18px, 3vw, 40px) 0;
}

.ttm-shero__ring {
	position: absolute;
	aspect-ratio: 1;
	border-radius: 50%;
	width: min(86%, 400px);
	border: 1px solid rgba(140, 160, 255, 0.1);
	pointer-events: none;
}

.ttm-shero__ring--spin {
	width: min(112%, 520px);
	border: 1px dashed rgba(140, 160, 255, 0.18);
	animation: ttm-spin 46s linear infinite;
}

@keyframes ttm-spin {
	to {
		transform: rotate(360deg);
	}
}

@keyframes ttm-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-9px);
	}
}

@keyframes ttm-float-b {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(7px);
	}
}

@keyframes ttm-blink {
	0%,
	100% {
		opacity: 0.35;
	}
	50% {
		opacity: 1;
	}
}

/* ------------------------------------------------------- browser frame */

.ttm-frame {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 440px;
	padding: 14px;
	border: 1px solid rgba(140, 160, 255, 0.22);
	border-radius: 20px;
	background: linear-gradient(158deg, rgba(78, 124, 255, 0.16) 0%, rgba(180, 92, 232, 0.07) 45%, rgba(255, 255, 255, 0) 82%), #080b14;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	animation: ttm-float 9s ease-in-out infinite;
	transform-style: preserve-3d;
}

.ttm-frame__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 2px 6px 12px;
}

.ttm-frame__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #3a4058;
}

.ttm-frame__url {
	margin-left: 8px;
	font-size: 11px;
	letter-spacing: 0.06em;
	color: #7c8598;
}

.ttm-frame__shot {
	aspect-ratio: 16 / 11;
	border-radius: 12px;
	overflow: hidden;
	background: #0e1424;
}

.ttm-frame__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

/* ----------------------------------------------------------- hero chips */

.ttm-chip {
	position: absolute;
	z-index: 3;
	padding: 11px 14px;
	border: 1px solid rgba(140, 160, 255, 0.28);
	border-radius: 12px;
	background: rgba(8, 11, 20, 0.88);
	backdrop-filter: blur(6px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.ttm-chip--top {
	top: 8%;
	right: 2%;
	animation: ttm-float-b 7.5s ease-in-out infinite;
}

.ttm-chip--bottom {
	bottom: 10%;
	left: 0;
	animation: ttm-float 8.5s ease-in-out 1.2s infinite;
}

.ttm-chip__label {
	display: block;
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ttm-muted);
}

.ttm-chip__value {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 17px;
	font-weight: 700;
	color: #b9c8ff;
}

.ttm-chip__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #7ce0a8;
	animation: ttm-blink 2.2s ease-in-out infinite;
}

/* ------------------------------------------------------------ stat strip */

.ttm-numbers {
	position: relative;
	z-index: 2;
	border-top: 1px solid rgba(140, 160, 255, 0.12);
	background: rgba(4, 6, 12, 0.55);
}

/* The stat strip is the last thing in the hero, so it carries the fade into
   the section below. Without it the night sky ends on a hard line. */
.ttm-numbers::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 110px;
	pointer-events: none;
	/* Three stops, because in the light theme this joins a night sky to a white
	   page and a two-stop ramp is short enough to read as an edge. */
	background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--ttm-bg-1) 55%, transparent) 62%, var(--ttm-bg-1) 100%);
}

.ttm-numbers__grid {
	padding-top: 26px;
	padding-bottom: 26px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 22px;
}

.ttm-number {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ttm-number__value {
	padding-bottom: 0.08em;
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.12;
	background: var(--ttm-grad-lite);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ttm-number__label {
	font-size: 13px;
	line-height: 1.5;
	color: var(--ttm-muted);
}

/* ------------------------------------------------- two-column section */

.ttm-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.ttm-split__head {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
}

.ttm-split__head .ttm-h2 {
	max-width: 20ch;
}

.ttm-split__head .ttm-lead {
	max-width: 44ch;
	margin: 0;
}

.ttm-js .ttm-reveal--left {
	transform: translateX(-20px);
}

.ttm-js .ttm-reveal--left.is-in {
	transform: none;
}

.ttm-pill--accent {
	align-self: flex-start;
	border: 1px solid var(--ttm-card-line);
	color: var(--ttm-accent);
	font-weight: 600;
}

.ttm-section--tight {
	padding-top: 0;
}

/* ------------------------------------------------------- signal column */

.ttm-signals {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ttm-signal {
	position: relative;
	overflow: hidden;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px 18px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 14px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	transition: transform 0.2s var(--ttm-ease), border-color 0.2s var(--ttm-ease), opacity 0.6s var(--ttm-ease);
}

.ttm-signal:hover {
	transform: translateX(4px);
	border-color: var(--ttm-card-hover-line);
}

.ttm-signal__n {
	position: relative;
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	color: var(--ttm-accent);
}

.ttm-signal__t {
	position: relative;
	font-size: 15px;
	line-height: 1.55;
	color: var(--ttm-fg);
}

/* ------------------------------------------- glow that follows the cursor */

.ttm-glow {
	position: relative;
	overflow: hidden;
}

.ttm-glow__layer {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.25s var(--ttm-ease);
	pointer-events: none;
	background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), rgba(140, 160, 255, 0.16), transparent 62%);
}

/* ------------------------------------------------------------ check grid */

.ttm-scope {
	position: relative;
	overflow: hidden;
}

.ttm-scope__orb {
	position: absolute;
	left: -10%;
	top: 12%;
	width: 52%;
	max-height: 76%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(78, 124, 255, 0.14) 0%, rgba(78, 124, 255, 0) 70%);
	-webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
	pointer-events: none;
}

.ttm-scope > .ttm-wrap {
	position: relative;
}

.ttm-checks {
	margin-top: 30px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 12px 32px;
}

.ttm-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.55;
	transition: background 0.2s var(--ttm-ease), opacity 0.6s var(--ttm-ease), transform 0.6s var(--ttm-ease);
}

.ttm-check:hover {
	background: rgba(140, 160, 255, 0.06);
}

.ttm-check__mark {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	border-radius: 50%;
	border: 1px solid rgba(140, 160, 255, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	color: var(--ttm-accent);
}

/* --------------------------------------------------- technology marquee */

.ttm-tech {
	margin-top: 34px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ttm-tech__mask {
	width: 100%;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ttm-tech__track {
	display: flex;
	width: max-content;
	animation: ttm-tech-scroll 38s linear infinite;
}

.ttm-tech__item {
	flex: 0 0 auto;
	margin-right: 56px;
	font-size: 17px;
	font-weight: 700;
	color: var(--ttm-dim);
}

@keyframes ttm-tech-scroll {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(-50%, 0, 0);
	}
}

/* ------------------------------------------------------------ price panel */

.ttm-panel {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	border: 1px solid var(--ttm-card-line);
	border-radius: 22px;
	overflow: hidden;
	background: var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ttm-panel__text {
	min-width: 0;
	padding: clamp(28px, 3.4vw, 44px);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	background: var(--ttm-grad-soft);
}

.ttm-panel__text .ttm-price {
	margin: 0;
}

.ttm-panel__note {
	align-self: stretch;
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

.ttm-arrows {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ttm-arrow {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.55;
}

.ttm-arrow__mark {
	flex: 0 0 auto;
	color: var(--ttm-accent);
}

.ttm-panel__art {
	position: relative;
	min-width: 0;
	min-height: clamp(240px, 24vw, 380px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 3vw, 40px);
	background: radial-gradient(circle at 50% 45%, rgba(90, 110, 255, 0.28) 0%, rgba(60, 40, 140, 0.14) 38%, rgba(6, 8, 16, 0) 72%), #06080f;
	overflow: hidden;
}

.ttm-panel__ring {
	position: absolute;
	width: 74%;
	aspect-ratio: 1;
	border: 1px dashed rgba(140, 160, 255, 0.16);
	border-radius: 50%;
	animation: ttm-spin 60s linear infinite;
}

.ttm-panel__art img {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border: 1px solid var(--ttm-card-line);
	border-radius: 12px;
	display: block;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* ----------------------------------------------------------- FAQ, split */

.ttm-faq--cards {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-top: 0;
	max-width: none;
}

.ttm-faq--cards .ttm-faq__item {
	border: 1px solid var(--ttm-card-line);
	border-radius: 14px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	overflow: hidden;
	transition: border-color 0.2s var(--ttm-ease);
}

.ttm-faq--cards .ttm-faq__item:hover {
	border-color: var(--ttm-card-hover-line);
}

.ttm-faq--cards .ttm-faq__q {
	padding: 18px 22px;
}

.ttm-faq--cards .ttm-faq__a p {
	padding: 0 22px 20px;
}

/* --------------------------------------------------------- closing panel */

.ttm-final-panel {
	border: 1px solid var(--ttm-card-line);
	border-radius: 22px;
	background: radial-gradient(ellipse 70% 120% at 50% 0%, rgba(78, 124, 255, 0.16) 0%, rgba(124, 92, 245, 0.08) 45%, rgba(10, 10, 10, 0) 80%), var(--ttm-card-surface);
	padding: clamp(48px, 6vw, 84px) 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
}

.ttm-final-panel .ttm-h2 {
	position: relative;
	max-width: 20ch;
}

.ttm-final-panel .ttm-lead {
	position: relative;
	max-width: 58ch;
	margin: 0;
}

.ttm-final-panel .ttm-btn,
.ttm-final-panel .ttm-micro {
	position: relative;
}

/* -------------------------------------------------------------- phone */

@media (max-width: 700px) {
	.ttm-chip,
	.ttm-shero__ring {
		display: none;
	}
}

/* ------------------------------------------- service page in light theme */

/*
 * The hero canvas paints a night sky in both themes, so the hero keeps the
 * dark palette locally. Without this the H1 turns near-black ink on a
 * near-black sky and disappears.
 */
:root[data-theme='light'] .ttm-shero {
	--ttm-fg: #ffffff;
	--ttm-dim: #d8dce6;
	--ttm-dim-soft: #b9bec9;
	--ttm-muted: #9aa0ae;
	--ttm-muted-soft: #a8a8a8;
	--ttm-accent: #8aa2ff;
	--ttm-accent-line: rgba(138, 162, 255, 0.45);
	--ttm-accent-soft: rgba(138, 162, 255, 0.1);
	--ttm-line: #1e1e1e;
	--ttm-line-hair: rgba(255, 255, 255, 0.06);
	color: #ffffff;
}

:root[data-theme='light'] .ttm-shero .ttm-answer {
	background: linear-gradient(96deg, rgba(78, 124, 255, 0.14) 0%, rgba(180, 92, 232, 0.06) 70%, rgba(255, 255, 255, 0) 100%);
}

/* The price panel is a card: on light it has to be a light card. */
:root[data-theme='light'] .ttm-panel,
:root[data-theme='light'] .ttm-final-panel,
:root[data-theme='light'] .ttm-signal,
:root[data-theme='light'] .ttm-faq--cards .ttm-faq__item {
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04);
}

:root[data-theme='light'] .ttm-panel__text {
	background: var(--ttm-grad-soft);
}

/* The art half stays a night panel; that is the point of it. */
:root[data-theme='light'] .ttm-panel__art {
	background: radial-gradient(circle at 50% 45%, rgba(90, 110, 255, 0.28) 0%, rgba(60, 40, 140, 0.14) 38%, rgba(6, 8, 16, 0) 72%), #06080f;
}

/* Exactly two per row once there is room, so four cards never break 3 + 1. */
.ttm-grid--pairs {
	grid-template-columns: 1fr;
}

@media (min-width: 760px) {
	.ttm-grid--pairs {
		grid-template-columns: 1fr 1fr;
	}
}

/* ------------------------------------------------- seams, everywhere else */

/*
 * Two more dark scenes sit inside a lighter page: the image wall and the
 * interlude with the moon. Both used a flat fill, so each drew a line across
 * the page at its top and bottom. Same treatment as the alternate sections —
 * start and end on the neighbouring colour, deepen only in the middle.
 */
.ttm-wall {
	background: linear-gradient(
		180deg,
		var(--ttm-bg-1) 0%,
		var(--ttm-bg-2) 7%,
		var(--ttm-bg-2) 93%,
		var(--ttm-bg-1) 100%
	);
}

/*
 * The interlude paints its sky on canvas, so it cannot be blended with a
 * background: it needs two overlays. Scoped away from .ttm-shero, whose top
 * edge meets the sticky header, not a section.
 */
.ttm-mid:not(.ttm-shero)::before,
.ttm-mid:not(.ttm-shero)::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	height: clamp(70px, 10vh, 150px);
	z-index: 1;
	pointer-events: none;
}

.ttm-mid:not(.ttm-shero)::before {
	inset: 0 0 auto;
	background: linear-gradient(180deg, var(--ttm-bg-1) 0%, rgba(0, 0, 0, 0) 100%);
}

.ttm-mid:not(.ttm-shero)::after {
	inset: auto 0 0;
	background: linear-gradient(0deg, var(--ttm-bg-1) 0%, rgba(0, 0, 0, 0) 100%);
}

/* ============================================== "Kako delamo" (2026-09-17) */

/* ------------------------------------------------------------ hero pipe */

.ttm-shero--wide .ttm-shero__stack {
	position: relative;
	z-index: 2;
	padding-top: clamp(48px, 6vw, 84px);
	padding-bottom: clamp(48px, 6vw, 80px);
	display: flex;
	flex-direction: column;
	gap: clamp(36px, 5vw, 64px);
}

.ttm-shero--wide .ttm-shero__text {
	max-width: 64ch;
}

.ttm-shero--wide .ttm-shero__title {
	max-width: 22ch;
}

.ttm-shero--wide .ttm-shero__lead {
	max-width: 56ch;
}

.ttm-pipe {
	position: relative;
	padding: clamp(26px, 3.4vw, 44px) clamp(20px, 3vw, 36px);
	border: 1px solid rgba(140, 160, 255, 0.18);
	border-radius: 20px;
	background: linear-gradient(158deg, rgba(78, 124, 255, 0.12) 0%, rgba(180, 92, 232, 0.05) 46%, rgba(255, 255, 255, 0) 82%), rgba(8, 11, 20, 0.7);
}

.ttm-pipe__rail {
	position: relative;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, rgba(140, 160, 255, 0.12), rgba(140, 160, 255, 0.35), rgba(140, 160, 255, 0.12));
}

.ttm-pipe__spark {
	position: absolute;
	top: -3px;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #e2e8ff;
	box-shadow: 0 0 16px rgba(180, 200, 255, 0.9);
	animation: ttm-pipe 14s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.ttm-pipe__spark--b {
	width: 7px;
	height: 7px;
	background: #f4e9c9;
	box-shadow: 0 0 14px rgba(244, 233, 201, 0.8);
	animation-delay: 7s;
}

@keyframes ttm-pipe {
	0% {
		left: 0;
		opacity: 0;
	}
	8% {
		opacity: 1;
	}
	92% {
		opacity: 1;
	}
	100% {
		left: 100%;
		opacity: 0;
	}
}

.ttm-pipe__grid {
	margin-top: 22px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 18px;
}

.ttm-pipe__step {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.ttm-pipe__node {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--ttm-grad-lite);
	animation: ttm-node 6.4s ease-out infinite;
}

@keyframes ttm-node {
	0%,
	70%,
	100% {
		box-shadow: 0 0 0 0 rgba(140, 160, 255, 0.5);
	}
	35% {
		box-shadow: 0 0 0 9px rgba(140, 160, 255, 0);
	}
}

.ttm-pipe__title {
	font-size: 15px;
	font-weight: 600;
}

.ttm-pipe__meta {
	font-size: 13px;
	color: var(--ttm-muted);
}

/* ------------------------------------------------------ phase timeline */

.ttm-track {
	position: relative;
	margin-top: 36px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-left: clamp(44px, 5vw, 72px);
}

.ttm-track__line,
.ttm-track__fill {
	position: absolute;
	left: clamp(17px, 2vw, 29px);
	top: 8px;
	width: 2px;
}

.ttm-track__line {
	bottom: 8px;
	background: var(--ttm-card-line);
}

/* Height is written by the script as the page scrolls. */
.ttm-track__fill {
	height: 0;
	background: linear-gradient(180deg, #4e7cff, #7c5cf5, #b45ce8);
	box-shadow: 0 0 14px rgba(110, 130, 255, 0.6);
	transition: height 0.15s linear;
}

.ttm-phase {
	position: relative;
	overflow: visible;
	padding: 26px clamp(22px, 2.6vw, 34px);
	border: 1px solid var(--ttm-card-line);
	border-radius: 18px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: transform 0.22s var(--ttm-ease), border-color 0.22s var(--ttm-ease),
		box-shadow 0.22s var(--ttm-ease), opacity 0.6s var(--ttm-ease);
}

.ttm-phase:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 54px rgba(60, 80, 220, 0.24);
}

/* The glow layer has to be clipped even though the card itself is not,
   because the node sticks out to the left. */
.ttm-phase > .ttm-glow__layer {
	border-radius: 18px;
	overflow: hidden;
}

.ttm-track__node {
	position: absolute;
	left: clamp(-44px, -5vw, -30px);
	top: 30px;
	width: clamp(30px, 3.2vw, 38px);
	height: clamp(30px, 3.2vw, 38px);
	border: 2px solid var(--ttm-card-line);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: var(--ttm-muted);
	background: var(--ttm-bg-1);
	transition: color 0.3s var(--ttm-ease), border-color 0.3s var(--ttm-ease),
		box-shadow 0.3s var(--ttm-ease);
}

/* Set by the script once the fill line has reached this node. */
.ttm-track__node.is-done {
	color: #ffffff;
	border-color: rgba(140, 160, 255, 0.7);
	box-shadow: 0 0 18px rgba(110, 130, 255, 0.45);
}

.ttm-phase__head {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 12px 16px;
}

.ttm-phase__title {
	margin: 0;
	font-size: clamp(19px, 2.2vw, 25px);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.ttm-phase__text {
	position: relative;
	margin: 12px 0 0;
	max-width: 66ch;
	font-size: 16px;
	line-height: 1.62;
	color: var(--ttm-muted);
}

.ttm-phase__cols {
	position: relative;
	margin-top: 20px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px 32px;
}

.ttm-phase__col {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ttm-phase__item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 15px;
	line-height: 1.6;
}

.ttm-phase__mark {
	flex: 0 0 auto;
	font-size: 13px;
	line-height: 1.6;
	color: var(--ttm-accent);
}

.ttm-phase__col--need .ttm-phase__item,
.ttm-phase__col--need .ttm-phase__mark {
	color: var(--ttm-muted);
}

/* ------------------------------------------------------ schedule chart */

.ttm-scope--right .ttm-scope__orb {
	left: auto;
	right: -12%;
	background: radial-gradient(circle, rgba(124, 92, 245, 0.14) 0%, rgba(124, 92, 245, 0) 70%);
}

.ttm-gantt {
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ttm-gantt__row {
	display: grid;
	grid-template-columns: minmax(110px, 190px) 1fr;
	gap: 14px;
	align-items: center;
}

.ttm-gantt__weeks {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	font-size: 12px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ttm-muted);
}

.ttm-gantt__label {
	font-size: 14px;
	line-height: 1.45;
	color: var(--ttm-dim);
}

.ttm-gantt__lane {
	position: relative;
	height: 26px;
	border-radius: 8px;
	background: rgba(140, 160, 255, 0.06);
	border: 1px solid rgba(140, 160, 255, 0.1);
	overflow: hidden;
}

.ttm-gantt__grid {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(8, 1fr);
}

.ttm-gantt__grid span + span {
	border-left: 1px solid rgba(140, 160, 255, 0.07);
}

.ttm-gantt__bar {
	position: absolute;
	top: 3px;
	bottom: 3px;
	width: var(--w);
	border-radius: 6px;
	background: var(--ttm-grad-lite);
	box-shadow: 0 4px 14px rgba(90, 100, 240, 0.35);
}

/* The bars grow out of their start week instead of fading in. */
.ttm-js .ttm-reveal--bar {
	opacity: 0;
	transform: scaleX(0.02);
	transform-origin: left center;
	transition: opacity 0.5s var(--ttm-ease), transform 0.75s var(--ttm-ease);
}

.ttm-js .ttm-reveal--bar.is-in {
	opacity: 1;
	transform: none;
}

/* ------------------------------------------------------------- rules */

.ttm-rules {
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 14px;
}

.ttm-rule {
	position: relative;
	overflow: hidden;
	padding: 22px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 16px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	transition: transform 0.2s var(--ttm-ease), border-color 0.2s var(--ttm-ease),
		opacity 0.6s var(--ttm-ease);
}

.ttm-rule:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
}

.ttm-rule__title {
	position: relative;
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.ttm-rule__text {
	position: relative;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

/* ------------------------------------------------- light theme, phones */

:root[data-theme='light'] .ttm-phase,
:root[data-theme='light'] .ttm-rule {
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04);
}

:root[data-theme='light'] .ttm-track__node {
	background: var(--ttm-bg-1);
}

@media (max-width: 620px) {
	.ttm-gantt__row {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.ttm-gantt__row--head {
		display: none;
	}

	.ttm-track {
		padding-left: 34px;
	}

	.ttm-track__line,
	.ttm-track__fill {
		left: 13px;
	}

	.ttm-track__node {
		left: -34px;
		width: 28px;
		height: 28px;
		font-size: 12px;
	}
}

/* ==================================================== Cenik (2026-09-17) */

/* --------------------------------------------------------- plan cards */

.ttm-plans {
	margin-top: 28px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 18px;
	align-items: stretch;
}

.ttm-plan {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px 26px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 20px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: transform 0.2s var(--ttm-ease), border-color 0.2s var(--ttm-ease),
		box-shadow 0.2s var(--ttm-ease), opacity 0.6s var(--ttm-ease);
}

.ttm-plan:hover {
	transform: translateY(-5px);
	border-color: var(--ttm-card-hover-line);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 54px rgba(60, 80, 220, 0.24);
}

/* The one people pick most often carries a brighter edge, not a bigger box:
   a scaled-up card breaks the row on narrow screens. */
.ttm-plan--first {
	border-color: rgba(140, 160, 255, 0.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 48px rgba(60, 80, 220, 0.22);
}

.ttm-plan__flag {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: var(--ttm-grad-lite);
	color: #ffffff;
}

.ttm-plan__name {
	position: relative;
	margin: 0;
	padding-right: 100px;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.ttm-plan__who {
	position: relative;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

.ttm-plan__price {
	position: relative;
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 4px 0 0;
}

.ttm-plan__od,
.ttm-plan__cur,
.ttm-plan__term {
	font-size: 13px;
	color: var(--ttm-muted);
}

.ttm-plan__num {
	padding-bottom: 0.08em;
	font-size: clamp(30px, 3.4vw, 42px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.1;
	background: var(--ttm-grad-lite);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ttm-plan__term {
	position: relative;
}

.ttm-plan__rule {
	position: relative;
	margin-top: 8px;
	height: 1px;
	background: var(--ttm-card-line);
}

.ttm-plan__list {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 4px;
}

.ttm-plan__list .ttm-check {
	padding: 4px 0;
}

.ttm-plan__cta {
	position: relative;
	margin-top: auto;
	padding-top: 12px;
	align-self: stretch;
	justify-content: center;
}

.ttm-note {
	margin: 22px 0 0;
	max-width: 80ch;
	font-size: 14px;
	line-height: 1.62;
	color: var(--ttm-muted);
}

/* ---------------------------------------------------------- estimator */

.ttm-est {
	margin-top: 30px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 18px;
	align-items: start;
}

.ttm-est__panel {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 26px;
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid var(--ttm-card-line);
	border-radius: 20px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
}

.ttm-est__group {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ttm-est__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.ttm-est__scope {
	font-size: 14px;
	font-weight: 600;
	color: var(--ttm-dim);
	text-align: right;
}

.ttm-est__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ttm-est__pill {
	padding: 10px 15px;
	border-radius: 10px;
	cursor: pointer;
	border: 1px solid var(--ttm-card-line);
	background: transparent;
	color: var(--ttm-dim-soft);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	transition: transform 0.18s var(--ttm-ease), box-shadow 0.18s var(--ttm-ease),
		border-color 0.18s var(--ttm-ease), color 0.18s var(--ttm-ease);
}

.ttm-est__pill:hover {
	transform: translateY(-2px);
	border-color: var(--ttm-card-hover-line);
	color: var(--ttm-fg);
}

.ttm-est__pill.is-on {
	border-color: transparent;
	background: var(--ttm-grad-lite);
	color: #ffffff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 22px rgba(90, 100, 240, 0.32);
}

.ttm-est__range {
	width: 100%;
	height: 26px;
	cursor: pointer;
	accent-color: #7c5cf5;
	background: transparent;
}

.ttm-est__ends {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--ttm-muted);
}

/* ------------------------------------------------------ estimator result */

/*
 * The result panel stays a night card in both themes. It is the one element
 * on the page people screenshot, so it keeps the same look wherever it lands.
 */
.ttm-est__out {
	position: relative;
	overflow: hidden;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid rgba(140, 160, 255, 0.28);
	border-radius: 20px;
	background: radial-gradient(ellipse 80% 120% at 50% 0%, rgba(78, 124, 255, 0.18) 0%, rgba(124, 92, 245, 0.08) 45%, rgba(6, 8, 16, 0) 82%), #080b14;
	color: #ffffff;
}

.ttm-est__out .ttm-eyebrow {
	color: #8d93a3;
}

.ttm-est__sweep {
	position: absolute;
	top: 0;
	left: 0;
	width: 35%;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(200, 215, 255, 0.9), transparent);
	animation: ttm-sweep 9s ease-in-out infinite;
}

@keyframes ttm-sweep {
	0%,
	100% {
		transform: translateX(-20%);
		opacity: 0;
	}
	20%,
	80% {
		opacity: 1;
	}
	50% {
		transform: translateX(300%);
	}
}

.ttm-est__head {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ttm-est__figure {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.ttm-est__num {
	padding-bottom: 0.08em;
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.1;
	background: linear-gradient(96deg, #9fb6ff 0%, #c9a8ff 52%, #f4e9c9 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ttm-est__dash {
	font-size: 22px;
	color: #7c8598;
}

.ttm-est__cur {
	font-size: 16px;
	font-weight: 600;
	color: #b8bcc8;
}

.ttm-est__note {
	font-size: 13px;
	color: #8d93a3;
}

.ttm-est__meter {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ttm-est__bar {
	position: relative;
	height: 10px;
	border-radius: 6px;
	background: rgba(140, 160, 255, 0.1);
	overflow: hidden;
}

.ttm-est__bar span {
	position: absolute;
	inset: 0 auto 0 0;
	width: 22%;
	border-radius: 6px;
	background: var(--ttm-grad-lite);
	transition: width 0.35s var(--ttm-ease);
}

.ttm-est__out .ttm-est__ends {
	color: #7c8598;
}

.ttm-est__facts {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding-top: 14px;
	border-top: 1px solid rgba(140, 160, 255, 0.16);
}

.ttm-est__facts > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 15px;
}

.ttm-est__facts dt {
	color: #b8bcc8;
}

.ttm-est__facts dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
}

.ttm-est__always {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ttm-est__always .ttm-check {
	padding: 0;
	font-size: 14px;
	color: #cfd3dd;
}

.ttm-est__always .ttm-check:hover {
	background: none;
}

.ttm-est__always .ttm-check__mark {
	width: auto;
	height: auto;
	border: 0;
	color: #8aa2ff;
}

.ttm-est__cta {
	position: relative;
	justify-content: center;
}

/* ------------------------------------------------------- care packages */

.ttm-care {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 18px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	transition: transform 0.2s var(--ttm-ease), border-color 0.2s var(--ttm-ease),
		opacity 0.6s var(--ttm-ease);
}

.ttm-care:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
}

.ttm-care__name {
	position: relative;
	margin: 0;
	font-size: 17px;
	font-weight: 600;
}

.ttm-care__price {
	position: relative;
	margin: 0;
	padding-bottom: 0.08em;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.03em;
	background: var(--ttm-grad-lite);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ttm-care__text {
	position: relative;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

/* ---------------------------------------------------------- light theme */

:root[data-theme='light'] .ttm-plan,
:root[data-theme='light'] .ttm-care,
:root[data-theme='light'] .ttm-est__panel {
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04);
}

:root[data-theme='light'] .ttm-plan--first {
	box-shadow: 0 18px 44px rgba(60, 80, 220, 0.16);
}

/* On a hero without the stat strip — the price list, for one — the hero itself
   has to carry the fade into the section below, or its night sky ends on a
   line. Where the strip is present, the strip does it instead. */
.ttm-shero::after {
	content: '';
	position: absolute;
	inset: auto 0 0;
	height: 110px;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--ttm-bg-1) 55%, transparent) 62%, var(--ttm-bg-1) 100%);
}

.ttm-shero:has(.ttm-numbers)::after {
	content: none;
}

/* ===================================================== Blog (2026-09-17) */

.ttm-shero__inner--end {
	align-items: end;
}

.ttm-section--head-tight {
	padding-top: clamp(40px, 5vw, 64px);
}

/* ------------------------------------------------------------- search */

.ttm-search {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ttm-search__field {
	position: relative;
	display: flex;
	align-items: center;
}

.ttm-search__input {
	width: 100%;
	padding: 15px 46px 15px 16px;
	border-radius: 12px;
	border: 1px solid rgba(140, 160, 255, 0.22);
	background: rgba(8, 11, 20, 0.8);
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	outline: none;
	transition: border-color 0.2s var(--ttm-ease), box-shadow 0.2s var(--ttm-ease);
}

.ttm-search__input::placeholder {
	color: #7c8598;
}

.ttm-search__input:focus {
	border-color: rgba(140, 160, 255, 0.55);
	box-shadow: 0 0 0 3px rgba(110, 130, 255, 0.18);
}

.ttm-search__icon {
	position: absolute;
	right: 16px;
	font-size: 15px;
	color: #7c8598;
	pointer-events: none;
}

.ttm-search__count {
	font-size: 13px;
	color: var(--ttm-muted);
}

/* ------------------------------------------------------ category chips */

.ttm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin-bottom: 30px;
}

.ttm-chip-btn {
	padding: 9px 14px;
	border-radius: 999px;
	cursor: pointer;
	border: 1px solid var(--ttm-card-line);
	background: transparent;
	color: var(--ttm-dim-soft);
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	transition: transform 0.18s var(--ttm-ease), border-color 0.18s var(--ttm-ease),
		color 0.18s var(--ttm-ease);
}

.ttm-chip-btn:hover {
	transform: translateY(-2px);
	border-color: var(--ttm-card-hover-line);
	color: var(--ttm-fg);
}

.ttm-chip-btn.is-on {
	border-color: transparent;
	background: var(--ttm-grad-lite);
	color: #ffffff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 22px rgba(90, 100, 240, 0.32);
}

.ttm-chip-btn__n {
	opacity: 0.6;
	font-weight: 500;
}

/* --------------------------------------------------------- featured card */

.ttm-feat {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	border: 1px solid var(--ttm-card-line);
	border-radius: 22px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: transform 0.22s var(--ttm-ease), border-color 0.22s var(--ttm-ease),
		opacity 0.6s var(--ttm-ease);
}

.ttm-feat:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
}

.ttm-feat__text {
	position: relative;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(26px, 3.2vw, 44px);
}

.ttm-feat__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ttm-feat__meta .ttm-plan__flag {
	position: static;
}

.ttm-feat__date {
	font-size: 13px;
	color: var(--ttm-muted);
}

.ttm-feat__title {
	margin: 0;
	padding-bottom: 0.08em;
	max-width: 26ch;
	font-size: clamp(24px, 3.2vw, 38px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.24;
	text-wrap: pretty;
}

.ttm-feat__lead {
	margin: 0;
	max-width: 56ch;
	font-size: 16px;
	line-height: 1.62;
	color: var(--ttm-muted);
}

.ttm-feat__more {
	margin-top: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--ttm-accent);
}

.ttm-feat__shot {
	position: relative;
	min-width: 0;
	min-height: clamp(220px, 24vw, 340px);
	overflow: hidden;
	background: #0e1424;
}

.ttm-feat__shot img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.ttm-feat__shot .ttm-est__sweep {
	z-index: 2;
	width: 40%;
	animation-duration: 10s;
}

/* -------------------------------------------------------------- cards */

.ttm-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 22px;
	align-items: start;
	margin-top: 30px;
}

.ttm-card2 {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	padding: 16px 16px 20px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 18px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: transform 0.22s var(--ttm-ease), border-color 0.22s var(--ttm-ease),
		box-shadow 0.22s var(--ttm-ease), opacity 0.6s var(--ttm-ease);
}

.ttm-card2:hover {
	transform: translateY(-5px);
	border-color: var(--ttm-card-hover-line);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 54px rgba(60, 80, 220, 0.26);
}

.ttm-card2__shot {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: 12px;
	overflow: hidden;
	background: #1a1a1a;
}

.ttm-card2__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.ttm-card2__meta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 0 4px;
}

.ttm-card2__read {
	font-size: 12px;
	color: var(--ttm-muted);
}

.ttm-card2__title {
	position: relative;
	margin: 0;
	padding: 0 4px 2px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	text-wrap: pretty;
}

.ttm-card2__lead {
	position: relative;
	margin: 0;
	padding: 0 4px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

.ttm-card2__date {
	position: relative;
	margin-top: auto;
	padding: 0 4px;
	font-size: 13px;
	color: var(--ttm-muted);
}

/* -------------------------------------------------------- empty state */

.ttm-empty {
	margin-top: 30px;
	padding: 44px 24px;
	border: 1px dashed var(--ttm-card-line);
	border-radius: 18px;
	text-align: center;
}

.ttm-empty__title {
	margin: 0 0 8px;
	font-size: 17px;
	font-weight: 600;
}

.ttm-empty__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

.ttm .ttm-empty__text a {
	color: var(--ttm-accent);
}

/* ------------------------------------------------------- closing block */

.ttm-split--mid {
	align-items: center;
}

.ttm-scope--corner .ttm-scope__orb {
	left: auto;
	right: -10%;
	top: auto;
	bottom: -20%;
	width: 46%;
	max-height: none;
	background: radial-gradient(circle, rgba(124, 92, 245, 0.16) 0%, rgba(124, 92, 245, 0) 70%);
}

/* ---------------------------------------------------------- light theme */

:root[data-theme='light'] .ttm-feat,
:root[data-theme='light'] .ttm-card2 {
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04);
}

.ttm-more {
	margin: 46px 0 0;
	display: flex;
	justify-content: center;
}

.ttm-more__n {
	opacity: 0.6;
	font-weight: 500;
}

/* A class that sets `display` outranks the browser's own `[hidden]` rule, so a
   filtered-out card stayed invisible but kept its slot in the grid. */
.ttm-card2[hidden],
.ttm-feat[hidden],
.ttm-more[hidden] {
	display: none;
}

/* =================================================== Kontakt (2026-09-17) */

/* The contact hero runs the moon-and-meteor scene, not the interlude, so it
   needs the crosshair and the pointer trail but not the full-height layout of
   the home page hero. */
.ttm-shero--meteors {
	cursor: crosshair;
}

.ttm-shero--meteors .ttm-shero__stack,
.ttm-shero--meteors .ttm-wrap {
	cursor: auto;
}

.ttm-shero--meteors .ttm-sky {
	z-index: 0;
}

.ttm-shero--meteors .ttm-meteors {
	z-index: 1;
}

.ttm-shero__hint {
	font-size: 13px;
	color: var(--ttm-muted);
}

/* ------------------------------------------------------------- layout */

.ttm-contact {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(24px, 3vw, 40px);
	align-items: start;
}

.ttm-contact__form {
	position: relative;
	overflow: hidden;
	min-width: 0;
	padding: clamp(26px, 3.2vw, 40px);
	border: 1px solid var(--ttm-card-line);
	border-radius: 22px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ttm-contact__side {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ------------------------------------------------------- contact cards */

.ttm-ch {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 18px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	transition: transform 0.2s var(--ttm-ease), border-color 0.2s var(--ttm-ease),
		opacity 0.6s var(--ttm-ease);
}

.ttm-ch:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
}

.ttm-ch__label {
	position: relative;
	font-size: 12px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ttm-muted);
}

.ttm-ch__value {
	position: relative;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.ttm .ttm-ch__value:hover {
	color: var(--ttm-accent);
}

.ttm-ch__note {
	position: relative;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

/* -------------------------------------------------------------- form */

.ttm-form__head {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 22px;
}

.ttm-form__title {
	margin: 0;
	padding-bottom: 0.08em;
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.ttm-form__note {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

.ttm-form__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 16px;
	margin-bottom: 16px;
}

.ttm-field {
	position: relative;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ttm-field--wide {
	grid-column: 1 / -1;
	margin-bottom: 16px;
}

.ttm-field__label {
	font-size: 12px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ttm-muted);
}

.ttm-field__label abbr {
	text-decoration: none;
	color: var(--ttm-accent);
}

.ttm-field__count {
	align-self: flex-end;
	font-size: 12px;
	color: var(--ttm-muted);
}

.ttm-contact__form input[type='text'],
.ttm-contact__form input[type='email'],
.ttm-contact__form input[type='tel'],
.ttm-contact__form select,
.ttm-contact__form textarea {
	width: 100%;
	padding: 14px 15px;
	border-radius: 12px;
	border: 1px solid var(--ttm-card-line);
	background: rgba(8, 11, 20, 0.55);
	color: var(--ttm-fg);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	outline: none;
	transition: border-color 0.2s var(--ttm-ease), box-shadow 0.2s var(--ttm-ease);
}

.ttm-contact__form textarea {
	resize: vertical;
	min-height: 140px;
}

.ttm-contact__form input::placeholder,
.ttm-contact__form textarea::placeholder {
	color: #6f7686;
}

.ttm-contact__form input:focus,
.ttm-contact__form select:focus,
.ttm-contact__form textarea:focus {
	border-color: rgba(140, 160, 255, 0.55);
	box-shadow: 0 0 0 3px rgba(110, 130, 255, 0.18);
}

/* ------------------------------------------------- "what do you need" chips */

/*
 * Contact Form 7 renders a checkbox group as spans; the box itself is hidden
 * and the label around it becomes the chip, so the control stays a real
 * checkbox for the keyboard and for assistive technology.
 */
.ttm-field--chips {
	margin-bottom: 16px;
}

.ttm-field--chips .wpcf7-list-item {
	display: inline-block;
	margin: 0 8px 8px 0;
}

.ttm-field--chips .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	padding: 10px 15px;
	border-radius: 10px;
	border: 1px solid var(--ttm-card-line);
	color: var(--ttm-dim-soft);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.18s var(--ttm-ease), border-color 0.18s var(--ttm-ease),
		color 0.18s var(--ttm-ease), background 0.18s var(--ttm-ease);
}

.ttm-field--chips .wpcf7-list-item label:hover {
	transform: translateY(-2px);
	border-color: var(--ttm-card-hover-line);
	color: var(--ttm-fg);
}

.ttm-field--chips input[type='checkbox'] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.ttm-field--chips input[type='checkbox']:checked + .wpcf7-list-item-label,
.ttm-field--chips label:has(input:checked) {
	border-color: transparent;
	background: var(--ttm-grad-lite);
	color: #ffffff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 22px rgba(90, 100, 240, 0.32);
}

.ttm-field--chips input[type='checkbox']:focus-visible + .wpcf7-list-item-label {
	outline: 2px solid var(--ttm-accent);
	outline-offset: 2px;
}

/* -------------------------------------------------------- consent and send */

.ttm-field--check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 4px 0 28px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

.ttm-field--check .wpcf7-list-item {
	margin: 0;
}

.ttm-field--check label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	cursor: pointer;
}

.ttm-field--check input[type='checkbox'] {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	accent-color: #7c5cf5;
}

.ttm-form__send {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.ttm-contact__form .ttm-btn--primary {
	justify-content: center;
	width: 100%;
	border: 0;
	cursor: pointer;
	font-family: inherit;
}

/* The honeypot pair must be unreachable, not merely invisible. */
.ttm-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ------------------------------------------------- CF7 messages and errors */

.ttm-contact__form .wpcf7-not-valid-tip {
	font-size: 12px;
	color: #ff9aa2;
}

/* Contact Form 7 prints the response box on every load, empty and bordered.
   It only earns a box once the form has actually said something. */
.ttm-contact__form .wpcf7-response-output {
	display: none;
}

.ttm-contact__form form.sent .wpcf7-response-output,
.ttm-contact__form form.invalid .wpcf7-response-output,
.ttm-contact__form form.failed .wpcf7-response-output,
.ttm-contact__form form.spam .wpcf7-response-output,
.ttm-contact__form form.unaccepted .wpcf7-response-output,
.ttm-contact__form form.aborted .wpcf7-response-output {
	display: block;
	margin: 18px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.6;
}

/* Its own hidden-field fieldset arrives with a browser default border. */
.ttm-contact__form .hidden-fields-container,
.ttm-contact__form .screen-reader-response {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	border: 0;
}

.ttm-contact__form textarea {
	height: 150px;
}

.ttm-contact__form form.sent .wpcf7-response-output {
	border-color: rgba(124, 224, 168, 0.5);
	color: #7ce0a8;
}

.ttm-contact__form form.invalid .wpcf7-response-output,
.ttm-contact__form form.failed .wpcf7-response-output,
.ttm-contact__form form.spam .wpcf7-response-output {
	border-color: rgba(255, 154, 162, 0.5);
	color: #ff9aa2;
}

.ttm-contact__form .wpcf7-spinner {
	margin: 0 auto;
}

/* ---------------------------------------------------------- light theme */

:root[data-theme='light'] .ttm-contact__form,
:root[data-theme='light'] .ttm-ch {
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04);
}

:root[data-theme='light'] .ttm-contact__form input[type='text'],
:root[data-theme='light'] .ttm-contact__form input[type='email'],
:root[data-theme='light'] .ttm-contact__form input[type='tel'],
:root[data-theme='light'] .ttm-contact__form select,
:root[data-theme='light'] .ttm-contact__form textarea {
	background: #f7f8fc;
	border-color: var(--ttm-line);
}

/* WordPress runs wpautop over the form markup, so every row of fields arrives
   wrapped in a <p>. That made the grid a one-item grid: the paragraph. Letting
   the paragraph box disappear puts the labels back where they belong. */
.ttm-form__grid > p,
.ttm-field--chips > p,
.ttm-field--wide > p {
	display: contents;
}

/* ==================================================== O nas (2026-09-17) */

/* ------------------------------------------------------------ hero orbit */

.ttm-orbit {
	position: relative;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(280px, 32vw, 420px);
}

.ttm-orbit__ring,
.ttm-orbit__spin {
	position: absolute;
	aspect-ratio: 1;
	border-radius: 50%;
	pointer-events: none;
}

.ttm-orbit__ring--wide {
	width: min(96%, 440px);
	border: 1px dashed rgba(140, 160, 255, 0.18);
	animation: ttm-spin 52s linear infinite;
}

.ttm-orbit__ring--tight {
	width: min(70%, 320px);
	border: 1px solid rgba(140, 160, 255, 0.12);
	animation: ttm-spin-rev 38s linear infinite;
}

/* The dot rides the ring: the wrapper spins, the dot only sits on its edge. */
.ttm-orbit__spin {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ttm-orbit__spin--wide {
	width: min(96%, 440px);
	animation: ttm-spin 52s linear infinite;
}

.ttm-orbit__spin--tight {
	width: min(70%, 320px);
	animation: ttm-spin-rev 38s linear infinite;
}

.ttm-orbit__dot {
	position: absolute;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #9fb6ff;
	box-shadow: 0 0 16px rgba(159, 182, 255, 0.9);
	transform: translateY(calc(min(48vw, 220px) * -1));
}

.ttm-orbit__dot--warm {
	width: 8px;
	height: 8px;
	background: #f4e9c9;
	box-shadow: 0 0 14px rgba(244, 233, 201, 0.85);
	transform: translateX(min(35vw, 160px));
}

@keyframes ttm-spin-rev {
	to {
		transform: rotate(-360deg);
	}
}

.ttm-frame--tall {
	width: min(72%, 300px);
	max-width: none;
}

.ttm-frame--tall .ttm-frame__shot {
	aspect-ratio: 4 / 5;
}

/* ---------------------------------------------------------- year strip */

.ttm-head--row {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
}

.ttm-rail-nav {
	display: flex;
	gap: 8px;
}

.ttm-rail-nav__btn {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--ttm-card-line);
	background: transparent;
	color: var(--ttm-dim);
	font-family: inherit;
	font-size: 16px;
	cursor: pointer;
	transition: transform 0.18s var(--ttm-ease), border-color 0.18s var(--ttm-ease),
		color 0.18s var(--ttm-ease);
}

.ttm-rail-nav__btn:hover {
	transform: translateY(-2px);
	border-color: var(--ttm-card-hover-line);
	color: var(--ttm-fg);
}

.ttm-rail-nav__btn[disabled] {
	opacity: 0.35;
	cursor: default;
	transform: none;
}

.ttm-years {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
}

.ttm-year {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 18px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	transition: border-color 0.2s var(--ttm-ease);
}

.ttm-year:hover {
	border-color: var(--ttm-card-hover-line);
}

.ttm-year__n {
	position: relative;
	padding-bottom: 0.06em;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	background: var(--ttm-grad-lite);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ttm-year__title {
	position: relative;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.ttm-year__text {
	position: relative;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

/* ------------------------------------------------------------- people */

.ttm-people {
	margin-top: 30px;
	display: grid;
	/* Six of them: at full width they stand in one row, so nobody is left
	   alone on a second line. */
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
	/* Equal height, whatever the text does. */
	align-items: stretch;
}

.ttm-person {
	height: 100%;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 26px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 18px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	transition: transform 0.2s var(--ttm-ease), border-color 0.2s var(--ttm-ease),
		opacity 0.6s var(--ttm-ease);
}

.ttm-person:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
}

/* A monogram, because there is no photograph on file. Same choice as on the
   testimonial cards: a plain initial reads better than a stock face. */
.ttm-person__mono {
	position: relative;
	width: 64px;
	height: 64px;
	margin-bottom: 8px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: #ffffff;
	background: var(--ttm-grad-lite);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ttm-person__name {
	position: relative;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.ttm-person__role {
	position: relative;
	font-size: 13px;
	color: var(--ttm-accent);
}

.ttm-person__text {
	position: relative;
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

.ttm-person--more {
	border-style: dashed;
	background: none;
}

/* ------------------------------------------------------- numbered rules */

.ttm-rule__n {
	position: relative;
	display: block;
	margin-bottom: 6px;
	padding-bottom: 0.06em;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	background: var(--ttm-grad-lite);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	opacity: 0.75;
}

/* ------------------------------------------------------- client wordmarks */

.ttm-eyebrow--center {
	text-align: center;
}

.ttm-clients {
	margin-top: 22px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.ttm-client {
	padding: 14px 22px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 14px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--ttm-dim);
	transition: transform 0.2s var(--ttm-ease), border-color 0.2s var(--ttm-ease),
		color 0.2s var(--ttm-ease);
}

.ttm-client:hover {
	transform: translateY(-3px);
	border-color: var(--ttm-card-hover-line);
	color: var(--ttm-fg);
}

/* ---------------------------------------------------------- light theme */

:root[data-theme='light'] .ttm-year,
:root[data-theme='light'] .ttm-person,
:root[data-theme='light'] .ttm-client {
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04);
}

:root[data-theme='light'] .ttm-person--more {
	background: none;
	box-shadow: none;
}

/* ================================================= pomočnik (2026-09-17) */

/*
 * The wrapper is a positioning frame, not a clickable surface. On a phone it
 * spans most of the screen width, and if it caught clicks it would swallow
 * anything underneath it — that is exactly what happened on the sister site.
 */
.ttm-bot {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 70;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	pointer-events: none;
}

.ttm-bot__trigger,
.ttm-bot__panel {
	pointer-events: auto;
}

/* ------------------------------------------------------------- trigger */

.ttm-bot__trigger {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--ttm-grad-lite);
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), var(--ttm-glow);
	transition: transform 0.18s var(--ttm-ease), box-shadow 0.18s var(--ttm-ease),
		filter 0.18s var(--ttm-ease);
}

.ttm-bot__trigger:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), var(--ttm-glow-hover);
}

.ttm-bot__trigger-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #7ce0a8;
	box-shadow: 0 0 10px rgba(124, 224, 168, 0.8);
	animation: ttm-blink 3.6s ease-in-out infinite;
}

.ttm-bot.is-open .ttm-bot__trigger-text {
	opacity: 0.85;
}

/* --------------------------------------------------------------- panel */

.ttm-bot__panel {
	width: min(92vw, 380px);
	max-height: min(76vh, 560px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(140, 160, 255, 0.28);
	border-radius: 20px;
	background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(78, 124, 255, 0.16) 0%, rgba(124, 92, 245, 0.07) 45%, rgba(6, 8, 16, 0) 82%), #080b14;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

.ttm-bot__panel[hidden] {
	display: none;
}

.ttm-bot__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 18px 14px;
	border-bottom: 1px solid rgba(140, 160, 255, 0.16);
}

.ttm-bot__head strong {
	display: block;
	font-size: 16px;
	font-weight: 600;
}

.ttm-bot__sub {
	display: block;
	margin-top: 2px;
	font-size: 12px;
	color: #8d93a3;
}

.ttm-bot__close {
	flex: 0 0 auto;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(140, 160, 255, 0.22);
	border-radius: 50%;
	background: transparent;
	color: #b8bcc8;
	font-family: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.18s var(--ttm-ease), color 0.18s var(--ttm-ease);
}

.ttm-bot__close:hover {
	border-color: rgba(140, 160, 255, 0.55);
	color: #ffffff;
}

/* ---------------------------------------------------------------- body */

.ttm-bot__body {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	scrollbar-width: thin;
}

.ttm-bot__msg {
	max-width: 92%;
	padding: 12px 14px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.6;
}

.ttm-bot__msg--bot {
	align-self: flex-start;
	border: 1px solid rgba(140, 160, 255, 0.18);
	background: rgba(140, 160, 255, 0.07);
	color: #cfd3dd;
}

.ttm-bot__msg--me {
	align-self: flex-end;
	background: var(--ttm-grad-lite);
	color: #ffffff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ttm-bot__msg p {
	margin: 0 0 8px;
}

.ttm-bot__msg p:last-child {
	margin-bottom: 0;
}

.ttm-bot__msg ul,
.ttm-bot__msg ol {
	margin: 0 0 8px;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ttm-bot__msg strong {
	color: #ffffff;
}

.ttm .ttm-bot__msg a {
	color: #9fb6ff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ttm .ttm-bot__msg--me a {
	color: #ffffff;
}

.ttm-bot__drobno {
	font-size: 12px;
	color: #8d93a3;
}

/* ------------------------------------------------------ suggested topics */

.ttm-bot__suggest {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.ttm-bot__suggest-title {
	width: 100%;
	margin: 4px 0 0;
	font-size: 11px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #8d93a3;
}

.ttm-bot__chip {
	padding: 9px 13px;
	border: 1px solid rgba(140, 160, 255, 0.24);
	border-radius: 999px;
	background: transparent;
	color: #cfd3dd;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: transform 0.18s var(--ttm-ease), border-color 0.18s var(--ttm-ease),
		color 0.18s var(--ttm-ease);
}

.ttm-bot__chip:hover {
	transform: translateY(-2px);
	border-color: rgba(140, 160, 255, 0.6);
	color: #ffffff;
}

/* ---------------------------------------------------------------- input */

.ttm-bot__form {
	display: flex;
	gap: 8px;
	padding: 14px 18px 18px;
	border-top: 1px solid rgba(140, 160, 255, 0.16);
}

.ttm-bot__form input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid rgba(140, 160, 255, 0.22);
	border-radius: 10px;
	background: rgba(8, 11, 20, 0.7);
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	outline: none;
	transition: border-color 0.18s var(--ttm-ease), box-shadow 0.18s var(--ttm-ease);
}

.ttm-bot__form input::placeholder {
	color: #6f7686;
}

.ttm-bot__form input:focus {
	border-color: rgba(140, 160, 255, 0.55);
	box-shadow: 0 0 0 3px rgba(110, 130, 255, 0.18);
}

.ttm-bot__form button {
	flex: 0 0 auto;
	padding: 12px 16px;
	border: 0;
	border-radius: 10px;
	background: var(--ttm-grad-lite);
	color: #ffffff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
	transition: filter 0.18s var(--ttm-ease);
}

.ttm-bot__form button:hover {
	filter: brightness(1.08);
}

/* ----------------------------------------------------------- neighbours */

/*
 * The reCAPTCHA badge parks in the same corner on the contact page. Lift it
 * above the assistant rather than hiding it — hiding it is against Google's
 * terms unless the notice is written out in full.
 */
.grecaptcha-badge {
	bottom: 90px !important;
}

@media (max-width: 700px) {
	.ttm-bot {
		right: 12px;
		bottom: 12px;
		left: auto;
	}

	.ttm-bot__trigger-text {
		display: none;
	}

	.ttm-bot__trigger {
		width: 52px;
		height: 52px;
		justify-content: center;
		padding: 0;
	}

	.ttm-bot__trigger-dot {
		width: 11px;
		height: 11px;
	}

	.ttm-bot__panel {
		width: calc(100vw - 24px);
		max-height: 72vh;
	}
}

/* ================================================ Reference (2026-09-17) */

.ttm-refs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 22px;
	align-items: start;
}

.ttm-refs--three {
	margin-top: 22px;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.ttm-ref {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	padding: 16px 16px 20px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 18px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transition: transform 0.22s var(--ttm-ease), border-color 0.22s var(--ttm-ease),
		box-shadow 0.22s var(--ttm-ease), opacity 0.6s var(--ttm-ease);
}

.ttm-ref--link:hover {
	transform: translateY(-5px);
	border-color: var(--ttm-card-hover-line);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 22px 54px rgba(60, 80, 220, 0.26);
}

/*
 * Each client gets a tinted plate with its initials rather than a screenshot.
 * The nine sites look nothing alike and eight of the nine have no capture on
 * file; nine identical grey placeholders would say less than this does.
 */
.ttm-ref__shot {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16 / 10;
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(158deg, color-mix(in srgb, var(--tint) 85%, #ffffff) 0%, var(--tint) 55%, color-mix(in srgb, var(--tint) 70%, #000000) 100%);
}

.ttm-ref__shot::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 60% at 30% 25%, rgba(255, 255, 255, 0.18), transparent 70%);
}

.ttm-ref__mono {
	position: relative;
	z-index: 1;
	font-size: clamp(30px, 5vw, 44px);
	font-weight: 800;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.ttm-ref__meta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 0 4px;
}

.ttm-ref__year {
	font-size: 12px;
	color: var(--ttm-muted);
}

.ttm-ref__name {
	position: relative;
	margin: 0;
	padding: 0 4px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.ttm-ref__lead {
	position: relative;
	margin: 0;
	padding: 0 4px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

.ttm-ref__foot {
	position: relative;
	margin-top: auto;
	padding: 10px 4px 0;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	border-top: 1px solid var(--ttm-line-hair);
	font-size: 13px;
}

.ttm-ref__izid {
	color: var(--ttm-dim);
}

.ttm-ref__more {
	font-weight: 600;
	color: var(--ttm-accent);
}

.ttm-ref:not(.ttm-ref--link) .ttm-ref__more {
	color: var(--ttm-muted);
	font-weight: 500;
}

.ttm-ref[hidden] {
	display: none;
}

/* ----------------------------------------------------- the case study */

.ttm-case-top {
	padding-top: clamp(40px, 5vw, 72px);
}

.ttm-case {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.ttm-case__facts {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	position: sticky;
	top: 96px;
}

.ttm-case__kind {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.ttm-case__title {
	max-width: 14ch;
}

.ttm-case__lead {
	margin: 0;
	max-width: 52ch;
	font-size: 16px;
	line-height: 1.62;
	color: var(--ttm-muted);
}

.ttm-case__meta {
	margin: 6px 0 0;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--ttm-line-hair);
}

.ttm-case__meta > div {
	padding: 12px 0;
	border-bottom: 1px solid var(--ttm-line-hair);
}

.ttm-case__meta dt {
	font-size: 11px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ttm-muted);
}

.ttm-case__meta dd {
	margin: 4px 0 0;
	font-size: 15px;
	line-height: 1.55;
}

.ttm .ttm-case__meta dd a {
	color: var(--ttm-accent);
}

/* "objavljeno": a live site, marked the way a status light is. */
.ttm-live {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 8px;
	font-size: 12px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5FD39C;
}

.ttm-live::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #5FD39C;
	box-shadow: 0 0 0 3px rgba(95, 211, 156, 0.18);
}

.ttm-case__note {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--ttm-muted);
}

.ttm .ttm-case__note a {
	color: var(--ttm-accent);
}

/* ------------------------------------------------------------- shots */

.ttm-case__shots {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ttm-shot {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 18px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	transition: border-color 0.2s var(--ttm-ease), opacity 0.6s var(--ttm-ease),
		transform 0.6s var(--ttm-ease);
}

.ttm-shot:hover {
	border-color: var(--ttm-card-hover-line);
}

.ttm-shot__frame {
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: 12px;
	overflow: hidden;
	background: #0e1424;
}

.ttm-shot__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ttm-shot figcaption {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 14px 4px 4px;
}

.ttm-shot figcaption strong {
	font-size: 15px;
	font-weight: 600;
}

.ttm-shot figcaption span {
	font-size: 14px;
	line-height: 1.55;
	color: var(--ttm-muted);
}

/* -------------------------------------------------------- before / after */

.ttm-then {
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ttm-then__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 14px;
}

.ttm-then__card {
	padding: 22px;
	border: 1px solid var(--ttm-card-line);
	border-radius: 16px;
	background: var(--ttm-card-surface);
}

.ttm-then__card p {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.6;
}

.ttm-then__card--prej {
	color: var(--ttm-muted);
}

.ttm-then__card--zdaj {
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	border-color: rgba(140, 160, 255, 0.3);
}

.ttm-then__card--zdaj .ttm-eyebrow {
	color: var(--ttm-accent);
}

/* The result strip inside a section, without the hero's top border. */
.ttm-numbers--flat {
	margin-top: 34px;
	border-top: 1px solid var(--ttm-card-line);
	background: none;
}

.ttm-numbers--flat .ttm-numbers__grid {
	padding-left: 0;
	padding-right: 0;
	max-width: none;
}

.ttm-numbers--flat::after {
	content: none;
}

/* A block of work is a step without the two columns of the process page. */
.ttm-phase--slim {
	padding: 22px clamp(20px, 2.4vw, 30px);
}

.ttm-phase--slim .ttm-phase__title {
	font-size: 17px;
}

.ttm-phase--slim .ttm-phase__text {
	margin-top: 8px;
	font-size: 15px;
}

/* ------------------------------------------------------------- quote */

/* ------------------------------------------- a line between sections */

.ttm-rek-band {
	padding-top: clamp(26px, 3vw, 44px);
	padding-bottom: clamp(26px, 3vw, 44px);
}

.ttm-rek {
	margin: 0 auto;
	max-width: 30ch;
	font-size: clamp(20px, 2.4vw, 30px);
	font-weight: 700;
	line-height: 1.38;
	letter-spacing: -0.01em;
	text-align: center;
	text-wrap: balance;
	color: var(--ttm-ink);
}

/* The quote mark is the whole decoration, so it carries the brand gradient. */
.ttm-rek::before {
	/* The opening mark, not the Slovene low one: at this size the low quote
	   sits on the foot of its box and reads as a dash above the line. */
	content: '\201C';
	display: block;
	font-size: 64px;
	line-height: 0.9;
	margin-bottom: 8px;
	background: var(--ttm-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

@media (max-width: 700px) {
	.ttm-rek {
		max-width: 26ch;
	}

	.ttm-rek::before {
		font-size: 52px;
	}
}

/* --------------------------------------- the name behind the promise */

.ttm-podpis {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding: clamp(26px, 3vw, 38px);
	border: 1px solid var(--ttm-card-line);
	border-radius: 20px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
	text-align: center;
}

.ttm-podpis__foto {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid var(--ttm-card-line);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.ttm-podpis__rek {
	margin: 0;
	max-width: 34ch;
	font-size: clamp(16px, 1.5vw, 18px);
	line-height: 1.6;
	color: var(--ttm-ink);
}

.ttm-podpis__rek::before {
	content: '„';
}

.ttm-podpis__rek::after {
	content: '“';
}

.ttm-podpis__kdo {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 14px;
	color: var(--ttm-muted);
}

.ttm-podpis__kdo strong {
	font-size: 15px;
	color: var(--ttm-ink);
}

/* ------------------------------ the whole front page, top to bottom */

.ttm-scroll {
	margin: 0;
	border: 1px solid var(--ttm-card-line);
	border-radius: 18px;
	overflow: hidden;
	background: var(--ttm-card-surface);
}

.ttm-scroll__bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--ttm-line-hair);
	background: color-mix(in srgb, var(--ttm-card-surface) 70%, #000000);
}

.ttm-scroll__dots {
	display: flex;
	gap: 6px;
}

.ttm-scroll__dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--ttm-line);
}

.ttm-scroll__url {
	font-size: 12px;
	letter-spacing: 0.02em;
	color: var(--ttm-muted);
}

.ttm-scroll__view {
	display: block;
}

.ttm-scroll__view img {
	display: block;
	width: 100%;
	height: auto;
}

.ttm-scroll figcaption {
	padding: 12px 16px 14px;
	border-top: 1px solid var(--ttm-line-hair);
	font-size: 13px;
	color: var(--ttm-muted);
}

.ttm-case-quote {
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: clamp(28px, 3.4vw, 44px);
	border: 1px solid var(--ttm-card-line);
	border-radius: 22px;
	background: var(--ttm-grad-soft), var(--ttm-card-surface);
}

.ttm-case-quote blockquote {
	position: relative;
	margin: 0;
	max-width: 62ch;
	font-size: clamp(17px, 2vw, 21px);
	line-height: 1.6;
	letter-spacing: -0.01em;
}

.ttm-case-quote figcaption {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 22px;
}

.ttm-case-quote__mono {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 800;
	color: #ffffff;
	background: var(--ttm-grad-lite);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ttm-case-quote figcaption strong {
	display: block;
	font-size: 15px;
	font-weight: 600;
}

.ttm-case-quote__role {
	font-size: 13px;
	color: var(--ttm-muted);
}

/* ---------------------------------------------------------- light theme */

:root[data-theme='light'] .ttm-ref,
:root[data-theme='light'] .ttm-shot,
:root[data-theme='light'] .ttm-then__card,
:root[data-theme='light'] .ttm-case-quote {
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04);
}

:root[data-theme='light'] .ttm-then__card--zdaj {
	background: var(--ttm-grad-soft), #ffffff;
}

@media (max-width: 900px) {
	.ttm-case__facts {
		position: static;
	}
}

/* ------------------------------------------------------------- archive */

.ttm-arhiv {
	margin-top: 28px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
}

.ttm-arh {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--ttm-card-line);
	border-radius: 14px;
	background: var(--ttm-card-surface);
	transition: transform 0.2s var(--ttm-ease), border-color 0.2s var(--ttm-ease),
		opacity 0.6s var(--ttm-ease);
}

.ttm-arh:hover {
	transform: translateY(-4px);
	border-color: var(--ttm-card-hover-line);
}

.ttm-arh[hidden] {
	display: none;
}

.ttm-arh__shot {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #12131a;
}

.ttm-arh__shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.ttm-arh__body {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 13px 14px 15px;
}

.ttm-arh__name {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

.ttm-arh__tip {
	font-size: 12px;
	color: var(--ttm-muted);
}

:root[data-theme='light'] .ttm-arh {
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(11, 12, 16, 0.04);
}

/* A dense grid: the reference list is now the whole archive, not nine cards. */
.ttm-refs--dense {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}

.ttm-refs--dense .ttm-ref {
	gap: 10px;
	padding: 14px 14px 18px;
}

.ttm-refs--dense .ttm-ref__name {
	font-size: 16px;
}

.ttm-ref__shot--img {
	background: #12131a;
}

.ttm-ref__shot--img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.ttm-ref__meta:empty {
	display: none;
}
