/*sborka:header-stable*//* ---------- header: one stable state (no scroll jank, no grey smear) ---------- */
/* The pill used to switch background/shadow on a scroll class and blur what is behind it.
   Near the threshold that toggled every few pixels (visible flicker, worse in Safari with
   backdrop-filter on a sticky element). Both states are now identical and nothing animates. */
.pk-site .pk-block.pk-site_header,
.pk-site .pk-block.pk-site_header .pk-inner,
.pk-site .pk-block.pk-site_header.sig-scrolled .pk-inner {
  transition: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.pk-site .pk-block.pk-site_header .pk-inner,
.pk-site .pk-block.pk-site_header.sig-scrolled .pk-inner {
  background: color-mix(in srgb, #fff 96%, var(--pk-bg)) !important;
  box-shadow: 0 .55rem 1.3rem -1rem color-mix(in srgb, var(--sig-ink) 38%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--sig-ink) 8%, transparent) !important;
}
/* the kit's hard offset shadow under the button read as a grey block */
.pk-site .pk-block.pk-site_header .pk-cta,
.pk-site .pk-block.pk-site_header .pk-header-desktop-cta,
.pk-site .pk-block.pk-site_header .pk-inner a.pk-cta { box-shadow: none !important; }
.pk-site .pk-block.pk-site_header .pk-cta { transition: background-color .2s, color .2s !important; }
/* the progress bar sits outside .pk-site, so it cannot read --sig-* variables: use plain colours */
.pk-scroll-progress span { background: linear-gradient(90deg, #63d6ff, #6a8bff 55%, #8a6cff) !important; }
/*sborka:mobile-header*//* ---------- mobile header: round menu button, tidy sheet, light scroll ---------- */
@media (max-width: 860px) {
  /* own compositor layer: a sticky bar over animated content stays steady while scrolling */
  .pk-site .pk-block.pk-site_header { transform: translateZ(0); will-change: transform; }
  /* continuous shadow/translate animations repaint the whole hero on every frame: still on phones */
  .pk-site .pk-block.pk-hero .pk-hero-copy { animation: none !important; }
  .pk-site .pk-block.pk-hero .pk-hero-media { animation: sig-fade-up 1s var(--sig-ease) .3s both !important; }

  .pk-site .pk-block.pk-site_header .pk-inner {
    min-block-size: 3.5rem;
    padding: .4rem .45rem .4rem 1.15rem;
    align-items: center;
    gap: .75rem;
  }
  .pk-site .pk-block.pk-site_header .pk-wordmark { font-size: 1rem; max-inline-size: none; min-block-size: 0; }

  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary {
    position: relative;
    display: block;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    min-block-size: 2.75rem;
    padding: 0 !important;
    border: 0;
    border-radius: 999px;
    background: var(--sig-ink);
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0;
    list-style: none;
    cursor: pointer;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary::-webkit-details-marker { display: none; }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary::before,
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary::after {
    content: "";
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    inline-size: 1.15rem;
    block-size: 2px;
    margin-inline-start: -.575rem;
    margin-block-start: -1px;
    border-radius: 2px;
    background: #fff;
    transition: transform .22s ease;
  }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary::before { transform: translateY(-4px); }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary::after { transform: translateY(4px); }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu[open] summary::before { transform: rotate(45deg); }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu[open] summary::after { transform: rotate(-45deg); }

  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav {
    margin-block-start: .6rem;
    padding: .5rem;
    border-radius: 1.6rem;
    background: #fff;
    box-shadow: 0 1.4rem 2.6rem -1.2rem color-mix(in srgb, var(--sig-ink) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--sig-ink) 7%, transparent);
  }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav li a:not(.pk-cta) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-block-size: 3.25rem;
    padding: 0 1rem;
    border-radius: 1rem;
    font-size: 1.08rem;
    font-weight: 600;
    text-decoration: none;
  }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav li a:not(.pk-cta)::after { content: "\2192"; opacity: .35; font-weight: 400; }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav li a:not(.pk-cta):active { background: color-mix(in srgb, var(--sig-blue) 10%, transparent); }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav .pk-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    min-block-size: 3.25rem;
    margin-block-start: .5rem;
    border-radius: 999px !important;
    box-shadow: none !important;
  }
}
/*sborka:mobile-polish*//* ---------- mobile polish: hero name sits on the same axis, menu label is hidden properly ---------- */
@media (max-width: 860px) {
  /* the hero hugs its content instead of filling the screen with empty space above the card */
  .pk-site .pk-block.pk-hero { min-block-size: 0 !important; padding-block: 1.5rem 2.25rem !important; align-items: start !important; }
  .pk-site .pk-block.pk-hero .pk-title {
    inline-size: 100%;
    max-inline-size: 100%;
    font-size: clamp(1.9rem, 9vw, 2.5rem);
    line-height: 1.08;
    text-wrap: balance;
    overflow-wrap: normal;
    hyphens: manual;
    text-align: center;
  }
  .pk-site .pk-block.pk-hero .pk-eyebrow { inline-size: 100%; max-inline-size: 100%; box-sizing: border-box; }
  /* the brand link keeps its 44px tap area */
  .pk-site .pk-block.pk-site_header .pk-wordmark { min-block-size: 44px; display: inline-flex; align-items: center; }
  /* label stays in the accessibility tree and is >12px, but is pushed out of sight */
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary {
    font-size: .875rem !important;
    line-height: 2.75rem;
    text-indent: 4rem;
    white-space: nowrap;
    overflow: hidden;
  }
}
/*sborka:review-fixes*//* ---------- element-by-element review fixes ---------- */
@media (max-width: 860px) {
  /* the cropped brand word under the hero reads as a rendering bug on a phone */
  .pk-site .pk-block.pk-hero::after { content: none !important; }
}
/* footer credit sits on the same left edge as the links */
.pk-site .pk-block.pk-site_footer .pk-studio-credit { margin-inline: 0; text-align: start; justify-self: start; }
.pk-site .pk-block.pk-site_footer .pk-studio-credit a { min-block-size: 0; }
/* form hints that do not fit end with an ellipsis instead of being cut mid-letter */
.pk-site input, .pk-site textarea { text-overflow: ellipsis; }
.pk-site input::placeholder, .pk-site textarea::placeholder { text-overflow: ellipsis; }
/*sborka:tablet-header*//* ---------- tablet: the mobile bar and menu until 1100px (the brand was squeezed to 8px at 768) ---------- */
@media (min-width: 768px) and (max-width: 1100px) {
  .pk-site .pk-block.pk-site_header .pk-header-desktop-nav,
  .pk-site .pk-block.pk-site_header .pk-header-desktop-cta { display: none !important; }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu { display: block !important; margin-inline-start: auto; }
  /* own compositor layer: a sticky bar over animated content stays steady while scrolling */
  .pk-site .pk-block.pk-site_header { transform: translateZ(0); will-change: transform; }
  .pk-site .pk-block.pk-site_header .pk-inner {
    min-block-size: 3.5rem;
    padding: .4rem .45rem .4rem 1.15rem;
    align-items: center;
    gap: .75rem;
  }
  .pk-site .pk-block.pk-site_header .pk-wordmark { font-size: 1rem; max-inline-size: none; min-block-size: 0; }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary {
    position: relative;
    display: block;
    inline-size: 2.75rem;
    block-size: 2.75rem;
    min-block-size: 2.75rem;
    padding: 0 !important;
    border: 0;
    border-radius: 999px;
    background: var(--sig-ink);
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0;
    list-style: none;
    cursor: pointer;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary::-webkit-details-marker { display: none; }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary::before,
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary::after {
    content: "";
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    inline-size: 1.15rem;
    block-size: 2px;
    margin-inline-start: -.575rem;
    margin-block-start: -1px;
    border-radius: 2px;
    background: #fff;
    transition: transform .22s ease;
  }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary::before { transform: translateY(-4px); }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary::after { transform: translateY(4px); }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu[open] summary::before { transform: rotate(45deg); }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu[open] summary::after { transform: rotate(-45deg); }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav {
    margin-block-start: .6rem;
    padding: .5rem;
    border-radius: 1.6rem;
    background: #fff;
    box-shadow: 0 1.4rem 2.6rem -1.2rem color-mix(in srgb, var(--sig-ink) 55%, transparent), 0 0 0 1px color-mix(in srgb, var(--sig-ink) 7%, transparent);
  }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav li a:not(.pk-cta) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-block-size: 3.25rem;
    padding: 0 1rem;
    border-radius: 1rem;
    font-size: 1.08rem;
    font-weight: 600;
    text-decoration: none;
  }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav li a:not(.pk-cta)::after { content: "\2192"; opacity: .35; font-weight: 400; }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav li a:not(.pk-cta):active { background: color-mix(in srgb, var(--sig-blue) 10%, transparent); }
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu nav .pk-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    min-block-size: 3.25rem;
    margin-block-start: .5rem;
    border-radius: 999px !important;
    box-shadow: none !important;
  }
  .pk-site .pk-block.pk-site_header .pk-wordmark { min-block-size: 44px; display: inline-flex; align-items: center; }
}
/* the studio credit keeps a comfortable tap area */
.pk-site .pk-block.pk-site_footer .pk-studio-credit a { min-block-size: 44px; display: inline-flex; align-items: center; }
/*sborka:tablet-label*//* tablet: the menu label is hidden by indent, not by a zero font size */
@media (min-width: 768px) and (max-width: 1100px) {
  .pk-site .pk-block.pk-site_header .pk-header-mobile-menu summary {
    font-size: .875rem !important;
    line-height: 2.75rem;
    text-indent: 4rem;
    white-space: nowrap;
    overflow: hidden;
  }
}
/*sborka:contact-grid*//* contact: the form starts at the top, beside the intro (auto-placement dropped it below the intro row) */
@media (min-width: 901px) {
  .pk-site .pk-block[data-block-type="contact"] .pk-inner { grid-template-rows: max-content 1fr; row-gap: 1rem; }
  .pk-site .pk-block[data-block-type="contact"] .pk-inner > .pk-contact-intro { grid-column: 1; grid-row: 1; align-self: start; }
  .pk-site .pk-block[data-block-type="contact"] .pk-inner > .pk-channels { grid-column: 1; grid-row: 2; align-self: start; }
  .pk-site .pk-block[data-block-type="contact"] .pk-inner > .pk-form { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
}
/*sborka:pill-buttons*//* buttons: the layer's "pills" lost to the kit's per-block radius (2px), so only the header button was a pill */
.pk-site .pk-block .pk-cta,
.pk-site .pk-block button.pk-cta,
.pk-site .pk-block a.pk-cta { border-radius: 999px !important; }
.pk-site .pk-block .pk-form .pk-cta { padding-inline: 1.6rem; }
/*sborka:narrow-contact*//* narrow phones: the contact panel and the form card were nested with generous paddings, which
   broke the e-mail mid-word and wrapped the submit button; tighter paddings give them the room */
@media (max-width: 400px) {
  .pk-site .pk-block[data-block-type="contact"] .pk-inner { padding: 1rem; }
  .pk-site .pk-block[data-block-type="contact"] .pk-form { padding: .85rem; }
  .pk-site .pk-block[data-block-type="contact"] .pk-channels a { font-size: max(12px, 3.8vw); overflow-wrap: normal; word-break: normal; }
  .pk-site .pk-block[data-block-type="contact"] .pk-form .pk-cta { padding-inline: 1rem; white-space: nowrap; }
}
/*sborka:smoothness*/
/* ==========================================================================
   Smoothness and small details (project 97 only; taste, not defects).
   Hover effects need a fine pointer; nothing here loops on phones; all of it
   sits inside no-preference media queries, so reduced motion keeps a still page.
   ========================================================================== */
:root { --sm-ease: cubic-bezier(.22, .8, .24, 1); --sm-spring: cubic-bezier(.34, 1.4, .5, 1); }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
::selection { background: color-mix(in srgb, var(--pk-accent, #1b3a6b) 78%, #fff); color: #fff; }
.pk-site { -webkit-tap-highlight-color: transparent; }

@media (prefers-reduced-motion: no-preference) {
  /* keyboard focus eases in instead of snapping */
  .pk-site :focus-visible {
    outline: 2px solid color-mix(in srgb, var(--pk-accent, #1b3a6b) 85%, #fff);
    outline-offset: 3px;
    transition: outline-offset .18s var(--sm-ease);
  }

  /* buttons: pressed state and a calmer return */
  .pk-site .pk-cta { transition: transform .35s var(--sm-spring), box-shadow .3s var(--sm-ease), background-position .7s var(--sm-ease), background-color .25s; }
  .pk-site .pk-cta:active { transform: scale(.965); transition-duration: .08s; }

  /* text links: the underline draws in from the left */
  .pk-site .pk-contact-intro .pk-channels a,
  .pk-site .pk-block.pk-site_footer a:not(.pk-wordmark) {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1.5px no-repeat;
    text-decoration: none;
    border-bottom: 0;
    padding-bottom: 2px;
    transition: background-size .4s var(--sm-ease), color .2s;
  }
  .pk-site .pk-contact-intro .pk-channels a { background-size: 100% 1.5px; }
  .pk-site .pk-block.pk-site_footer a:hover { background-size: 100% 1.5px; }

  /* the section number pills settle in with the heading */
  .pk-site .pk-block[data-block-type="services"] .pk-title::before,
  .pk-site .pk-block[data-block-type="process"] .pk-title::before,
  .pk-site .pk-block[data-block-type="selected"] .pk-title::before,
  .pk-site .pk-block[data-block-type="faq"] .pk-title::before { transition: letter-spacing .6s var(--sm-ease); }

  /* images: a slow, soft settle on load */
  .pk-site img { animation: sm-img-in 1.1s var(--sm-ease) both; }
  @keyframes sm-img-in { from { opacity: 0; scale: 1.035; filter: saturate(.85); } to { opacity: 1; scale: 1; filter: none; } }

  /* the blocks fade between each other instead of cutting */
  .pk-site .pk-block[data-block-type="stats"] .pk-stats-item,
  .pk-site .pk-block .pk-trust-list li { transition: transform .45s var(--sm-ease), box-shadow .45s var(--sm-ease); }

  /* FAQ cards open smoothly when they are <details> */
  .pk-site .pk-faq-card details > :not(summary),
  .pk-site details.pk-faq-card > :not(summary) { animation: sm-fold .35s var(--sm-ease) both; }
  @keyframes sm-fold { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }

  /* form fields: label lifts a touch, the field glows softly */
  .pk-site .pk-form input, .pk-site .pk-form textarea { transition: box-shadow .25s var(--sm-ease), background-color .25s, transform .25s var(--sm-ease); }
  .pk-site .pk-form input:focus, .pk-site .pk-form textarea:focus { transform: translateY(-1px); }
  .pk-site .pk-form .pk-field:focus-within > span { color: var(--pk-accent, #1b3a6b); transition: color .2s; }
  .pk-site .pk-form input:not(:placeholder-shown):valid { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, #2f9e6b 55%, transparent); }

  /* success message slides in */
  .pk-site .pk-success:not([hidden]) { animation: sm-pop .5s var(--sm-spring) both; }
  @keyframes sm-pop { from { opacity: 0; scale: .96; translate: 0 8px; } to { opacity: 1; scale: 1; translate: 0 0; } }

  /* the checkbox presses */
  .pk-site .pk-consent input[type="checkbox"] { transition: scale .2s var(--sm-spring); }
  .pk-site .pk-consent input[type="checkbox"]:active { scale: .88; }

  /* mobile menu: the sheet unfolds and the rows stagger */
  .pk-site .pk-header-mobile-menu[open] nav { animation: sm-sheet .38s var(--sm-ease) both; transform-origin: top right; }
  @keyframes sm-sheet { from { opacity: 0; scale: .96; translate: 0 -8px; } to { opacity: 1; scale: 1; translate: 0 0; } }
  .pk-site .pk-header-mobile-menu[open] nav li { animation: sm-fade-row .4s var(--sm-ease) both; }
  .pk-site .pk-header-mobile-menu[open] nav li:nth-child(1) { animation-delay: .04s; }
  .pk-site .pk-header-mobile-menu[open] nav li:nth-child(2) { animation-delay: .08s; }
  .pk-site .pk-header-mobile-menu[open] nav li:nth-child(3) { animation-delay: .12s; }
  .pk-site .pk-header-mobile-menu[open] nav li:nth-child(4) { animation-delay: .16s; }
  .pk-site .pk-header-mobile-menu[open] nav li:nth-child(5) { animation-delay: .2s; }
  .pk-site .pk-header-mobile-menu[open] nav li:nth-child(6) { animation-delay: .24s; }
  @keyframes sm-fade-row { from { opacity: 0; translate: 10px 0; } to { opacity: 1; translate: 0 0; } }

  /* desktop menu: the active section is underlined softly */
  .pk-site .pk-header-desktop-nav a { transition: background-color .25s, color .25s, transform .3s var(--sm-ease); }
  .pk-site .pk-header-desktop-nav a:hover { transform: translateY(-1px); }
}

/* hover lifts only where a real pointer exists, so a touch never leaves a card "stuck" */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .pk-site .pk-service-item,
  .pk-site .pk-faq-card,
  .pk-site .pk-choice-path,
  .pk-site .pk-stats-item,
  .pk-site .pk-trust-list li,
  .pk-site .pk-process-list li {
    transition: transform .45s var(--sm-ease), box-shadow .45s var(--sm-ease), border-color .3s;
    will-change: transform;
  }
  .pk-site .pk-service-item:hover,
  .pk-site .pk-faq-card:hover,
  .pk-site .pk-choice-path:hover,
  .pk-site .pk-stats-item:hover,
  .pk-site .pk-process-list li:hover { transform: translateY(-4px); }
  .pk-site .pk-service-item:hover .pk-index { transform: scale(1.08) rotate(-4deg); }
  .pk-site .pk-service-item .pk-index { transition: transform .45s var(--sm-spring); }
  .pk-site .pk-trust-list li:hover { transform: translateY(-2px) scale(1.02); }
  .pk-site .pk-selected-stack-row { transition: translate .4s var(--sm-ease), background-color .3s; }
  .pk-site .pk-selected-stack-row:hover { translate: 6px 0; }
  .pk-site .pk-hero-media img { transition: transform 1.2s var(--sm-ease); }
  .pk-site .pk-hero-media:hover img { transform: scale(1.03); }
  .pk-site .pk-about img { transition: transform 1s var(--sm-ease); }
  .pk-site .pk-about img:hover { transform: scale(1.025) rotate(-.4deg); }
}

/* a back-to-top affordance in the footer wordmark: it brightens when touched */
@media (prefers-reduced-motion: no-preference) {
  .pk-site .pk-block.pk-site_footer .pk-wordmark { transition: letter-spacing .7s var(--sm-ease), filter .4s; }
  .pk-site .pk-block.pk-site_footer:hover .pk-wordmark { filter: saturate(1.2); }
}

