/* ==========================================================================
   TalentMatch — premium white + blue 3D design system
   Depth comes from layering, light and shadow. Never from darkness.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
	/* Blues — the spine of the brand */
	--tm-blue:        #2563EB;
	--tm-blue-600:    #1D4ED8;
	--tm-blue-700:    #1E40AF;
	--tm-sky:         #60A5FA;
	--tm-sky-soft:    #93C5FD;
	--tm-ice:         #DBEAFE;
	--tm-ice-50:      #EFF6FF;

	/* Navy — for type and shadow tint, never for large fills */
	--tm-navy:        #0F2A5C;
	--tm-navy-deep:   #0A1F45;

	/* Neutrals */
	--tm-white:       #FFFFFF;
	--tm-surface:     #F8FAFC;
	--tm-surface-2:   #F1F5F9;
	--tm-line:        #E2E8F0;
	--tm-line-blue:   rgba(37, 99, 235, 0.12);
	--tm-text:        #0F172A;
	--tm-muted:       #64748B;
	--tm-faint:       #94A3B8;

	/* Logo accent — used sparingly, as a signature not a theme */
	--tm-accent:      #F26522;

	/* Soft, blue-tinted elevation ladder */
	--tm-sh-sm:  0 2px 8px rgba(15, 42, 92, 0.05), 0 1px 2px rgba(15, 42, 92, 0.04);
	--tm-sh-md:  0 8px 24px -6px rgba(15, 42, 92, 0.10), 0 2px 8px rgba(15, 42, 92, 0.05);
	--tm-sh-lg:  0 24px 56px -16px rgba(15, 42, 92, 0.16), 0 8px 20px -8px rgba(15, 42, 92, 0.08);
	--tm-sh-xl:  0 40px 90px -24px rgba(15, 42, 92, 0.22), 0 12px 32px -12px rgba(15, 42, 92, 0.10);
	--tm-glow:   0 20px 60px -20px rgba(37, 99, 235, 0.28);

	/* Geometry */
	--tm-r-sm: 14px;
	--tm-r:    20px;
	--tm-r-lg: 24px;
	--tm-r-pill: 999px;

	--tm-container: 1200px;
	--tm-gutter: 24px;

	/* Motion */
	--tm-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--tm-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Never let a 3D layer create a sideways scrollbar. */
	overflow-x: hidden;
}

body {
	margin: 0;
	background: var(--tm-white);
	color: var(--tm-text);
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--tm-blue); text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	line-height: 1.15;
	letter-spacing: -0.025em;
	font-weight: 800;
	color: var(--tm-navy-deep);
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 700; }
p  { margin: 0 0 1.1em; }

:focus-visible {
	outline: 3px solid var(--tm-blue);
	outline-offset: 3px;
	border-radius: 6px;
}

.tm-sr {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.tm-skip {
	position: absolute; top: -100px; left: 16px; z-index: 999;
	background: var(--tm-blue); color: #fff;
	padding: 12px 20px; border-radius: 0 0 12px 12px; font-weight: 600;
}
.tm-skip:focus { top: 0; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.tm-container {
	width: 100%;
	max-width: var(--tm-container);
	margin-inline: auto;
	padding-inline: var(--tm-gutter);
}

.tm-section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }
.tm-section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.tm-section--surface { background: var(--tm-surface); }

/* A very soft blue wash — the "lit from above" ground plane */
.tm-section--wash {
	background:
		radial-gradient(1100px 520px at 50% -10%, var(--tm-ice-50) 0%, rgba(239, 246, 255, 0) 70%),
		var(--tm-white);
}

.tm-head { max-width: 760px; margin: 0 auto clamp(44px, 5vw, 68px); text-align: center; }
.tm-head--left { margin-inline: 0; text-align: left; }
.tm-head p { color: var(--tm-muted); font-size: 1.08rem; margin-bottom: 0; }

.tm-eyebrow {
	display: inline-flex; align-items: center; gap: 9px;
	font-size: 0.75rem; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--tm-blue-600);
	background: linear-gradient(180deg, var(--tm-white), var(--tm-ice-50));
	border: 1px solid var(--tm-line-blue);
	border-radius: var(--tm-r-pill);
	padding: 8px 16px;
	margin-bottom: 22px;
	box-shadow: var(--tm-sh-sm);
}
.tm-eyebrow::before {
	content: ''; width: 7px; height: 7px; border-radius: 50%;
	background: linear-gradient(135deg, var(--tm-sky), var(--tm-blue));
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.tm-grid { display: grid; gap: 26px; }
.tm-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tm-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.tm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px;
	border-radius: var(--tm-r-pill);
	font-weight: 700; font-size: 0.98rem;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.32s var(--tm-ease), box-shadow 0.32s var(--tm-ease), background 0.25s;
	will-change: transform;
}
.tm-btn .tm-icon { transition: transform 0.32s var(--tm-ease); }
.tm-btn:hover .tm-icon { transform: translateX(4px); }

.tm-btn--primary {
	background: linear-gradient(135deg, var(--tm-blue) 0%, var(--tm-blue-700) 100%);
	color: #fff;
	box-shadow: 0 12px 28px -10px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.tm-btn--primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 42px -12px rgba(37, 99, 235, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.tm-btn--ghost {
	background: rgba(255, 255, 255, 0.85);
	color: var(--tm-navy);
	border-color: var(--tm-line-blue);
	box-shadow: var(--tm-sh-sm);
	backdrop-filter: blur(8px);
}
.tm-btn--ghost:hover {
	transform: translateY(-3px);
	border-color: rgba(37, 99, 235, 0.3);
	box-shadow: var(--tm-sh-md);
}

.tm-btn--white {
	background: #fff; color: var(--tm-blue-700);
	box-shadow: 0 14px 34px -12px rgba(10, 31, 69, 0.4);
}
.tm-btn--white:hover { transform: translateY(-3px); }

.tm-btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.tm-btn--block { width: 100%; }

.tm-link {
	display: inline-flex; align-items: center; gap: 7px;
	font-weight: 700; color: var(--tm-blue-600); font-size: 0.95rem;
}
.tm-link .tm-icon { transition: transform 0.3s var(--tm-ease); }
.tm-link:hover .tm-icon { transform: translateX(5px); }

.tm-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   5. The card system — the repeating 3D unit
   -------------------------------------------------------------------------- */
.tm-card {
	position: relative;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--tm-line-blue);
	border-radius: var(--tm-r-lg);
	box-shadow: var(--tm-sh-md);
	padding: 32px;
	transition: transform 0.42s var(--tm-ease), box-shadow 0.42s var(--tm-ease), border-color 0.42s;
	will-change: transform;
}

/* Ambient blue glow that fades up on hover — the "lift into light" effect */
.tm-card::after {
	content: '';
	position: absolute; inset: -1px;
	border-radius: inherit;
	pointer-events: none;
	opacity: 0;
	box-shadow: var(--tm-glow);
	transition: opacity 0.42s var(--tm-ease);
}

.tm-card:hover {
	transform: translateY(-6px) scale(1.01);
	border-color: rgba(37, 99, 235, 0.22);
	box-shadow: var(--tm-sh-lg);
}
.tm-card:hover::after { opacity: 1; }

.tm-card--flat:hover { transform: none; }
.tm-card--glass {
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(18px) saturate(1.4);
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
}

/* Card icon plinth — a small extruded tile */
.tm-tile {
	position: relative;
	width: 60px; height: 60px;
	display: grid; place-items: center;
	border-radius: 18px;
	margin-bottom: 22px;
	color: var(--tm-blue-600);
	background: linear-gradient(160deg, #fff 0%, var(--tm-ice-50) 55%, var(--tm-ice) 100%);
	border: 1px solid var(--tm-line-blue);
	box-shadow:
		0 10px 22px -8px rgba(37, 99, 235, 0.30),
		inset 0 1px 0 #fff,
		inset 0 -2px 6px rgba(37, 99, 235, 0.10);
	transition: transform 0.42s var(--tm-ease), box-shadow 0.42s var(--tm-ease);
}
.tm-card:hover .tm-tile {
	transform: translateY(-3px) rotate(-4deg);
	box-shadow: 0 16px 30px -10px rgba(37, 99, 235, 0.42), inset 0 1px 0 #fff;
}

.tm-card h3 { margin-bottom: 10px; }
.tm-card p  { color: var(--tm-muted); font-size: 0.97rem; margin-bottom: 18px; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.tm-header {
	position: sticky; top: 0; z-index: 200;
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(20px) saturate(1.6);
	-webkit-backdrop-filter: blur(20px) saturate(1.6);
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.35s, border-color 0.35s, background 0.35s;
}
.tm-header.is-stuck {
	border-bottom-color: var(--tm-line);
	box-shadow: 0 6px 24px -12px rgba(15, 42, 92, 0.18);
	background: rgba(255, 255, 255, 0.92);
}

.tm-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; min-height: 86px;
}
/* Wide lockup (490x144). Height drives it; width follows the ratio. */
.tm-logo img { height: 54px; width: auto; }

.tm-nav ul {
	display: flex; align-items: center; gap: 4px;
	list-style: none; margin: 0; padding: 0;
}
.tm-nav a {
	display: block; padding: 10px 15px;
	color: var(--tm-navy); font-weight: 600; font-size: 0.95rem;
	border-radius: var(--tm-r-pill);
	transition: background 0.25s, color 0.25s;
}
.tm-nav a:hover,
.tm-nav .current-menu-item > a {
	background: var(--tm-ice-50);
	color: var(--tm-blue-700);
}

.tm-header__cta { display: flex; align-items: center; gap: 12px; }
.tm-header__cta .tm-btn { padding: 12px 22px; font-size: 0.92rem; }

.tm-burger {
	display: none;
	width: 46px; height: 46px;
	align-items: center; justify-content: center;
	background: #fff; border: 1px solid var(--tm-line);
	border-radius: 14px; color: var(--tm-navy);
	box-shadow: var(--tm-sh-sm); cursor: pointer;
}

.tm-mobile-nav {
	display: none;
	/* Top offset must track .tm-header__inner min-height. */
	position: fixed; inset: 86px 0 0;
	z-index: 190;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(20px);
	padding: 28px var(--tm-gutter) 48px;
	overflow-y: auto;
}
.tm-mobile-nav.is-open { display: block; }
.tm-mobile-nav ul { list-style: none; margin: 0 0 24px; padding: 0; }
.tm-mobile-nav a {
	display: block; padding: 16px 4px;
	font-size: 1.15rem; font-weight: 700; color: var(--tm-navy);
	border-bottom: 1px solid var(--tm-line);
}
.tm-mobile-nav .tm-actions { flex-direction: column; }

/* --------------------------------------------------------------------------
   7. HERO — the centrepiece 3D scene
   -------------------------------------------------------------------------- */
.tm-hero {
	position: relative;
	padding: clamp(56px, 7vw, 104px) 0 clamp(72px, 9vw, 128px);
	overflow: hidden;
	background:
		radial-gradient(900px 600px at 88% 8%, rgba(219, 234, 254, 0.72) 0%, rgba(219, 234, 254, 0) 62%),
		radial-gradient(700px 500px at 6% 92%, rgba(239, 246, 255, 0.9) 0%, rgba(239, 246, 255, 0) 60%),
		linear-gradient(180deg, #fff 0%, #FBFDFF 100%);
}

/* Faint technical grid — the "technology" half of the brand */
.tm-hero__grid-bg {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
	background-size: 62px 62px;
	mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 72%);
	-webkit-mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 72%);
	pointer-events: none;
}

.tm-hero__grid {
	position: relative; z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.tm-hero__copy h1 { margin-bottom: 22px; }
.tm-hero__copy h1 .tm-accent-line {
	display: block;
	background: linear-gradient(100deg, var(--tm-blue) 0%, var(--tm-sky) 55%, var(--tm-blue-700) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.tm-hero__lede {
	font-size: 1.14rem; color: var(--tm-muted);
	max-width: 58ch; margin-bottom: 32px;
}

.tm-hero__proof {
	display: flex; flex-wrap: wrap; gap: 30px;
	margin-top: 40px; padding-top: 30px;
	border-top: 1px solid var(--tm-line);
}
.tm-hero__proof div strong {
	display: block; font-size: 1.6rem; font-weight: 800;
	color: var(--tm-navy-deep); line-height: 1.1;
}
.tm-hero__proof div span { font-size: 0.85rem; color: var(--tm-faint); font-weight: 600; }

/* --- The 3D stage ------------------------------------------------------- */
.tm-scene {
	position: relative;
	min-height: 560px;
	perspective: 1500px;
	perspective-origin: 50% 45%;
}

.tm-scene__world {
	position: absolute; inset: 0;
	transform-style: preserve-3d;
	/* --px / --py are written by main.js from pointer position, range -1..1 */
	transform:
		rotateY(calc(var(--px, 0) * 7deg))
		rotateX(calc(var(--py, 0) * -5deg));
	transition: transform 0.5s var(--tm-ease-soft);
}

/* A positioned depth layer. --z drives real 3D separation. */
.tm-layer {
	position: absolute;
	transform: translateZ(var(--z, 0px));
	transform-style: preserve-3d;
}

/* Float animation lives on an inner wrapper so it never fights the parallax. */
.tm-float { animation: tm-float var(--dur, 7s) var(--delay, 0s) ease-in-out infinite; }
@keyframes tm-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50%      { transform: translateY(var(--lift, -16px)) rotate(var(--tilt, 0deg)); }
}

/* Background sphere — soft, lit from upper left */
.tm-sphere {
	position: absolute;
	top: 4%; left: 50%;
	width: 420px; height: 420px;
	transform: translateX(-50%) translateZ(-220px);
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 28%, #FFFFFF 0%, #E0EDFF 26%, #BFD9FF 52%, #7FB0F5 78%, #4D86DE 100%);
	box-shadow:
		0 60px 120px -40px rgba(37, 99, 235, 0.42),
		inset -24px -30px 70px rgba(30, 64, 175, 0.22),
		inset 18px 20px 50px rgba(255, 255, 255, 0.85);
	opacity: 0.9;
	animation: tm-spin 46s linear infinite;
}
@keyframes tm-spin {
	from { transform: translateX(-50%) translateZ(-220px) rotate(0deg); }
	to   { transform: translateX(-50%) translateZ(-220px) rotate(360deg); }
}

/* Orbit rings — thin, glassy */
.tm-ring {
	position: absolute;
	top: 50%; left: 50%;
	border-radius: 50%;
	border: 1.5px solid rgba(37, 99, 235, 0.18);
	transform: translate(-50%, -50%) translateZ(-140px) rotateX(74deg);
	animation: tm-orbit 32s linear infinite;
}
.tm-ring--a { width: 520px; height: 520px; }
.tm-ring--b {
	width: 400px; height: 400px;
	border-color: rgba(37, 99, 235, 0.12);
	animation-duration: 24s; animation-direction: reverse;
}
@keyframes tm-orbit {
	from { transform: translate(-50%, -50%) translateZ(-140px) rotateX(74deg) rotateZ(0deg); }
	to   { transform: translate(-50%, -50%) translateZ(-140px) rotateX(74deg) rotateZ(360deg); }
}

/* Connection network behind the cards */
.tm-net {
	position: absolute; inset: 0;
	transform: translateZ(-90px);
	overflow: visible;
	pointer-events: none;
}
.tm-net path {
	fill: none;
	stroke: url(#tmNetGrad);
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-dasharray: 5 7;
	animation: tm-dash 5s linear infinite;
}
@keyframes tm-dash { to { stroke-dashoffset: -48; } }
.tm-net circle { fill: var(--tm-blue); opacity: 0.5; }

/* --- The hero profile card (foreground) --------------------------------- */
.tm-profile {
	position: absolute;
	top: 50%; left: 50%;
	width: min(340px, 78vw);
	transform: translate(-50%, -50%) translateZ(90px);
	transform-style: preserve-3d;
}

.tm-profile__card {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: var(--tm-r-lg);
	padding: 26px;
	box-shadow:
		var(--tm-sh-xl),
		0 0 0 1px var(--tm-line-blue),
		inset 0 1px 0 #fff;
}

.tm-profile__top { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }

.tm-avatar {
	position: relative;
	width: 62px; height: 62px; flex: 0 0 62px;
	border-radius: 20px;
	display: grid; place-items: center;
	font-weight: 800; font-size: 1.25rem; color: #fff;
	background: linear-gradient(145deg, var(--tm-sky) 0%, var(--tm-blue) 50%, var(--tm-blue-700) 100%);
	box-shadow:
		0 12px 26px -8px rgba(37, 99, 235, 0.55),
		inset 0 2px 4px rgba(255, 255, 255, 0.4),
		inset 0 -3px 8px rgba(30, 64, 175, 0.35);
}
.tm-avatar--sm { width: 44px; height: 44px; flex-basis: 44px; border-radius: 15px; font-size: 0.95rem; }

/* Small "online" pip */
.tm-avatar__pip {
	position: absolute; right: -3px; bottom: -3px;
	width: 17px; height: 17px; border-radius: 50%;
	background: #22C55E; border: 3px solid #fff;
	box-shadow: 0 2px 6px rgba(34, 197, 94, 0.5);
}

.tm-profile__name { font-weight: 800; font-size: 1.08rem; color: var(--tm-navy-deep); line-height: 1.3; }
.tm-profile__role { font-size: 0.88rem; color: var(--tm-muted); font-weight: 600; }

.tm-profile__meta {
	display: flex; align-items: center; gap: 8px;
	font-size: 0.82rem; color: var(--tm-faint); font-weight: 600;
	padding: 12px 0; margin-bottom: 14px;
	border-top: 1px solid var(--tm-line);
	border-bottom: 1px solid var(--tm-line);
}

.tm-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.tm-tag {
	font-size: 0.74rem; font-weight: 700;
	padding: 6px 11px; border-radius: var(--tm-r-pill);
	background: var(--tm-ice-50); color: var(--tm-blue-700);
	border: 1px solid var(--tm-line-blue);
}

/* Match meter */
.tm-match__row {
	display: flex; align-items: baseline; justify-content: space-between;
	margin-bottom: 8px;
}
.tm-match__label { font-size: 0.78rem; font-weight: 700; color: var(--tm-faint); letter-spacing: 0.06em; text-transform: uppercase; }
.tm-match__value { font-size: 1.35rem; font-weight: 800; color: var(--tm-blue-700); }
.tm-match__track {
	height: 8px; border-radius: var(--tm-r-pill);
	background: var(--tm-surface-2);
	overflow: hidden;
	box-shadow: inset 0 1px 3px rgba(15, 42, 92, 0.10);
}
.tm-match__fill {
	height: 100%; width: 96%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--tm-sky) 0%, var(--tm-blue) 60%, var(--tm-blue-700) 100%);
	box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
	transform-origin: left;
	animation: tm-fill 1.6s var(--tm-ease) both;
}
@keyframes tm-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- Floating chips ------------------------------------------------------ */
.tm-chip {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 17px;
	border-radius: var(--tm-r-pill);
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--tm-line-blue);
	box-shadow: var(--tm-sh-lg), inset 0 1px 0 #fff;
	font-size: 0.84rem; font-weight: 700; color: var(--tm-navy);
	white-space: nowrap;
}
.tm-chip__dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: linear-gradient(135deg, var(--tm-sky), var(--tm-blue));
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.tm-chip__dot--live { background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
.tm-chip--gradient {
	background: linear-gradient(135deg, var(--tm-blue) 0%, var(--tm-blue-700) 100%);
	color: #fff; border-color: transparent;
	box-shadow: 0 16px 34px -12px rgba(37, 99, 235, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.tm-chip .tm-icon { color: var(--tm-blue); }
.tm-chip--gradient .tm-icon { color: #fff; }

/* Mini glass card floating in the mid-ground */
.tm-mini {
	width: 190px;
	padding: 15px 17px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--tm-line-blue);
	box-shadow: var(--tm-sh-lg), inset 0 1px 0 #fff;
}
.tm-mini__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tm-faint); margin-bottom: 8px; }
.tm-mini__row { display: flex; align-items: center; gap: 10px; }
.tm-mini__name { font-size: 0.86rem; font-weight: 700; color: var(--tm-navy-deep); }
.tm-mini__sub { font-size: 0.74rem; color: var(--tm-muted); }

/* Hero scene positions — kept in one place so the composition is readable */
.tm-pos--chip-match     { top: 12%;  right: -2%; --z: 150px; }
.tm-pos--chip-verified  { top: 30%;  left: -8%;  --z: 120px; }
.tm-pos--chip-years     { bottom: 26%; left: -6%; --z: 100px; }
.tm-pos--chip-top       { bottom: 8%; right: 4%;  --z: 130px; }
.tm-pos--chip-available { top: 2%;   left: 12%;  --z: 90px; }
.tm-pos--mini-a         { top: 60%;  right: -6%; --z: 60px; }
.tm-pos--mini-b         { top: 4%;   right: 22%; --z: 40px; }

/* --------------------------------------------------------------------------
   8. Trust bar
   -------------------------------------------------------------------------- */
.tm-trust { padding: clamp(48px, 5vw, 72px) 0; background: var(--tm-white); }
.tm-trust__label {
	text-align: center; font-size: 0.78rem; font-weight: 700;
	letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--tm-faint); margin-bottom: 30px;
}
.tm-trust__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 16px;
}
.tm-trust__item {
	display: grid; place-items: center;
	min-height: 82px; padding: 18px 22px;
	background: #fff;
	border: 1px solid var(--tm-line);
	border-radius: var(--tm-r);
	box-shadow: var(--tm-sh-sm);
	font-weight: 800; font-size: 0.98rem;
	color: var(--tm-faint);
	letter-spacing: -0.01em;
	transition: transform 0.35s var(--tm-ease), box-shadow 0.35s var(--tm-ease), color 0.35s;
}
.tm-trust__item:hover {
	transform: translateY(-5px);
	box-shadow: var(--tm-sh-md);
	color: var(--tm-blue-700);
	border-color: var(--tm-line-blue);
}

/* --------------------------------------------------------------------------
   9. Audience split — employers / candidates
   -------------------------------------------------------------------------- */
.tm-aud { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.tm-aud__card {
	position: relative;
	overflow: hidden;
	padding: 40px;
	border-radius: var(--tm-r-lg);
	border: 1px solid var(--tm-line-blue);
	box-shadow: var(--tm-sh-md);
	background: linear-gradient(165deg, #fff 0%, var(--tm-ice-50) 100%);
	transition: transform 0.42s var(--tm-ease), box-shadow 0.42s var(--tm-ease);
}
.tm-aud__card:hover { transform: translateY(-6px) scale(1.005); box-shadow: var(--tm-sh-lg); }

.tm-aud__kicker {
	font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em;
	text-transform: uppercase; color: var(--tm-blue-600); margin-bottom: 14px;
}
.tm-aud__card h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); font-weight: 800; margin-bottom: 12px; }
.tm-aud__card p { color: var(--tm-muted); margin-bottom: 24px; }

.tm-aud__list { list-style: none; margin: 0 0 28px; padding: 0; }
.tm-aud__list li {
	display: flex; align-items: flex-start; gap: 11px;
	padding: 8px 0; font-size: 0.95rem; font-weight: 600; color: var(--tm-navy);
}
.tm-aud__list .tm-icon {
	flex: 0 0 20px; margin-top: 3px; color: var(--tm-blue);
	stroke-width: 2.6;
}

/* The little 3D diagram inside each audience card */
.tm-aud__viz {
	position: relative;
	height: 150px; margin-bottom: 28px;
	perspective: 800px;
}
.tm-aud__viz-inner {
	position: absolute; inset: 0;
	transform-style: preserve-3d;
	transform: rotateX(12deg);
}
.tm-node {
	position: absolute;
	display: grid; place-items: center;
	border-radius: 16px;
	background: #fff;
	border: 1px solid var(--tm-line-blue);
	box-shadow: var(--tm-sh-md), inset 0 1px 0 #fff;
	color: var(--tm-blue-600);
	font-size: 0.72rem; font-weight: 800;
	padding: 10px 14px;
}
.tm-node--accent {
	background: linear-gradient(135deg, var(--tm-blue), var(--tm-blue-700));
	color: #fff; border-color: transparent;
	box-shadow: 0 16px 32px -12px rgba(37, 99, 235, 0.6);
}
.tm-aud__viz svg { position: absolute; inset: 0; overflow: visible; }
.tm-aud__viz svg path {
	fill: none; stroke: rgba(37, 99, 235, 0.28);
	stroke-width: 1.5; stroke-dasharray: 4 6;
	animation: tm-dash 6s linear infinite;
}

/* --------------------------------------------------------------------------
   10. Process — one connected system
   -------------------------------------------------------------------------- */
.tm-process { position: relative; }
.tm-process__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

/* The thin blue path threading all four steps */
.tm-process__track::before {
	content: '';
	position: absolute;
	top: 46px; left: 8%; right: 8%;
	height: 2px;
	background: linear-gradient(90deg,
		rgba(37, 99, 235, 0) 0%,
		rgba(37, 99, 235, 0.35) 12%,
		rgba(37, 99, 235, 0.35) 88%,
		rgba(37, 99, 235, 0) 100%);
	z-index: 0;
}

.tm-step { position: relative; z-index: 1; text-align: center; }
.tm-step__num {
	font-size: 0.72rem; font-weight: 800; letter-spacing: 0.16em;
	color: var(--tm-sky); margin-bottom: 14px;
}
.tm-step__orb {
	width: 92px; height: 92px; margin: 0 auto 22px;
	border-radius: 30px;
	display: grid; place-items: center;
	color: var(--tm-blue-700);
	background: linear-gradient(155deg, #fff 0%, #F4F9FF 45%, var(--tm-ice) 100%);
	border: 1px solid var(--tm-line-blue);
	box-shadow:
		0 20px 40px -14px rgba(37, 99, 235, 0.32),
		inset 0 2px 0 #fff,
		inset 0 -4px 10px rgba(37, 99, 235, 0.12);
	transition: transform 0.45s var(--tm-ease), box-shadow 0.45s var(--tm-ease);
}
.tm-step:hover .tm-step__orb {
	transform: translateY(-7px) scale(1.04);
	box-shadow: 0 30px 54px -16px rgba(37, 99, 235, 0.44), inset 0 2px 0 #fff;
}
.tm-step h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 8px; letter-spacing: 0.02em; }
.tm-step p { font-size: 0.92rem; color: var(--tm-muted); margin: 0; }

/* --------------------------------------------------------------------------
   11. Services
   -------------------------------------------------------------------------- */
.tm-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tm-services .tm-card { display: flex; flex-direction: column; }
.tm-services .tm-card p { flex: 1; }

/* --------------------------------------------------------------------------
   12. Job cards
   -------------------------------------------------------------------------- */
.tm-jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.tm-job {
	position: relative;
	display: flex; flex-direction: column;
	padding: 28px;
	background: #fff;
	border: 1px solid var(--tm-line-blue);
	border-radius: var(--tm-r-lg);
	box-shadow: var(--tm-sh-md);
	transition: transform 0.42s var(--tm-ease), box-shadow 0.42s var(--tm-ease), border-color 0.42s;
}
.tm-job:hover {
	transform: translateY(-6px) scale(1.01);
	box-shadow: var(--tm-sh-lg);
	border-color: rgba(37, 99, 235, 0.22);
}

/* Floating match badge that lifts off the card corner */
.tm-job__match {
	position: absolute; top: -12px; right: 20px;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 15px;
	border-radius: var(--tm-r-pill);
	background: linear-gradient(135deg, var(--tm-blue) 0%, var(--tm-blue-700) 100%);
	color: #fff; font-size: 0.78rem; font-weight: 800;
	box-shadow: 0 12px 26px -10px rgba(37, 99, 235, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: transform 0.42s var(--tm-ease);
}
.tm-job:hover .tm-job__match { transform: translateY(-3px); }

.tm-job__title { font-size: 1.18rem; font-weight: 800; color: var(--tm-navy-deep); margin: 6px 0 6px; }
.tm-job__co { font-size: 0.92rem; font-weight: 600; color: var(--tm-blue-600); margin-bottom: 18px; }

.tm-job__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tm-job__fact {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 0.79rem; font-weight: 600; color: var(--tm-muted);
	background: var(--tm-surface); border: 1px solid var(--tm-line);
	padding: 6px 11px; border-radius: var(--tm-r-pill);
}
.tm-job__fact .tm-icon { width: 14px; height: 14px; color: var(--tm-faint); }

.tm-job__salary {
	font-size: 1.02rem; font-weight: 800; color: var(--tm-navy-deep);
	padding-top: 18px; margin-top: auto;
	border-top: 1px solid var(--tm-line);
	margin-bottom: 18px;
}
.tm-job__salary span { font-size: 0.8rem; font-weight: 600; color: var(--tm-faint); }

/* Job filter bar */
.tm-filters {
	display: flex; flex-wrap: wrap; gap: 12px;
	padding: 20px;
	background: #fff; border: 1px solid var(--tm-line-blue);
	border-radius: var(--tm-r); box-shadow: var(--tm-sh-md);
	margin-bottom: 34px;
}
.tm-filters input, .tm-filters select {
	flex: 1 1 190px; min-width: 0;
	padding: 13px 16px;
	border: 1px solid var(--tm-line); border-radius: 12px;
	font: inherit; font-size: 0.94rem; color: var(--tm-text);
	background: var(--tm-surface);
}
.tm-filters input:focus, .tm-filters select:focus {
	outline: none; border-color: var(--tm-blue);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
	background: #fff;
}

/* --------------------------------------------------------------------------
   13. Stats
   -------------------------------------------------------------------------- */
.tm-stats-sec { position: relative; overflow: hidden; }
.tm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.tm-stat { position: relative; text-align: center; padding: 34px 20px; }

/* Soft 3D orb sitting behind each number */
.tm-stat::before {
	content: '';
	position: absolute; top: 6px; left: 50%;
	width: 130px; height: 130px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle at 34% 30%, #fff 0%, var(--tm-ice-50) 40%, var(--tm-ice) 100%);
	box-shadow: 0 24px 48px -20px rgba(37, 99, 235, 0.4), inset 0 2px 0 #fff;
	z-index: 0;
	opacity: 0.75;
}
.tm-stat > * { position: relative; z-index: 1; }

.tm-stat__num {
	font-size: clamp(2.8rem, 5vw, 4.2rem);
	font-weight: 800; line-height: 1;
	letter-spacing: -0.04em;
	background: linear-gradient(160deg, var(--tm-navy-deep) 0%, var(--tm-blue) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	margin-bottom: 10px;
}
.tm-stat__label {
	font-size: 0.9rem; font-weight: 700; color: var(--tm-muted);
	letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   14. Testimonials — slightly overlapping editorial cards
   -------------------------------------------------------------------------- */
.tm-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
/* Stagger the middle card upward for an editorial rhythm */
.tm-quotes > :nth-child(2) { transform: translateY(-26px); }
.tm-quotes > :nth-child(2):hover { transform: translateY(-32px) scale(1.01); }

.tm-quote__stars { display: flex; gap: 3px; color: #F5A623; margin-bottom: 16px; }
.tm-quote__stars .tm-icon { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.tm-quote blockquote {
	margin: 0 0 22px; font-size: 1rem; line-height: 1.7;
	color: var(--tm-navy); font-weight: 500;
}
.tm-quote__who { display: flex; align-items: center; gap: 13px; padding-top: 20px; border-top: 1px solid var(--tm-line); }
.tm-quote__name { font-weight: 800; font-size: 0.95rem; color: var(--tm-navy-deep); }
.tm-quote__role { font-size: 0.82rem; color: var(--tm-muted); }

/* --------------------------------------------------------------------------
   15. Resume upload
   -------------------------------------------------------------------------- */
.tm-resume__grid {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: clamp(32px, 5vw, 72px); align-items: center;
}

/* The floating document above its platform */
.tm-doc-stage { position: relative; min-height: 400px; perspective: 1200px; }
.tm-doc-stage__inner { position: absolute; inset: 0; transform-style: preserve-3d; }

/* Elliptical "platform" the document hovers over */
.tm-platform {
	position: absolute; bottom: 34px; left: 50%;
	width: 320px; height: 96px;
	transform: translateX(-50%) rotateX(74deg);
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.24) 0%, rgba(37, 99, 235, 0.06) 55%, transparent 72%);
	filter: blur(6px);
}

.tm-doc {
	position: absolute;
	top: 46%; left: 50%;
	width: min(280px, 74vw);
	transform: translate(-50%, -50%);
	padding: 26px;
	border-radius: var(--tm-r-lg);
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--tm-line-blue);
	box-shadow: var(--tm-sh-xl), inset 0 1px 0 #fff;
}
.tm-doc__head { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--tm-line); }
.tm-doc__ico {
	width: 46px; height: 46px; flex: 0 0 46px;
	display: grid; place-items: center; border-radius: 14px;
	background: linear-gradient(145deg, var(--tm-sky), var(--tm-blue));
	color: #fff;
	box-shadow: 0 10px 22px -8px rgba(37, 99, 235, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.tm-doc__name { font-weight: 800; font-size: 0.95rem; color: var(--tm-navy-deep); }
.tm-doc__size { font-size: 0.78rem; color: var(--tm-faint); }

.tm-doc__steps { list-style: none; margin: 0; padding: 0; }
.tm-doc__steps li {
	display: flex; align-items: center; gap: 11px;
	padding: 9px 0; font-size: 0.88rem; font-weight: 600; color: var(--tm-navy);
}
.tm-doc__tick {
	width: 22px; height: 22px; flex: 0 0 22px;
	display: grid; place-items: center; border-radius: 50%;
	background: linear-gradient(135deg, #34D399, #10B981);
	color: #fff;
	box-shadow: 0 4px 10px -3px rgba(16, 185, 129, 0.6);
}
.tm-doc__tick .tm-icon { width: 13px; height: 13px; stroke-width: 3.2; }

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */
.tm-form { display: grid; gap: 16px; }
.tm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.tm-field label {
	display: block; font-size: 0.84rem; font-weight: 700;
	color: var(--tm-navy); margin-bottom: 7px;
}
.tm-field input,
.tm-field select,
.tm-field textarea {
	width: 100%;
	padding: 14px 16px;
	font: inherit; font-size: 0.96rem; color: var(--tm-text);
	background: var(--tm-surface);
	border: 1px solid var(--tm-line);
	border-radius: 13px;
	transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.tm-field textarea { min-height: 130px; resize: vertical; }
.tm-field input:focus,
.tm-field select:focus,
.tm-field textarea:focus {
	outline: none; background: #fff;
	border-color: var(--tm-blue);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.tm-field input[aria-invalid="true"],
.tm-field textarea[aria-invalid="true"] { border-color: #DC2626; }

/* Drag-and-drop file well */
.tm-drop {
	position: relative;
	display: grid; place-items: center; gap: 8px;
	padding: 30px 20px; text-align: center;
	background: var(--tm-ice-50);
	border: 2px dashed rgba(37, 99, 235, 0.3);
	border-radius: var(--tm-r);
	cursor: pointer;
	transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.tm-drop:hover, .tm-drop.is-drag { border-color: var(--tm-blue); background: #E8F1FF; transform: translateY(-2px); }
.tm-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tm-drop__ico { color: var(--tm-blue); }
.tm-drop__text { font-size: 0.92rem; font-weight: 700; color: var(--tm-navy); }
.tm-drop__hint { font-size: 0.79rem; color: var(--tm-muted); }

.tm-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--tm-muted); }
.tm-consent input { margin-top: 4px; accent-color: var(--tm-blue); width: 17px; height: 17px; }

.tm-form__msg {
	display: none;
	padding: 14px 18px; border-radius: 13px;
	font-size: 0.92rem; font-weight: 600;
}
.tm-form__msg.is-ok   { display: block; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.tm-form__msg.is-err  { display: block; background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

.tm-btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

/* --------------------------------------------------------------------------
   17. Employer CTA
   -------------------------------------------------------------------------- */
.tm-cta {
	position: relative; overflow: hidden;
	border-radius: 32px;
	padding: clamp(48px, 6vw, 80px);
	text-align: center;
	background:
		radial-gradient(700px 400px at 50% -20%, rgba(255, 255, 255, 0.28) 0%, transparent 70%),
		linear-gradient(135deg, var(--tm-blue) 0%, var(--tm-blue-700) 55%, var(--tm-navy) 100%);
	box-shadow: 0 40px 90px -30px rgba(30, 64, 175, 0.6);
}
.tm-cta h2 { color: #fff; }
.tm-cta p { color: rgba(255, 255, 255, 0.86); max-width: 60ch; margin-inline: auto; margin-bottom: 32px; font-size: 1.08rem; }
.tm-cta .tm-actions { justify-content: center; }
.tm-cta__net { position: absolute; inset: 0; opacity: 0.3; pointer-events: none; }
.tm-cta__net path { fill: none; stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; stroke-dasharray: 4 8; animation: tm-dash 8s linear infinite; }
.tm-cta__net circle { fill: rgba(255, 255, 255, 0.75); }
.tm-cta > .tm-container { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   18. Contact
   -------------------------------------------------------------------------- */
.tm-contact__grid {
	display: grid; grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(30px, 4vw, 56px); align-items: start;
}

.tm-info { display: grid; gap: 16px; }
.tm-info__item {
	display: flex; gap: 16px;
	padding: 24px;
	background: #fff; border: 1px solid var(--tm-line-blue);
	border-radius: var(--tm-r); box-shadow: var(--tm-sh-sm);
	transition: transform 0.35s var(--tm-ease), box-shadow 0.35s var(--tm-ease);
}
.tm-info__item:hover { transform: translateY(-4px); box-shadow: var(--tm-sh-md); }
.tm-info__ico {
	width: 48px; height: 48px; flex: 0 0 48px;
	display: grid; place-items: center; border-radius: 15px;
	color: var(--tm-blue-600);
	background: linear-gradient(155deg, #fff, var(--tm-ice));
	border: 1px solid var(--tm-line-blue);
	box-shadow: 0 8px 18px -7px rgba(37, 99, 235, 0.35), inset 0 1px 0 #fff;
}
.tm-info__item h3 { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tm-faint); margin-bottom: 7px; }
.tm-info__item address, .tm-info__item p { font-style: normal; margin: 0; font-size: 0.98rem; font-weight: 600; color: var(--tm-navy); line-height: 1.6; }
.tm-info__item a { color: var(--tm-navy); font-weight: 700; }
.tm-info__item a:hover { color: var(--tm-blue); }

/* Abstract 3D office/location visual */
.tm-locale {
	position: relative; height: 220px; margin-bottom: 20px;
	border-radius: var(--tm-r-lg); overflow: hidden;
	background: linear-gradient(165deg, var(--tm-ice-50), var(--tm-ice));
	border: 1px solid var(--tm-line-blue);
	box-shadow: var(--tm-sh-md);
	perspective: 800px;
	display: grid; place-items: center;
}
.tm-locale__pin {
	position: relative; z-index: 2;
	width: 76px; height: 76px;
	display: grid; place-items: center; border-radius: 26px;
	color: #fff;
	background: linear-gradient(145deg, var(--tm-sky), var(--tm-blue) 55%, var(--tm-blue-700));
	box-shadow: 0 22px 44px -14px rgba(37, 99, 235, 0.65), inset 0 2px 0 rgba(255, 255, 255, 0.35);
	animation: tm-float 5s ease-in-out infinite;
	--lift: -10px;
}
/* Radar rings pulsing out from the pin */
.tm-locale__wave {
	position: absolute; top: 50%; left: 50%;
	width: 90px; height: 90px; margin: -45px 0 0 -45px;
	border-radius: 50%;
	border: 1.5px solid rgba(37, 99, 235, 0.35);
	animation: tm-pulse 3.6s ease-out infinite;
}
.tm-locale__wave:nth-child(2) { animation-delay: 1.2s; }
.tm-locale__wave:nth-child(3) { animation-delay: 2.4s; }
@keyframes tm-pulse {
	from { transform: scale(0.5); opacity: 0.8; }
	to   { transform: scale(3.4); opacity: 0; }
}

.tm-form-card { padding: clamp(28px, 3.5vw, 42px); }

/* --------------------------------------------------------------------------
   19. Footer — light, never black
   -------------------------------------------------------------------------- */
.tm-footer {
	background: var(--tm-surface);
	border-top: 1px solid var(--tm-line);
	padding: clamp(56px, 6vw, 84px) 0 0;
}
.tm-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
	gap: 40px 26px;
	padding-bottom: 52px;
}
.tm-footer__logo img { height: 62px; width: auto; margin-bottom: 22px; }
.tm-footer__about { font-size: 0.93rem; color: var(--tm-muted); max-width: 34ch; margin-bottom: 20px; }

.tm-footer h4 {
	font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em;
	text-transform: uppercase; color: var(--tm-navy-deep); margin-bottom: 18px;
}
.tm-footer ul { list-style: none; margin: 0; padding: 0; }
.tm-footer li { margin-bottom: 11px; }
.tm-footer li a, .tm-footer__contact a {
	font-size: 0.93rem; color: var(--tm-muted); font-weight: 500;
	transition: color 0.22s, transform 0.22s;
	display: inline-block;
}
.tm-footer li a:hover { color: var(--tm-blue); transform: translateX(3px); }

.tm-footer__contact address { font-style: normal; font-size: 0.93rem; color: var(--tm-muted); line-height: 1.75; margin-bottom: 14px; }
.tm-footer__contact a { display: block; font-weight: 700; color: var(--tm-navy); margin-bottom: 6px; }
.tm-footer__contact a:hover { color: var(--tm-blue); }

.tm-footer__bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 14px; padding: 24px 0 30px;
	border-top: 1px solid var(--tm-line);
	font-size: 0.87rem; color: var(--tm-faint);
}
.tm-footer__bar nav { display: flex; flex-wrap: wrap; gap: 22px; }
.tm-footer__bar a { color: var(--tm-faint); }
.tm-footer__bar a:hover { color: var(--tm-blue); }

/* --------------------------------------------------------------------------
   19b. Floating WhatsApp button
   Sits below the mobile nav (z 190) but above page content.
   -------------------------------------------------------------------------- */
.tm-wa {
	position: fixed;
	z-index: 150;
	right: max(20px, env(safe-area-inset-right));
	bottom: max(20px, env(safe-area-inset-bottom));
	display: flex; align-items: center; gap: 0;
	width: 60px; height: 60px;
	border-radius: var(--tm-r-pill);
	background: linear-gradient(145deg, #34D97A 0%, #25D366 45%, #128C7E 100%);
	color: #fff;
	box-shadow:
		0 14px 32px -8px rgba(18, 140, 126, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.3);
	overflow: hidden;
	transition: width 0.42s var(--tm-ease), transform 0.32s var(--tm-ease), box-shadow 0.32s var(--tm-ease);
}

.tm-wa__ico {
	flex: 0 0 60px;
	display: grid; place-items: center;
	width: 60px; height: 60px;
}
.tm-wa__ico svg { width: 30px; height: 30px; }

/* Label slides out on hover — hidden until then so the resting state is a clean pill. */
.tm-wa__label {
	white-space: nowrap;
	font-weight: 700; font-size: 0.92rem;
	padding-right: 22px;
	opacity: 0;
	transition: opacity 0.28s var(--tm-ease);
}

.tm-wa:hover, .tm-wa:focus-visible {
	width: 218px;
	transform: translateY(-3px);
	box-shadow: 0 20px 40px -10px rgba(18, 140, 126, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.tm-wa:hover .tm-wa__label,
.tm-wa:focus-visible .tm-wa__label { opacity: 1; }

/* Soft outward pulse, so the button reads as live without being loud. */
.tm-wa::before {
	content: '';
	position: absolute; inset: 0;
	border-radius: inherit;
	border: 2px solid rgba(37, 211, 102, 0.55);
	animation: tm-wa-pulse 2.8s ease-out infinite;
	pointer-events: none;
}
@keyframes tm-wa-pulse {
	0%   { transform: scale(1);    opacity: 0.7; }
	70%  { transform: scale(1.35); opacity: 0; }
	100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 680px) {
	.tm-wa {
		width: 56px; height: 56px;
		right: max(16px, env(safe-area-inset-right));
		bottom: max(16px, env(safe-area-inset-bottom));
	}
	.tm-wa__ico { flex-basis: 56px; width: 56px; height: 56px; }
	.tm-wa__ico svg { width: 28px; height: 28px; }
	/* No hover on touch — keep it a plain circle so it never covers content. */
	.tm-wa:hover { width: 56px; transform: none; }
	.tm-wa:hover .tm-wa__label { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.tm-wa::before { animation: none; opacity: 0; }
}

@media print { .tm-wa { display: none; } }

/* --------------------------------------------------------------------------
   20. Scroll reveal
   -------------------------------------------------------------------------- */
.tm-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.75s var(--tm-ease), transform 0.75s var(--tm-ease);
}
.tm-reveal.is-in { opacity: 1; transform: none; }
/* Stagger children of a revealed grid */
.tm-reveal[data-delay="1"] { transition-delay: 0.09s; }
.tm-reveal[data-delay="2"] { transition-delay: 0.18s; }
.tm-reveal[data-delay="3"] { transition-delay: 0.27s; }

/* --------------------------------------------------------------------------
   21. Inner page furniture
   -------------------------------------------------------------------------- */
.tm-pagehead {
	position: relative; overflow: hidden;
	padding: clamp(56px, 7vw, 96px) 0 clamp(44px, 5vw, 68px);
	text-align: center;
	background:
		radial-gradient(800px 400px at 50% 0%, var(--tm-ice-50) 0%, rgba(239, 246, 255, 0) 70%),
		var(--tm-white);
	border-bottom: 1px solid var(--tm-line);
}
.tm-pagehead h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: 16px; }
.tm-pagehead p { color: var(--tm-muted); max-width: 62ch; margin-inline: auto; font-size: 1.06rem; }
.tm-crumbs { font-size: 0.85rem; color: var(--tm-faint); margin-bottom: 18px; }
.tm-crumbs a { color: var(--tm-faint); }
.tm-crumbs a:hover { color: var(--tm-blue); }

.tm-prose { max-width: 780px; margin-inline: auto; }
.tm-prose h2 { margin-top: 1.8em; }
.tm-prose h3 { margin-top: 1.5em; }
.tm-prose ul, .tm-prose ol { padding-left: 1.3em; color: var(--tm-muted); }
.tm-prose li { margin-bottom: 0.5em; }

.tm-empty {
	text-align: center; padding: 72px 24px;
	background: var(--tm-surface); border: 1px dashed var(--tm-line);
	border-radius: var(--tm-r); color: var(--tm-muted);
}

.tm-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.tm-pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 12px; background: #fff;
	border: 1px solid var(--tm-line);
	color: var(--tm-navy); font-weight: 700; font-size: 0.92rem;
	box-shadow: var(--tm-sh-sm);
}
.tm-pagination .page-numbers.current,
.tm-pagination .page-numbers:hover {
	background: var(--tm-blue); color: #fff; border-color: transparent;
}

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.tm-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.tm-services { grid-template-columns: repeat(2, 1fr); }
	.tm-jobs { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
	.tm-nav, .tm-header__cta .tm-btn--ghost { display: none; }
	.tm-burger { display: flex; }

	.tm-hero__grid { grid-template-columns: 1fr; }
	.tm-hero__copy { text-align: center; }
	.tm-hero__lede { margin-inline: auto; }
	.tm-hero .tm-actions, .tm-hero__proof { justify-content: center; }

	/* Mobile hero: simplify to card + 3 chips + sphere. Nothing overlaps the CTAs,
	   and the scene sits *below* the copy so the buttons stay above the fold. */
	.tm-scene { min-height: 430px; margin-top: 12px; }
	.tm-sphere { width: 300px; height: 300px; }
	.tm-ring--a { width: 380px; height: 380px; }
	.tm-ring--b { display: none; }
	.tm-net { display: none; }
	.tm-pos--chip-available,
	.tm-pos--mini-a,
	.tm-pos--mini-b { display: none; }
	.tm-pos--chip-match    { top: 8%;  right: 2%; }
	.tm-pos--chip-verified { top: 26%; left: 0; }
	.tm-pos--chip-years    { bottom: 16%; left: 2%; }
	.tm-pos--chip-top      { bottom: 6%; right: 2%; }

	.tm-aud { grid-template-columns: 1fr; }
	.tm-resume__grid, .tm-contact__grid { grid-template-columns: 1fr; }
	.tm-process__track { grid-template-columns: repeat(2, 1fr); gap: 34px; }
	.tm-process__track::before { display: none; }
	.tm-stats { grid-template-columns: repeat(2, 1fr); }
	.tm-quotes { grid-template-columns: 1fr; }
	.tm-quotes > :nth-child(2) { transform: none; }
	.tm-quotes > :nth-child(2):hover { transform: translateY(-6px) scale(1.01); }
	.tm-grid--3, .tm-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.tm-header__inner { min-height: 74px; }
	.tm-logo img { height: 44px; }
	.tm-mobile-nav { inset: 74px 0 0; }
	.tm-footer__logo img { height: 54px; }
	.tm-services, .tm-jobs, .tm-grid--2, .tm-grid--3, .tm-grid--4 { grid-template-columns: 1fr; }
	.tm-footer__grid { grid-template-columns: 1fr 1fr; }
	.tm-form__row { grid-template-columns: 1fr; }
	.tm-card, .tm-job, .tm-aud__card { padding: 24px; }
	.tm-cta { border-radius: 24px; }

	.tm-scene { min-height: 380px; }
	.tm-sphere { width: 250px; height: 250px; }
	.tm-ring--a { width: 320px; height: 320px; }
	.tm-chip { padding: 9px 13px; font-size: 0.76rem; }
	.tm-pos--chip-years { display: none; }

	.tm-hero__proof { gap: 22px; }
	.tm-actions .tm-btn { width: 100%; }
	.tm-doc-stage { min-height: 330px; }
}

@media (max-width: 420px) {
	.tm-footer__grid { grid-template-columns: 1fr; }
	.tm-stats { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   23. Reduced motion — everything decorative stops.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.tm-reveal { opacity: 1; transform: none; }
	.tm-scene__world { transform: none !important; }
	.tm-quotes > :nth-child(2) { transform: none; }
	.tm-match__fill { transform: scaleX(1); }

	/* Keep hover affordances legible without movement */
	.tm-card:hover, .tm-job:hover, .tm-aud__card:hover,
	.tm-btn:hover, .tm-trust__item:hover, .tm-info__item:hover {
		transform: none;
	}
}

/* Coarse pointers get no parallax at all — it only responds to a real cursor. */
@media (pointer: coarse) {
	.tm-scene__world { transform: none; }
}

/* --------------------------------------------------------------------------
   24. Print
   -------------------------------------------------------------------------- */
@media print {
	.tm-header, .tm-footer__grid, .tm-scene, .tm-cta, .tm-burger { display: none; }
	body { font-size: 12pt; }
	.tm-card, .tm-job { box-shadow: none; border: 1px solid #ccc; }
}
