/* =====================================================================
   TrackGofo — Site Kit · "Midnight Route"
   Header and footer are Ink Navy in both themes (brand stays constant);
   the page between them switches between Cloud (light, default) and
   Midnight (dark). Colour values come from settings as custom properties
   (inline :root block); dark values are tuned here for contrast.
   ================================================================== */

:root {
  --tgk-radius: 14px;
  --tgk-radius-lg: 22px;
  --tgk-soft: #EEF2F8;
  --tgk-code: #E9EEF6;
  --tgk-focus: #0F766E;
  --tgk-ok: #15803D;   --tgk-ok-dot: #16A36A;
  --tgk-move: #1D4ED8; --tgk-move-dot: #2878D0;
  --tgk-out: #0F766E;  --tgk-out-dot: #2DD4BF;
  --tgk-warn: #B45309; --tgk-warn-dot: #E5A323;
  --tgk-fail: #B91C1C; --tgk-fail-dot: #DC4545;
  --tgk-wait: #475569; --tgk-wait-dot: #94A3B8;
  --tgk-shadow: 0 1px 2px rgba(11, 22, 48, .05), 0 18px 40px -24px rgba(11, 22, 48, .28);
  --tgk-shadow-lg: 0 2px 6px rgba(11, 22, 48, .06), 0 40px 80px -36px rgba(11, 22, 48, .45);
  --tgk-on-dark: #E8EEF7;
  --tgk-on-dark-muted: #A9B8CE;
  --tgk-dark-line: rgba(255, 255, 255, .10);
  --tgk-header-h: 76px;
  --tgk-ease: cubic-bezier(.2, .8, .2, 1);
  --tgk-spring: cubic-bezier(.68, -0.4, .27, 1.4);
  --tgk-dots: rgba(11, 22, 48, .065);
  color-scheme: light;
}
html[data-theme="dark"] {
  --tgk-bg: #070F22;
  --tgk-surface: #0F1D38;
  --tgk-soft: #142647;
  --tgk-code: #15294B;
  --tgk-text: #E2E9F4;
  --tgk-heading: #F5F8FD;
  --tgk-muted: #9FB0C8;
  --tgk-border: #1F3357;
  --tgk-link: #FF9A62;
  --tgk-focus: #2DD4BF;
  --tgk-ok: #4ADE80; --tgk-move: #7FB2FF; --tgk-out: #2DD4BF; --tgk-warn: #FBBF24; --tgk-fail: #F87171; --tgk-wait: #A7B4C8;
  --tgk-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 40px -24px rgba(0, 0, 0, .8);
  --tgk-shadow-lg: 0 2px 6px rgba(0, 0, 0, .4), 0 40px 80px -36px rgba(0, 0, 0, .9);
  --tgk-dots: rgba(255, 255, 255, .05);
  color-scheme: dark;
}

/* ── base page ────────────────────────────────────────────────────── */
html { -webkit-text-size-adjust: 100%; }
html:has(body.tgk-sticky) { scroll-padding-top: calc(var(--tgk-header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html:not([data-motion="off"]) { scroll-behavior: smooth; } }

body.tgk-kit {
  background-color: var(--tgk-bg);
  color: var(--tgk-text);
  font-family: var(--tgk-font-body);
  font-size: var(--tgk-size);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color .35s ease, color .35s ease;
}
/* Site background: quiet dotted grid with a soft teal/orange glow at the top. */
html body.tgk-kit.tgk-bg-dots {
  background:
    radial-gradient(1100px 520px at 88% -140px, rgba(45, 212, 191, .10), transparent 62%),
    radial-gradient(900px 460px at -12% -60px, rgba(255, 107, 44, .07), transparent 60%),
    radial-gradient(var(--tgk-dots) 1.1px, transparent 1.3px) 0 0 / 22px 22px,
    var(--tgk-bg);
}
html body.tgk-kit.tgk-bg-routes {
  background:
    radial-gradient(1100px 520px at 88% -140px, rgba(45, 212, 191, .10), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='320' viewBox='0 0 640 320'%3E%3Cg fill='none' stroke='%238AA4CC' stroke-opacity='.16' stroke-width='1.2' stroke-dasharray='4 7' stroke-linecap='round'%3E%3Cpath d='M-20 250 C120 140 260 300 400 170 S620 120 680 60'/%3E%3Cpath d='M-40 90 C80 40 200 160 330 110 S560 20 700 150'/%3E%3C/g%3E%3Cg fill='%238AA4CC' fill-opacity='.22'%3E%3Ccircle cx='400' cy='170' r='2.5'/%3E%3Ccircle cx='330' cy='110' r='2.5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 640px 320px,
    var(--tgk-bg);
}
html body.tgk-kit.tgk-bg-plain { background: var(--tgk-bg); }

html body.tgk-kit.tgk-kit :is(button, input, select, textarea) { font-family: inherit; }
html body.tgk-kit.tgk-kit :is(h1, h2, h3, h4, h5, h6, .entry-title, .wp-block-post-title) {
  font-family: var(--tgk-font-head);
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.18;
  text-wrap: balance;
}
body.tgk-kit :where(h1, h2, h3, h4, h5, h6, .entry-title, .wp-block-post-title) { color: var(--tgk-heading); }
body.tgk-kit ::selection { background: rgba(255, 107, 44, .22); color: inherit; }
body.tgk-kit :focus-visible { outline: 3px solid var(--tgk-focus); outline-offset: 2px; border-radius: 6px; }
.tgk-sr, html body.tgk-kit.tgk-kit .screen-reader-text:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.tgk-ico { width: 1.15em; height: 1.15em; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.tgk-wrap { width: 100%; max-width: var(--tgk-wrap, 1200px); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.tgk-flag { display: inline-flex; width: 22px; height: 15px; border-radius: 3.5px; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(11, 22, 48, .12); vertical-align: middle; }
.tgk-flag svg { width: 100%; height: 100%; display: block; }

/* Theme surfaces follow the tokens (Astra, GeneratePress, block and classic themes) */
html body.tgk-kit.tgk-kit :is(#page, .site, .site-content, .wp-site-blocks, #content, .ast-container > #primary) { background-color: transparent; }
html body.tgk-kit.tgk-kit .ast-container, html body.tgk-kit.tgk-kit .grid-container { max-width: var(--tgk-wrap, 1200px); }
body.tgk-kit.ast-separate-container :is(.ast-article-single, .ast-article-post, .comments-area, .ast-author-box, .ast-archive-description),
body.tgk-kit.separate-containers :is(.inside-article, .comments-area, .page-header, .paging-navigation) {
  background-color: var(--tgk-surface);
  border: 1px solid var(--tgk-border);
  border-radius: var(--tgk-radius-lg);
  box-shadow: var(--tgk-shadow);
}
html body.tgk-kit.tgk-kit :is(.entry-meta, .entry-meta *, .ast-blog-meta-container, .posted-on) { color: var(--tgk-muted); }

/* ── skip link ────────────────────────────────────────────────────── */
body.tgk-has-header :is(a.skip-link, a.screen-reader-shortcut, .skip-link a):not(.tgk-skip) { display: none !important; }
.tgk-skip { position: absolute; left: 12px; top: -80px; z-index: 3000; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; background: var(--tgk-orange); color: var(--tgk-ink); transition: top .2s ease; }
.tgk-skip:focus { top: 12px; color: var(--tgk-ink); }

/* ── pages built with [tgk_hero]: the hero carries the H1, so the theme title steps aside ── */
.tgk-has-hero :is(.entry-header:has(> .entry-title), h1.entry-title, .wp-block-post-title, .page-header .page-title, .ast-single-entry-banner, .ast-archive-description) { display: none !important; }
.tgk-has-hero .entry-content > .tgk-hero:first-child, .tgk-has-hero .entry-content > p:first-child + .tgk-hero { margin-top: 20px; }
/* the hero sits right under the header: no theme card, padding or gap above it */
html body.tgk-kit.tgk-has-hero :is(#primary, .site-main, .content-area) { margin-top: 0 !important; padding-top: 0 !important; }
html body.tgk-kit.tgk-has-hero .site-content > .ast-container { padding-top: 0 !important; }
html body.tgk-kit.tgk-has-hero.ast-separate-container :is(.ast-article-single, .ast-article-post), html body.tgk-kit.tgk-has-hero.separate-containers .inside-article { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin-top: 0 !important; }
html body.tgk-kit.tgk-has-hero :is(.entry-content, .elementor) > :first-child .tgk-hero, html body.tgk-kit.tgk-has-hero .elementor .tgk-hero:first-child { margin-top: 20px; }
html body.tgk-kit.tgk-has-hero .tgk-crumbs:has(+ * .tgk-hero), html body.tgk-kit.tgk-has-hero .entry-content > .tgk-crumbs:first-child { display: none; }

/* ── hide the theme's own header/footer (generic themes) ──────────── */
.tgk-hide-theme-header :is(#masthead, header.site-header, .site-header, header.wp-block-template-part, .wp-site-blocks > header) { display: none !important; }
.tgk-hide-theme-footer :is(#colophon, footer.site-footer, .site-footer, footer.wp-block-template-part, .wp-site-blocks > footer, #page > aside.widget-area) { display: none !important; }

/* ── live dot (used across the kit) ───────────────────────────────── */
.tgk-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--tgk-teal); flex-shrink: 0; display: inline-block; }
.tgk-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--tgk-teal); opacity: 0; }
[data-motion="full"] .tgk-live::after, [data-motion="subtle"] .tgk-live::after { animation: tgk-ping 2.4s var(--tgk-ease) infinite; }
@keyframes tgk-ping { 0% { transform: scale(.6); opacity: .7; } 80%, 100% { transform: scale(1.9); opacity: 0; } }

/* =====================================================================
   ANNOUNCEMENT BAR
   ================================================================== */
.tgk-announce { position: relative; z-index: 1001; background: #050C1C; color: var(--tgk-on-dark); font-size: 14px; line-height: 1.4; border-bottom: 1px solid var(--tgk-dark-line); }
.tgk-announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding-top: 6px; padding-bottom: 6px; }
.tgk-announce__text { color: var(--tgk-on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
a.tgk-announce__text:hover { color: #fff; }
a.tgk-announce__text .tgk-ico { width: 15px; height: 15px; color: var(--tgk-ember); transition: transform .25s var(--tgk-ease); }
a.tgk-announce__text:hover .tgk-ico { transform: translateX(3px); }
html body.tgk-kit.tgk-kit .tgk-announce__close, html body.tgk-kit.tgk-kit .tgk-announce__close:hover, html body.tgk-kit.tgk-kit .tgk-announce__close:focus { margin-left: 4px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: var(--tgk-on-dark-muted); cursor: pointer; padding: 0; box-shadow: none; }
html body.tgk-kit.tgk-kit .tgk-announce__close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.tgk-announce__close .tgk-ico { width: 16px; height: 16px; }

/* =====================================================================
   HEADER
   ================================================================== */
.tgk-header {
  position: relative; z-index: 1000;
  color: var(--tgk-on-dark);
  font-family: var(--tgk-font-body);
  background: linear-gradient(180deg, rgba(19, 40, 75, .55), rgba(11, 22, 48, 0)) , var(--tgk-ink);
  border-bottom: 1px solid var(--tgk-dark-line);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.tgk-header-glass .tgk-header {
  background: rgba(11, 22, 48, .86);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  backdrop-filter: saturate(170%) blur(16px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .tgk-header-glass .tgk-header { background: var(--tgk-ink); } }
.tgk-sticky .tgk-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .tgk-sticky .tgk-header { top: 0; } }
.tgk-header.is-scrolled { box-shadow: 0 14px 34px -22px rgba(0, 0, 0, .75); }
.tgk-header-glass .tgk-header.is-scrolled { background: rgba(11, 22, 48, .93); }
.tgk-header__glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.tgk-header__glow::before { content: ""; position: absolute; width: 520px; height: 220px; right: 6%; top: -150px; background: radial-gradient(closest-side, rgba(45, 212, 191, .22), transparent); filter: blur(6px); }
.tgk-header__glow::after { content: ""; position: absolute; width: 420px; height: 200px; left: 18%; top: -150px; background: radial-gradient(closest-side, rgba(255, 107, 44, .16), transparent); filter: blur(6px); }

.tgk-header__inner { position: relative; display: flex; align-items: center; gap: 26px; height: var(--tgk-header-h); transition: height .35s var(--tgk-ease); }
.tgk-header.is-scrolled .tgk-header__inner { height: 64px; }
.tgk-brand { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: 12px; }
.tgk-logo { display: block; height: 40px; width: auto; transition: height .35s var(--tgk-ease), transform .35s var(--tgk-ease); }
.tgk-brand:hover .tgk-logo { transform: translateY(-1px); }
.tgk-header.is-scrolled .tgk-logo { height: 35px; }
.tgk-logo.is-small { height: 34px; }

/* ── main menu ─────────────────────────────────────────────────────── */
.tgk-nav { flex: 1; min-width: 0; }
.tgk-nav-spacer { flex: 1; }
.tgk-menu, .tgk-menu ul { list-style: none; margin: 0; padding: 0; }
.tgk-menu { display: flex; align-items: center; gap: 2px; }
.tgk-menu > li { position: relative; }
.tgk-menu > li > a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  color: #C9D3E3; font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}
.tgk-menu > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--tgk-teal), var(--tgk-orange));
  transform: scaleX(0); transform-origin: center; transition: transform .35s var(--tgk-ease);
}
.tgk-menu > li > a:hover, .tgk-menu > li:focus-within > a { color: #fff; background: rgba(255, 255, 255, .06); }
.tgk-menu > li > a:hover::after, .tgk-menu > :is(.current-menu-item, .current-menu-ancestor, .current-menu-parent) > a::after { transform: scaleX(1); }
.tgk-menu > :is(.current-menu-item, .current-menu-ancestor, .current-menu-parent) > a { color: #fff; }
.tgk-menu > .menu-item-has-children > a::before {
  content: ""; order: 2; width: 10px; height: 10px; margin-left: 2px; opacity: .7;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .3s var(--tgk-ease);
}
.tgk-menu > .menu-item-has-children:is(:hover, :focus-within) > a::before { transform: rotate(180deg); }

/* rich dropdowns: follow the page theme */
.tgk-menu .sub-menu {
  position: absolute; left: -8px; top: calc(100% + 12px); z-index: 30;
  min-width: 290px; padding: 8px;
  background: var(--tgk-surface); color: var(--tgk-text);
  border: 1px solid var(--tgk-border); border-radius: 18px; box-shadow: var(--tgk-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985); transform-origin: top left;
  transition: opacity .22s ease, transform .3s var(--tgk-ease), visibility .22s;
}
.tgk-menu .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.tgk-menu > li:is(:hover, :focus-within) > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tgk-menu .sub-menu:has(> li:nth-child(5)) { display: grid; grid-template-columns: 1fr 1fr; min-width: 560px; gap: 2px; }
.tgk-menu .sub-menu a {
  display: flex; flex-direction: column; gap: 3px; padding: 11px 14px; border-radius: 12px;
  color: var(--tgk-heading); font-size: 14.5px; font-weight: 600; line-height: 1.3; text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.tgk-menu .sub-menu a:hover, .tgk-menu .sub-menu a:focus-visible { background: var(--tgk-soft); }
.tgk-menu .sub-menu .current-menu-item > a { background: var(--tgk-soft); box-shadow: inset 3px 0 0 var(--tgk-orange); }
.tgk-menu__desc { color: var(--tgk-muted); font-size: 13px; font-weight: 400; line-height: 1.45; }

/* ── actions ──────────────────────────────────────────────────────── */
.tgk-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* call-to-action */
html body.tgk-kit.tgk-kit .tgk-cta, html body.tgk-kit.tgk-kit .tgk-cta:visited {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: 12px; border: 0; background: var(--tgk-orange); color: var(--tgk-ink);
  font-family: var(--tgk-font-head); font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px -12px rgba(255, 107, 44, .8);
  transition: background-color .2s ease, transform .2s var(--tgk-ease), box-shadow .25s ease;
}
html body.tgk-kit.tgk-kit .tgk-cta:hover, html body.tgk-kit.tgk-kit .tgk-cta:focus-visible { background: var(--tgk-ember); color: var(--tgk-ink); transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(255, 107, 44, .95); }
.tgk-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); }
[data-motion="full"] .tgk-cta:hover::after { transition: transform .8s var(--tgk-ease); transform: translateX(120%); }
.tgk-cta .tgk-ico { width: 18px; height: 18px; }
.tgk-cta.is-block { display: flex; justify-content: center; height: 52px; font-size: 16px; }

/* light/dark switch */
html body.tgk-kit.tgk-kit .tgk-mode, html body.tgk-kit.tgk-kit .tgk-mode:hover, html body.tgk-kit.tgk-kit .tgk-mode:focus { appearance: none; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; box-shadow: none; line-height: 0; border-radius: 999px; min-height: 0; color: inherit; }
.tgk-mode__track {
  position: relative; display: block; width: 62px; height: 34px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(135deg, #FFC37A 0%, #FF8A4C 55%, #FF6B2C 100%);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18), 0 0 0 1px rgba(255, 255, 255, .14), 0 6px 18px -8px rgba(255, 107, 44, .9);
  transition: background .5s ease, box-shadow .5s ease;
}
.tgk-mode__track::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #22417A 0%, #13284B 55%, #0B1630 100%); opacity: 0; transition: opacity .5s ease; }
.tgk-mode__glyph { position: absolute; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; color: rgba(255, 255, 255, .9); transition: opacity .4s ease, transform .5s var(--tgk-ease); }
.tgk-mode__glyph .tgk-ico { width: 15px; height: 15px; display: block; }
.tgk-mode__glyph.is-sun { left: 9px; opacity: 0; transform: rotate(-90deg) scale(.6); }
.tgk-mode__glyph.is-moon { right: 9px; color: #fff; }
.tgk-mode__stars { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.tgk-mode__stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px #fff; }
.tgk-mode__stars i:nth-child(1) { left: 12px; top: 9px; } .tgk-mode__stars i:nth-child(2) { left: 20px; top: 21px; width: 1.5px; height: 1.5px; } .tgk-mode__stars i:nth-child(3) { left: 27px; top: 11px; width: 1.5px; height: 1.5px; }
.tgk-mode__knob {
  position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; color: #FF6B2C; display: grid; place-items: center;
  box-shadow: 0 3px 8px rgba(11, 22, 48, .35), inset 0 -2px 3px rgba(11, 22, 48, .08);
  transition: transform .55s var(--tgk-spring), background-color .45s ease, color .45s ease;
}
.tgk-mode__knob .tgk-ico { grid-area: 1 / 1; width: 16px; height: 16px; transition: opacity .3s ease, transform .5s var(--tgk-ease); }
.tgk-mode__knob .is-moon { opacity: 0; transform: rotate(-60deg) scale(.5); }
.tgk-mode:hover .tgk-mode__knob { box-shadow: 0 0 0 5px rgba(255, 255, 255, .18), 0 3px 8px rgba(11, 22, 48, .35); }
html[data-theme="dark"] .tgk-mode__track { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4), 0 0 0 1px rgba(127, 178, 255, .25), 0 6px 18px -8px rgba(45, 212, 191, .5); }
html[data-theme="dark"] .tgk-mode__track::before { opacity: 1; }
html[data-theme="dark"] .tgk-mode__stars { opacity: 1; }
html[data-theme="dark"] .tgk-mode__glyph.is-moon { opacity: 0; transform: rotate(60deg) scale(.6); }
html[data-theme="dark"] .tgk-mode__glyph.is-sun { opacity: .85; transform: none; color: #FFC37A; }
html[data-theme="dark"] .tgk-mode__knob { transform: translateX(28px) rotate(360deg); background: #E8EEF7; color: #13284B; }
html[data-theme="dark"] .tgk-mode__knob .is-sun { opacity: 0; transform: rotate(60deg) scale(.5); }
html[data-theme="dark"] .tgk-mode__knob .is-moon { opacity: 1; transform: none; }
html[data-theme="dark"][data-motion="full"] .tgk-mode__stars i { animation: tgk-twinkle 2.6s ease-in-out infinite; }
.tgk-mode__stars i:nth-child(2) { animation-delay: .8s !important; } .tgk-mode__stars i:nth-child(3) { animation-delay: 1.5s !important; }
@keyframes tgk-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.6); } }

/* country & language switcher */
.tgk-switch { position: relative; }
html body.tgk-kit.tgk-kit .tgk-switch__btn, html body.tgk-kit.tgk-kit .tgk-switch__btn:hover, html body.tgk-kit.tgk-kit .tgk-switch__btn:focus {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 10px; margin: 0;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(255, 255, 255, .05);
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; line-height: 1; cursor: pointer; box-shadow: none; min-height: 0; text-transform: none;
  transition: background-color .2s ease, border-color .2s ease;
}
html body.tgk-kit.tgk-kit .tgk-switch__btn:hover, html body.tgk-kit.tgk-kit .tgk-switch__btn[aria-expanded="true"] { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .28); }
.tgk-switch__btn .tgk-flag { width: 22px; height: 15px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.tgk-switch__chev { width: 14px; height: 14px; opacity: .75; transition: transform .3s var(--tgk-ease); }
.tgk-switch__btn[aria-expanded="true"] .tgk-switch__chev { transform: rotate(180deg); }
.tgk-switch__panel {
  position: absolute; right: 0; top: calc(100% + 12px); z-index: 40; width: 340px; padding: 14px;
  background: var(--tgk-surface); color: var(--tgk-text);
  border: 1px solid var(--tgk-border); border-radius: 20px; box-shadow: var(--tgk-shadow-lg);
  transform-origin: top right;
}
.tgk-switch__panel:not([hidden]) { animation: tgk-pop .28s var(--tgk-ease); }
@keyframes tgk-pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
.tgk-switch__title { display: flex; align-items: center; gap: 8px; margin: 2px 6px 10px; font-family: var(--tgk-font-head); font-size: 15px; font-weight: 600; color: var(--tgk-heading); }
.tgk-switch__title .tgk-ico { color: var(--tgk-teal-dark); }
html[data-theme="dark"] .tgk-switch__title .tgk-ico { color: var(--tgk-teal); }
.tgk-switch__group + .tgk-switch__group { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--tgk-border); }
.tgk-switch__region, .tgk-dswitch .tgk-switch__region { margin: 4px 8px 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tgk-muted); }
.tgk-switch__group ul, .tgk-dswitch ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tgk-switch__opt { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--tgk-text); text-decoration: none; transition: background-color .18s ease, transform .18s ease; }
.tgk-switch__opt:hover, .tgk-switch__opt:focus-visible { background: var(--tgk-soft); color: var(--tgk-heading); }
.tgk-switch__opt .tgk-flag { width: 28px; height: 20px; border-radius: 4px; }
.tgk-switch__name { display: flex; flex-direction: column; line-height: 1.25; }
.tgk-switch__name strong { font-size: 14.5px; font-weight: 600; color: var(--tgk-heading); }
.tgk-switch__name span { font-size: 12.5px; color: var(--tgk-muted); }
.tgk-switch__here, .tgk-switch__same { margin-left: auto; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.tgk-switch__here { background: rgba(45, 212, 191, .16); color: var(--tgk-teal-dark); }
html[data-theme="dark"] .tgk-switch__here { color: var(--tgk-teal); }
.tgk-switch__same { color: var(--tgk-muted); }
.tgk-switch__here .tgk-ico, .tgk-switch__same .tgk-ico { width: 15px; height: 15px; }
.tgk-switch__opt.is-current { background: var(--tgk-soft); }

/* burger */
html body.tgk-kit.tgk-kit .tgk-burger { display: none; }
html body.tgk-kit.tgk-kit .tgk-burger, html body.tgk-kit.tgk-kit .tgk-burger:hover, html body.tgk-kit.tgk-kit .tgk-burger:focus {
  position: relative; width: 44px; height: 44px; padding: 0; margin: 0;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(255, 255, 255, .05); cursor: pointer; box-shadow: none; min-height: 0;
}
.tgk-burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s var(--tgk-ease), opacity .2s ease, top .35s var(--tgk-ease); }
.tgk-burger span:nth-child(1) { top: 15px; } .tgk-burger span:nth-child(2) { top: 21px; right: 17px; } .tgk-burger span:nth-child(3) { top: 27px; }
.tgk-burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.tgk-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tgk-burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* reading progress line */
.tgk-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.tgk-progress i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--tgk-teal), var(--tgk-orange)); box-shadow: 0 0 10px rgba(255, 107, 44, .6); }

/* responsive header */
@media (max-width: 1180px) { .tgk-header .tgk-track.is-header { display: none; } }
@media (max-width: 1080px) {
  .tgk-nav { display: none; }
  .tgk-nav-spacer { display: block; }
  html body.tgk-kit.tgk-kit .tgk-burger { display: inline-block; }
  .tgk-header__inner { gap: 12px; }
}
@media (max-width: 720px) {
  :root { --tgk-header-h: 64px; }
  .tgk-logo { height: 34px; }
  .tgk-header.is-scrolled .tgk-logo { height: 32px; }
  .tgk-header .tgk-switch, .tgk-header .tgk-mode { display: none; }
  .tgk-actions { gap: 8px; }
}
@media (max-width: 480px) {
  html body.tgk-kit.tgk-kit .tgk-cta { padding: 0 13px; height: 40px; }
  .tgk-header .tgk-cta span { display: none; }
  .tgk-wrap { padding-left: 16px; padding-right: 16px; }
}

/* =====================================================================
   TRACKING BOX
   ================================================================== */
.tgk-track { position: relative; width: 100%; margin: 0; }
.tgk-track__bar {
  display: flex; align-items: stretch; gap: 8px; padding: 8px;
  background: var(--tgk-surface); border: 1px solid var(--tgk-border); border-radius: 20px;
  box-shadow: var(--tgk-shadow);
  transition: border-color .25s ease, box-shadow .3s ease, transform .3s var(--tgk-ease);
}
.tgk-track__bar:focus-within { border-color: rgba(255, 107, 44, .65); box-shadow: 0 0 0 5px rgba(255, 107, 44, .16), var(--tgk-shadow); }
.tgk-track__field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; min-height: 58px; border-radius: 14px; background: var(--tgk-soft); cursor: text; }
.tgk-track__ico { width: 22px; height: 22px; color: var(--tgk-muted); transition: color .25s ease; }
.tgk-track__bar:focus-within .tgk-track__ico { color: var(--tgk-orange); }
html body.tgk-kit.tgk-kit .tgk-track__input, html body.tgk-kit.tgk-kit .tgk-track__input:focus {
  flex: 1; min-width: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; outline: 0; box-shadow: none; background: transparent;
  color: var(--tgk-heading); font-family: var(--tgk-font-body); font-size: 17px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  font-feature-settings: "tnum" 1, "ss01" 1;
}
.tgk-track__input::placeholder { color: var(--tgk-muted); font-weight: 400; letter-spacing: 0; text-transform: none; opacity: 1; }
.tgk-track__chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border-radius: 999px; background: var(--tgk-surface); border: 1px solid var(--tgk-border); color: var(--tgk-heading); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.tgk-track__chip[hidden], html body.tgk-kit.tgk-kit .tgk-fab[hidden] { display: none; }
.tgk-track__chip:not([hidden]) { animation: tgk-pop .3s var(--tgk-ease); }
.tgk-track__chip .tgk-flag { width: 20px; height: 14px; }
html body.tgk-kit.tgk-kit .tgk-track__tool, html body.tgk-kit.tgk-kit .tgk-track__tool:hover, html body.tgk-kit.tgk-kit .tgk-track__tool:focus { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; margin: 0; border: 0; border-radius: 10px; background: transparent; color: var(--tgk-muted); cursor: pointer; box-shadow: none; min-height: 0; }
html body.tgk-kit.tgk-kit .tgk-track__tool:hover { background: var(--tgk-surface); color: var(--tgk-heading); }
html body.tgk-kit.tgk-kit .tgk-track__tool[hidden] { display: none; }
.tgk-track__tool .tgk-ico { width: 18px; height: 18px; }
html body.tgk-kit.tgk-kit .tgk-track__go, html body.tgk-kit.tgk-kit .tgk-track__go:hover, html body.tgk-kit.tgk-kit .tgk-track__go:focus {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 28px; margin: 0; min-height: 58px;
  border: 0; border-radius: 14px; background: var(--tgk-orange); color: var(--tgk-ink); cursor: pointer;
  font-family: var(--tgk-font-head); font-size: 17px; font-weight: 600; line-height: 1; text-transform: none; letter-spacing: 0;
  box-shadow: 0 12px 26px -14px rgba(255, 107, 44, .95);
  transition: background-color .2s ease, transform .2s var(--tgk-ease), box-shadow .25s ease;
}
html body.tgk-kit.tgk-kit .tgk-track__go:hover { background: var(--tgk-ember); transform: translateY(-1px); box-shadow: 0 18px 32px -16px rgba(255, 107, 44, 1); }
html body.tgk-kit.tgk-kit .tgk-track__go:active { transform: translateY(0) scale(.98); }
.tgk-track__go .tgk-ico { width: 20px; height: 20px; transition: transform .3s var(--tgk-ease); }
.tgk-track__go:hover .tgk-ico { transform: translateX(3px); }
.tgk-track__spin { position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(11, 22, 48, .25); border-top-color: var(--tgk-ink); opacity: 0; }
.tgk-track.is-busy .tgk-track__go-text, .tgk-track.is-busy .tgk-track__go .tgk-ico { opacity: 0; }
.tgk-track.is-busy .tgk-track__spin { opacity: 1; animation: tgk-spin .7s linear infinite; }
@keyframes tgk-spin { to { transform: rotate(360deg); } }
.tgk-track__msg { margin: 8px 4px 0; font-size: 14px; line-height: 1.4; color: var(--tgk-fail); }
.tgk-track__msg:empty { display: none; }
.tgk-track.is-invalid .tgk-track__bar { border-color: var(--tgk-fail-dot); box-shadow: 0 0 0 5px rgba(220, 69, 69, .14), var(--tgk-shadow); }
[data-motion="full"] .tgk-track.is-invalid .tgk-track__bar, [data-motion="subtle"] .tgk-track.is-invalid .tgk-track__bar { animation: tgk-shake .42s cubic-bezier(.36, .07, .19, .97); }
@keyframes tgk-shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-5px); } 40%, 60% { transform: translateX(5px); } }
.tgk-track__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 4px 0; padding: 0; font-size: 14px; color: var(--tgk-muted); }
.tgk-track__chips li { display: inline-flex; align-items: center; gap: 7px; }
.tgk-track__chips .tgk-ico { width: 16px; height: 16px; color: var(--tgk-teal-dark); }
html[data-theme="dark"] .tgk-track__chips .tgk-ico { color: var(--tgk-teal); }
.tgk-track__hint { margin: 8px 4px 0; font-size: 13px; color: var(--tgk-muted); }
.tgk-trackbox { margin: 1.5em 0; }
@media (max-width: 600px) {
  .tgk-track.is-page .tgk-track__bar, .tgk-track.is-band .tgk-track__bar, .tgk-track.is-drawer .tgk-track__bar { flex-direction: column; }
  html body.tgk-kit.tgk-kit .tgk-track__go { width: 100%; }
  .tgk-track__field { min-height: 54px; }
}

/* header variant: compact glass */
.tgk-track.is-header { width: 240px; transition: width .4s var(--tgk-ease); }
.tgk-track.is-header:focus-within { width: 320px; }
.tgk-track.is-header .tgk-track__bar { padding: 3px; gap: 4px; border-radius: 13px; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.tgk-track.is-header .tgk-track__bar:focus-within { background: rgba(255, 255, 255, .11); border-color: rgba(255, 107, 44, .7); box-shadow: 0 0 0 4px rgba(255, 107, 44, .18); }
.tgk-track.is-header .tgk-track__field { min-height: 34px; padding: 0 6px 0 10px; gap: 8px; background: transparent; }
.tgk-track.is-header .tgk-track__ico { width: 18px; height: 18px; color: #8FA3C0; }
html body.tgk-kit.tgk-kit .tgk-track.is-header .tgk-track__input { color: #fff; font-size: 13.5px; letter-spacing: .05em; }
.tgk-track.is-header .tgk-track__input::placeholder { color: #8FA3C0; }
.tgk-track.is-header .tgk-track__chip { padding: 2px 4px; gap: 0; background: transparent; border: 0; }
.tgk-track.is-header .tgk-track__chip span:not(.tgk-flag) { display: none; }
html body.tgk-kit.tgk-kit .tgk-track.is-header .tgk-track__tool { width: 26px; height: 26px; color: #8FA3C0; }
html body.tgk-kit.tgk-kit .tgk-track.is-header .tgk-track__tool:hover { background: rgba(255, 255, 255, .1); color: #fff; }
html body.tgk-kit.tgk-kit .tgk-track.is-header .tgk-track__go { min-height: 34px; width: 34px; padding: 0; border-radius: 10px; box-shadow: none; }
.tgk-track.is-header .tgk-track__go-text { display: none; }
.tgk-track.is-header .tgk-track__go .tgk-ico { width: 17px; height: 17px; }
.tgk-track.is-header .tgk-track__spin { width: 16px; height: 16px; }
.tgk-track.is-header .tgk-track__msg { position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--tgk-surface); border: 1px solid var(--tgk-border); box-shadow: var(--tgk-shadow); font-size: 13px; }

/* dark-surface variants (band, hero) */
.tgk-band .tgk-track__bar, .tgk-hero .tgk-track__bar { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tgk-band .tgk-track__field, .tgk-hero .tgk-track__field { background: #fff; }
html body.tgk-kit.tgk-kit :is(.tgk-band, .tgk-hero) .tgk-track__input { color: #0B1630; }
:is(.tgk-band, .tgk-hero) .tgk-track__input::placeholder, :is(.tgk-band, .tgk-hero) .tgk-track__ico { color: #5B6B82; }
:is(.tgk-band, .tgk-hero) .tgk-track__chip { background: #F6F8FB; border-color: #E3E8F0; color: #0B1630; }
html body.tgk-kit.tgk-kit :is(.tgk-band, .tgk-hero) .tgk-track__tool { color: #5B6B82; }
html body.tgk-kit.tgk-kit :is(.tgk-band, .tgk-hero) .tgk-track__tool:hover { background: #EEF2F8; color: #0B1630; }
:is(.tgk-band, .tgk-hero) .tgk-track__chips, :is(.tgk-band, .tgk-hero) .tgk-track__hint { color: #A9B8CE; }
:is(.tgk-band, .tgk-hero) .tgk-track__chips .tgk-ico { color: var(--tgk-teal); }
:is(.tgk-band, .tgk-hero) .tgk-track__msg { color: #FCA5A5; }

/* =====================================================================
   HERO  [tgk_hero]
   ================================================================== */
.tgk-hero {
  --tgk-hero-w: min(var(--tgk-wrap, 1200px) - 48px, 100vw - 32px);
  position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box;
  width: var(--tgk-hero-w); max-width: none !important;
  margin: 8px calc(50% - var(--tgk-hero-w) / 2) 2.4em; padding: clamp(32px, 6vw, 76px) clamp(22px, 5vw, 64px) clamp(36px, 5.5vw, 70px);
  border-radius: 28px; color: #fff;
  background: radial-gradient(1000px 480px at 78% 0%, #1D3D72 0%, rgba(29, 61, 114, 0) 62%), radial-gradient(700px 400px at 0% 100%, rgba(255, 107, 44, .14), transparent 60%), var(--tgk-ink);
  box-shadow: var(--tgk-shadow-lg);
}
.tgk-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); pointer-events: none; }
.tgk-hero__map { position: absolute; z-index: -1; right: -6%; top: -4%; width: min(980px, 92%); aspect-ratio: 1000 / 440; opacity: .95; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 85%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 85%, transparent 100%); pointer-events: none; }
.tgk-hero__map img, .tgk-hero__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tgk-hero__map img { opacity: .42; }
.tgk-hero__inner { position: relative; max-width: 720px; }
.tgk-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--tgk-teal); background: rgba(45, 212, 191, .10); border: 1px solid rgba(45, 212, 191, .26); }
html body.tgk-kit.tgk-kit .tgk-hero__title { margin: 0 0 16px; color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.06; letter-spacing: -.03em; }
.tgk-hero__hl { background: linear-gradient(100deg, #FF8A4C, #FF6B2C 60%, #FFB27A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tgk-hero__text { margin: 0 0 28px; max-width: 600px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); line-height: 1.6; color: #B9C5D8; }
.tgk-hero__pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.tgk-hero__pills a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #DCE4F0; font-size: 13px; font-weight: 600; text-decoration: none; transition: background-color .2s ease, border-color .2s ease, transform .2s var(--tgk-ease); }
.tgk-hero__pills a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); transform: translateY(-1px); color: #fff; }
.tgk-hero__pills a[aria-current] { border-color: rgba(45, 212, 191, .6); box-shadow: inset 0 0 0 1px rgba(45, 212, 191, .3); }
.tgk-hero__pills em { font-style: normal; font-weight: 500; color: #8FA3C0; }
@media (max-width: 760px) { .tgk-hero__map { right: -40%; top: auto; bottom: -6%; width: 150%; opacity: .55; } }

/* the route layer (hero, footer, [tgk_map]) */
.tgk-routes__lanes path { stroke-dasharray: 5 7; }
[data-motion="full"] .tgk-routes__lanes path, [data-motion="subtle"] .tgk-routes__lanes path { animation: tgk-flow 1.6s linear infinite; animation-delay: calc(var(--i) * -0.13s); }
@keyframes tgk-flow { to { stroke-dashoffset: -24; } }
.tgk-routes__dot { fill: var(--tgk-teal); }
.tgk-routes__dot.is-hot { fill: var(--tgk-orange); }
.tgk-routes__halo { fill: var(--tgk-teal); opacity: .14; transform-box: fill-box; transform-origin: center; }
[data-motion="full"] .tgk-routes__halo { animation: tgk-halo 3s var(--tgk-ease) infinite; animation-delay: calc(var(--i) * .23s); }
@keyframes tgk-halo { 0% { transform: scale(.4); opacity: .4; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.tgk-mapvis { position: relative; aspect-ratio: 1000 / 440; border-radius: 24px; overflow: hidden; background: radial-gradient(800px 360px at 70% 0%, #1D3D72, transparent 65%), var(--tgk-ink); margin: 1.5em 0; }
.tgk-mapvis img, .tgk-mapvis svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tgk-mapvis img { opacity: .45; }

/* =====================================================================
   MOBILE DRAWER (follows the theme)
   ================================================================== */
.tgk-drawer { position: fixed; inset: 0; z-index: 3000; }
.tgk-drawer[hidden] { display: none; }
.tgk-drawer__scrim { position: absolute; inset: 0; background: rgba(5, 10, 25, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s ease; }
.tgk-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 92vw); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 18px; padding: 18px 20px 28px;
  background: var(--tgk-surface); color: var(--tgk-text); box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5);
  transform: translateX(100%); transition: transform .4s var(--tgk-ease);
}
.tgk-drawer.is-open .tgk-drawer__scrim { opacity: 1; }
.tgk-drawer.is-open .tgk-drawer__panel { transform: none; }
.tgk-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tgk-drawer__brand .is-for-dark { display: none; }
html[data-theme="dark"] .tgk-drawer__brand .is-for-light { display: none; }
html[data-theme="dark"] .tgk-drawer__brand .is-for-dark { display: block; }
.tgk-drawer__tools { display: flex; align-items: center; gap: 10px; }
html body.tgk-kit.tgk-kit .tgk-drawer__close, html body.tgk-kit.tgk-kit .tgk-drawer__close:hover, html body.tgk-kit.tgk-kit .tgk-drawer__close:focus { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; margin: 0; border: 1px solid var(--tgk-border); border-radius: 12px; background: var(--tgk-soft); color: var(--tgk-heading); cursor: pointer; box-shadow: none; min-height: 0; }
.tgk-drawer__close .tgk-ico { width: 20px; height: 20px; }
.tgk-drawer__nav ul { list-style: none; margin: 0; padding: 0; }
.tgk-dmenu > li { border-bottom: 1px solid var(--tgk-border); }
.tgk-dmenu > li > a, html body.tgk-kit.tgk-kit .tgk-dgroup, html body.tgk-kit.tgk-kit .tgk-dgroup:hover, html body.tgk-kit.tgk-kit .tgk-dgroup:focus { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 4px; margin: 0; border: 0; background: none; box-shadow: none; color: var(--tgk-heading); font-family: var(--tgk-font-head); font-size: 17px; font-weight: 600; line-height: 1.3; text-align: left; text-decoration: none; cursor: pointer; min-height: 0; text-transform: none; letter-spacing: -.01em; }
.tgk-dmenu.is-acc > li.menu-item-has-children > a { display: none; }
.tgk-dgroup__chev { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--tgk-soft); transition: transform .3s var(--tgk-ease); }
.tgk-dgroup__chev .tgk-ico { width: 16px; height: 16px; }
.tgk-dmenu li.is-open > .tgk-dgroup .tgk-dgroup__chev { transform: rotate(180deg); }
.tgk-dmenu .sub-menu { overflow: hidden; max-height: 0; transition: max-height .35s var(--tgk-ease); }
.tgk-dmenu:not(.is-acc) .sub-menu { max-height: none; }
.tgk-dmenu .sub-menu a { display: block; padding: 10px 14px; margin: 0 0 4px; border-radius: 11px; color: var(--tgk-text); font-size: 15.5px; text-decoration: none; }
.tgk-dmenu .sub-menu a:hover, .tgk-dmenu .sub-menu .current-menu-item > a { background: var(--tgk-soft); color: var(--tgk-heading); }
.tgk-dmenu .sub-menu li:last-child a { margin-bottom: 12px; }
.tgk-dmenu .current-menu-item > a { color: var(--tgk-link); }
.tgk-dswitch__title { display: flex; align-items: center; gap: 8px; margin: 4px 0 8px; font-family: var(--tgk-font-head); font-size: 15px; font-weight: 600; color: var(--tgk-heading); }
.tgk-dswitch .tgk-switch__group ul { grid-template-columns: 1fr 1fr; }
.tgk-dswitch .tgk-switch__opt { padding: 9px 8px; gap: 9px; }
.tgk-dswitch .tgk-switch__name strong { font-size: 13.5px; }
.tgk-dswitch .tgk-switch__here, .tgk-dswitch .tgk-switch__same { display: none; }
.tgk-dswitch .tgk-switch__opt.is-current { box-shadow: inset 0 0 0 1.5px var(--tgk-teal); }
.tgk-drawer__note { display: flex; gap: 8px; align-items: center; margin: auto 0 0; padding-top: 10px; font-size: 13px; color: var(--tgk-muted); }
.tgk-drawer__note .tgk-ico { color: var(--tgk-teal-dark); }
body.tgk-lock { overflow: hidden; }

/* =====================================================================
   FOOTER
   ================================================================== */
.tgk-footer {
  position: relative; isolation: isolate; overflow: hidden; margin-top: 72px;
  color: var(--tgk-on-dark-muted); font-family: var(--tgk-font-body); font-size: 15px; line-height: 1.6;
  background: radial-gradient(900px 420px at 85% 10%, rgba(29, 61, 114, .75), transparent 62%), radial-gradient(700px 420px at 0% 100%, rgba(255, 107, 44, .07), transparent 60%), var(--tgk-ink);
  border-top: 1px solid var(--tgk-dark-line);
}
.tgk-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(45, 212, 191, .6), rgba(255, 107, 44, .6), transparent); }
.tgk-footer a { color: #C9D3E3; text-decoration: none; transition: color .2s ease; }
.tgk-footer a:hover { color: #fff; }
.tgk-footer__map { position: absolute; z-index: -1; right: -4%; top: 30px; width: min(940px, 78%); aspect-ratio: 1000 / 440; opacity: .7; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 80%, transparent), linear-gradient(180deg, #000 55%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 80%, transparent); pointer-events: none; }
.tgk-footer__map img, .tgk-footer__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tgk-footer__map img { opacity: .35; }

.tgk-band { padding: 64px 0 8px; }
.tgk-band__card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  padding: clamp(26px, 4vw, 44px); border-radius: 26px;
  background: radial-gradient(600px 260px at 100% 0%, rgba(45, 212, 191, .18), transparent 65%), linear-gradient(140deg, rgba(29, 61, 114, .85), rgba(19, 40, 75, .55));
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}
html body.tgk-kit.tgk-kit .tgk-band__title { margin: 0 0 10px; color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 700; letter-spacing: -.025em; }
.tgk-band__text { margin: 0; color: #B9C5D8; font-size: 16px; }
.tgk-band .tgk-eyebrow { margin-bottom: 14px; }
@media (max-width: 900px) { .tgk-band__card { grid-template-columns: 1fr; gap: 22px; } }

.tgk-footer__grid { display: grid; grid-template-columns: 1.45fr 1.15fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 44px; }
.tgk-footer__grid.is-solo { grid-template-columns: minmax(0, 520px); }
@media (max-width: 1000px) { .tgk-footer__grid { grid-template-columns: 1fr 1fr; } .tgk-fbrand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .tgk-footer__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; } }
.tgk-fbrand__logo { display: inline-flex; border-radius: 12px; }
.tgk-fbrand .tgk-logo { height: 42px; }
.tgk-fbrand__about { max-width: 380px; margin: 18px 0 20px; color: #A9B8CE; }
.tgk-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; }
.tgk-badges li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); color: #DCE4F0; font-size: 13px; font-weight: 500; }
.tgk-badges .tgk-ico { width: 15px; height: 15px; color: var(--tgk-teal); }
.tgk-fcol__title { position: relative; margin: 4px 0 16px; padding-left: 14px; color: #fff; font-family: var(--tgk-font-head); font-size: 15px; font-weight: 600; letter-spacing: .01em; }
.tgk-fcol__title::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 14px; margin-top: -7px; border-radius: 2px; background: linear-gradient(180deg, var(--tgk-teal), var(--tgk-orange)); }
.tgk-flinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.tgk-flinks a { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14.5px; }
.tgk-flinks a::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .25s var(--tgk-ease); color: var(--tgk-ember); }
.tgk-flinks a:hover::after { opacity: 1; transform: none; }
.tgk-flinks--flags a.is-current { color: #fff; }
.tgk-flinks--flags .tgk-flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }

.tgk-footer__base { padding-top: 24px; padding-bottom: 30px; border-top: 1px solid var(--tgk-dark-line); }
.tgk-disclaimer { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; max-width: 900px; font-size: 13px; line-height: 1.6; color: #8C9BB3; }
.tgk-disclaimer .tgk-ico { width: 16px; height: 16px; margin-top: 2px; color: #8C9BB3; }
.tgk-footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 13.5px; }
.tgk-copy { margin: 0; color: #8C9BB3; }
.tgk-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
.tgk-legal a { color: #A9B8CE; }
html body.tgk-kit.tgk-kit .tgk-consent-link, html body.tgk-kit.tgk-kit .tgk-consent-link:hover, html body.tgk-kit.tgk-kit .tgk-consent-link:focus { padding: 0; margin: 0; border: 0; background: none; box-shadow: none; color: #A9B8CE; font-size: 13.5px; font-weight: 400; cursor: pointer; text-decoration: none; min-height: 0; text-transform: none; letter-spacing: 0; }
html body.tgk-kit.tgk-kit .tgk-consent-link:hover { color: #fff; }
.tgk-consent-note { display: block; width: 100%; font-size: 13px; color: var(--tgk-ember); }
.tgk-totop { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.tgk-totop .tgk-ico { width: 15px; height: 15px; transition: transform .25s var(--tgk-ease); }
.tgk-totop:hover .tgk-ico { transform: translateY(-3px); }

/* floating back-to-top with progress ring */
html body.tgk-kit.tgk-kit .tgk-fab, html body.tgk-kit.tgk-kit .tgk-fab:hover, html body.tgk-kit.tgk-kit .tgk-fab:focus {
  position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 52px; height: 52px; padding: 0; margin: 0;
  display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--tgk-ink); color: #fff; cursor: pointer; min-height: 0;
  box-shadow: 0 16px 30px -12px rgba(11, 22, 48, .65), 0 0 0 1px rgba(255, 255, 255, .08);
  opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .3s ease, transform .35s var(--tgk-ease), background-color .2s ease;
}
html body.tgk-kit.tgk-kit .tgk-fab.is-visible { opacity: 1; transform: none; }
html body.tgk-kit.tgk-kit .tgk-fab:hover { background: var(--tgk-deep); }
.tgk-fab .tgk-ico { width: 20px; height: 20px; transition: transform .25s var(--tgk-ease); }
.tgk-fab:hover .tgk-ico { transform: translateY(-2px); }
.tgk-fab__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tgk-fab__ring circle { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 2.5; }
.tgk-fab__ring circle.is-fill { stroke: var(--tgk-orange); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .15s linear; }
@media (max-width: 600px) { html body.tgk-kit.tgk-kit .tgk-fab { right: 14px; bottom: 14px; width: 46px; height: 46px; } }

/* social icons */
.tgk-soc ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tgk-soc__title { margin: 0 0 10px; font-weight: 600; }
.tgk-soc__a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #DCE4F0; transition: background-color .2s ease, color .2s ease, transform .2s var(--tgk-ease), border-color .2s ease; }
.tgk-soc__a:hover { background: var(--tgk-orange); border-color: var(--tgk-orange); color: var(--tgk-ink) !important; transform: translateY(-2px); }
.tgk-soc__a .tgk-ico { width: 19px; height: 19px; }
.tgk-soc.is-drawer .tgk-soc__a, .tgk-soc.is-page .tgk-soc__a { border-color: var(--tgk-border); background: var(--tgk-soft); color: var(--tgk-heading); }

/* =====================================================================
   CONTENT
   ================================================================== */
.tgk-styled :is(.entry-content, .wp-block-post-content, .elementor-widget-text-editor) a:not([class*="button"]):not([class*="tgk-"]):not(:is(.tgk-hero, .tgk-markets, .tgk-crumbs, .tgk-toc, .tgk-byline, .tgk-author, .tgk-faq summary, .tgk-soc, .tgk-track) a) {
  color: var(--tgk-link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--tgk-link) 40%, transparent);
  transition: text-decoration-color .2s ease, color .2s ease;
}
.tgk-styled :is(.entry-content, .wp-block-post-content) a:not([class]):hover { text-decoration-color: currentColor; }
.tgk-styled :is(.entry-content, .wp-block-post-content) :is(ul, ol):not([class]) li::marker { color: var(--tgk-orange); font-weight: 600; }
.tgk-styled :is(.entry-content, .wp-block-post-content) h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 1.8em; }
.tgk-styled :is(.entry-content, .wp-block-post-content) h3 { font-size: clamp(1.18rem, 1.8vw, 1.35rem); margin-top: 1.5em; }
.tgk-styled :is(.entry-content, .wp-block-post-content) :is(table, .wp-block-table table) { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--tgk-border); border-radius: 14px; overflow: hidden; font-size: .95em; background: var(--tgk-surface); }
.tgk-styled :is(.entry-content, .wp-block-post-content) :is(th, td) { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--tgk-border); text-align: left; vertical-align: top; }
.tgk-styled :is(.entry-content, .wp-block-post-content) thead th, .tgk-styled :is(.entry-content, .wp-block-post-content) tr:first-child th { background: var(--tgk-soft); color: var(--tgk-heading); font-weight: 600; }
.tgk-styled :is(.entry-content, .wp-block-post-content) tr:last-child td { border-bottom: 0; }
.tgk-styled :is(.entry-content, .wp-block-post-content) blockquote { margin: 1.6em 0; padding: 18px 22px; border: 0; border-left: 4px solid var(--tgk-orange); border-radius: 0 14px 14px 0; background: var(--tgk-soft); color: var(--tgk-heading); font-style: normal; }
.tgk-styled :is(.entry-content, .wp-block-post-content) :not(pre) > code { padding: .15em .4em; border-radius: 6px; background: var(--tgk-code); font-size: .9em; }
.tgk-styled :is(.entry-content, .wp-block-post-content) pre { padding: 16px 18px; border-radius: 14px; background: var(--tgk-ink); color: #E8EEF7; overflow-x: auto; }
.tgk-styled :is(.entry-content, .wp-block-post-content) img { border-radius: 14px; }
.tgk-styled :is(.entry-content, .wp-block-post-content) hr { border: 0; height: 1px; background: var(--tgk-border); margin: 2.4em 0; }
body.tgk-styled .wp-block-button__link, body.tgk-styled .tgk-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; border: 0; background: var(--tgk-orange); color: var(--tgk-ink); font-family: var(--tgk-font-head); font-weight: 600; text-decoration: none; transition: background-color .2s ease, transform .2s var(--tgk-ease); cursor: pointer; }
body.tgk-styled .wp-block-button__link:hover, body.tgk-styled .tgk-btn:hover { background: var(--tgk-ember); color: var(--tgk-ink); transform: translateY(-1px); }
body.tgk-styled .is-style-outline .wp-block-button__link, body.tgk-styled .tgk-btn.is-ghost { background: transparent; color: var(--tgk-heading); box-shadow: inset 0 0 0 1.5px var(--tgk-border); }
body.tgk-styled .is-style-outline .wp-block-button__link:hover, body.tgk-styled .tgk-btn.is-ghost:hover { background: var(--tgk-soft); color: var(--tgk-heading); }
.tgk-styled :is(.entry-content, .wp-block-post-content) :is(input[type="text"], input[type="email"], input[type="search"], input[type="url"], input[type="tel"], textarea, select):not(.tgk-track__input) { border: 1px solid var(--tgk-border); border-radius: 12px; background: var(--tgk-surface); color: var(--tgk-text); padding: 12px 14px; }
.tgk-styled :is(.entry-content, .wp-block-post-content) details:not(.tgk-faq__item) { margin: 10px 0; padding: 14px 18px; border: 1px solid var(--tgk-border); border-radius: 14px; background: var(--tgk-surface); }
.tgk-styled :is(.entry-content, .wp-block-post-content) details:not(.tgk-faq__item) > summary { cursor: pointer; font-weight: 600; color: var(--tgk-heading); }

/* breadcrumbs */
.tgk-crumbs { margin: 0 0 18px; font-size: 13.5px; }
.tgk-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; }
.tgk-crumbs li { display: inline-flex; align-items: center; gap: 4px; color: var(--tgk-muted); }
.tgk-crumbs li + li::before { content: ""; width: 14px; height: 14px; opacity: .55; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.tgk-crumbs a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 8px; color: var(--tgk-muted) !important; text-decoration: none !important; transition: background-color .2s ease, color .2s ease; }
.tgk-crumbs a:hover { background: var(--tgk-soft); color: var(--tgk-heading) !important; }
.tgk-crumbs .tgk-ico { width: 15px; height: 15px; }
.tgk-crumbs [aria-current] { padding: 4px 8px; color: var(--tgk-heading); font-weight: 500; }

/* byline */
.tgk-byline { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; padding: 14px 18px; border: 1px solid var(--tgk-border); border-radius: 16px; background: var(--tgk-surface); }
.tgk-byline__avatar { border-radius: 50%; box-shadow: 0 0 0 3px var(--tgk-soft); }
.tgk-byline p { margin: 0; }
.tgk-byline__who { font-weight: 600; color: var(--tgk-heading); display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.tgk-byline__who a { color: inherit !important; text-decoration: none !important; }
.tgk-byline__rev { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--tgk-text); font-size: .94em; }
.tgk-byline__rev .tgk-ico { color: var(--tgk-teal-dark); }
html[data-theme="dark"] .tgk-byline__rev .tgk-ico { color: var(--tgk-teal); }
.tgk-byline__cred { color: var(--tgk-muted); }
.tgk-byline__meta { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--tgk-muted); }

/* contents box */
.tgk-toc { margin: 26px 0 30px; }
.tgk-toc details { border: 1px solid var(--tgk-border); border-radius: 16px; background: var(--tgk-surface); overflow: hidden; }
.tgk-toc summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; cursor: pointer; list-style: none; font-family: var(--tgk-font-head); font-weight: 600; color: var(--tgk-heading); }
.tgk-toc summary::-webkit-details-marker { display: none; }
.tgk-toc summary .tgk-ico:first-child { color: var(--tgk-orange); }
.tgk-toc__count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--tgk-soft); font-size: 12px; color: var(--tgk-muted); font-family: var(--tgk-font-body); }
.tgk-toc__chev { margin-left: auto; transition: transform .3s var(--tgk-ease); }
.tgk-toc details[open] .tgk-toc__chev { transform: rotate(180deg); }
.tgk-toc ol { margin: 0; padding: 4px 18px 16px 44px; counter-reset: tgk; list-style: none; }
.tgk-toc li { position: relative; counter-increment: tgk; padding: 5px 0; }
.tgk-toc li::before { content: counter(tgk, decimal-leading-zero); position: absolute; left: -30px; top: 7px; font-size: 12px; font-weight: 600; color: var(--tgk-muted); font-feature-settings: "tnum"; }
.tgk-toc a { color: var(--tgk-text) !important; text-decoration: none !important; }
.tgk-toc a:hover, .tgk-toc a.is-active { color: var(--tgk-link) !important; }
.tgk-toc a.is-active { font-weight: 600; }

/* author box */
.tgk-author { display: flex; gap: 18px; align-items: flex-start; margin: 40px 0 10px; padding: 22px; border: 1px solid var(--tgk-border); border-radius: 20px; background: linear-gradient(135deg, var(--tgk-surface), var(--tgk-soft)); }
.tgk-author__avatar { border-radius: 18px; }
.tgk-author p { margin: 0; }
.tgk-author__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tgk-muted); }
.tgk-author__name { margin: 2px 0 6px !important; font-family: var(--tgk-font-head); font-size: 18px; font-weight: 600; }
.tgk-author__name a { color: var(--tgk-heading) !important; text-decoration: none !important; }
.tgk-author__bio { color: var(--tgk-text); font-size: 15px; }

/* FAQ */
.tgk-faq { margin: 2em 0; display: grid; gap: 10px; }
html body.tgk-kit.tgk-kit .tgk-faq__title { margin: 0 0 8px; }
.tgk-faq__item { border: 1px solid var(--tgk-border); border-radius: 16px; background: var(--tgk-surface); transition: border-color .2s ease, box-shadow .25s ease; }
.tgk-faq__item[open] { border-color: color-mix(in srgb, var(--tgk-orange) 45%, var(--tgk-border)); box-shadow: var(--tgk-shadow); }
.tgk-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; font-family: var(--tgk-font-head); font-size: 16.5px; font-weight: 600; color: var(--tgk-heading); }
.tgk-faq__item summary::-webkit-details-marker { display: none; }
.tgk-faq__item summary .tgk-ico { flex-shrink: 0; width: 28px; height: 28px; padding: 5px; border-radius: 9px; background: var(--tgk-soft); transition: transform .3s var(--tgk-ease), background-color .2s ease; }
.tgk-faq__item[open] summary .tgk-ico { transform: rotate(180deg); background: rgba(255, 107, 44, .14); color: var(--tgk-link); }
.tgk-faq__a { padding: 0 20px 6px; color: var(--tgk-text); }
.tgk-faq__a > :first-child { margin-top: 0; }

/* status badges */
.tgk-status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 999px; font-size: .86em; font-weight: 600; line-height: 1.5; vertical-align: middle; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 28%, transparent); background: color-mix(in srgb, currentColor 9%, transparent); }
.tgk-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tgk-status.is-delivered { color: var(--tgk-ok); } .tgk-status.is-delivered i { background: var(--tgk-ok-dot); }
.tgk-status.is-transit { color: var(--tgk-move); } .tgk-status.is-transit i { background: var(--tgk-move-dot); }
.tgk-status.is-out { color: var(--tgk-out); } .tgk-status.is-out i { background: var(--tgk-out-dot); }
.tgk-status.is-exception { color: var(--tgk-warn); } .tgk-status.is-exception i { background: var(--tgk-warn-dot); }
.tgk-status.is-failed { color: var(--tgk-fail); } .tgk-status.is-failed i { background: var(--tgk-fail-dot); }
.tgk-status.is-pending { color: var(--tgk-wait); } .tgk-status.is-pending i { background: var(--tgk-wait-dot); }
[data-motion="full"] .tgk-status.is-out i, [data-motion="full"] .tgk-status.is-transit i { animation: tgk-blink 1.8s ease-in-out infinite; }
@keyframes tgk-blink { 50% { opacity: .35; } }

/* country cards */
.tgk-markets { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 1.6em 0; padding: 0; }
.tgk-mcard { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border: 1px solid var(--tgk-border); border-radius: 16px; background: var(--tgk-surface); color: var(--tgk-text); text-decoration: none !important; transition: transform .25s var(--tgk-ease), box-shadow .25s ease, border-color .2s ease; }
.tgk-mcard:hover { transform: translateY(-3px); box-shadow: var(--tgk-shadow-lg); border-color: color-mix(in srgb, var(--tgk-orange) 40%, var(--tgk-border)); }
.tgk-mcard .tgk-flag { width: 34px; height: 24px; border-radius: 5px; }
.tgk-mcard__body { display: flex; flex-direction: column; line-height: 1.3; }
.tgk-mcard__body strong { color: var(--tgk-heading); font-family: var(--tgk-font-head); font-size: 15px; font-weight: 600; }
.tgk-mcard__body span { color: var(--tgk-muted); font-size: 13px; }
.tgk-mcard__go { margin-left: auto; width: 18px; height: 18px; color: var(--tgk-muted); transition: transform .25s var(--tgk-ease), color .2s ease; }
.tgk-mcard:hover .tgk-mcard__go { transform: translateX(3px); color: var(--tgk-link); }
.tgk-mcard.is-current { box-shadow: inset 0 0 0 1.5px var(--tgk-teal); }

.tgk-disclaimer.is-inline { margin: 1.4em 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--tgk-border); background: var(--tgk-soft); color: var(--tgk-muted); }

/* =====================================================================
   MOTION: reveal on scroll (only below the fold, so LCP is never delayed)
   ================================================================== */
[data-motion="full"] .tgk-pre { opacity: 0; transform: translateY(16px); }
[data-motion="full"] .tgk-in { opacity: 1; transform: none; transition: opacity .7s var(--tgk-ease), transform .8s var(--tgk-ease); transition-delay: var(--tgk-d, 0s); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .tgk-pre { opacity: 1 !important; transform: none !important; }
}
[data-motion="off"] *, [data-motion="off"] *::before, [data-motion="off"] *::after { animation: none !important; }

/* print: drop the frame */
@media print {
  .tgk-header, .tgk-footer, .tgk-drawer, .tgk-fab, .tgk-announce, .tgk-track { display: none !important; }
  body.tgk-kit { background: #fff !important; color: #000; }
}

/* ── Contact form [tgk_contact] ─────────────────────────────────────── */
.tgk-cform { --cf-r: 14px; display: grid; gap: 18px; margin: 8px 0 28px; padding: clamp(18px, 3.4vw, 30px); background: var(--tgk-surface); border: 1px solid var(--tgk-border); border-radius: 20px; box-shadow: var(--tgk-shadow); font-family: var(--tgk-font-body); color: var(--tgk-text); }
.tgk-cform .tgk-cform__title { margin: 0; font-family: var(--tgk-font-head); font-weight: 650; font-size: 1.25rem; color: var(--tgk-heading); }
.tgk-cform fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.tgk-cform legend, .tgk-cform .tgk-field > label { display: block; margin: 0 0 8px; padding: 0; font-family: var(--tgk-font-head); font-weight: 600; font-size: .92rem; color: var(--tgk-heading); }
.tgk-cform__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tgk-cform .tgk-chip { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.tgk-cform .tgk-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tgk-cform .tgk-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--tgk-border); background: var(--tgk-bg); color: var(--tgk-text); font-size: .9rem; line-height: 1.25; transition: border-color .18s ease, background-color .18s ease, color .18s ease; }
.tgk-cform .tgk-chip:hover span { border-color: var(--tgk-muted); }
.tgk-cform .tgk-chip input:checked + span { border-color: var(--tgk-orange); background: color-mix(in srgb, var(--tgk-orange) 12%, transparent); color: var(--tgk-heading); font-weight: 600; }
.tgk-cform .tgk-chip input:focus-visible + span { outline: 3px solid var(--tgk-focus, var(--tgk-orange)); outline-offset: 2px; }
.tgk-cform__row { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.tgk-cform .tgk-field { margin: 0; }
.tgk-cform input[type="text"], .tgk-cform input[type="email"], .tgk-cform textarea { display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 12px 14px; border: 1.5px solid var(--tgk-border); border-radius: var(--cf-r); background: var(--tgk-bg); color: var(--tgk-heading); font: inherit; font-size: 1rem; line-height: 1.45; box-shadow: none; transition: border-color .18s ease, box-shadow .18s ease; }
.tgk-cform textarea { min-height: 150px; resize: vertical; }
.tgk-cform input:focus, .tgk-cform textarea:focus { outline: none; border-color: var(--tgk-orange); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tgk-orange) 18%, transparent); }
.tgk-cform [aria-invalid="true"] { border-color: var(--tgk-fail) !important; }
.tgk-cform .tgk-field small { display: block; margin-top: 6px; color: var(--tgk-muted); font-size: .84rem; line-height: 1.45; }
.tgk-cform .tgk-cform__count:empty { display: none; }
.tgk-cform__num[hidden] { display: none; }
.tgk-cform__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.tgk-cform__agree { margin: 0; font-size: .92rem; line-height: 1.5; }
.tgk-cform__agree label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.tgk-cform__agree input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--tgk-orange); }
.tgk-cform__agree input[aria-invalid="true"] { outline: 2px solid var(--tgk-fail); outline-offset: 2px; }
.tgk-cform__agree a { color: var(--tgk-link); }
.tgk-cform__actions { margin: 0; }
.tgk-cform__actions .tgk-btn { min-height: 48px; padding-inline: 26px; }
.tgk-cform.is-busy .tgk-btn { opacity: .7; cursor: progress; }
.tgk-cform__status { margin: 0; font-size: .95rem; font-weight: 600; }
.tgk-cform__status:empty { display: none; }
.tgk-cform__status.is-ok { padding: 12px 14px; border-radius: 12px; color: var(--tgk-ok); background: color-mix(in srgb, var(--tgk-ok) 10%, transparent); }
.tgk-cform__status.is-bad { color: var(--tgk-fail); }
@media (max-width: 560px) { .tgk-cform .tgk-chip span { min-height: 38px; padding: 7px 12px; font-size: .86rem; } }
/* Theme button styles (Astra, Twenty Twenty-One…) must not repaint the form button. */
html body .tgk-cform button.tgk-btn { background: var(--tgk-orange) !important; color: var(--tgk-ink) !important; border: 0 !important; border-radius: 12px !important; font-family: var(--tgk-font-head) !important; font-weight: 600 !important; font-size: 1rem !important; line-height: 1.2 !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: 0 12px 24px -14px rgba(255, 107, 44, .9) !important; }
html body .tgk-cform button.tgk-btn:hover, html body .tgk-cform button.tgk-btn:focus-visible { background: var(--tgk-ember) !important; color: var(--tgk-ink) !important; }
html body .tgk-cform button.tgk-btn:disabled { opacity: .7; }
html body .tgk-cform input[type="checkbox"] { -webkit-appearance: checkbox !important; appearance: auto !important; }
html body .tgk-cform .tgk-cform__agree label { font-size: .92rem !important; font-weight: 400 !important; line-height: 1.5 !important; color: var(--tgk-text) !important; }

/* ── 1.2.6: solid midnight-navy header (no see-through blur) ───────── */
html body.tgk-kit .tgk-header, html body.tgk-kit.tgk-header-glass .tgk-header, html body.tgk-kit .tgk-header.is-scrolled, html body.tgk-kit.tgk-header-glass .tgk-header.is-scrolled {
  background: linear-gradient(180deg, #0E1D3A 0%, #0A1630 100%) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, .07) !important;
}
html body.tgk-kit .tgk-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 107, 44, .55) 30%, rgba(45, 212, 191, .45) 70%, transparent); opacity: .7; pointer-events: none; }

/* ── 1.2.6: header tracking field that stands out on the navy ──────── */
html body.tgk-kit .tgk-track.is-header .tgk-track__bar { background: #FFFFFF !important; border: 1px solid rgba(255, 255, 255, .9) !important; box-shadow: 0 0 0 4px rgba(255, 255, 255, .06), 0 10px 26px -14px rgba(0, 0, 0, .8) !important; }
html body.tgk-kit .tgk-track.is-header .tgk-track__bar:hover { box-shadow: 0 0 0 4px rgba(255, 107, 44, .16), 0 10px 26px -14px rgba(0, 0, 0, .8) !important; }
html body.tgk-kit .tgk-track.is-header .tgk-track__bar:focus-within { background: #FFFFFF !important; border-color: #FF6B2C !important; box-shadow: 0 0 0 4px rgba(255, 107, 44, .32), 0 12px 30px -12px rgba(255, 107, 44, .55) !important; }
html body.tgk-kit.tgk-kit .tgk-track.is-header .tgk-track__input { color: #0B1630 !important; font-weight: 600 !important; }
html body.tgk-kit .tgk-track.is-header .tgk-track__input::placeholder { color: #5B6B82 !important; font-weight: 500; opacity: 1; }
html body.tgk-kit .tgk-track.is-header .tgk-track__ico { color: #FF6B2C !important; }
html body.tgk-kit.tgk-kit .tgk-track.is-header .tgk-track__tool { color: #5B6B82 !important; }
html body.tgk-kit.tgk-kit .tgk-track.is-header .tgk-track__tool:hover { background: #EEF2F8 !important; color: #0B1630 !important; }
@keyframes tgk-hglow { 0%, 100% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .06), 0 10px 26px -14px rgba(0, 0, 0, .8); } 50% { box-shadow: 0 0 0 5px rgba(255, 107, 44, .22), 0 10px 26px -14px rgba(0, 0, 0, .8); } }
html[data-motion="full"] body.tgk-kit .tgk-track.is-header .tgk-track__bar:not(:focus-within) { animation: tgk-hglow 3.6s 1s ease-in-out 2; }
@media (prefers-reduced-motion: reduce) { html body.tgk-kit .tgk-track.is-header .tgk-track__bar { animation: none !important; } }

/* ── 1.2.6: pages with the importer's page header start right under the site header ── */
html body.tgk-kit.tgk-has-hero .elementor > .tgi-sec--head:first-child, html body.tgk-kit.tgk-has-hero .elementor .e-con.tgi-sec--head { margin-top: 0 !important; }
html body.tgk-kit.tgk-has-hero.ast-separate-container .site-content, html body.tgk-kit.tgk-has-hero.ast-plain-container .site-content { background: transparent; }
html body.tgk-kit.tgk-has-hero :is(.ast-separate-container, .ast-plain-container) #primary { margin: 0 !important; padding: 0 !important; }
/* calmer header light: a hint of colour, no blue haze */
html body.tgk-kit .tgk-header__glow::before { opacity: .35; }
html body.tgk-kit .tgk-header__glow::after { opacity: .45; }
/* breadcrumbs stay on one line; the current page is shortened with "…" */
.tgk-crumbs ol { flex-wrap: nowrap !important; min-width: 0; }
.tgk-crumbs li { flex: none; }
.tgk-crumbs li:last-child { flex: 1 1 auto; min-width: 0; }
.tgk-crumbs li:last-child > span { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 4px 0; color: var(--tgk-heading); }

/* =====================================================================
   HERO "HEXAGONE" — [tgk_hero style="hexagone"] (France)
   Text and tracking box left, animated map of France right.
   ================================================================== */
@property --hx-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.tgk-hero--hx { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(20px, 3vw, 48px); padding-right: clamp(22px, 3vw, 40px); background:
  radial-gradient(120% 90% at 85% 10%, rgba(45, 212, 191, .14), transparent 55%),
  radial-gradient(90% 80% at 0% 100%, rgba(255, 107, 44, .14), transparent 60%),
  linear-gradient(160deg, #0E1D3A 0%, #0A1630 55%, #081127 100%); }
.tgk-hero--hx .tgk-hero__inner { max-width: 640px; }
html body.tgk-kit.tgk-kit .tgk-hero--hx .tgk-hero__title { font-size: clamp(2.05rem, 4.4vw, 3.4rem); }
.tgk-hero--hx .tgk-hero__text { margin-bottom: 26px; }

/* tracking box: glass bar, turning ring, tricolour line on focus */
.tgk-hx__box { position: relative; }
.tgk-hero--hx .tgk-track__bar { position: relative; isolation: isolate; border-radius: 22px; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); }
.tgk-hero--hx .tgk-track__bar::before { content: ""; position: absolute; inset: -1px; z-index: -1; padding: 1.6px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--hx-a), transparent 0deg, transparent 200deg, rgba(255, 138, 76, .95) 260deg, rgba(45, 212, 191, .95) 320deg, transparent 360deg);
  -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); opacity: .9; }
[data-motion="full"] .tgk-hero--hx .tgk-track__bar::before, [data-motion="subtle"] .tgk-hero--hx .tgk-track__bar::before { animation: tgk-hx-spin 6s linear infinite; }
.tgk-hero--hx .tgk-track__bar:focus-within::before { animation-duration: 2.4s; opacity: 1; }
.tgk-hero--hx .tgk-track__bar::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, #2563EB 0 33.3%, #F8FAFC 33.3% 66.6%, #EF4444 66.6% 100%); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--tgk-ease); }
.tgk-hero--hx .tgk-track__bar:focus-within::after { transform: scaleX(1); }
.tgk-hero--hx .tgk-track__bar:focus-within { box-shadow: 0 0 0 6px rgba(255, 107, 44, .14), 0 30px 70px -30px rgba(0, 0, 0, .8); }
.tgk-hero--hx .tgk-track__field { border-radius: 15px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 10px 26px -18px rgba(0, 0, 0, .6); }
html body.tgk-kit.tgk-kit .tgk-hero--hx .tgk-track__go { overflow: hidden; background: linear-gradient(135deg, #FF8A4C, #FF6B2C 55%, #F25A1A); }
.tgk-hero--hx .tgk-track__go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
[data-motion="full"] .tgk-hero--hx .tgk-track__go::after { animation: tgk-hx-sheen 5.5s var(--tgk-ease) 2s infinite; }
.tgk-hero--hx .tgk-track__hint { display: none; }

/* format meter: GFFR + 14 cells fill as you type */
.tgk-hx__meter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 14px 2px 0; }
.tgk-hx__cells { display: inline-flex; align-items: center; gap: 3px; }
.tgk-hx__cells i { position: relative; display: inline-grid; place-items: center; width: 13px; height: 17px; border-radius: 4px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); font: 600 9.5px/1 var(--tgk-font-body); font-style: normal; color: rgba(255, 255, 255, .35); transition: background .25s ease, box-shadow .25s ease, transform .25s var(--tgk-ease), color .25s ease; }
.tgk-hx__cells i.is-p::before { content: attr(data-g); }
.tgk-hx__cells b { width: 6px; }
.tgk-hx__cells i.is-on { background: rgba(45, 212, 191, .28); box-shadow: inset 0 0 0 1px rgba(45, 212, 191, .7); color: #fff; transform: translateY(-1px); }
.tgk-hx__cells i.is-p.is-on { background: rgba(255, 138, 76, .3); box-shadow: inset 0 0 0 1px rgba(255, 138, 76, .8); }
.tgk-hx__cells i.is-bad { background: rgba(239, 68, 68, .28); box-shadow: inset 0 0 0 1px rgba(239, 68, 68, .7); }
.tgk-hx__meter.is-ok .tgk-hx__cells i { background: rgba(45, 212, 191, .45); box-shadow: inset 0 0 0 1px #2DD4BF; color: #fff; }
.tgk-hx__mstate { font-size: 12.5px; font-weight: 500; color: #A9B8CE; transition: color .25s ease; }
.tgk-hx__meter.is-ok .tgk-hx__mstate { color: #5EEAD4; font-weight: 600; }
.tgk-hx__meter.is-ok .tgk-hx__mstate::before { content: "✓ "; }
[data-motion="full"] .tgk-hx__meter.is-ok .tgk-hx__cells i { animation: tgk-hx-wave .6s var(--tgk-ease) both; animation-delay: calc(var(--k, 0) * 22ms); }

/* the map */
.tgk-hx { position: relative; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 420px; perspective: 1200px; }
.tgk-hx__stage { position: relative; width: 100%; max-width: 470px; transform: rotateX(var(--hx-ry, 0deg)) rotateY(var(--hx-rx, 0deg)); transform-style: preserve-3d; transition: transform .6s var(--tgk-ease); }
.tgk-hx__svg { display: block; width: 100%; height: auto; overflow: visible; }
.tgk-hx__fill { opacity: .95; }
.tgk-hx svg pattern circle { fill: rgba(148, 178, 222, .34); }
.tgk-hx__edge { fill: none; stroke: rgba(94, 234, 212, .55); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(45, 212, 191, .45)); }
.tgk-hx__route { fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: .012 .018; opacity: .8; }
.tgk-hx__cities circle { fill: #CFE0F5; opacity: .75; }
.tgk-hx__parcel { fill: #FFB27A; filter: drop-shadow(0 0 5px rgba(255, 138, 76, .95)); }
.tgk-hx__core { fill: #FF6B2C; stroke: #fff; stroke-width: 2.4; filter: drop-shadow(0 0 10px rgba(255, 107, 44, .9)); }
.tgk-hx__ring { fill: none; stroke: #FF8A4C; stroke-width: 1.6; opacity: 0; transform-box: fill-box; transform-origin: center; }
.tgk-hx__label { fill: #E7EEF8; font: 600 13px/1 var(--tgk-font-head); letter-spacing: .01em; paint-order: stroke; stroke: rgba(8, 17, 39, .85); stroke-width: 4px; stroke-linejoin: round; }
[data-motion="full"] .tgk-hx__edge, [data-motion="subtle"] .tgk-hx__edge { stroke-dashoffset: 1; animation: tgk-hx-draw 2.6s var(--tgk-ease) .2s forwards; }
[data-motion="full"] .tgk-hx__route { animation: tgk-hx-flow 2.2s linear infinite; animation-delay: calc(var(--i) * -.21s); }
[data-motion="full"] .tgk-hx__ring { animation: tgk-hx-ring 2.8s var(--tgk-ease) infinite; }
[data-motion="full"] .tgk-hx__ring.is-2 { animation-delay: 1.4s; }
[data-motion="full"] .tgk-hx__dots { animation: tgk-hx-fade 1.6s ease .6s both; }
html:not([data-motion="full"]) .tgk-hx__moves { display: none; }

/* example feed: glass card, steps light up one after another */
.tgk-hx__feed { position: relative; z-index: 2; align-self: flex-end; margin-top: -78px; width: min(330px, 78%); padding: 14px 14px 12px; border-radius: 18px; background: rgba(14, 29, 58, .72); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.tgk-hx__feedhead { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8FA3C0; }
.tgk-hx__feed ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tgk-hx__feed li { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 12px; opacity: .32; transform: translateX(6px); transition: opacity .5s ease, transform .5s var(--tgk-ease), background .5s ease; }
.tgk-hx__feed li .tgk-ico { width: 28px; height: 28px; padding: 6px; border-radius: 9px; color: #fff; background: rgba(255, 255, 255, .08); transition: background .5s ease; }
.tgk-hx__feed li b { display: block; font-size: 12.5px; line-height: 1.3; font-weight: 600; color: #fff; }
.tgk-hx__feed li em { display: block; font-size: 11.5px; font-style: normal; color: #8FA3C0; }
.tgk-hx__feed li.is-on { opacity: 1; transform: none; }
.tgk-hx__feed li.is-now { background: rgba(255, 255, 255, .06); }
.tgk-hx__feed li.is-on .tgk-ico { background: linear-gradient(135deg, #2DD4BF, #0F766E); }
.tgk-hx__feed li.is-check.is-on .tgk-ico { background: linear-gradient(135deg, #FF8A4C, #FF6B2C); }
.tgk-hx__bar { display: block; height: 3px; margin-top: 10px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tgk-hx__bar i { display: block; height: 100%; width: var(--hx-p, 0%); border-radius: inherit; background: linear-gradient(90deg, #2DD4BF, #FF8A4C); transition: width .8s var(--tgk-ease); }
html:not([data-motion="full"]) .tgk-hx__feed li { opacity: 1; transform: none; }

@keyframes tgk-hx-spin { to { --hx-a: 360deg; } }
@keyframes tgk-hx-sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes tgk-hx-draw { to { stroke-dashoffset: 0; } }
@keyframes tgk-hx-flow { to { stroke-dashoffset: -.06; } }
@keyframes tgk-hx-ring { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(3.2); } }
@keyframes tgk-hx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tgk-hx-wave { 0% { transform: translateY(0); } 40% { transform: translateY(-4px); } 100% { transform: translateY(-1px); } }

@media (max-width: 980px) {
  .tgk-hero--hx { grid-template-columns: 1fr; padding-right: clamp(22px, 5vw, 64px); }
  .tgk-hx { min-height: 0; margin: 8px auto -10px; width: 100%; max-width: 460px; }
  .tgk-hx__feed { align-self: stretch; width: 100%; margin-top: -40px; }
}
@media (max-width: 560px) {
  .tgk-hero--hx .tgk-track__chip { display: none !important; }
  .tgk-hx__cells i { width: 10.5px; height: 15px; font-size: 8px; }
  .tgk-hx__label { font-size: 15px; }
}

/* =====================================================================
   HERO "VERTREKBORD" — [tgk_hero style="vertrekbord"] (Netherlands)
   Daylight hero, split-flap parcel board, kinetic word ticker.
   ================================================================== */
.tgk-hero--vb { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(20px, 3vw, 44px); padding-bottom: clamp(130px, 13vw, 168px); color: #fff;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(45, 212, 191, .14), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(255, 107, 44, .14), transparent 60%),
    linear-gradient(160deg, #0E1D3A 0%, #0A1630 55%, #081127 100%); }
.tgk-hero--vb::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(148, 178, 222, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 178, 222, .07) 1px, transparent 1px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(80% 70% at 30% 30%, #000, transparent 75%); mask-image: radial-gradient(80% 70% at 30% 30%, #000, transparent 75%); }
.tgk-hero--vb .tgk-hero__inner { max-width: 620px; }
html body.tgk-kit.tgk-kit .tgk-hero--vb .tgk-hero__title { color: #fff; font-size: clamp(2.05rem, 4.3vw, 3.3rem); }
.tgk-hero--vb .tgk-hero__text { color: #B9C5D8; margin-bottom: 26px; }
.tgk-hero--vb .tgk-hero__pills a { color: #0B1630; background: rgba(255, 255, 255, .7); border-color: #DCE6F5; }
.tgk-hero--vb .tgk-hero__pills a:hover { color: #0B1630; background: #fff; border-color: #B9CCEA; }
.tgk-hero--vb .tgk-hero__pills em { color: #64748B; }
.tgk-hero--vb .tgk-hero__pills a[aria-current] { border-color: #FF8A4C; box-shadow: inset 0 0 0 1px rgba(255, 107, 44, .35); }
.tgk-hero--vb .tgk-track__hint { display: none; }
.tgk-hero--vb .tgk-track__chips { display: none !important; }

/* tracking box: crisp white field, blue frame, orange scan sweeping along the bottom */
.tgk-hero--vb .tgk-track__bar { position: relative; overflow: hidden; background: #fff; border: 2px solid rgba(255, 255, 255, .22); border-radius: 18px; box-shadow: 0 1px 2px rgba(11, 22, 48, .06), 0 22px 44px -26px rgba(30, 58, 138, .55); transition: border-color .3s ease, box-shadow .3s ease; }
.tgk-hero--vb .tgk-track__bar:hover { border-color: rgba(255, 255, 255, .4); }
.tgk-hero--vb .tgk-track__bar:focus-within { border-color: #FF6B2C; box-shadow: 0 0 0 6px rgba(255, 107, 44, .14), 0 26px 50px -26px rgba(255, 107, 44, .55); }
.tgk-hero--vb .tgk-track__field { background: transparent; box-shadow: none; }
.tgk-hero--vb .tgk-track__bar::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 3px; border-radius: 3px; pointer-events: none; background: linear-gradient(90deg, transparent, #FF6B2C, #FFB27A, transparent); transform: translateX(-110%); }
[data-motion="full"] .tgk-hero--vb .tgk-track__bar::after { animation: tgk-vb-scan 3.4s var(--tgk-ease) 1.2s infinite; }
.tgk-hero--vb .tgk-track__bar:focus-within::after { animation-duration: 1.6s; }
html body.tgk-kit.tgk-kit .tgk-hero--vb .tgk-track__go { background: #FF6B2C; box-shadow: 0 12px 26px -12px rgba(255, 107, 44, .9); }
html body.tgk-kit.tgk-kit .tgk-hero--vb .tgk-track__go:hover { background: #F25A1A; }
.tgk-hero--vb .tgk-track__go .tgk-ico { transition: transform .3s var(--tgk-ease); }
.tgk-hero--vb .tgk-track__go:hover .tgk-ico { transform: translateX(3px); }
.tgk-hero--vb .tgk-track__msg { color: #FCA5A5; }

/* flap read-out under the box */
.tgk-vb__read { display: flex; align-items: center; gap: 12px; margin: 0 2px; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-6px); transition: max-height .4s var(--tgk-ease), opacity .35s ease, transform .4s var(--tgk-ease), margin .4s var(--tgk-ease); }
.tgk-vb__read.is-on { max-height: 40px; opacity: 1; transform: none; margin-top: 14px; }
.tgk-vb__mini { display: inline-flex; gap: 3px; perspective: 300px; }
.tgk-vb__mini i, .tgk-vb__f i { position: relative; display: inline-grid; place-items: center; font-style: normal; font-family: var(--tgk-font-head); font-weight: 600; color: #F8FAFC; background: linear-gradient(180deg, #2A3A5E 0 50%, #22304F 50% 100%); border-radius: 3px; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .35); transform-origin: 50% 50%; backface-visibility: hidden; }
.tgk-vb__mini i::after, .tgk-vb__f i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.tgk-vb__mini i { width: 21px; height: 27px; font-size: 14px; }
.tgk-vb__read.is-ok .tgk-vb__mini i { color: #FFB020; }
.tgk-vb__rstate { font-size: 13px; font-weight: 500; color: #B9C5D8; }
.tgk-vb__read.is-ok .tgk-vb__rstate { color: #5EEAD4; font-weight: 600; }
.tgk-vb__read.is-ok .tgk-vb__rstate::before { content: "✓ "; }
.tgk-vb .is-f, .tgk-vb__mini .is-f { animation: tgk-vb-flip .16s ease-in-out; }

/* the board */
.tgk-vb { position: relative; z-index: 1; perspective: 1100px; display: flex; flex-direction: column; align-items: center; }
.tgk-vb__map { position: relative; width: 100%; max-width: 380px; transform: rotateX(var(--vb-ry, 0deg)) rotateY(var(--vb-rx, 0deg)); transition: transform .6s var(--tgk-ease); }
.tgk-vb__svg { display: block; width: 100%; height: auto; overflow: visible; }
.tgk-vb__land { fill: rgba(96, 165, 250, .08); }
.tgk-vb svg pattern circle { fill: rgba(147, 197, 253, .28); }
.tgk-vb__edge { fill: none; stroke: #60A5FA; stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 8px rgba(96, 165, 250, .5)); }
.tgk-vb__route { fill: none; stroke: #FF6B2C; stroke-width: 2; stroke-linecap: round; stroke-dasharray: .015 .02; opacity: .75; }
.tgk-vb__towns circle { fill: #CFE0F5; opacity: .75; }
.tgk-vb__parcel { fill: #FFB27A; stroke: none; filter: drop-shadow(0 2px 6px rgba(255, 107, 44, .7)); }
.tgk-vb__core { fill: #FF6B2C; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 4px 10px rgba(255, 107, 44, .6)); }
.tgk-vb__ring { fill: none; stroke: #FF6B2C; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.tgk-vb__label { fill: #E7EEF8; font: 600 17px/1 var(--tgk-font-head); paint-order: stroke; stroke: rgba(8, 17, 39, .85); stroke-width: 5px; stroke-linejoin: round; }
[data-motion="full"] .tgk-vb__edge, [data-motion="subtle"] .tgk-vb__edge { stroke-dashoffset: 1; animation: tgk-hx-draw 2.4s var(--tgk-ease) .2s forwards; }
[data-motion="full"] .tgk-vb__route { animation: tgk-hx-flow 2s linear infinite; animation-delay: calc(var(--i) * -.2s); }
[data-motion="full"] .tgk-vb__ring { animation: tgk-hx-ring 2.8s var(--tgk-ease) infinite; }
[data-motion="full"] .tgk-vb__ring.is-2 { animation-delay: 1.4s; }
html:not([data-motion="full"]) .tgk-vb__moves { display: none; }
.tgk-vb .tgk-vb__board { align-self: flex-end; width: min(430px, 100%); margin-top: -96px; }
.tgk-vb__board { position: relative; padding: 16px 16px 12px; border-radius: 22px; color: #E2E8F0; background: linear-gradient(180deg, #172647, #0F1A36); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 2px 4px rgba(11, 22, 48, .15), 0 40px 80px -36px rgba(11, 22, 48, .75), inset 0 1px 0 rgba(255, 255, 255, .08); transform: rotateY(-7deg) rotateX(3deg); transition: transform .8s var(--tgk-ease); }
.tgk-hero--vb:hover .tgk-vb__board { transform: rotateY(-3deg) rotateX(1deg); }
.tgk-vb__board::before { content: ""; position: absolute; left: 22px; right: 22px; top: -7px; height: 7px; border-radius: 7px 7px 0 0; background: linear-gradient(90deg, #AE1C28 0 33.3%, #F8FAFC 33.3% 66.6%, #21468B 66.6%); opacity: .9; }
.tgk-vb__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.tgk-vb__title { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #94A3B8; }
.tgk-vb__clock { font: 600 15px/1 var(--tgk-font-head); letter-spacing: .08em; color: #FFB020; font-variant-numeric: tabular-nums; }
.tgk-vb__clock b { animation: tgk-vb-blink 1s steps(1) infinite; font-weight: inherit; }
.tgk-vb__head, .tgk-vb__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) minmax(0, 9fr) minmax(0, 12fr) 14px; gap: 8px; align-items: center; }
.tgk-vb__head { padding: 0 2px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #64748B; }
.tgk-vb__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tgk-vb__row { padding: 2px; }
.tgk-vb__f { display: flex; gap: 2px; perspective: 300px; min-width: 0; }
.tgk-vb__f i { flex: 1 1 0; min-width: 0; height: 24px; font-size: 12.5px; }
.tgk-vb__f.is-status i { color: #FFB020; }
.tgk-vb__f.is-time i { color: #CBD5E1; }
.tgk-vb__lamp { width: 10px; height: 10px; border-radius: 50%; background: #2563EB; box-shadow: 0 0 10px currentColor; color: #2563EB; transition: background .4s ease, color .4s ease; }
.tgk-vb__lamp[data-s="1"] { background: #2DD4BF; color: #2DD4BF; }
.tgk-vb__lamp[data-s="2"] { background: #FF8A4C; color: #FF8A4C; }
.tgk-vb__lamp[data-s="3"] { background: #22C55E; color: #22C55E; }
.tgk-vb__lamp[data-s="4"] { background: #A78BFA; color: #A78BFA; }
[data-motion="full"] .tgk-vb__lamp[data-s="2"] { animation: tgk-vb-pulse 1.4s ease-in-out infinite; }
.tgk-vb__note { margin: 12px 2px 0; font-size: 11.5px; color: #64748B; }

/* kinetic ticker */
.tgk-vb__ticker { position: absolute; left: 0; right: 0; bottom: 18px; z-index: -1; display: grid; gap: 4px; pointer-events: none; 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); }
.tgk-vb__line { overflow: hidden; white-space: nowrap; }
.tgk-vb__track { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; will-change: transform; }
.tgk-vb__track span { font: 700 clamp(34px, 4.6vw, 58px)/1.05 var(--tgk-font-head); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.2px rgba(148, 178, 222, .2); }
.tgk-vb__line.is-rev .tgk-vb__track span { -webkit-text-stroke-color: rgba(255, 107, 44, .28); }
.tgk-vb__track i { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 107, 44, .35); flex: none; }
.tgk-vb__line.is-rev .tgk-vb__track i { background: rgba(37, 99, 235, .3); }
[data-motion="full"] .tgk-vb__track, [data-motion="subtle"] .tgk-vb__track { animation: tgk-vb-tick 46s linear infinite; }
[data-motion="full"] .tgk-vb__line.is-rev .tgk-vb__track, [data-motion="subtle"] .tgk-vb__line.is-rev .tgk-vb__track { animation-direction: reverse; animation-duration: 54s; }
.tgk-hero--vb:hover .tgk-vb__track { animation-play-state: paused; }

@keyframes tgk-vb-flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(-88deg); filter: brightness(.6); } 100% { transform: rotateX(0); } }
@keyframes tgk-vb-scan { 0% { transform: translateX(-110%); } 60%, 100% { transform: translateX(310%); } }
@keyframes tgk-vb-tick { to { transform: translateX(-50%); } }
@keyframes tgk-vb-blink { 50% { opacity: .2; } }
@keyframes tgk-vb-pulse { 50% { box-shadow: 0 0 0 5px rgba(255, 138, 76, .18), 0 0 14px currentColor; } }

@media (max-width: 980px) {
  .tgk-hero--vb { grid-template-columns: 1fr; padding-bottom: 120px; }
  .tgk-vb__board { transform: none; }
  .tgk-vb__map { max-width: 320px; }
  .tgk-vb .tgk-vb__board { align-self: stretch; width: 100%; margin-top: -90px; }
  .tgk-hero--vb:hover .tgk-vb__board { transform: none; }
}
@media (max-width: 560px) {
  .tgk-hero--vb .tgk-track__chip { display: none !important; }
  .tgk-vb__board { padding: 12px 10px 10px; }
  .tgk-vb__head, .tgk-vb__row { grid-template-columns: minmax(0, 5fr) minmax(0, 9fr) minmax(0, 12fr) 10px; gap: 5px; }
  .tgk-vb__f { gap: 1px; }
  .tgk-vb__head span:nth-child(2), .tgk-vb__f.is-num { display: none; }
  .tgk-vb__f i { height: 21px; font-size: 11px; }
  .tgk-vb__mini i { width: 19px; height: 25px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .tgk-vb__track, .tgk-vb .is-f, .tgk-vb__clock b { animation: none !important; } }

/* =====================================================================
   HERO "STIVALE" — [tgk_hero style="stivale"] (Italy)
   Night green and ivory, a map of Italy with postmarks, a full width
   tracking dock with the flag and a tricolore digit meter, live tools.
   ================================================================== */
.tgk-hero--it { --it-ivory: #F6EFE2; --it-soft: #C3CDC6; --it-mute: #9FB0A7; --it-gold: #EBCB7A; --it-green: #2BB673; --it-red: #E0474F; --it-line: rgba(246, 239, 226, .14);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "copy map" "dock dock" "strip strip"; align-items: center; column-gap: clamp(20px, 3vw, 48px); color: var(--it-ivory);
  background:
    radial-gradient(900px 520px at 84% -4%, rgba(0, 146, 70, .30), transparent 62%),
    radial-gradient(720px 440px at -4% 104%, rgba(206, 43, 55, .17), transparent 60%),
    linear-gradient(165deg, #0F3129 0%, #0A251F 52%, #071A15 100%); }
.tgk-hero--it::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(246, 239, 226, .07) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(75% 65% at 30% 25%, #000, transparent 78%); mask-image: radial-gradient(75% 65% at 30% 25%, #000, transparent 78%); }
.tgk-hero--it .tgk-hero__inner { grid-area: copy; max-width: 640px; align-self: center; }
.tgk-hero--it .tgk-eyebrow { gap: 10px; color: var(--it-ivory); background: rgba(246, 239, 226, .06); border-color: rgba(235, 203, 122, .32); letter-spacing: .08em; }
.tgk-hero--it .tgk-eyebrow .tgk-flag { width: 22px; height: 15px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
html body.tgk-kit.tgk-kit .tgk-hero--it .tgk-hero__title { color: var(--it-ivory); font-size: clamp(2.1rem, 4.6vw, 3.45rem); line-height: 1.14; letter-spacing: -.025em; }
.tgk-hero--it .tgk-hero__hl { display: inline; color: var(--it-gold); -webkit-text-fill-color: var(--it-gold); font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; font-size: 1.16em; letter-spacing: -.01em; line-height: 1;
  background: linear-gradient(90deg, #009246 0 33.3%, #F4F1EA 33.3% 66.6%, #CE2B37 66.6%) left 0 bottom .1em / 100% .06em no-repeat; -webkit-background-clip: border-box; background-clip: border-box; }
[data-motion="full"] .tgk-hero--it .tgk-hero__hl { background-size: 0% .06em; animation: tgk-it-under 1.1s var(--tgk-ease) .5s forwards; }
.tgk-hero--it .tgk-hero__text { color: var(--it-soft); max-width: 580px; margin-bottom: 0; }

/* the dock: full width tracking box */
.tgk-it__dock { grid-area: dock; position: relative; z-index: 2; margin-top: clamp(22px, 3vw, 36px); }
.tgk-hero--it .tgk-track__bar { padding: 10px; gap: 10px; border-radius: 24px; background: rgba(246, 239, 226, .07); border: 1px solid rgba(246, 239, 226, .2); box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.tgk-hero--it .tgk-track__bar:hover { border-color: rgba(246, 239, 226, .32); }
.tgk-hero--it .tgk-track__bar:focus-within { border-color: rgba(43, 182, 115, .75); box-shadow: 0 0 0 6px rgba(0, 146, 70, .2), 0 30px 70px -34px rgba(0, 0, 0, .8); }
.tgk-hero--it .tgk-track__field { min-height: 78px; padding: 0 14px 0 74px; border-radius: 16px; background: #FFFCF6; box-shadow: inset 0 0 0 1px rgba(16, 36, 30, .06); }
.tgk-hero--it .tgk-track__ico { display: none; }
.tgk-hero--it .tgk-track__field::before { content: ""; position: absolute; left: 20px; top: 50%; width: 38px; height: 26px; margin-top: -13px; border-radius: 4px; pointer-events: none;
  background: linear-gradient(90deg, #009246 0 33.3%, #F4F1EA 33.3% 66.6%, #CE2B37 66.6%); box-shadow: 0 0 0 1px rgba(16, 36, 30, .14), 0 4px 10px -4px rgba(16, 36, 30, .45); transform-origin: 0 50%; }
.tgk-hero--it .tgk-track__field::after { content: ""; position: absolute; left: 20px; top: 50%; width: 38px; height: 26px; margin-top: -13px; border-radius: 4px; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .55) 45%, rgba(0, 0, 0, .12) 60%, transparent 80%) 0 0 / 260% 100%; mix-blend-mode: soft-light; }
[data-motion="full"] .tgk-hero--it .tgk-track__field::before { animation: tgk-it-flag 3.6s ease-in-out infinite; }
[data-motion="full"] .tgk-hero--it .tgk-track__field::after { animation: tgk-it-sheen 3.6s ease-in-out infinite; }
html body.tgk-kit.tgk-kit .tgk-hero--it .tgk-track__input { color: #10241E; font-size: clamp(18px, 1.9vw, 23px); letter-spacing: .1em; }
.tgk-hero--it .tgk-track__input::placeholder { color: #66776F; font-weight: 500; letter-spacing: .01em; }
.tgk-hero--it .tgk-track__chip { background: #F3EEE3; border-color: #E4DCCB; color: #10241E; }
html body.tgk-kit.tgk-kit .tgk-hero--it .tgk-track__tool { color: #66776F; }
html body.tgk-kit.tgk-kit .tgk-hero--it .tgk-track__tool:hover { background: #F1ECE1; color: #10241E; }
html body.tgk-kit.tgk-kit .tgk-hero--it .tgk-track__go, html body.tgk-kit.tgk-kit .tgk-hero--it .tgk-track__go:focus { min-height: 78px; padding: 0 42px; border-radius: 16px; background: linear-gradient(180deg, #E4505A, #C62B37); color: #fff; font-size: 18px; box-shadow: 0 14px 28px -14px rgba(206, 43, 55, .95), inset 0 1px 0 rgba(255, 255, 255, .22); }
html body.tgk-kit.tgk-kit .tgk-hero--it .tgk-track__go:hover { background: linear-gradient(180deg, #D8434E, #B3222E); color: #fff; box-shadow: 0 18px 32px -14px rgba(206, 43, 55, 1), inset 0 1px 0 rgba(255, 255, 255, .22); }
html body.tgk-kit.tgk-kit .tgk-hero--it .tgk-track__go:focus-visible { outline: 3px solid var(--it-gold); outline-offset: 3px; }
.tgk-hero--it .tgk-track__spin { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
.tgk-hero--it .tgk-track__msg { color: #FFB4B8; }

/* tricolore digit meter */
.tgk-it__meter { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 14px 6px 0; }
.tgk-it__segs { display: inline-flex; gap: 4px; }
.tgk-it__segs i { width: 15px; height: 6px; border-radius: 3px; background: rgba(246, 239, 226, .14); transition: background-color .25s ease, transform .3s var(--tgk-ease); }
.tgk-it__segs i.is-on { transform: scaleY(1.5); }
.tgk-it__segs i.is-on:nth-child(-n+5) { background: var(--it-green); }
.tgk-it__segs i.is-on:nth-child(n+6):nth-child(-n+9) { background: #F4F1EA; }
.tgk-it__segs i.is-on:nth-child(n+10) { background: var(--it-red); }
.tgk-it__meter.is-bad .tgk-it__segs i.is-on { background: #8E9C95; }
.tgk-it__mstate { font-size: 13.5px; font-weight: 500; color: var(--it-soft); }
.tgk-it__meter.is-ok .tgk-it__mstate { color: #8EE6B4; font-weight: 600; }
.tgk-it__meter.is-ok .tgk-it__mstate::before { content: "✓ "; }
.tgk-it__meter.is-bad .tgk-it__mstate { color: #FFB4B8; }

/* live strip */
.tgk-it__strip { grid-area: strip; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; margin: 22px 0 0; padding: 0; }
.tgk-it__cell { position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0; margin: 0; padding: 15px 18px; border-radius: 18px; background: rgba(246, 239, 226, .05); border: 1px solid var(--it-line); }
.tgk-it__k { display: block; margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--it-mute); }
.tgk-it__k span { letter-spacing: .04em; text-transform: none; font-weight: 500; }
.tgk-it__v { display: flex; align-items: center; gap: 9px; font-family: var(--tgk-font-head); font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--it-ivory); }
.tgk-it__s { font-size: 12.5px; line-height: 1.45; color: var(--it-mute); }
.tgk-it__s:empty { display: none; }
.tgk-it__lamp { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #8E9C95; }
.tgk-it__cell.is-open .tgk-it__lamp { background: var(--it-green); box-shadow: 0 0 0 0 rgba(43, 182, 115, .6); }
[data-motion="full"] .tgk-it__cell.is-open .tgk-it__lamp { animation: tgk-it-pulse 2s ease-out infinite; }
.tgk-it__cell.is-closed .tgk-it__lamp { background: var(--it-red); }
.tgk-it__cell.is-eta { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "k k" "in v" "s s"; align-items: center; column-gap: 12px; }
.tgk-it__cell.is-eta .tgk-it__k { grid-area: k; }
.tgk-it__cell.is-eta .tgk-it__v { grid-area: v; }
.tgk-it__cell.is-eta .tgk-it__s { grid-area: s; }
html body.tgk-kit.tgk-kit .tgk-it__date { grid-area: in; width: auto; min-width: 0; height: 36px; margin: 0; padding: 0 10px; border: 1px solid rgba(246, 239, 226, .24); border-radius: 10px; background: rgba(246, 239, 226, .08); color: var(--it-ivory); color-scheme: dark; font: 500 14px/1 var(--tgk-font-body); box-shadow: none; }
html body.tgk-kit.tgk-kit .tgk-it__date:focus { outline: none; border-color: var(--it-gold); box-shadow: 0 0 0 3px rgba(235, 203, 122, .25); }
.tgk-it__cell.is-pod { padding: 0; transition: transform .25s var(--tgk-ease), border-color .25s ease, background-color .25s ease; }
.tgk-it__cell.is-pod a { display: flex; flex-direction: column; gap: 5px; height: 100%; padding: 15px 18px; border-radius: inherit; color: inherit; text-decoration: none; }
.tgk-it__cell.is-pod:hover { transform: translateY(-2px); border-color: rgba(235, 203, 122, .45); background: rgba(246, 239, 226, .08); }
.tgk-it__cell.is-pod a:focus-visible { outline: 3px solid var(--it-gold); outline-offset: 2px; }
.tgk-it__cell.is-pod .tgk-it__v { color: var(--it-gold); }
.tgk-it__cell.is-pod .tgk-ico { width: 18px; height: 18px; transition: transform .3s var(--tgk-ease); }
.tgk-it__cell.is-pod:hover .tgk-ico { transform: translateX(4px); }

/* the map */
.tgk-it__map { grid-area: map; position: relative; justify-self: center; width: 100%; max-width: 400px; margin: 0; perspective: 1100px; }
.tgk-it__tilt { position: relative; transform: rotateX(var(--it-ry, 0deg)) rotateY(var(--it-rx, 0deg)); transition: transform .6s var(--tgk-ease); }
.tgk-it__svg { display: block; width: 100%; height: auto; overflow: visible; }
.tgk-it__svg pattern circle { fill: rgba(246, 239, 226, .32); }
.tgk-it__edge { fill: none; stroke: var(--it-gold); stroke-width: 1.8; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 7px rgba(235, 203, 122, .35)); }
[data-motion="full"] .tgk-it__edge, [data-motion="subtle"] .tgk-it__edge { stroke-dashoffset: 1; animation: tgk-hx-draw 2.6s var(--tgk-ease) forwards; animation-delay: calc(.2s + var(--e) * .45s); }
.tgk-it__route { fill: none; stroke: rgba(246, 239, 226, .34); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 3 5; transition: stroke .4s ease, stroke-width .4s ease; }
.tgk-it__route.is-sea { stroke-dasharray: 1 6; }
.tgk-it__route.is-live { stroke: var(--it-gold); stroke-width: 1.9; }
[data-motion="full"] .tgk-it__route { animation: tgk-flow 1.8s linear infinite; animation-delay: calc(var(--i) * -.2s); }
.tgk-it__towns circle { fill: rgba(246, 239, 226, .5); }
.tgk-it__pin { fill: var(--it-ivory); stroke: #0B261F; stroke-width: 2; }
.tgk-it__parcel { fill: #FFE7A6; filter: drop-shadow(0 0 6px rgba(235, 203, 122, .95)); }
.tgk-it__markin { transform-box: fill-box; transform-origin: center; opacity: .5; transform: rotate(-12deg); }
.tgk-it__markin circle { fill: rgba(206, 43, 55, .14); stroke: #E9646B; stroke-width: 1.6; }
.tgk-it__markin circle.is-in { fill: none; stroke-width: 1; stroke-dasharray: 2 2.2; }
.tgk-it__markin text { fill: #FFC9CC; font: 700 6.6px/1 var(--tgk-font-head); letter-spacing: .06em; }
[data-motion="full"] .tgk-it__markin { opacity: 0; transform: scale(1.9) rotate(-38deg); }
[data-motion="full"] .tgk-it__dest.is-hit .tgk-it__markin { animation: tgk-it-stamp 3.4s var(--tgk-ease) forwards; }
.tgk-it__core { fill: #CE2B37; stroke: var(--it-ivory); stroke-width: 3; filter: drop-shadow(0 4px 10px rgba(206, 43, 55, .6)); }
.tgk-it__ring { fill: none; stroke: var(--it-red); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
[data-motion="full"] .tgk-it__ring { animation: tgk-hx-ring 2.8s var(--tgk-ease) infinite; }
[data-motion="full"] .tgk-it__ring.is-2 { animation-delay: 1.4s; }
.tgk-it__label { fill: var(--it-ivory); font: 600 15px/1 var(--tgk-font-head); paint-order: stroke; stroke: rgba(7, 26, 21, .9); stroke-width: 5px; stroke-linejoin: round; }
.tgk-it__note { margin: 6px 0 0; text-align: center; font-size: 11.5px; color: var(--it-mute); }

/* live postmark (Rome date and time) */
.tgk-it__pm { position: absolute; right: -3%; top: 1%; width: 31%; transform: rotate(-12deg); }
.tgk-it__pm svg { display: block; width: 100%; height: auto; overflow: visible; }
.tgk-it__pm circle { fill: none; stroke: rgba(235, 203, 122, .8); }
.tgk-it__pm circle.is-o { stroke-width: 2.4; }
.tgk-it__pm circle.is-i { stroke-width: 1.2; }
.tgk-it__pmring { fill: rgba(235, 203, 122, .85); font: 600 9.2px/1 var(--tgk-font-head); letter-spacing: .16em; }
.tgk-it__pmcity { fill: var(--it-gold); font: 700 15px/1 var(--tgk-font-head); letter-spacing: .12em; }
.tgk-it__pmdate { fill: rgba(246, 239, 226, .82); font: 600 10.5px/1 var(--tgk-font-body); letter-spacing: .08em; }
.tgk-it__pmtime { fill: var(--it-ivory); font: 700 16px/1 var(--tgk-font-head); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.tgk-it__waves { position: absolute; right: 86%; top: 30%; width: 105%; display: grid; gap: 6px; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); mask-image: linear-gradient(90deg, transparent, #000 35%); }
.tgk-it__waves i { display: block; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8' viewBox='0 0 24 8'%3E%3Cpath d='M0 4q6-5 12 0t12 0' fill='none' stroke='%23EBCB7A' stroke-opacity='.75' stroke-width='1.5'/%3E%3C/svg%3E") 0 0 / 24px 8px repeat-x; }
[data-motion="full"] .tgk-it__waves i { animation: tgk-it-wave 2.4s linear infinite; }
[data-motion="full"] .tgk-it__waves i:nth-child(even) { animation-duration: 3.1s; animation-direction: reverse; }

/* kinetic tricolore ribbons behind everything */
.tgk-it__ribbons { position: absolute; left: -12%; right: -12%; bottom: -34%; height: 62%; z-index: -1; pointer-events: none; filter: blur(46px); opacity: .55; }
.tgk-it__ribbons i { position: absolute; top: 0; bottom: 0; width: 26%; border-radius: 50%; transform: rotate(-14deg); }
.tgk-it__ribbons i:nth-child(1) { left: 4%; background: rgba(0, 146, 70, .55); }
.tgk-it__ribbons i:nth-child(2) { left: 26%; background: rgba(246, 239, 226, .14); }
.tgk-it__ribbons i:nth-child(3) { left: 48%; background: rgba(206, 43, 55, .42); }
[data-motion="full"] .tgk-it__ribbons i { animation: tgk-it-drift 16s ease-in-out infinite alternate; }
[data-motion="full"] .tgk-it__ribbons i:nth-child(2) { animation-delay: -5s; }
[data-motion="full"] .tgk-it__ribbons i:nth-child(3) { animation-delay: -10s; }

@keyframes tgk-it-under { to { background-size: 100% .06em; } }
@keyframes tgk-it-flag { 0%, 100% { transform: perspective(70px) rotateY(0deg) skewY(0deg); } 30% { transform: perspective(70px) rotateY(-9deg) skewY(-2deg); } 65% { transform: perspective(70px) rotateY(6deg) skewY(1.5deg); } }
@keyframes tgk-it-sheen { 0% { background-position: 120% 0; } 100% { background-position: -40% 0; } }
@keyframes tgk-it-stamp { 0% { opacity: 0; transform: scale(1.9) rotate(-38deg); } 14% { opacity: 1; transform: scale(.9) rotate(-10deg); } 22% { transform: scale(1) rotate(-12deg); } 78% { opacity: 1; transform: scale(1) rotate(-12deg); } 100% { opacity: .38; transform: scale(1) rotate(-12deg); } }
@keyframes tgk-it-wave { to { background-position: -24px 0; } }
@keyframes tgk-it-drift { 0% { transform: rotate(-14deg) translateX(-8%); } 100% { transform: rotate(-10deg) translateX(14%); } }
@keyframes tgk-it-pulse { 0% { box-shadow: 0 0 0 0 rgba(43, 182, 115, .6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(43, 182, 115, 0); } }

@media (max-width: 980px) {
  .tgk-hero--it { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "dock" "map" "strip"; }
  .tgk-it__map { max-width: 360px; margin-top: 26px; }
  .tgk-it__strip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tgk-it__cell.is-eta { grid-column: 1 / -1; grid-row: 1; }
}
@media (max-width: 600px) {
  .tgk-hero--it .tgk-track__bar { padding: 8px; gap: 8px; border-radius: 20px; }
  .tgk-hero--it .tgk-track__field { min-height: 66px; padding-left: 64px; }
  .tgk-hero--it .tgk-track__field::before, .tgk-hero--it .tgk-track__field::after { left: 16px; width: 34px; height: 23px; margin-top: -11.5px; }
  html body.tgk-kit.tgk-kit .tgk-hero--it .tgk-track__input { font-size: 18px; letter-spacing: .06em; }
  html body.tgk-kit.tgk-kit .tgk-hero--it .tgk-track__go, html body.tgk-kit.tgk-kit .tgk-hero--it .tgk-track__go:focus { min-height: 58px; width: 100%; }
  .tgk-hero--it .tgk-track__chip { display: none !important; }
  .tgk-it__meter { gap: 8px; margin-left: 2px; }
  .tgk-it__segs { gap: 3px; }
  .tgk-it__segs i { width: 11px; }
  .tgk-it__map { max-width: 300px; }
  .tgk-it__strip { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tgk-it__cell.is-eta { grid-row: auto; grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "in" "v" "s"; row-gap: 8px; }
  html body.tgk-kit.tgk-kit .tgk-it__date { justify-self: start; }
  .tgk-hero--it .tgk-eyebrow { font-size: 11.5px; letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) { .tgk-it__ribbons i, .tgk-it__waves i, .tgk-hero--it .tgk-track__field::before, .tgk-hero--it .tgk-track__field::after { animation: none !important; } }
/* Italian pages: tracking boxes below the hero use the same red button and green focus */
html body.tgk-kit.tgk-kit.tgk-market-it .tgk-track.is-page .tgk-track__go { background: linear-gradient(180deg, #E4505A, #C62B37); color: #fff; box-shadow: 0 12px 26px -14px rgba(206, 43, 55, .9); }
html body.tgk-kit.tgk-kit.tgk-market-it .tgk-track.is-page .tgk-track__go:hover { background: linear-gradient(180deg, #D8434E, #B3222E); color: #fff; }
body.tgk-market-it .tgk-track.is-page .tgk-track__bar:focus-within { border-color: rgba(0, 146, 70, .6); box-shadow: 0 0 0 5px rgba(0, 146, 70, .14), var(--tgk-shadow); }
body.tgk-market-it .tgk-track.is-page .tgk-track__bar:focus-within .tgk-track__ico { color: #12855A; }
