/* Marktic brand mark (13.11.2026): three green stripes + MARKTIC.
   The stripes light up like the old dot on the i did: same greens, same glow, same timing family.
   Colours come from three variables so one SVG works on light and dark surfaces. */
.wm{display:inline-flex;align-items:center;line-height:1}
.vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.mtk{display:block;width:auto;overflow:visible;--mtk1:#a6d86a;--mtk2:#5e9c12;--mtk3:#3f7a0a;--mkglow:94,156,18}
.mtk-l,.ft .mtk,.hd-open .hd .mtk{--mtk1:#eaffd2;--mtk2:#b8f05a;--mtk3:#56ab25;--mkglow:126,214,63}
.mtk-hd{height:1.02em}
.mtk-ft{height:1.02em}
.mtk-inline{height:.95em}
.mtk .mtk-word{fill:currentColor}
.mtk .mtk-bar{transform-box:fill-box;transform-origin:0 50%}
.mtk .mtk-ring{fill:none;stroke:rgb(var(--mkglow));stroke-width:2.4;opacity:0;transform-box:fill-box;transform-origin:50% 50%}
.mtk .mtk-bars{filter:drop-shadow(0 0 4px rgba(var(--mkglow),.4))}
.mtk:not(.mtk-l) .mtk-bars{filter:drop-shadow(0 0 3px rgba(var(--mkglow),.22))}
.mtk .mtk-glint{transform:translateX(0) skewX(-12deg)}

/* footer: the big faded mark replaces the 3D wordmark video */
.mtk-giantbox{display:flex;align-items:center;justify-content:center}
.mtk-giant{width:100%;height:100%}
.mtk-giant .mtk-word{fill:rgba(241,238,231,.08)}
.mtk-giant .mtk-rings{display:none}

/* mobile menu: the mark above the links (replaces the 3D wordmark video) */
.hd-menu-mark{display:flex;align-items:center;justify-content:center;padding:0 10%;box-sizing:border-box}
.mtk-menu{width:100%;height:auto}
.mtk-menu .mtk-word{fill:#f1eee7}

@media (prefers-reduced-motion:no-preference){
  /* entrance, once per page load: the word is there from the first frame; the stripes start dim, slide out and light up one after another, each sends out a ring, then a glint */
  .mtk-hd:not(.mtk-done) .mtk-bar{animation:mtkIn .9s cubic-bezier(.2,.8,.2,1) both}
  .mtk-hd:not(.mtk-done) .b1{animation-delay:.35s}
  .mtk-hd:not(.mtk-done) .b2{animation-delay:.5s}
  .mtk-hd:not(.mtk-done) .b3{animation-delay:.65s}
  .mtk-hd:not(.mtk-done) .mtk-bars{animation:mtkGlowIn 1.6s ease-out .35s both}
  .mtk-hd:not(.mtk-done) .mtk-ring{animation:mtkRing 1.3s cubic-bezier(.2,.8,.2,1) both}
  .mtk-hd:not(.mtk-done) .r1{animation-delay:.95s}
  .mtk-hd:not(.mtk-done) .r2{animation-delay:1.05s}
  .mtk-hd:not(.mtk-done) .r3{animation-delay:1.15s}
  .mtk-hd:not(.mtk-done) .mtk-glint{animation:mtkGlint 1.1s cubic-bezier(.45,0,.2,1) 1.4s both}
  /* after the entrance: a slow breathing glow, the same 3.6 s rhythm as the old pulsing dot */
  /* desktop only: an endlessly animated glow (a filter) repaints the header on every frame, which a phone feels while scrolling */
  @media (hover:hover) and (pointer:fine){ .mtk-hd.mtk-done .mtk-bars,.mtk-giant .mtk-bars{animation:mtkBreathe 3.6s ease-in-out infinite} }
  /* pointing at the logo (or tapping it): a quick spark down the stripes */
  .mtk-hit .mtk-bar{animation:mtkHit .6s cubic-bezier(.2,.8,.2,1) both}
  .mtk-hit .b2{animation-delay:.07s}
  .mtk-hit .b3{animation-delay:.14s}
  .mtk-hit .mtk-ring{animation:mtkRing .9s cubic-bezier(.2,.8,.2,1) both}
  .mtk-hit .r2{animation-delay:.07s}
  .mtk-hit .r3{animation-delay:.14s}
  .mtk-hit .mtk-glint{animation:mtkGlint .8s cubic-bezier(.45,0,.2,1) both}
  /* opening the mobile menu: the stripes slide in and light up, then keep breathing */
  .hd-open .mtk-menu .mtk-bar{animation:mtkIn .9s cubic-bezier(.2,.8,.2,1) both}
  .hd-open .mtk-menu .b1{animation-delay:.25s}
  .hd-open .mtk-menu .b2{animation-delay:.38s}
  .hd-open .mtk-menu .b3{animation-delay:.5s}
  .hd-open .mtk-menu .mtk-bars{animation:mtkGlowIn 1.6s ease-out .25s both,mtkBreathe 3.6s ease-in-out 1.85s infinite}
  .hd-open .mtk-menu .mtk-ring{animation:mtkRing 1.3s cubic-bezier(.2,.8,.2,1) both}
  .hd-open .mtk-menu .r1{animation-delay:.8s}
  .hd-open .mtk-menu .r2{animation-delay:.9s}
  .hd-open .mtk-menu .r3{animation-delay:1s}
  .hd-open .mtk-menu .mtk-glint{animation:mtkGlint 1.1s cubic-bezier(.45,0,.2,1) 1.1s both}
}
@keyframes mtkIn{0%{transform:translateX(-8%) scaleX(.55);opacity:.35}55%{opacity:1}70%{transform:translateX(2%) scaleX(1.06)}100%{transform:none;opacity:1}}
@keyframes mtkGlowIn{0%{filter:drop-shadow(0 0 0 rgba(var(--mkglow),0))}40%{filter:drop-shadow(0 0 12px rgba(var(--mkglow),.95))}100%{filter:drop-shadow(0 0 4px rgba(var(--mkglow),.4))}}
@keyframes mtkBreathe{0%,100%{filter:drop-shadow(0 0 4px rgba(var(--mkglow),.32))}50%{filter:drop-shadow(0 0 10px rgba(var(--mkglow),.75))}}
@keyframes mtkHit{0%{transform:none}35%{transform:translateX(5%) scaleX(1.12);filter:brightness(1.3)}100%{transform:none;filter:none}}
@keyframes mtkRing{0%{opacity:.95;transform:scale(1)}100%{opacity:0;transform:scale(1.35,1.9)}}
@keyframes mtkGlint{from{transform:translateX(0) skewX(-12deg)}to{transform:translateX(780px) skewX(-12deg)}}
