/* ── Логотип profika.pro ────────────────────────────────────────────────
   Инлайн-SVG, без сторонних библиотек. Геометрия замерена по Cormorant
   Garamond 500 (viewBox 392×118, базовая линия y=150, кегль 100):
   точка над «i» — центр 215.05/94.25, радиус 5.1. Анимация играет один
   раз; при «уменьшении движения» сразу показан финальный кадр. */
:root{--logo-acc:#846436}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--logo-acc:#b08d57}}
:root[data-theme="dark"]{--logo-acc:#b08d57}
:root[data-theme="light"]{--logo-acc:#846436}

.mark{display:inline-block;color:var(--ink);text-decoration:none;line-height:0}
.mark svg.pmark{display:block;width:100%;height:auto;overflow:visible}
.mark--header{height:30px;width:auto}
.mark--header svg.pmark{height:30px;width:auto}
.mark--hero{display:block;width:min(430px,64vw);margin:0 0 clamp(26px,4vh,44px)}

.pmark text{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;font-size:100px}
/* Финальное состояние — база: кольцо на месте, точки нет, «.pro» видно. */
.pmark-thin{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;opacity:0}
.pmark-solid{fill:currentColor}
.pmark-dot{fill:currentColor;opacity:0}
.pmark-ring{fill:none;stroke:currentColor;stroke-width:1.5;stroke-dasharray:100;stroke-dashoffset:0}
.pmark-pro{fill:var(--logo-acc);opacity:1}

@media(prefers-reduced-motion:no-preference){
  .pmark[data-anim="1"] .pmark-wipe{transform-origin:0 0;animation:pmWipe 1.2s cubic-bezier(.4,.05,.2,1) both}
  .pmark[data-anim="1"] .pmark-thin{animation:pmThinLife .3s 1.15s both}
  .pmark[data-anim="1"] .pmark-solid{animation:pmSolidIn .3s 1.15s both}
  .pmark[data-anim="1"] .pmark-dot{animation:pmDotOut .3s 1.25s both}
  .pmark[data-anim="1"] .pmark-ring{animation:pmRingDraw .3s 1.25s both}
  .pmark[data-anim="1"] .pmark-pro{animation:pmProIn .4s 1.4s both}
}
/* Тонкая линия «рисует» слово слева направо, затем его сменяет плотная форма. */
@keyframes pmWipe{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes pmThinLife{from{opacity:1}to{opacity:0}}
@keyframes pmSolidIn{from{opacity:0}to{opacity:1}}
@keyframes pmDotOut{from{opacity:1}to{opacity:0}}
@keyframes pmRingDraw{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes pmProIn{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}
