/* =========================================================
   TECHGIC THEME — main styles
   1. Tokens & base      5. Home/About sections
   2. Shared pieces      6. Post cards & post sections
   3. Header             7. Blog page, single post, pages
   4. Footer             8. Responsive & reduced motion
   ========================================================= */

/* ---------- 1. Tokens & base ---------- */
:root {
	--tg-p: #A259FF;
	--tg-ink: #262842;
	--tg-pd: color-mix(in srgb, var(--tg-p) 80%, #000);
	--tg-pdd: color-mix(in srgb, var(--tg-p) 55%, #1a0050);
	--tg-soft: color-mix(in srgb, var(--tg-p) 7%, #fff);
	--tg-line: color-mix(in srgb, var(--tg-p) 18%, #fff);
	--tg-text: #3A3C52;
	--tg-muted: #6B6E85;
	--tg-faint: #A3A5B8;
	--tg-bg: #FCFBFF;
	--tg-dark: #0F1020;
	--tg-darkcard: #191A2E;
	--tg-radius: 14px;
	--tg-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--tg-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	--tg-header-h: 72px;
	--tg-wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--tg-bg); color: var(--tg-text);
	font-family: var(--tg-font); font-size: 17px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; overflow-x: clip;
	transition: background-color .7s ease;
}
body.tg-dark { background: var(--tg-dark); }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--tg-p); }
h1, h2, h3, h4, h5, h6 { color: var(--tg-ink); font-family: var(--tg-font); line-height: 1.15; letter-spacing: -.02em; }
.tgx h1, .tgx h2, .tgx h3, .tgx p { margin: 0; }
.tgx a { color: inherit; text-decoration: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.tg-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--tg-ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.tg-skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--tg-p); outline-offset: 3px; }
.tg-wrap { width: min(var(--tg-wrap), calc(100% - 64px)); margin-left: auto; margin-right: auto; }
.tg-narrow { max-width: 760px; }
.tg-grid-bg {
	background-image: linear-gradient(rgba(38,40,66,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(38,40,66,.045) 1px, transparent 1px);
	background-size: 56px 56px; background-position: center top;
}
.tg-ico { width: 20px; height: 20px; flex: none; }

/* ---------- 2. Shared pieces ---------- */
.btn, .tg-content .wp-block-button__link, .tg-comments .btn, input[type=submit].btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--tg-p); color: #fff !important; font: 600 15px/1.3 var(--tg-font);
	padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none !important;
	box-shadow: 0 10px 24px color-mix(in srgb, var(--tg-p) 32%, transparent);
	transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { background: var(--tg-pd); transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in srgb, var(--tg-p) 42%, transparent); }
.tlink { font-weight: 600; font-size: 15px; color: var(--tg-p); text-decoration: none; }
.tlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.kick { font-family: var(--tg-mono) !important; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-p); margin-bottom: 14px; font-weight: 500; }
.tile { position: relative; width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(38,40,66,.10), 0 0 0 1px rgba(38,40,66,.04); display: flex; align-items: center; justify-content: center; }
.collage .tile, .stack .tile { position: absolute; }
.tile img { height: 28px; width: auto; }
.chat { position: relative; display: flex; gap: 10px; align-items: flex-start; background: #fff; border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: 0 10px 30px rgba(38,40,66,.10), 0 0 0 1px rgba(38,40,66,.04); font-size: 12.5px; line-height: 1.5; color: var(--tg-ink); white-space: nowrap; }
.chat .av { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--tg-ink); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.chat .av i { font-style: normal; color: var(--tg-p); }
.chat small { color: var(--tg-muted); font-size: 11px; margin-left: 4px; }
.chat strong { font-weight: 700; }
.bob { animation: tgBob 6s ease-in-out infinite; }
.bob.d1 { animation-delay: -1.5s; } .bob.d2 { animation-delay: -3s; } .bob.d3 { animation-delay: -4.5s; }
@keyframes tgBob { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
[data-rv] { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
[data-rv].in, .no-js [data-rv] { opacity: 1; transform: none; }
[data-rv="2"] { transition-delay: .12s; } [data-rv="3"] { transition-delay: .24s; } [data-rv="4"] { transition-delay: .36s; }
.win { background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(38,40,66,.10), 0 0 0 1px rgba(38,40,66,.05); overflow: hidden; }
.win .bar { height: 26px; border-bottom: 1px solid #EFEDF5; display: flex; align-items: center; gap: 5px; padding: 0 10px; }
.win .bar span { width: 7px; height: 7px; border-radius: 50%; background: #E3E0EC; }
.win .body { padding: 14px; }
.sk { height: 8px; border-radius: 4px; background: #EEEBF5; margin: 7px 0; }
.stars { color: #FFB547; font-size: 14px; letter-spacing: 2px; }
.rv-title { font-size: 13px; font-weight: 700; color: var(--tg-ink); }
.mini-k { font-size: 10px; color: var(--tg-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.code, .code * { font-family: var(--tg-mono) !important; }
.code { font-size: 11px; line-height: 1.7; color: var(--tg-muted); }
.code .k { color: var(--tg-p); } .code .s { color: #1FB57A; }
.win-pick { margin-top: 12px; background: var(--tg-soft); color: var(--tg-pd); font-weight: 700; font-size: 11px; padding: 8px 10px; border-radius: 10px; text-align: center; }
.cur { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; will-change: transform; }
.cur svg { display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.15)); }
.cur span { position: absolute; left: 14px; top: 14px; font-size: 11.5px; font-weight: 600; color: #fff; padding: 3px 8px; border-radius: 4px 6px 6px 6px; white-space: nowrap; }

/* word in a selection box (hero, 404) */
.word { text-align: left; }
.word .pre { font-size: clamp(16px,1.6vw,22px); font-weight: 600; color: var(--tg-muted); margin: 0 0 6px 6px; }
.word .box { position: relative; padding: 0 .12em .04em; border: 1.5px solid var(--tg-p); display: inline-block; }
.word .box i { position: absolute; width: 10px; height: 10px; background: #fff; border: 1.5px solid var(--tg-p); }
.word .box i:nth-child(1) { left: -6px; top: -6px; } .word .box i:nth-child(2) { right: -6px; top: -6px; }
.word .box i:nth-child(3) { left: -6px; bottom: -6px; } .word .box i:nth-child(4) { right: -6px; bottom: -6px; }
.word .box i:nth-child(5) { left: calc(50% - 5px); top: -6px; } .word .box i:nth-child(6) { left: calc(50% - 5px); bottom: -6px; }
.word .tag { position: absolute; left: -1.5px; bottom: -28px; background: var(--tg-p); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 0 6px 6px 6px; white-space: nowrap; }
.word h1 { margin: 0; font-size: clamp(76px,15vw,230px); font-weight: 800; letter-spacing: -.065em; line-height: .95; color: var(--tg-ink); white-space: nowrap; }
.word h1 span { color: var(--tg-p); }
.caret { display: inline-block; width: .06em; height: .78em; background: var(--tg-p); margin-left: .04em; vertical-align: -.02em; animation: tgBlink 1.1s steps(1) infinite; }
@keyframes tgBlink { 50% { opacity: 0; } }

/* ---------- 3. Header ---------- */
.tg-header { position: sticky; top: 0; z-index: 100; height: var(--tg-header-h); transition: background .3s, box-shadow .3s, transform .35s; }
.admin-bar .tg-header { top: 32px; }
.tg-header.is-scrolled { background: color-mix(in srgb, var(--tg-bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(38,40,66,.06); }
body:not(.tg-sections) .tg-header { background: color-mix(in srgb, var(--tg-bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(38,40,66,.06); }
.tg-header.is-hidden { transform: translateY(-110%); }
.tg-header__in { height: 100%; width: min(1320px, calc(100% - 48px)); margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.tg-brand { flex: none; display: flex; align-items: center; }
.tg-brand__text { font-weight: 800; font-size: 22px; letter-spacing: -.04em; color: var(--tg-ink); text-decoration: none; }
.tg-brand__text b { color: var(--tg-p); }
.tg-brand .custom-logo { max-height: 40px; width: auto; display: block; }
.tg-nav { flex: 1; }
.tg-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; justify-content: center; }
.tg-nav__list > li { position: relative; }
.tg-nav__list a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--tg-ink); font-size: 15px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.tg-nav__list a:hover, .tg-nav__list .current-menu-item > a, .tg-nav__list .current-menu-ancestor > a { background: var(--tg-soft); color: var(--tg-p); }
.tg-nav__list .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 220px; margin: 8px 0 0; padding: 8px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(38,40,66,.14), 0 0 0 1px rgba(38,40,66,.05); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.tg-nav__list .sub-menu a { border-radius: 8px; font-size: 14.5px; }
.tg-nav__list li:hover > .sub-menu, .tg-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tg-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tg-nav ~ .tg-header__actions { margin-left: 0; }
.tg-iconbtn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--tg-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s; }
.tg-iconbtn:hover { background: var(--tg-soft); color: var(--tg-p); }
.tg-burger { display: none; }
.tg-pill { background: var(--tg-ink); color: #fff; font-size: 13.5px; font-weight: 600; padding: 10px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 18px rgba(38,40,66,.18); transition: background .3s, transform .2s, color .3s; white-space: nowrap; }
.tg-pill:hover { background: var(--tg-p); color: #fff; transform: translateY(-1px); }
body.tg-dark .tg-header.is-scrolled { background: rgba(15,16,32,.75); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
body.tg-dark .tg-brand__text, body.tg-dark .tg-nav__list > li > a, body.tg-dark .tg-iconbtn { color: #fff; }
body.tg-dark .tg-pill { background: #fff; color: var(--tg-ink); }
.tg-searchbar { position: absolute; left: 0; right: 0; top: 100%; padding: 14px 0; background: var(--tg-bg); box-shadow: 0 12px 30px rgba(38,40,66,.08); }
.tg-searchbar .tg-search { width: min(720px, calc(100% - 32px)); margin: 0 auto; }
.tg-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.admin-bar .tg-progress { top: 32px; }
.tg-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--tg-p), #FF4FA3); }

/* search form */
.tg-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--tg-line); border-radius: 999px; padding: 6px 6px 6px 18px; transition: border-color .2s, box-shadow .2s; }
.tg-search:focus-within { border-color: var(--tg-p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tg-p) 14%, transparent); }
.tg-search .tg-ico { color: var(--tg-muted); }
.tg-search input { flex: 1; border: 0; outline: 0; background: transparent; font: 16px var(--tg-font); color: var(--tg-ink); min-width: 0; }
.tg-search button { border: 0; background: var(--tg-p); color: #fff; font: 600 14px var(--tg-font); padding: 10px 20px; border-radius: 999px; cursor: pointer; }

/* ---------- 4. Footer ---------- */
.tg-footer { border-top: 1px solid #EFEDF5; background: var(--tg-bg); padding-top: 56px; }
.tg-footer__top { display: grid; grid-template-columns: 1.3fr auto 2fr; gap: 48px; align-items: start; }
.tg-footer__brand p { color: var(--tg-muted); font-size: 15px; max-width: 340px; margin: 14px 0 0; }
.tg-footer__menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tg-footer__menu a { color: var(--tg-ink); font-weight: 500; font-size: 15px; text-decoration: none; }
.tg-footer__menu a:hover { color: var(--tg-p); }
.tg-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.tg-footer__widgets .tg-widget__title, .tg-footer__widgets h2, .tg-footer__widgets .wp-block-heading { font-family: var(--tg-mono) !important; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-muted); margin: 0 0 12px; font-weight: 500; }
.tg-footer__widgets ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tg-footer__widgets a { color: var(--tg-ink); text-decoration: none; font-size: 15px; }
.tg-footer__widgets a:hover { color: var(--tg-p); }
.tg-footer__note { font-size: 13px; color: var(--tg-faint); margin-top: 40px; margin-bottom: 0; }
.tg-footer__bottom { margin-top: 26px; border-top: 1px solid #EFEDF5; padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; align-items: center; font-family: var(--tg-mono) !important; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--tg-faint); }
.tg-footer__bottom * { font-family: var(--tg-mono) !important; }
.tg-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; flex-wrap: wrap; }
.tg-footer__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.tg-footer__legal a:hover { color: var(--tg-p); }

/* ---------- 5. Home / About sections (.tgx) ---------- */
.tgx { position: relative; overflow-x: clip; }
.tgx .sec-head { margin-bottom: 40px; }
.tgx .sec-head > * { max-width: 760px; }
.tgx .sec-head h2, .tg-posts__head h2 { font-size: clamp(36px,4.4vw,60px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; color: var(--tg-ink); }
.tgx .sec-head p, .tg-posts__head p { margin-top: 14px; color: var(--tg-muted); font-size: 17px; max-width: 560px; }
body.tg-dark .tgx .sec-head h2 { color: #fff; }

/* hero */
.tgx .hero { position: relative; height: calc(100vh - var(--tg-header-h)); min-height: 640px; margin-top: calc(var(--tg-header-h) * -1); padding-top: var(--tg-header-h); overflow: hidden;
	background-image: linear-gradient(rgba(38,40,66,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(38,40,66,.045) 1px, transparent 1px); background-size: 56px 56px; background-position: center; }
.tgx .hero { height: 100vh; }
.tgx .hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(transparent, var(--tg-bg)); pointer-events: none; }
.tgx .hero .fl { position: absolute; will-change: transform; }
.tgx .hero .word { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 5; }
.toggle { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--tg-ink); background: #fff; padding: 8px 12px; border-radius: 12px; box-shadow: 0 8px 22px rgba(38,40,66,.08); }
.toggle .sw { width: 36px; height: 20px; border-radius: 999px; background: #D9D5E6; position: relative; transition: background .35s; }
.toggle .sw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.toggle.on .sw { background: var(--tg-p); } .toggle.on .sw::after { transform: translateX(16px); }
.phone { width: 168px; height: 330px; border-radius: 28px; background: #111; padding: 8px; box-shadow: 0 20px 50px rgba(38,40,66,.22); }
.phone .scr { width: 100%; height: 100%; border-radius: 21px; background: #fff; overflow: hidden; padding: 26px 12px 12px; position: relative; }
.phone .scr::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 50px; height: 12px; border-radius: 999px; background: #111; }
.cmp { width: 100%; border-collapse: collapse; font-size: 10.5px; margin-top: 10px; }
.cmp td { padding: 7px 2px; border-bottom: 1px solid #F0EDF6; color: var(--tg-text); }
.cmp td:not(:first-child) { text-align: center; font-weight: 700; }
.cmp .y { color: #1FB57A; } .cmp .n { color: #D0CCDD; }

/* statement */
.tgx .state { position: relative; height: 230vh; }
.tgx .state .stick { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.tgx .state .dots { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--tg-p) 55%, transparent) 1.2px, transparent 1.3px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(circle 170px at var(--mx,50%) var(--my,50%), #000, transparent 75%); mask-image: radial-gradient(circle 170px at var(--mx,50%) var(--my,50%), #000, transparent 75%); pointer-events: none; }
.tgx .state .kick { position: relative; }
.tgx .state h2 { position: relative; font-size: clamp(34px,5.6vw,80px); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; max-width: 1100px; padding: 0 24px; color: #E8E5F1; }
.tgx .state h2 .w { transition: color .25s; }
.tgx .state h2 .w.on { color: var(--tg-ink); }
.tgx .state h2 .w.on.hl { color: var(--tg-p); }
.tgx .state p { position: relative; margin-top: 28px; font-size: clamp(17px,1.7vw,22px); font-weight: 600; color: #E8E5F1; transition: color .5s; }
.tgx .state p.on { color: var(--tg-muted); }

/* purple cards */
.tgx .cards { padding: 40px 0 140px; }
.tgx .cards .grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.tgx .card { position: relative; min-height: 500px; border-radius: 22px; padding: 36px 34px; color: #fff; overflow: hidden; display: flex; flex-direction: column; will-change: transform, opacity; }
.tgx .card::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -160px; bottom: -160px; background: radial-gradient(rgba(255,255,255,.22), transparent 65%); pointer-events: none; }
.tgx .card.c1 { background: linear-gradient(155deg, color-mix(in srgb, var(--tg-p) 85%, #3a00a0), var(--tg-pdd)); }
.tgx .card.c2 { background: linear-gradient(155deg, var(--tg-p), color-mix(in srgb, var(--tg-p) 75%, #3a00a0)); }
.tgx .card.c3 { background: linear-gradient(155deg, color-mix(in srgb, var(--tg-p) 55%, #fff), color-mix(in srgb, var(--tg-p) 85%, #fff)); }
.tgx .card .num { font-family: var(--tg-mono) !important; font-size: 12px; opacity: .7; margin-bottom: 28px; }
.tgx .card h3 { color: #fff; font-size: clamp(26px,2.4vw,34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.28); }
.tgx .card p { font-size: 15.5px; line-height: 1.6; opacity: .92; max-width: 330px; }
.tgx .card .go { margin-top: auto; align-self: flex-start; border: 1.5px solid rgba(255,255,255,.75); border-radius: 999px; padding: 9px 18px; font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s; }
.tgx .card .go:hover { background: #fff; color: var(--tg-pdd); }

/* dark story */
.tgx .zero { padding: 120px 0; }
.tgx .zero .box { position: relative; border-radius: 28px; background: var(--tg-darkcard); padding: 80px 64px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.05); }
.tgx .zero .box::before { content: ""; position: absolute; width: 700px; height: 700px; left: -260px; top: -300px; background: radial-gradient(color-mix(in srgb, var(--tg-p) 22%, transparent), transparent 60%); pointer-events: none; }
.tgx .zero h2 { font-size: clamp(38px,4.6vw,62px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; color: #fff; margin-bottom: 28px; display: inline-block; padding: 4px 10px; margin-left: -10px; border: 1.5px dashed transparent; transition: border-color .6s .5s, opacity .9s, transform .9s; }
.tgx .zero h2.in { border-color: color-mix(in srgb, var(--tg-p) 55%, transparent); }
.tgx .zero .lead { position: relative; font-size: clamp(18px,1.6vw,22px); font-weight: 500; color: #EDEBF7; line-height: 1.45; margin-bottom: 18px; max-width: 520px; }
.tgx .zero .small { position: relative; font-size: 15px; color: #9C9DB8; line-height: 1.65; max-width: 470px; margin-bottom: 34px; }
.tgx .zero .foot { font-size: 13px; color: #7D7E99; margin-top: 26px; }
.tgx .zero .foot b { color: var(--tg-ink); transition: color .6s; }
body.tg-dark .tgx .zero .foot b { color: #fff; }
.laptop { position: relative; width: 100%; max-width: 560px; justify-self: end; transform: translateX(18%); opacity: 0; transition: transform 1.3s cubic-bezier(.2,.7,.2,1), opacity 1s; }
.laptop.in { transform: translateX(8%); opacity: 1; }
.laptop .lid { background: #0B0B12; border-radius: 18px 18px 0 0; padding: 12px 12px 14px; box-shadow: 0 0 0 1.5px #2C2D40; }
.laptop .lid::before { content: ""; display: block; width: 70px; height: 12px; margin: -12px auto 0; background: #0B0B12; border-radius: 0 0 8px 8px; position: relative; z-index: 2; }
.laptop .screen { aspect-ratio: 16/10.4; border-radius: 6px; overflow: hidden; position: relative; background: linear-gradient(130deg, var(--tg-pdd), var(--tg-p) 45%, color-mix(in srgb, var(--tg-p) 35%, #fff) 75%, var(--tg-pd)); background-size: 240% 240%; animation: tgGrad 9s ease-in-out infinite; }
@keyframes tgGrad { 0%,100% { background-position: 0% 30%; } 50% { background-position: 100% 70%; } }
.laptop .base { height: 14px; background: linear-gradient(#3A3B4F, #1C1D2B); border-radius: 0 0 18px 18px; margin: 0 -6%; position: relative; }
.laptop .base::before { content: ""; position: absolute; left: 42%; right: 42%; top: 0; height: 5px; background: #12121C; border-radius: 0 0 6px 6px; }
.dash { position: absolute; left: 7%; right: 7%; bottom: 9%; top: 22%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.28); border-radius: 12px; padding: 14px 16px; color: #fff; }
.dash .row { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; opacity: .9; }
.dash svg { width: 100%; height: 68%; margin-top: 6px; }
.dash path.ln { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.4s .6s ease; }
.laptop.in .dash path.ln { stroke-dashoffset: 0; }

/* team */
.tgx .team { position: relative; height: 118vh; min-height: 760px; overflow: hidden; }
.tgx .team .it { position: absolute; will-change: transform; }
.role { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.role .face { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(38,40,66,.14); color: #fff; }
.role .face .tg-ico { width: 28px; height: 28px; }
.role b { font-family: var(--tg-mono) !important; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-muted); text-align: center; line-height: 1.3; max-width: 90px; }
body.tg-dark .role b { color: #9C9DB8; }
.tgx .team .head { position: absolute; left: 0; right: 0; bottom: 12%; text-align: center; z-index: 5; padding: 0 16px; }
.tgx .team h2 { font-size: clamp(44px,7vw,104px); font-weight: 800; letter-spacing: -.055em; line-height: 1; color: var(--tg-ink); transition: color .6s, opacity .9s, transform .9s; }
body.tg-dark .tgx .team h2 { color: #fff; }
.tgx .team h2 b { color: var(--tg-p); }
.tgx .team .head .btn { margin-top: 32px; }

/* honest */
.tgx .honest { padding: 140px 0 90px; }
.tgx .honest .g { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tgx .honest h2 { font-size: clamp(40px,5vw,72px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--tg-ink); margin-bottom: 24px; }
.tgx .honest p { font-size: 17px; color: var(--tg-muted); line-height: 1.65; max-width: 470px; margin-bottom: 16px; }
.checks { list-style: none; padding: 0; margin: 8px 0 34px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--tg-text); padding: 7px 0; font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 6px; background: var(--tg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23A259FF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.tgx .acts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.stack { position: relative; height: 480px; }
.stack .sc { position: absolute; top: 50%; left: 50%; width: 270px; height: 360px; border-radius: 20px; padding: 24px; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); box-shadow: 0 24px 50px rgba(38,40,66,.18); transform: translate(-50%,-50%); }
.stack .s1 { background: #fff; }
.stack .s2 { background: linear-gradient(160deg,#2B2C4A,#14152A); color: #fff; }
.stack .s3 { background: linear-gradient(160deg, color-mix(in srgb, var(--tg-p) 70%, #fff), var(--tg-pd)); color: #fff; z-index: 3; }
.stack.in .s1 { transform: translate(-112%,-46%) rotate(-9deg); }
.stack.in .s2 { transform: translate(8%,-52%) rotate(7deg); }
.stack.in .s3 { transform: translate(-50%,-50%) rotate(-1deg); }
.sc h4 { margin: 0 0 14px; font-size: 15px; font-weight: 700; color: inherit; }
.sc .li { display: flex; gap: 8px; font-size: 13px; padding: 7px 0; border-bottom: 1px solid rgba(38,40,66,.07); }
.s2 .li { border-color: rgba(255,255,255,.1); }
.sc .li em { font-style: normal; font-weight: 800; }
.s1 .li em { color: #1FB57A; } .s2 .li em { color: #FF7A9A; }
.s3 .big { font-size: 76px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 18px 0 6px; }
.s3 .bars div { height: 8px; border-radius: 4px; background: rgba(255,255,255,.25); margin: 8px 0 12px; overflow: hidden; }
.s3 .bars div i { display: block; height: 100%; background: #fff; border-radius: 4px; width: 0; transition: width 1.4s .5s cubic-bezier(.2,.7,.2,1); }
.stack.in .s3 .bars div i { width: var(--w); }
.s3 .bars span { font-size: 11.5px; opacity: .9; display: flex; justify-content: space-between; }

/* logos */
.tgx .logos { padding: 30px 0 120px; }
.tgx .logos .lbl { text-align: center; font-family: var(--tg-mono) !important; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tg-muted); margin-bottom: 38px; }
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mq .tr { display: flex; align-items: center; gap: 72px; width: max-content; animation: tgMq 38s linear infinite; }
.mq:hover .tr { animation-play-state: paused; }
.mq img { height: 38px; width: auto; max-width: none; filter: grayscale(1) contrast(.9); opacity: .55; transition: filter .3s, opacity .3s, transform .3s; }
.mq img.tall { height: 54px; }
.mq img:hover { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes tgMq { to { transform: translateX(-50%); } }
.tgx .logos .note { text-align: center; font-size: 12px; color: var(--tg-faint); margin-top: 30px; padding: 0 16px; }

/* who */
.tgx .who { padding: 30px 0 140px; }
.tgx .who .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.tgx .who h2 { font-size: clamp(36px,4.4vw,60px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; color: var(--tg-ink); }
.tgx .who .top p { max-width: 380px; color: var(--tg-muted); font-size: 16px; }
.tgx .who .grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.wc .img { height: 200px; border-radius: 18px; overflow: hidden; position: relative; }
.wc .img div { position: absolute; inset: -20%; background-size: 200% 200%; animation: tgGrad 12s ease-in-out infinite; transition: transform .8s; }
.wc:hover .img div { transform: scale(1.08); }
.wc .img span { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: var(--tg-mono) !important; font-size: 11px; color: #fff; background: rgba(15,16,32,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 999px; }
.wc h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: var(--tg-ink); margin: 20px 0 8px; line-height: 1.3; transition: color .2s; }
.wc:hover h3 { color: var(--tg-p); }
.wc p { font-size: 14.5px; color: var(--tg-muted); line-height: 1.6; }

/* shared gradients (who cards + posts without image) */
.g1 .img div, .tg-card__img.g1 div { background-image: radial-gradient(circle at 30% 70%, #FF8FD0, transparent 45%), linear-gradient(140deg, var(--tg-pdd), var(--tg-p) 50%, #FFB3E0); }
.g2 .img div, .tg-card__img.g2 div { background-image: radial-gradient(circle at 70% 30%, #7DB6FF, transparent 45%), linear-gradient(140deg, #14152A, #3B2BA8 55%, var(--tg-p)); animation-delay: -4s; }
.g3 .img div, .tg-card__img.g3 div { background-image: radial-gradient(circle at 40% 30%, #FFC27A, transparent 45%), linear-gradient(140deg, #FF6B8B, var(--tg-p) 60%, var(--tg-pdd)); animation-delay: -8s; }

/* cta */
.tgx .cta { padding: 60px 0 140px; }
.tgx .cta .g { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.collage { position: relative; height: 440px; }
.collage .it { position: absolute; }
.tgx .cta h2 { font-size: clamp(42px,5.2vw,74px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--tg-ink); margin-bottom: 22px; }
.tgx .cta p { font-size: 17px; color: var(--tg-muted); line-height: 1.65; max-width: 460px; margin-bottom: 34px; }
.tg-about-extra { padding: 20px 0 100px; }

/* ---------- 6. Post cards & post sections ---------- */
.tg-posts { padding: 40px 0 130px; }
.tg-posts__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.tg-posts__head h2 { margin: 0; }
.tg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
.tg-card { display: flex; flex-direction: column; min-width: 0; }
.tg-card__img { display: block; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; background: var(--tg-soft); }
.tg-card__img[data-grow] { aspect-ratio: auto; height: 220px; }
.tg-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s; }
.tg-card__img.is-grad div { position: absolute; inset: -20%; background-size: 200% 200%; animation: tgGrad 12s ease-in-out infinite; transition: transform .8s; }
.tg-card:hover .tg-card__img img, .tg-card:hover .tg-card__img.is-grad div { transform: scale(1.06); }
.tg-chip { position: absolute; left: 14px; bottom: 14px; z-index: 2; font-family: var(--tg-mono) !important; font-size: 11px; color: #fff; background: rgba(15,16,32,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 5px 10px; border-radius: 999px; }
.tg-card__body { padding-top: 18px; }
.tg-card__cat { font-family: var(--tg-mono) !important; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--tg-p); }
.tg-card__title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; margin: 0 0 8px; }
.tg-card__title a { color: var(--tg-ink); text-decoration: none; transition: color .2s; }
.tg-card:hover .tg-card__title a { color: var(--tg-p); }
.tg-card__excerpt { font-size: 14.5px; color: var(--tg-muted); line-height: 1.6; margin: 0 0 12px; }
.tg-card__meta { display: flex; gap: 14px; font-size: 13px; color: var(--tg-faint); }
.tg-card__meta span::before { content: "·"; margin-right: 14px; }
.tg-card.is-big { display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; }
.tg-card.is-big .tg-card__img { aspect-ratio: 16/10; }
.tg-card.is-big .tg-card__title { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.035em; }
.tg-card.is-big .tg-card__excerpt { font-size: 16px; }
.tg-card.is-row { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; }
.tg-card.is-row .tg-card__img { aspect-ratio: 4/3; border-radius: 14px; }
.tg-card.is-row .tg-card__body { padding: 0; }
.tg-card.is-row .tg-card__title { font-size: 17px; margin: 4px 0 6px; }
.tg-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.tg-feature__main .tg-card.is-big { display: flex; flex-direction: column; }
.tg-feature__main .tg-card.is-big .tg-card__body { padding-top: 22px; }
.tg-feature__main .tg-card.is-big .tg-card__img { aspect-ratio: 16/10; }
.tg-feature__side { display: grid; gap: 22px; }
.tg-feature__side > div + div { padding-top: 22px; border-top: 1px solid #EFEDF5; }
.tg-numlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid #EAE7F2; }
.tg-numlist li { border-bottom: 1px solid #EAE7F2; }
.tg-numlist a { display: grid; grid-template-columns: 64px 1fr auto 44px; gap: 18px; align-items: center; padding: 22px 8px; text-decoration: none; transition: background .25s, padding .25s; border-radius: 14px; }
.tg-numlist a:hover { background: var(--tg-soft); padding-left: 18px; }
.tg-numlist .n { font-family: var(--tg-mono) !important; color: var(--tg-p); font-size: 14px; }
.tg-numlist .t strong { display: block; color: var(--tg-ink); font-size: 20px; letter-spacing: -.02em; line-height: 1.3; }
.tg-numlist .t em { display: block; font-style: normal; color: var(--tg-muted); font-size: 14.5px; margin-top: 4px; }
.tg-numlist .m { font-size: 13px; color: var(--tg-faint); white-space: nowrap; }
.tg-numlist .go { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--tg-ink); box-shadow: 0 0 0 1px #EAE7F2; transition: background .25s, color .25s, transform .25s; }
.tg-numlist a:hover .go { background: var(--tg-p); color: #fff; transform: rotate(-45deg); }
.tg-empty { display: flex; align-items: center; gap: 14px; padding: 28px 30px; border: 1.5px dashed var(--tg-line); border-radius: 18px; background: #fff; color: var(--tg-muted); }
.tg-empty p { margin: 0; }
.tg-empty__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tg-p); box-shadow: 0 0 0 6px var(--tg-soft); animation: tgBlink 1.6s steps(1) infinite; flex: none; }

/* ---------- 7. Blog page, single post, pages ---------- */
.tg-pagehead { padding: 80px 0 56px; border-bottom: 1px solid #EFEDF5; }
.tg-pagehead h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 0; max-width: 900px; }
.tg-pagehead__intro { color: var(--tg-muted); font-size: 18px; max-width: 640px; margin-top: 18px; }
.tg-pagehead__intro p { margin: 0; }
.tg-pagehead__date { font-family: var(--tg-mono) !important; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--tg-faint); margin: 20px 0 0; }
.tg-pagehead__search { max-width: 620px; margin-top: 26px; }
.tg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tg-chips a { padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #E6E2F0; color: var(--tg-ink); font-size: 14px; font-weight: 500; text-decoration: none; transition: .2s; }
.tg-chips a:hover { box-shadow: 0 0 0 1.5px var(--tg-p); color: var(--tg-p); }
.tg-chips a.is-on { background: var(--tg-ink); color: #fff; box-shadow: none; }
.tg-blog__body { padding: 56px 0 120px; }
.tg-blog__lead { margin-bottom: 56px; padding-bottom: 56px; border-bottom: 1px solid #EFEDF5; }
.tg-blogtop { margin-bottom: 40px; }
.nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 64px; flex-wrap: wrap; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px #E6E2F0; color: var(--tg-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.page-numbers.current { background: var(--tg-p); color: #fff; box-shadow: none; }
a.page-numbers:hover { box-shadow: 0 0 0 1.5px var(--tg-p); color: var(--tg-p); }

/* single post head */
.tg-posthead { padding: 56px 0 44px; }
.tg-posthead__in { max-width: 920px; }
.tg-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--tg-faint); margin-bottom: 22px; }
.tg-crumbs a { color: var(--tg-muted); text-decoration: none; }
.tg-crumbs a:hover { color: var(--tg-p); }
.tg-posthead__title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; margin: 0; }
.tg-posthead__lead { font-size: 19px; color: var(--tg-muted); margin: 20px 0 0; max-width: 760px; }
.tg-posthead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; font-size: 14px; color: var(--tg-muted); }
.tg-posthead__meta a { color: var(--tg-ink); font-weight: 600; text-decoration: none; }
.tg-author { display: inline-flex; align-items: center; gap: 10px; }
.tg-author img { border-radius: 50%; }
.tg-read { display: inline-flex; align-items: center; gap: 6px; }
.tg-read .tg-ico { width: 16px; height: 16px; }
.tg-hero-img { margin: 0 auto 8px; }
.tg-hero-img img { width: 100%; border-radius: 22px; display: block; }

/* layout with left sidebar */
.tg-layout { padding: 48px 0 100px; }
.tg-layout.has-side { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 64px; align-items: start; }
.tg-layout.is-centered .tg-main { max-width: 760px; margin: 0 auto; }
.tg-main { min-width: 0; max-width: 780px; }
.tg-layout.has-side > .tg-side { align-self: stretch; }
.tg-side.is-sticky .tg-side__in { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; scrollbar-width: thin; padding: 0 6px 20px 0; transition: top .35s; }
body.tg-header-on .tg-side.is-sticky .tg-side__in { top: calc(var(--tg-header-h) + 24px); max-height: calc(100vh - var(--tg-header-h) - 48px); }
.admin-bar .tg-side.is-sticky .tg-side__in { top: 56px; }
.admin-bar.tg-header-on .tg-side.is-sticky .tg-side__in { top: calc(var(--tg-header-h) + 56px); }
.tg-toc__box > summary { list-style: none; cursor: default; }
.tg-toc__box > summary::-webkit-details-marker { display: none; }
.tg-toc__title { font-family: var(--tg-mono) !important; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-muted); font-weight: 500; margin-bottom: 12px; }
.tg-toc__progress { height: 3px; border-radius: 3px; background: #EEEBF5; margin-bottom: 10px; overflow: hidden; }
.tg-toc__progress i { display: block; height: 100%; width: 0; background: var(--tg-p); border-radius: 3px; transition: width .15s linear; }
.tg-toc__list { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid #EEEBF5; }
.tg-toc__item a { display: flex; gap: 10px; padding: 7px 0 7px 16px; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--tg-muted); font-size: 14px; line-height: 1.4; text-decoration: none; transition: color .2s, border-color .2s; }
.tg-toc__item.is-h3 a { padding-left: 32px; font-size: 13.5px; }
.tg-toc__num { font-family: var(--tg-mono) !important; font-size: 11.5px; color: var(--tg-faint); padding-top: 2px; flex: none; }
.tg-toc__item a:hover { color: var(--tg-ink); }
.tg-toc__item.is-active > a { color: var(--tg-p); border-left-color: var(--tg-p); font-weight: 600; }
.tg-toc__item.is-active .tg-toc__num { color: var(--tg-p); }
.tg-side__widgets { margin-top: 32px; display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; }
.tg-widget { min-width: 0; }
.tg-widget { font-size: 15px; }
.tg-side .tg-widget, .tg-slot .tg-widget { background: #fff; border-radius: var(--tg-radius); box-shadow: 0 0 0 1px #EEEBF5; padding: 20px; }
.tg-widget__title { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.tg-widget ul { padding-left: 18px; margin: 0; }
.tg-widget > *:last-child { margin-bottom: 0; }
.tg-widget a { color: var(--tg-ink); text-decoration: none; }
.tg-widget a:hover { color: var(--tg-p); }
.tg-widget input, .tg-widget select, .tg-widget textarea { max-width: 100%; }
.tg-widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.tg-widget .wp-block-search__input { min-width: 0; flex: 1; border: 1.5px solid #E6E2F0; border-radius: 10px; padding: 9px 12px; font: 15px var(--tg-font); }
.tg-widget .wp-block-search__button { margin: 0; border: 0; border-radius: 10px; background: var(--tg-p); color: #fff; font: 600 14px var(--tg-font); padding: 9px 14px; cursor: pointer; }
.tg-widget .wp-block-search__label { font-weight: 700; color: var(--tg-ink); display: block; margin-bottom: 8px; }
.tg-widget h2, .tg-widget .wp-block-heading { font-size: 16px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.01em; }
.tg-widget .wp-block-latest-posts { padding: 0; list-style: none; display: grid; gap: 8px; }
.tg-slot { margin: 0 0 32px; display: grid; gap: 16px; }
.tg-slot--after { margin: 40px 0 0; }
.tg-disclosure { font-size: 13.5px; color: var(--tg-muted); background: var(--tg-soft); border: 1px solid var(--tg-line); border-radius: 12px; padding: 12px 16px; margin: 0 0 32px; line-height: 1.55; }
.tg-disclosure a { color: var(--tg-p); font-weight: 600; }
.tg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tg-tags a { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--tg-soft); color: var(--tg-pd); text-decoration: none; }
.tg-tags a:hover { background: var(--tg-p); color: #fff; }
.tg-share { display: flex; align-items: center; gap: 8px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #EFEDF5; }
.tg-share > span { font-family: var(--tg-mono) !important; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-muted); margin-right: 6px; }
.tg-share a, .tg-share button { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 0 1px #E6E2F0; color: var(--tg-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s; }
.tg-share .tg-ico { width: 17px; height: 17px; }
.tg-share a:hover, .tg-share button:hover { background: var(--tg-p); color: #fff; box-shadow: none; }
.tg-share em { position: absolute; bottom: 120%; left: 50%; transform: translateX(-50%); background: var(--tg-ink); color: #fff; font-style: normal; font-size: 12px; padding: 4px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.tg-share button.is-copied em { opacity: 1; }
.tg-authorbox { display: flex; gap: 20px; align-items: flex-start; margin-top: 48px; padding: 28px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #EEEBF5; }
.tg-authorbox img { border-radius: 18px; flex: none; }
.tg-authorbox .kick { margin-bottom: 4px; }
.tg-authorbox h2 { font-size: 22px; margin: 0 0 6px; }
.tg-authorbox h2 a { color: var(--tg-ink); text-decoration: none; }
.tg-authorbox p { margin: 0; color: var(--tg-muted); font-size: 15px; }
.post-navigation { margin-top: 40px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.post-navigation a { display: block; padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #EEEBF5; text-decoration: none; height: 100%; transition: box-shadow .2s; }
.post-navigation a:hover { box-shadow: 0 0 0 1.5px var(--tg-p); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation .kick { display: block; margin-bottom: 6px; }
.post-navigation .t { color: var(--tg-ink); font-weight: 700; line-height: 1.35; }
.tg-related { padding: 80px 0 120px; border-top: 1px solid #EFEDF5; background: #fff; }
.tg-related h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.04em; margin: 0 0 36px; }

/* blog filters */
.tg-filters { margin-top: 30px; }
.tg-filters__form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 720px; }
.tg-filters__search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid #E6E2F0; border-radius: 999px; padding: 0 18px; transition: border-color .2s, box-shadow .2s; }
.tg-filters__search:focus-within { border-color: var(--tg-p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tg-p) 14%, transparent); }
.tg-filters__search .tg-ico { color: var(--tg-muted); }
.tg-filters__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 16px var(--tg-font); color: var(--tg-ink); padding: 12px 0; }
.tg-filters__sort select { appearance: none; -webkit-appearance: none; height: 100%; min-height: 48px; border: 1.5px solid #E6E2F0; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236B6E85' stroke-width='1.6'/%3E%3C/svg%3E") right 18px center/12px no-repeat; padding: 0 44px 0 18px; font: 500 15px var(--tg-font); color: var(--tg-ink); cursor: pointer; }
.tg-filters__sort select:focus { outline: 0; border-color: var(--tg-p); }
.tg-filters .tg-chips { margin-top: 16px; }
.tg-chips small { font-size: 11px; color: var(--tg-faint); margin-left: 2px; }
.tg-chips a.is-on small { color: rgba(255,255,255,.6); }
.tg-results { transition: opacity .25s; }
.tg-results__count { font-family: var(--tg-mono) !important; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--tg-muted); margin: 0 0 24px; }
.tg-results__clear { margin-left: 12px; color: var(--tg-p); text-decoration: none; font-family: var(--tg-mono) !important; }
.tg-blog.is-loading .tg-results { opacity: .35; pointer-events: none; }

/* ads */
.tg-ad { position: relative; }
.tg-ad__label { display: block; font-family: var(--tg-mono) !important; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--tg-faint); margin-bottom: 8px; }
.tg-ad__banner { display: block; border-radius: var(--tg-radius); overflow: hidden; box-shadow: 0 0 0 1px #EEEBF5; }
.tg-ad__banner img { display: block; width: 100%; height: auto; transition: transform .5s; }
a.tg-ad__banner:hover img { transform: scale(1.02); }
.tg-ad__code { overflow: hidden; }
.tg-ad__promo { position: relative; overflow: hidden; border-radius: 18px; padding: 22px; color: #fff; background: linear-gradient(150deg, var(--tg-p), var(--tg-pdd)); }
.tg-ad__promo::before { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%; background: radial-gradient(rgba(255,255,255,.28), transparent 65%); }
.tg-ad__tag { position: relative; display: inline-block; font-family: var(--tg-mono) !important; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.18); padding: 4px 8px; border-radius: 999px; margin-bottom: 12px; }
.tg-ad__promo strong { position: relative; display: block; font-size: 19px; letter-spacing: -.02em; line-height: 1.25; }
.tg-ad__promo p { position: relative; font-size: 14px; line-height: 1.55; opacity: .9; margin: 8px 0 16px; }
.tg-ad__btn { position: relative; display: inline-block; background: #fff; color: var(--tg-pd); font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px; text-decoration: none; transition: transform .2s; }
.tg-ad__btn:hover { transform: translateY(-1px); color: var(--tg-pd); }
.tg-side .tg-ad { margin-top: 28px; }
.tg-adbar { padding: 40px 0 80px; }
.tg-adbar .tg-ad--foot .tg-ad__banner { max-width: 1100px; margin: 0 auto; }
.tg-adbar .tg-ad--foot .tg-ad__label { text-align: center; }
.tg-adbar .tg-ad__promo { padding: 40px 48px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "tag btn" "title btn" "text btn"; column-gap: 40px; align-items: center; border-radius: 26px; }
.tg-adbar .tg-ad__tag { grid-area: tag; justify-self: start; }
.tg-adbar .tg-ad__promo strong { grid-area: title; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; }
.tg-adbar .tg-ad__promo p { grid-area: text; font-size: 16px; max-width: 620px; margin-bottom: 0; }
.tg-adbar .tg-ad__promo .btn { grid-area: btn; position: relative; background: #fff; color: var(--tg-pd) !important; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.tg-adbar__widgets { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tg-adbar__widgets ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.tg-adbar__widgets a { color: var(--tg-ink); text-decoration: none; }
.tg-adbar__widgets a:hover { color: var(--tg-p); }
.tg-adbar__widgets h2, .tg-adbar__widgets .wp-block-heading { font-family: var(--tg-mono) !important; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--tg-muted); font-weight: 500; margin: 0 0 10px; }
body.tg-dark .tg-adbar { background: transparent; }

/* comments */
.tg-comments { margin-top: 56px; }
.tg-comments__title { font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 20px; }
.tg-comments__list, .tg-comments__list .children { list-style: none; padding: 0; margin: 0 0 32px; }
.tg-comments__list .children { margin: 16px 0 0 28px; }
.tg-comments .comment-body { padding: 20px; background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px #EEEBF5; margin-bottom: 14px; font-size: 15.5px; }
.tg-comments .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--tg-ink); }
.tg-comments .comment-author img { border-radius: 50%; }
.tg-comments .says { display: none; }
.tg-comments .comment-metadata { font-size: 13px; margin: 4px 0 8px; }
.tg-comments .comment-metadata a { color: var(--tg-faint); text-decoration: none; }
.tg-comments .reply a { font-size: 13.5px; font-weight: 600; color: var(--tg-p); text-decoration: none; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; color: var(--tg-ink); margin-bottom: 6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #E6E2F0; font: 16px var(--tg-font); background: #fff; color: var(--tg-ink); transition: border-color .2s, box-shadow .2s; }
.comment-form input:focus, .comment-form textarea:focus { outline: 0; border-color: var(--tg-p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tg-p) 14%, transparent); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.comment-notes, .logged-in-as { font-size: 14px; color: var(--tg-muted); margin: 0; }

/* 404 */
.tg-404 { min-height: 70vh; padding: 100px 0 120px; text-align: center; }
.tg-404 .word { display: inline-block; margin-bottom: 56px; }
.tg-404 .word h1 { font-size: clamp(90px, 18vw, 220px); }
.tg-404 p { color: var(--tg-muted); font-size: 18px; max-width: 520px; margin: 0 auto 28px; }
.tg-404__search { max-width: 520px; margin: 0 auto 28px; }

/* ---------- 8. Responsive & reduced motion ---------- */
@media (max-width: 1100px) {
	.hide-md { display: none !important; }
	.tg-layout.has-side { grid-template-columns: 230px minmax(0,1fr); gap: 44px; }
}
@media (max-width: 960px) {
	.tg-nav { position: fixed; inset: var(--tg-header-h) 0 auto 0; background: var(--tg-bg); padding: 12px 20px 24px; box-shadow: 0 20px 40px rgba(38,40,66,.12); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s; max-height: calc(100vh - var(--tg-header-h)); overflow-y: auto; }
	.admin-bar .tg-nav { top: calc(var(--tg-header-h) + 46px); }
	.tg-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.tg-nav__list { flex-direction: column; gap: 2px; }
	.tg-nav__list a { font-size: 17px; padding: 12px 14px; border-radius: 12px; }
	body.tg-dark .tg-nav__list > li > a { color: var(--tg-ink); }
	.tg-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 14px; margin: 0; min-width: 0; background: transparent; }
	.tg-burger { display: inline-flex; }
	.tg-header__actions { margin-left: auto !important; }
	.tg-grid { grid-template-columns: repeat(2, 1fr); }
	.tg-layout.has-side { display: flex; flex-direction: column; }
	.tg-side, .tg-side__in { display: contents; }
	.tg-toc { order: -1; margin-bottom: 28px; width: 100%; }
	.tg-side .tg-ad { order: 2; margin-top: 40px; width: 100%; }
	.tg-side__widgets { width: 100%; }
	.tg-side__widgets { order: 2; margin-top: 40px; }
	.tg-toc__box { background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px #EEEBF5; padding: 16px 18px; }
	.tg-toc__box > summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin: 0; }
	.tg-toc__box > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--tg-p); border-bottom: 2px solid var(--tg-p); transform: rotate(45deg); transition: transform .2s; }
	.tg-toc__box[open] > summary::after { transform: rotate(-135deg); }
	.tg-toc__box[open] > summary { margin-bottom: 12px; }
	.tg-toc__progress { display: none; }
	.tg-footer__top { grid-template-columns: 1fr 1fr; }
	.tg-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.tg-wrap { width: calc(100% - 32px); }
	.tgx .cards .grid, .tgx .who .grid { grid-template-columns: 1fr; }
	.tgx .card { min-height: 340px; }
	.tgx .zero { padding: 80px 0; }
	.tgx .zero .box { grid-template-columns: 1fr; padding: 48px 26px; }
	.laptop { justify-self: center; transform: translateY(30px); }
	.laptop.in { transform: none; }
	.tgx .honest .g, .tgx .cta .g { grid-template-columns: 1fr; gap: 20px; }
	.stack { height: 430px; order: 2; }
	.stack .sc { width: 220px; height: 310px; padding: 20px; font-size: 12px; }
	.stack.in .s1 { transform: translate(-86%,-46%) rotate(-8deg); }
	.stack.in .s2 { transform: translate(-14%,-52%) rotate(7deg); }
	.collage { height: 340px; order: 2; }
	.hide-sm { display: none !important; }
	.tgx .team { height: auto; min-height: 0; padding: 100px 16px 90px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
	.tgx .team .it { position: relative; left: auto !important; right: auto !important; top: auto !important; transform: none !important; }
	.tgx .team .chat { white-space: normal; }
	.tgx .team .head { position: relative; bottom: auto; margin-top: 30px; }
	.tgx .hero .chat { font-size: 11.5px; }
	.tg-feature { grid-template-columns: 1fr; }
	.tg-card.is-big { grid-template-columns: 1fr; gap: 0; }
	.tg-numlist a { grid-template-columns: 40px 1fr 36px; gap: 12px; padding: 18px 4px; }
	.tg-numlist .m { display: none; }
	.tg-numlist .t strong { font-size: 17px; }
	.tg-posts { padding-bottom: 90px; }
}
@media (max-width: 782px) {
	.admin-bar .tg-header, .admin-bar .tg-progress { top: 46px; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.tg-grid { grid-template-columns: 1fr; }
	.tg-header__in { width: calc(100% - 24px); gap: 12px; }
	.tg-pill { padding: 9px 14px; font-size: 13px; }
	.tg-pagehead { padding: 56px 0 40px; }
	.tg-posthead { padding: 36px 0 28px; }
	.tg-hero-img img { border-radius: 14px; }
	.tg-footer__top { grid-template-columns: 1fr; gap: 32px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: 1; }
	.tg-authorbox { flex-direction: column; }
	.tg-adbar .tg-ad__promo { grid-template-columns: 1fr; grid-template-areas: "tag" "title" "text" "btn"; padding: 30px 24px; }
	.tg-adbar .tg-ad__promo .btn { justify-self: start; margin-top: 20px; }
	.tg-filters__sort { width: 100%; }
	.tg-filters__sort select { width: 100%; }
	.tg-card.is-row { grid-template-columns: 100px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	[data-rv] { opacity: 1; transform: none; }
	.laptop { opacity: 1; transform: none; }
}
