/* TigarBlogger Premium – tb.css
   Motion = transform + opacity only. No animation libraries. */

:root {
	--navy-950: #060f22;
	--navy-900: #0a1630;
	--navy-800: #0f2147;
	--navy-700: #17306a;
	--teal: #14e0b0;
	--teal-600: #0bbf94;
	--teal-700: #089877;
	--cyan: #22c8f0;
	--ink: #0d1b36;
	--muted: #5a6985;
	--line: #e3e9f3;
	--bg: #ffffff;
	--tint: #f4f8fc;
	--radius: 18px;
	--shadow-sm: 0 1px 2px rgba(10, 22, 48, .06), 0 4px 14px rgba(10, 22, 48, .06);
	--shadow-md: 0 10px 30px rgba(10, 22, 48, .12);
	--shadow-lg: 0 24px 60px rgba(10, 22, 48, .22);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
	line-height: 1.65; font-size: 17px; overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; margin: 0; padding: 12px 18px; background: var(--teal);
	color: var(--navy-950); z-index: 9999; left: 12px; top: 12px; border-radius: 10px; font-weight: 700;
}

.tb-wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.tb-narrow { width: min(780px, 100% - 40px); }
.tb-icon { width: 1.35em; height: 1.35em; flex: none; }

/* ---------- Header ---------- */
.tb-header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h);
	background: rgba(255, 255, 255, .0); transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.admin-bar .tb-header { top: 32px; }
.tb-header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.tb-header.is-stuck {
	background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
	box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(10, 22, 48, .06);
}
.tb-home .tb-header:not(.is-stuck) { --hdr-ink: #fff; }
.tb-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.28rem; letter-spacing: -.03em; color: var(--hdr-ink, var(--ink)); transition: color .3s; }
.tb-brand b { color: var(--teal-600); font-weight: 800; }
.tb-home .tb-header:not(.is-stuck) .tb-brand b { color: var(--teal); }
.tb-brand__mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: var(--navy-950); background: linear-gradient(135deg, var(--teal), var(--cyan)); box-shadow: 0 6px 18px rgba(20, 224, 176, .45); }
.tb-brand__mark .tb-icon { width: 20px; height: 20px; }
.tb-brand__logo img { max-height: 44px; width: auto; }

.tb-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.tb-menu li { position: relative; }
.tb-menu a {
	display: block; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem;
	color: var(--hdr-ink, var(--ink)); position: relative; transition: color .25s, background .25s;
}
.tb-menu a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
	background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.tb-menu a:hover::after, .tb-menu .current-menu-item > a::after, .tb-menu a:focus-visible::after { transform: scaleX(1); }
.tb-menu a:hover { color: var(--teal-700); }
.tb-home .tb-header:not(.is-stuck) .tb-menu a:hover { color: var(--teal); }
.tb-menu .sub-menu {
	list-style: none; margin: 8px 0 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 220px;
	background: #fff; border-radius: 14px; box-shadow: var(--shadow-md); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.tb-menu li:hover > .sub-menu, .tb-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tb-menu .sub-menu a { color: var(--ink); border-radius: 10px; }
.tb-menu .sub-menu a::after { display: none; }
.tb-menu .sub-menu a:hover { background: var(--tint); }

.tb-burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; color: var(--hdr-ink, var(--ink)); }
.tb-burger__bars { position: relative; display: block; width: 22px; height: 16px; margin: auto; }
.tb-burger__bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .2s; }
.tb-burger__bars i:nth-child(1) { top: 0; }
.tb-burger__bars i:nth-child(2) { top: 7px; }
.tb-burger__bars i:nth-child(3) { top: 14px; }
.tb-burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tb-burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.tb-burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
	.tb-burger { display: block; z-index: 3; }
	.tb-nav {
		position: fixed; inset: 0; z-index: 2; padding: calc(var(--header-h) + 24px) 28px 40px;
		background: linear-gradient(160deg, var(--navy-950), var(--navy-800)); overflow-y: auto;
		clip-path: circle(0 at calc(100% - 44px) 36px); visibility: hidden;
		transition: clip-path .7s var(--ease), visibility 0s .7s;
	}
	.tb-nav.is-open { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
	.tb-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.tb-menu a { color: #fff; font-size: 1.35rem; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.tb-menu a::after { display: none; }
	.tb-menu > li { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
	.tb-nav.is-open .tb-menu > li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--k, 0) * .05s); }
	.tb-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; border: 0; margin: 0; padding: 0 0 0 14px; }
	.tb-menu .sub-menu a { color: rgba(255, 255, 255, .8); font-size: 1.05rem; }
	.tb-menu .sub-menu a:hover { background: transparent; color: var(--teal); }
	body.tb-menu-open { overflow: hidden; }
	body.tb-menu-open .tb-header { --hdr-ink: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	body.tb-menu-open .tb-brand b { color: var(--teal); }
}
@media (max-width: 782px) { .admin-bar .tb-header { top: 46px; } }

/* ---------- Buttons ---------- */
.tb-btn {
	--bd: linear-gradient(120deg, var(--teal), var(--cyan), var(--teal));
	position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px;
	font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; border: 0; isolation: isolate;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .25s; will-change: transform;
}
.tb-btn .tb-icon { width: 1.2em; height: 1.2em; transition: transform .35s var(--ease); }
.tb-btn:hover .tb-icon { transform: translateX(4px); }
.tb-btn:hover { transform: translateY(-2px); }
.tb-btn:active { transform: translateY(0) scale(.97); }
.tb-btn--primary { color: var(--navy-950); background: linear-gradient(120deg, var(--teal), var(--cyan)); box-shadow: 0 8px 24px rgba(20, 224, 176, .35); }
.tb-btn--primary:hover { color: var(--navy-950); box-shadow: 0 12px 34px rgba(20, 224, 176, .55), 0 0 0 4px rgba(20, 224, 176, .18); }
/* Glowing animated border (opacity/transform only on the glow layer) */
.tb-btn--ghost { color: #fff; background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tb-btn--ghost::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--bd); background-size: 200% 100%;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask-composite: exclude; z-index: -1;
	animation: tb-sheen 4s linear infinite; opacity: .75; transition: opacity .3s;
}
.tb-btn--ghost:hover { color: #fff; box-shadow: 0 0 28px rgba(20, 224, 176, .35); }
.tb-btn--ghost:hover::before { opacity: 1; }
.tb-btn--dark { color: #fff; background: var(--navy-900); box-shadow: var(--shadow-md); }
.tb-btn--dark:hover { color: #fff; background: var(--navy-700); box-shadow: 0 14px 36px rgba(10, 22, 48, .3), 0 0 0 4px rgba(20, 224, 176, .2); }
@keyframes tb-sheen { to { background-position: -200% 0; } }

/* ---------- Hero ---------- */
.tb-main { margin-top: calc(var(--header-h) * -1); }
.tb-inner .tb-main { margin-top: 0; }
.tb-inner .tb-header { background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 var(--line); }
.tb-hero {
	position: relative; min-height: min(100svh, 880px); display: grid; align-items: center; color: #fff; overflow: hidden;
	padding: calc(var(--header-h) + 56px) 0 96px; background: var(--navy-950); isolation: isolate;
}
.tb-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, var(--navy-800), var(--navy-950) 60%); }
.tb-blob { position: absolute; width: 56vmax; height: 56vmax; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.tb-blob--1 { left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(20, 224, 176, .8), transparent 65%); animation: tb-drift1 22s ease-in-out infinite alternate; }
.tb-blob--2 { right: -20vmax; top: -6vmax; background: radial-gradient(circle, rgba(34, 200, 240, .7), transparent 65%); animation: tb-drift2 26s ease-in-out infinite alternate; }
.tb-blob--3 { left: 22vw; bottom: -34vmax; background: radial-gradient(circle, rgba(60, 90, 220, .8), transparent 65%); animation: tb-drift3 30s ease-in-out infinite alternate; }
@keyframes tb-drift1 { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.15); } }
@keyframes tb-drift2 { to { transform: translate3d(-12vmax, 14vmax, 0) scale(.9); } }
@keyframes tb-drift3 { to { transform: translate3d(-10vmax, -10vmax, 0) scale(1.2); } }
.tb-grid {
	position: absolute; inset: 0; opacity: .35;
	background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.tb-shapes { position: absolute; inset: 0; will-change: transform; }
.tb-shape { position: absolute; display: block; will-change: transform; animation: tb-float 9s ease-in-out infinite; }
.tb-shape--sq { width: 74px; height: 74px; left: 8%; top: 24%; border-radius: 20px; border: 1.5px solid rgba(20, 224, 176, .55); background: linear-gradient(135deg, rgba(20, 224, 176, .16), transparent); transform: rotate(14deg); animation-duration: 11s; }
.tb-shape--ring { width: 120px; height: 120px; right: 9%; top: 18%; border-radius: 50%; border: 1.5px solid rgba(34, 200, 240, .5); box-shadow: inset 0 0 40px rgba(34, 200, 240, .18); animation-duration: 13s; animation-delay: -3s; }
.tb-shape--tri { width: 0; height: 0; left: 14%; bottom: 16%; border-left: 30px solid transparent; border-right: 30px solid transparent; border-bottom: 52px solid rgba(20, 224, 176, .22); animation-duration: 10s; animation-delay: -5s; }
.tb-shape--glyph { font: 700 1.5rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: rgba(255, 255, 255, .55); padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tb-shape--glyph.g1 { right: 14%; bottom: 24%; animation-duration: 12s; animation-delay: -2s; }
.tb-shape--glyph.g2 { left: 40%; top: 12%; animation-duration: 14s; animation-delay: -6s; }
.tb-shape--chip { right: 30%; bottom: 10%; width: 58px; height: 58px; display: grid !important; place-items: center; border-radius: 18px; color: var(--teal); border: 1px solid rgba(20, 224, 176, .4); background: rgba(20, 224, 176, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation-duration: 8s; animation-delay: -1s; }
@keyframes tb-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -22px; } }
.tb-particles { position: absolute; inset: 0; }
.tb-particles i {
	position: absolute; left: var(--x); bottom: -10px; width: var(--s); height: var(--s); border-radius: 50%; background: var(--teal);
	box-shadow: 0 0 10px 2px rgba(20, 224, 176, .8); opacity: 0; animation: tb-rise var(--d) linear var(--t) infinite;
}
@keyframes tb-rise { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .9; } 85% { opacity: .6; } 100% { transform: translateY(-105vh); opacity: 0; } }

.tb-hero__in { position: relative; max-width: 940px; text-align: center; }
.tb-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; letter-spacing: .02em;
	color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	animation: tb-up .8s var(--ease) both;
}
.tb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(20, 224, 176, .7); animation: tb-pulse 2.2s infinite; }
@keyframes tb-pulse { 70% { box-shadow: 0 0 0 10px rgba(20, 224, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 224, 176, 0); } }
.tb-hero__title { color: #fff; font-size: clamp(2.5rem, 7vw, 5.2rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; margin: 0 0 24px; text-wrap: balance; }
.tb-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.tb-w > span { display: inline-block; transform: translateY(110%); animation: tb-word .95s var(--ease) calc(.15s + var(--i) * .09s) forwards; }
.tb-w--grad > span { background: linear-gradient(100deg, var(--teal), var(--cyan) 60%, #8ff3da); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
@keyframes tb-word { to { transform: none; } }
@keyframes tb-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tb-hero__text { max-width: 640px; margin: 0 auto 34px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, .78); animation: tb-up .9s var(--ease) .75s both; }
.tb-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: tb-up .9s var(--ease) .95s both; }
.tb-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }

/* ---------- Sections ---------- */
.tb-section { padding: clamp(64px, 9vw, 120px) 0; overflow-x: clip; }
.tb-section--tint { background: var(--tint); }
.tb-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.tb-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
.tb-head p { color: var(--muted); font-size: 1.1rem; }
.tb-kicker { display: inline-block; margin-bottom: 12px; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-700); }
.tb-kicker--light { color: var(--teal); }

/* Scroll reveal (only hidden when JS is running) */
.js .tb-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .tb-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Stats (real data only) ---------- */
.tb-stats { padding: 8px 0 0; }
.tb-stats__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.tb-stat { padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); text-align: center; }
.tb-stat strong { display: block; font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy-900); }
.tb-stat span { color: var(--muted); font-size: .95rem; }

/* ---------- Category cards ---------- */
.tb-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tb-cat {
	position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: 22px; text-decoration: none; color: var(--ink);
	background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
	transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.tb-cat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 80%) var(--my, 0%), rgba(20, 224, 176, .16), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tb-cat:hover, .tb-cat:focus-visible, .tb-cat:active { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(20, 224, 176, .6); color: var(--ink); }
.tb-cat:hover::before, .tb-cat:focus-visible::before { opacity: 1; }
.tb-cat__icon, .tb-serv__icon {
	width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 14px; color: var(--teal-700);
	background: linear-gradient(135deg, rgba(20, 224, 176, .18), rgba(34, 200, 240, .12)); transition: transform .5s var(--ease), background .3s, color .3s;
}
.tb-cat__icon .tb-icon, .tb-serv__icon .tb-icon { width: 28px; height: 28px; }
.tb-cat:hover .tb-cat__icon, .tb-cat:focus-visible .tb-cat__icon, .tb-serv:hover .tb-serv__icon, .tb-serv:focus-visible .tb-serv__icon { transform: translateY(-3px) rotate(-8deg) scale(1.08); color: var(--navy-950); background: linear-gradient(135deg, var(--teal), var(--cyan)); }
/* Touch-friendly: icons "breathe" once when the card scrolls into view (no hover needed) */
.js .tb-reveal.is-in .tb-cat__icon, .js .tb-reveal.is-in .tb-serv__icon { animation: tb-pop .9s var(--ease) calc(var(--i, 0) * 80ms + .25s) both; }
@keyframes tb-pop { 0% { transform: scale(.6) rotate(-12deg); } 60% { transform: scale(1.12) rotate(4deg); } 100% { transform: none; } }
.tb-cat__t { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.tb-cat__d { color: var(--muted); font-size: .98rem; }
.tb-cat__f, .tb-serv__go { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--teal-700); }
.tb-cat__f .tb-icon, .tb-serv__go .tb-icon { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.tb-cat:hover .tb-icon:last-child, .tb-serv:hover .tb-serv__go .tb-icon { transform: translateX(5px); }

/* ---------- Article cards ---------- */
.tb-grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tb-card {
	display: flex; flex-direction: column; border-radius: 22px; background: #fff; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.js .tb-card.tb-reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .45s var(--ease), border-color .3s; transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s, 0s; }
.tb-card:hover, .tb-card:focus-within { box-shadow: var(--shadow-lg); border-color: rgba(20, 224, 176, .5); }
.js .tb-card.tb-reveal.is-in:hover, .js .tb-card.tb-reveal.is-in:focus-within { transform: translateY(-8px); transition-delay: 0s; }
.tb-card:not(.tb-reveal):hover { transform: translateY(-8px); }
.tb-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.tb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tb-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 15, 34, .35), transparent 55%); opacity: 0; transition: opacity .5s; }
.tb-card:hover .tb-card__media img, .tb-card:focus-within .tb-card__media img { transform: scale(1.08); }
.tb-card:hover .tb-card__media::after { opacity: 1; }
.tb-card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--teal); background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.tb-card__ph .tb-icon { width: 52px; height: 52px; opacity: .8; }
.tb-card__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 24px; align-items: flex-start; }
.tb-badge {
	display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
	color: var(--teal-700); background: rgba(20, 224, 176, .13); transition: background .25s, color .25s;
}
.tb-badge:hover { background: var(--teal); color: var(--navy-950); }
.tb-badge--light { color: var(--teal); background: rgba(20, 224, 176, .14); }
.tb-card__title { font-size: 1.28rem; font-weight: 800; margin: 0; }
.tb-card__title a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--teal), var(--teal)) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease); }
.tb-card:hover .tb-card__title a { background-size: 100% 2px; }
.tb-card__excerpt { color: var(--muted); font-size: .98rem; margin: 0; flex: 1; }
.tb-card__meta { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.tb-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--teal-700); }
.tb-more .tb-icon { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.tb-card:hover .tb-more .tb-icon { transform: translateX(5px); }
.tb-empty { text-align: center; color: var(--muted); }

/* ---------- Featured tutorial ---------- */
.tb-feature { position: relative; color: #fff; padding: clamp(72px, 10vw, 130px) 0; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); overflow: hidden; isolation: isolate; }
.tb-feature__deco span { position: absolute; border-radius: 50%; z-index: -1; filter: blur(2px); }
.tb-feature__deco .d1 { width: 520px; height: 520px; left: -160px; top: -200px; background: radial-gradient(circle, rgba(20, 224, 176, .35), transparent 65%); animation: tb-drift1 20s ease-in-out infinite alternate; }
.tb-feature__deco .d2 { width: 420px; height: 420px; right: -120px; bottom: -160px; background: radial-gradient(circle, rgba(34, 200, 240, .3), transparent 65%); animation: tb-drift2 24s ease-in-out infinite alternate; }
.tb-feature__deco .d3 { width: 300px; height: 300px; right: 12%; top: 10%; border: 1px dashed rgba(255, 255, 255, .15); animation: tb-spin 60s linear infinite; }
@keyframes tb-spin { to { transform: rotate(360deg); } }
.tb-feature__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tb-feature h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin: 14px 0 16px; }
.tb-feature h2 a { color: inherit; text-decoration: none; }
.tb-feature h2 a:hover { color: var(--teal); }
.tb-feature p { color: rgba(255, 255, 255, .78); font-size: 1.1rem; }
.tb-feature .tb-cta { justify-content: flex-start; margin-top: 26px; animation: none; }
.tb-feature__media { position: relative; }
.tb-feature__frame { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .12); will-change: transform; }
.tb-feature__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.tb-float {
	position: absolute; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; color: var(--teal);
	background: rgba(15, 33, 71, .7); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-md); animation: tb-float 7s ease-in-out infinite;
}
.tb-float .tb-icon { width: 28px; height: 28px; }
.tb-float--a { left: -26px; top: 12%; }
.tb-float--b { right: -20px; bottom: 10%; animation-delay: -3s; color: var(--cyan); }

/* ---------- Services ---------- */
.tb-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tb-serv {
	position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px; border-radius: 22px; text-decoration: none; color: var(--ink); overflow: hidden;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--line), var(--line)) border-box; border: 1px solid transparent; box-shadow: var(--shadow-sm);
	transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s, background .4s;
}
.tb-serv:hover, .tb-serv:focus-visible, .tb-serv:active { transform: translateY(-6px); box-shadow: var(--shadow-md); background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--teal), var(--cyan)) border-box; color: var(--ink); }
.tb-serv__t { font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.tb-serv__d { color: var(--muted); font-size: .98rem; }

/* ---------- About ---------- */
.tb-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.tb-about__art { position: relative; aspect-ratio: 1; width: min(100%, 420px); min-width: 0; margin-inline: auto; }
.tb-about__art .a1 { position: absolute; inset: 6%; border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%; background: linear-gradient(135deg, var(--teal), var(--cyan)); opacity: .9; animation: tb-morph 14s ease-in-out infinite alternate; }
.tb-about__art .a2 { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(10, 22, 48, .25); animation: tb-spin 50s linear infinite; }
.tb-about__art .a3 { position: absolute; inset: 0; display: grid; place-items: center; color: var(--navy-950); }
.tb-about__art .a3 .tb-icon { width: 34%; height: 34%; stroke-width: 1.4; }
@keyframes tb-morph { 50% { border-radius: 58% 42% 38% 62% / 52% 58% 42% 48%; transform: rotate(10deg) scale(1.03); } 100% { border-radius: 44% 56% 62% 38% / 60% 40% 60% 40%; transform: rotate(-8deg); } }
.tb-about__txt h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
.tb-about__txt p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Inner pages ---------- */
.tb-pagehead { color: #fff; padding: calc(var(--header-h) + 54px) 0 64px; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); position: relative; overflow: hidden; }
.tb-pagehead::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(20, 224, 176, .35), transparent 65%); }
.tb-pagehead .tb-wrap { position: relative; }
.tb-pagehead h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin: 8px 0 0; text-wrap: balance; }
.tb-pagehead p { color: rgba(255, 255, 255, .78); }
.tb-pagehead--post .tb-badge { margin-bottom: 14px; }
.tb-postmeta { margin-top: 14px; font-size: .95rem; color: rgba(255, 255, 255, .7) !important; }
.tb-crumbs { font-size: .88rem; } .tb-crumbs a { color: var(--teal); }
.tb-single__img { margin: -36px 0 36px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.tb-single__img img { width: 100%; }
.tb-page .tb-prose { padding-top: 48px; }
.tb-prose { font-size: 1.1rem; padding-bottom: 20px; }
.tb-prose h2 { font-size: 1.8rem; margin-top: 2em; } .tb-prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.tb-prose img { border-radius: 14px; } .tb-prose blockquote { margin: 1.5em 0; padding: 4px 22px; border-left: 4px solid var(--teal); color: var(--muted); }
.tb-prose pre { overflow-x: auto; padding: 18px; border-radius: 14px; background: var(--navy-900); color: #e8f1ff; }
.tb-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; } .tb-prose th, .tb-prose td { padding: 10px 14px; border: 1px solid var(--line); }
.tb-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--tint); font-size: .85rem; text-decoration: none; }
.tb-postnav { display: flex; justify-content: space-between; gap: 16px; margin: 36px 0; padding: 22px 0; border-block: 1px solid var(--line); }
.tb-postnav a { font-weight: 700; text-decoration: none; }
.tb-comments { margin: 48px 0 80px; } .tb-commentlist { list-style: none; padding: 0; }
.tb-comments input[type=text], .tb-comments input[type=email], .tb-comments input[type=url], .tb-comments textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; }
.tb-comments .submit { padding: 12px 26px; border: 0; border-radius: 999px; font-weight: 700; background: linear-gradient(120deg, var(--teal), var(--cyan)); color: var(--navy-950); cursor: pointer; }
.tb-search { display: flex; gap: 10px; max-width: 520px; margin: 24px 0; }
.tb-search input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); font: inherit; }
.tb-search button { padding: 0 24px; border: 0; border-radius: 999px; font-weight: 700; background: var(--navy-900); color: #fff; cursor: pointer; }
.tb-pager { margin-top: 48px; text-align: center; }
.tb-pager .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.tb-pager .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); transition: transform .25s var(--ease), background .25s; }
.tb-pager .page-numbers:hover { transform: translateY(-2px); background: var(--tint); }
.tb-pager .current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- Footer ---------- */
.tb-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding: 72px 0 0; }
.tb-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.tb-footer .tb-brand { color: #fff; }
.tb-footer .tb-brand b { color: var(--teal); }
.tb-footer__about p { margin-top: 16px; max-width: 360px; }
.tb-footer__title { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 16px; }
.tb-flist, .tb-legal, .tb-social { list-style: none; margin: 0; padding: 0; }
.tb-flist li { margin-bottom: 10px; }
.tb-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s, transform .25s var(--ease); display: inline-block; }
.tb-footer a:hover { color: var(--teal); transform: translateX(3px); }
.tb-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tb-social a { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); font-size: .88rem; }
.tb-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.tb-footer__bar p { margin: 0; }
.tb-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.tb-cats, .tb-services, .tb-grid-cards { grid-template-columns: repeat(2, 1fr); }
	.tb-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.tb-feature__in, .tb-about { grid-template-columns: minmax(0, 1fr); }
	.tb-feature__media { order: -1; margin: 0 20px; }
	.tb-float--a { left: -12px; } .tb-float--b { right: -8px; }
	.tb-shape--ring, .tb-shape--glyph.g2 { display: none; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.tb-cats, .tb-services, .tb-grid-cards, .tb-footer__grid { grid-template-columns: 1fr; }
	.tb-hero { padding-bottom: 72px; }
	.tb-cta .tb-btn { width: 100%; justify-content: center; }
	.tb-shape--sq { left: 4%; top: 14%; width: 52px; height: 52px; } .tb-shape--glyph.g1 { right: 4%; bottom: 8%; }
	.tb-shape--chip { display: none !important; }
	.tb-card__meta { flex-wrap: wrap; }
}

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
	.tb-w > span { transform: none; }
	.js .tb-reveal { opacity: 1; transform: none; }
	.tb-particles { display: none; }
}
