/*
Theme Name: Kwiatkowski Foto: Indeks
Theme URI: https://srv68111.seohost.com.pl/fotowww/v3/
Author: Marcin Kwiatkowski
Description: Kierunek 3: minimalistyczny „Indeks”. Jedno zdjęcie na cały ekran, spis kategorii, menu w formie aparatu. Blokowy motyw (Full Site Editing): całość edytuje się w edytorze WordPressa.
Version: 3.0.0
Requires at least: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: kf-indeks
*/

/* ============ Podstawy ============ */
:root { --kf-edge: clamp(20px, 4vw, 48px); --kf-signal: var(--wp--preset--color--ink); }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); }
img { height: auto; }
a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 3px; }

.kf-eyebrow { font-size: .8125rem; letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--stone); margin: 0; }
.kf-num { font-family: var(--wp--preset--font-family--display); font-size: 1rem; color: var(--wp--preset--color--stone); margin: 0; font-feature-settings: "lnum"; }
.kf-link-arrow a { text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--line); padding-bottom: 2px; transition: border-color .25s, color .25s; }
.kf-link-arrow a::after { content: " →"; }
.kf-link-arrow a:hover { border-color: var(--wp--preset--color--ink); color: var(--wp--preset--color--accent); }


/* ============ Przyciski: obrys, bez cienia ============ */
.wp-block-button__link { display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; box-shadow: none; transition: background-color .25s ease, color .25s ease; }
.wp-block-button__link::after { content: "→"; transition: transform .25s ease; }
.wp-block-button__link:hover::after { transform: translateX(3px); }
.wp-block-button__link:active { transform: translateY(1px); }
.wp-block-button.is-style-fill .wp-block-button__link { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); }

/* ============ Karty: hairline, bez cieni ============ */
.kf-cat figure { margin: 0; overflow: hidden; border: 1px solid var(--wp--preset--color--line); border-radius: 0; }
.kf-cat img { width: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); border-radius: 0; }
.kf-cat:hover img { transform: scale(1.03); }
.kf-cat { position: relative; }
.kf-cat h3 a { text-decoration: none; }
.kf-cat h3 a::after { content: ""; position: absolute; inset: 0; }

.kf-offer { border: 1px solid var(--wp--preset--color--line); border-radius: 0; background: var(--wp--preset--color--sand); padding-left: var(--wp--preset--spacing--40); padding-right: var(--wp--preset--spacing--40); margin-bottom: .75rem !important; }
.kf-offer h3 { margin-top: .25rem; }

.kf-post-card .wp-block-post-featured-image { overflow: hidden; border-radius: 0; border: 1px solid var(--wp--preset--color--line); margin-bottom: var(--wp--preset--spacing--30); }
.kf-post-card .wp-block-post-featured-image img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.kf-post-card:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.kf-post-card .wp-block-post-title a { text-decoration: none; }

.wp-block-gallery img { transition: opacity .3s ease; }
.wp-block-image img { display: block; }

/* ============ Stopka: kolofon ============ */
.kf-footer { border-top: 1px solid var(--wp--preset--color--line); }
.kf-footer-statement { line-height: 1.1; letter-spacing: -.025em; margin: 0; max-width: 18ch; }
.kf-footer a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.kf-footer a:hover { border-bottom-color: currentColor; }

/* ============ Formularze: pole z wypełnieniem i jedną linią u dołu ============ */
.kf-form input[type="text"], .kf-form input[type="email"], .kf-form input[type="tel"], .kf-form input[type="date"],
.kf-form select, .kf-form textarea {
  width: 100%; background: var(--wp--preset--color--sand); color: inherit; border: 0; border-bottom: 1px solid var(--wp--preset--color--ink);
  border-radius: 0; padding: .8rem .75rem; font: inherit;
}
.kf-form input:focus, .kf-form textarea:focus, .kf-form select:focus { outline: 0; border-bottom-color: var(--wp--preset--color--ink); box-shadow: 0 1px 0 var(--wp--preset--color--ink); }
.kf-form p { margin: 0 0 1.25rem; }
.kf-form label { display: block; font-size: .8125rem; color: var(--wp--preset--color--stone); margin-bottom: .3rem; }
.kf-form .kf-consent label { font-size: .875rem; }
.kf-form button {
  display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; padding: .8rem 1.25rem; font: 500 .9375rem var(--wp--preset--font-family--body);
  background: var(--wp--preset--color--dusk); color: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--twilight); border-radius: 0; cursor: pointer; transition: background-color .25s;
}
.kf-form button:hover { background: var(--wp--preset--color--twilight); }
.kf-form-msg { border: 1px solid var(--wp--preset--color--line); border-left: 3px solid var(--wp--preset--color--ink); border-radius: 0; padding: .75rem 1.25rem; margin-bottom: 2rem; background: var(--wp--preset--color--sand); }
.kf-form-msg p { margin: 0; }

/* ============ Kalendarz dostępności ============ */
.kf-cal-legend { font-size: .8125rem; color: var(--wp--preset--color--stone); display: flex; gap: 1.5rem; align-items: center; margin: 0 0 var(--wp--preset--spacing--40); }
.kf-key { display: inline-block; width: .9rem; height: .9rem; margin-right: .4rem; vertical-align: -.1rem; border: 1px solid var(--wp--preset--color--stone); border-radius: 0; }
.kf-key.is-busy { background: var(--wp--preset--color--sand); border-color: var(--wp--preset--color--line); }
.kf-cal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--wp--preset--spacing--50); }
.kf-cal-title { font-family: var(--wp--preset--font-family--display); font-size: 1.5rem; margin: 0 0 var(--wp--preset--spacing--30); text-transform: capitalize; }
.kf-cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.kf-dow { font-size: .75rem; color: var(--wp--preset--color--stone); text-align: center; padding-bottom: .4rem; }
.kf-day { aspect-ratio: 1; min-height: 40px; display: flex; align-items: center; justify-content: center; font-size: .9375rem; text-decoration: none; border-radius: 0; }
.kf-day.is-free { border: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--ink); transition: background-color .2s, border-color .2s; }
.kf-day.is-free:hover, .kf-day.is-free:focus-visible { background: var(--wp--preset--color--sand); border-color: var(--wp--preset--color--ink); }
.kf-day.is-busy { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--stone); text-decoration: line-through; }
.kf-day.is-past { color: var(--wp--preset--color--line); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ============ Kategorie portfolio: asymetryczna siatka ============ */
.kf-cats { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--wp--preset--spacing--40); align-items: start; }
.kf-cats > .kf-cat:nth-child(1) { grid-column: 1 / span 7; }
.kf-cats > .kf-cat:nth-child(2) { grid-column: 9 / span 4; margin-top: 6rem; }
.kf-cats > .kf-cat:nth-child(3) { grid-column: 2 / span 4; }
.kf-cats > .kf-cat:nth-child(4) { grid-column: 7 / span 6; margin-top: 4rem; }
.kf-cats > .kf-cat:nth-child(1) img, .kf-cats > .kf-cat:nth-child(4) img { aspect-ratio: 16 / 11; }
.kf-cats > .kf-cat:nth-child(2) img { aspect-ratio: 4 / 5; }
.kf-cats > .kf-cat:nth-child(3) img { aspect-ratio: 3 / 4; }
@media (max-width: 781px) {
  .kf-cats { display: block; }
  .kf-cats > .kf-cat { margin: 0 0 var(--wp--preset--spacing--50) !important; }
}

/* ---------- Galeria: rozłożone zdjęcia (wzorzec "Galeria: rozłożone zdjęcia") ---------- */
.kf-fan .wp-block-gallery .wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; border: 1px solid var(--wp--preset--color--line); }
.kf-fan:not(.is-fan) .wp-block-gallery { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem; padding-bottom: .5rem; }
.kf-fan:not(.is-fan) .wp-block-gallery > .wp-block-image { flex: 0 0 68%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
@media (min-width: 782px) {
  .kf-fan.is-fan .wp-block-gallery { display: block; position: relative; height: clamp(340px, 34vw, 470px); overflow: visible; }
  .kf-fan.is-fan .wp-block-gallery > .wp-block-image {
    position: absolute; left: 50%; top: 0; margin: 0; flex: none;
    width: clamp(190px, 17vw, 250px) !important; aspect-ratio: 4 / 5;
    transform: translate(-50%, 0) scale(var(--s, 1));
    transition: transform .95s cubic-bezier(.2, .7, .2, 1);
    cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none;
  }
  .kf-fan.is-fan.is-open .wp-block-gallery > .wp-block-image {
    transform: translate(calc(-50% + var(--x, 0px) + var(--dx, 0px)), calc(var(--y, 0px) + var(--dy, 0px))) scale(var(--s, 1));
  }
  .kf-fan.is-fan.is-open .wp-block-gallery > .wp-block-image:hover,
  .kf-fan.is-fan.is-open .wp-block-gallery > .wp-block-image:focus-visible { --s: 1.04; z-index: 90 !important; }
  .kf-fan.is-fan .wp-block-gallery > .wp-block-image.is-drag { transition: none !important; cursor: grabbing; --s: 1.04; z-index: 99 !important; }
  .kf-fan .wp-block-gallery img { pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .kf-fan .wp-block-gallery > .wp-block-image { transition: none !important; } }

/* ============ Indeks: pasek ============ */
:root { --kf-ease: cubic-bezier(.2, .7, .1, 1); --kf-base-m: clamp(28px, 5vw, 84px); --kf-max: 1680px; --kf-m: max(var(--kf-base-m), calc((100vw - var(--kf-max)) / 2)); }
.kf-ix-bar-wrap { margin: 0 !important; padding: 0 !important; }
.kf-ix-bar { position: fixed; z-index: 30; top: 0; left: 0; right: 0; margin: 0 !important; padding: 20px var(--kf-m) 12px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: 13px; letter-spacing: .01em;
  background: rgba(225, 229, 224, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--wp--preset--color--line); transition: width .4s var(--kf-ease), background .3s; }
.admin-bar .kf-ix-bar { top: var(--wp-admin--admin-bar--height, 32px); }
body:not(.home) { padding-top: 56px; }
.kf-ix-bar .wp-block-site-title { margin: 0; font: 500 13px/1 var(--wp--preset--font-family--body); letter-spacing: .01em; }
.kf-ix-bar .wp-block-site-title a { text-decoration: none; color: var(--wp--preset--color--ink); }
.kf-ix-bar p { margin: 0; }
/* strona główna: pasek tylko nad lewą kolumną, przezroczysty, aż do przewinięcia za hero */
.home .kf-ix-bar:not(.solid) { right: auto; width: min(46vw, 640px); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; }

/* ============ Menu w formie aparatu ============ */
.kf-menu-btn, .kf-menu-close { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; font: 500 13px/1 var(--wp--preset--font-family--body); color: var(--wp--preset--color--ink); cursor: pointer; letter-spacing: .01em; min-height: 44px; }
.kf-iris { transition: transform .7s var(--kf-ease); }
.kf-menu-btn:hover .kf-iris { transform: rotate(60deg); }
.kf-menu { position: fixed; inset: 0; z-index: 100; background: var(--wp--preset--color--paper); display: flex; flex-direction: column; justify-content: center; padding: 0 var(--kf-m);
  visibility: hidden; opacity: 0; transform: scale(1.03); transition: opacity .45s var(--kf-ease), transform .6s var(--kf-ease), visibility 0s .6s; }
.kf-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .45s var(--kf-ease), transform .6s var(--kf-ease); }
.kf-menu-close { position: absolute; top: 24px; right: var(--kf-m); }
.admin-bar .kf-menu-close { top: 46px; }
.kf-menu.is-open .kf-menu-close .kf-iris { transform: rotate(90deg); }
.kf-menu-list { list-style: none; position: relative; width: max-content; max-width: 100%; margin: 0 auto 0 clamp(0px, 6vw, 110px); padding: 0; counter-reset: kfm; }
.kf-menu-list li { margin: 0; counter-increment: kfm; }
.kf-menu-list li a { display: inline-flex; align-items: baseline; gap: 22px; padding: 6px 26px; font: 400 clamp(2.2rem, 6.2vw, 5.6rem)/1.08 var(--wp--preset--font-family--display); letter-spacing: -.025em; color: var(--wp--preset--color--stone); text-decoration: none; transition: color .3s; }
.kf-menu-list li a::before { content: "0" counter(kfm); font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .1em; min-width: 22px; }
.kf-menu-list li a.cur, .kf-menu-list li a:hover, .kf-menu-list li a:focus-visible { color: var(--wp--preset--color--ink); outline: 0; }
.kf-af { position: absolute; pointer-events: none; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: left .35s var(--kf-ease), top .35s var(--kf-ease), width .35s var(--kf-ease), height .35s var(--kf-ease), opacity .25s; }
.kf-af i { position: absolute; width: 16px; height: 16px; border: 0 solid var(--wp--preset--color--ink); }
.kf-af i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.kf-af i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.kf-af i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.kf-af i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.kf-af.lock { animation: kf-lock .3s ease; }
@keyframes kf-lock { 40% { transform: scale(.97); } }
.kf-menu-foot { position: absolute; left: var(--kf-m); right: var(--kf-m); bottom: 26px; display: flex; gap: 26px; font-size: 13px; color: var(--wp--preset--color--stone); flex-wrap: wrap; }
.kf-menu-foot a { color: inherit; text-decoration: none; }
.kf-menu-foot a:hover { color: var(--wp--preset--color--ink); }
.kf-flash { position: fixed; inset: 0; background: #fff; z-index: 120; pointer-events: none; opacity: 0; }
.kf-flash.fire { animation: kf-fire .45s ease; }
@keyframes kf-fire { 0% { opacity: .9; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kf-menu, .kf-af, .kf-iris { transition: none !important; } .kf-flash.fire { animation: none; } }

/* ============ Indeks: hero ============ */
.kf-ix-hero { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); min-height: 100svh; margin: 0 !important; padding: 0 !important; }
.kf-ix-hero > * { margin: 0 !important; }
.kf-ix-copy { padding: 0 var(--kf-m) 36px !important; display: flex; flex-direction: column; justify-content: flex-end; }
.kf-ix-h1 { font-size: clamp(2.6rem, 4.6vw, 4.9rem) !important; line-height: 1.02 !important; letter-spacing: -.025em !important; margin: 0 0 clamp(36px, 7vh, 84px) !important; max-width: none !important; }
.kf-ix-h1 em { font-style: italic; color: var(--wp--preset--color--stone); }
.kf-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wp--preset--color--line); counter-reset: kfi; }
.kf-index li { margin: 0; border-bottom: 1px solid var(--wp--preset--color--line); counter-increment: kfi; }
.kf-index li a { display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; padding: 15px 0; text-decoration: none; font: 400 clamp(1.25rem, 1.9vw, 1.75rem)/1.1 var(--wp--preset--font-family--display); letter-spacing: -.01em; color: var(--wp--preset--color--stone); transition: padding .45s var(--kf-ease), color .3s; }
.kf-index li a::before { content: "0" counter(kfi); font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .08em; }
.kf-index li a::after { content: "→"; font: 400 13px/1 var(--wp--preset--font-family--body); opacity: 0; transform: translateX(-8px); transition: all .4s var(--kf-ease); }
.kf-index li.on a { padding-left: 10px; color: var(--wp--preset--color--ink); }
.kf-index li.on a::after { opacity: 1; transform: none; }
.kf-ix-frame { position: relative; overflow: hidden; background: #C9CFC8; min-height: 60svh; }
.kf-ix-frame .kf-ph { position: absolute; inset: 0; margin: 0 !important; opacity: 0; transition: opacity 1.1s ease; }
.kf-ix-frame .kf-ph.on { opacity: 1; }
.kf-ix-frame .kf-ph img { width: 100%; height: 100%; object-fit: cover; }
.kf-ix-frame .kf-ph.leaving { opacity: 0; transition: opacity .9s ease; }
.kf-ix-frame:not(.js) .kf-ph:first-child { opacity: 1; }
.kf-count { position: absolute; right: var(--kf-m); bottom: 28px; color: #fff; font-size: 12px; letter-spacing: .14em; mix-blend-mode: difference; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .kf-ix-frame { animation: kf-reveal 1.3s var(--kf-ease) both; }
  .kf-ix-h1, .kf-index { animation: kf-rise 1s var(--kf-ease) .35s both; }
  .kf-index { animation-delay: .55s; }
  @keyframes kf-reveal { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  @keyframes kf-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ============ Indeks: prace ============ */
.kf-ix-work { padding: clamp(90px, 16vh, 180px) var(--kf-m) !important; margin: 0 !important; }
.kf-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--stone); margin: 0 0 clamp(40px, 8vh, 90px) !important; }
.kf-ix-grid { display: grid !important; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 28px); row-gap: clamp(40px, 9vh, 110px); align-items: start; }
.kf-ix-grid > * { margin: 0 !important; }
.kf-ix-grid figure { overflow: hidden; background: #C9CFC8; }
.kf-ix-grid figure a { display: block; height: 100%; }
.kf-ix-grid figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--kf-ease); }
.kf-ix-grid figure:hover img { transform: scale(1.025); }
.kf-ix-grid .g1 { grid-column: 1 / 6; aspect-ratio: 4 / 5.4; }
.kf-ix-grid .g2 { grid-column: 7 / 13; aspect-ratio: 3 / 2; margin-top: clamp(40px, 12vh, 140px) !important; }
.kf-ix-grid .g3 { grid-column: 3 / 7; aspect-ratio: 4 / 5.4; }
.kf-ix-grid .g4 { grid-column: 8 / 13; aspect-ratio: 3 / 2; }
.kf-ix-more { margin-top: clamp(50px, 9vh, 100px) !important; text-align: right; font-size: 14px; }
.kf-ix-more a { text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--ink); padding-bottom: 6px; }
.kf-ix-more a::after { content: " →"; }

/* ============ Indeks: zdanie o ofercie ============ */
.kf-ix-say { padding: clamp(80px, 18vh, 200px) var(--kf-m) !important; margin: 0 !important; border-top: 1px solid var(--wp--preset--color--line); }
.kf-ix-say .big { font: 400 clamp(1.9rem, 4vw, 4rem)/1.12 var(--wp--preset--font-family--display); letter-spacing: -.02em; margin: 0 0 clamp(40px, 8vh, 90px) !important; max-width: 24ch; margin-left: clamp(0px, 16vw, 230px) !important; }
.kf-ix-say .big span, .kf-ix-say .big em { color: var(--wp--preset--color--stone); font-style: normal; }
.kf-ix-say .side { color: var(--wp--preset--color--stone); max-width: 40ch; margin: 0 0 0 clamp(0px, 16vw, 230px) !important; }
.kf-ix-say .side a { color: var(--wp--preset--color--ink); }

/* ============ Mobile ============ */
@media (max-width: 820px) {
  .home .kf-ix-bar:not(.solid) { width: 100%; right: 0; background: rgba(225, 229, 224, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--wp--preset--color--line); }
  .kf-ix-hero { grid-template-columns: 1fr; }
  .kf-ix-frame { order: -1; height: 50svh; min-height: 0; }
  .kf-index li a { padding: 12px 0; }
  .kf-ix-copy { padding-top: 28px !important; }
  .kf-ix-h1 { margin-bottom: 24px !important; font-size: 2.5rem !important; }
  .kf-index li a::after { display: none; }
  .kf-ix-grid .g1, .kf-ix-grid .g2, .kf-ix-grid .g3, .kf-ix-grid .g4 { grid-column: 1 / -1; margin-top: 0 !important; aspect-ratio: 4 / 5; }
  .kf-ix-grid .g2, .kf-ix-grid .g4 { aspect-ratio: 3 / 2; }
  .kf-ix-say .big, .kf-ix-say .side { margin-left: 0 !important; }
  .kf-count { bottom: 16px; }
}

/* ============ Logo ============ */
.kf-logo { display: inline-flex; align-items: center; color: var(--wp--preset--color--ink); text-decoration: none; line-height: 0; min-height: 44px; }
.kf-logo-svg { width: 52px; height: auto; overflow: visible; }
.kf-logo-br { transform-origin: 32px 20px; transition: transform .5s var(--kf-ease); }
.kf-logo:hover .kf-logo-br, .kf-logo:focus-visible .kf-logo-br { transform: scale(.88); }
@media (prefers-reduced-motion: reduce) { .kf-logo-br { transition: none; } }

/* ============ Zakładki: wspólny układ ============ */
.kf-pg { padding-top: clamp(40px, 8vh, 90px) !important; }
.kf-pg { padding-left: var(--kf-m) !important; padding-right: var(--kf-m) !important; max-width: none !important; }
.kf-pg > *, .kf-pg .wp-block-post-content > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.kf-pg-title { font-size: clamp(2.8rem, 7vw, 6rem) !important; line-height: 1 !important; letter-spacing: -.03em !important; margin: 0 0 clamp(40px, 8vh, 90px) !important; }
.kf-pg .entry-content, .kf-pg .wp-block-post-content { max-width: none; }
.kf-pg .wp-block-post-content > p, .kf-pg .wp-block-post-content > .wp-block-group > p.has-medium-font-size { max-width: 46ch; }

/* Portfolio: wiersze-kategorie */
.kf-pf { border-top: 1px solid var(--wp--preset--color--line); }
.kf-pf-row { position: relative; display: grid !important; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 28px); align-items: center; padding: clamp(22px, 4vw, 44px) 0 !important; margin: 0 !important; border-bottom: 1px solid var(--wp--preset--color--line); counter-increment: kfp; }
.kf-pf { counter-reset: kfp; }
.kf-pf-row > * { margin: 0 !important; }
.kf-pf-name { grid-column: 1 / 8; font-size: clamp(1.9rem, 4.6vw, 4rem) !important; line-height: 1.05 !important; letter-spacing: -.025em !important; }
.kf-pf-name::before { content: "0" counter(kfp); display: block; font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .1em; color: var(--wp--preset--color--stone); margin-bottom: 14px; }
.kf-pf-name a { text-decoration: none; color: var(--wp--preset--color--ink); }
.kf-pf-name a::after { content: ""; position: absolute; inset: 0; }
.kf-pf-img { grid-column: 9 / 13; overflow: hidden; aspect-ratio: 4 / 3; background: #C9CFC8; }
.kf-pf-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--kf-ease); }
.kf-pf-row:hover .kf-pf-img img, .kf-pf-row:focus-within .kf-pf-img img { transform: scale(1.04); }
@media (max-width: 781px) {
  .kf-pf-name { grid-column: 1 / -1; margin-bottom: 18px !important; }
  .kf-pf-img { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}

/* Oferta: wiersze z linią, bez ramek */
.kf-offer { border: 0 !important; border-top: 1px solid var(--wp--preset--color--line) !important; background: none !important; padding: clamp(28px, 5vw, 52px) 0 !important; margin: 0 !important; }
.kf-offer:last-of-type { border-bottom: 1px solid var(--wp--preset--color--line) !important; }
.kf-offer h3 { font-size: clamp(1.5rem, 3vw, 2.2rem) !important; line-height: 1.1; margin-top: .5rem; }
.kf-offer .wp-block-buttons { gap: 1.75rem !important; margin-top: 1.5rem; }
.kf-offer .wp-block-button__link, .kf-offer .wp-block-button.is-style-outline .wp-block-button__link { background: none !important; color: var(--wp--preset--color--ink) !important; border: 0 !important; border-bottom: 1px solid var(--wp--preset--color--ink) !important; padding: 0 0 6px !important; min-height: 0; font-size: .9375rem; }
.kf-offer .wp-block-button__link:hover { border-bottom-color: var(--wp--preset--color--stone) !important; }
.kf-offer .kf-num { font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .1em; }

/* O mnie / Kontakt: spokojny układ, kwadratowe zdjęcia */
.kf-pg .wp-block-columns { gap: var(--wp--preset--spacing--50); }
.kf-pg .wp-block-image img { width: 100%; height: auto; }
.kf-pg h2.wp-block-heading { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.02em; }
.kf-pg .kf-eyebrow { font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: .75rem; }
.kf-form input[type="text"], .kf-form input[type="email"], .kf-form input[type="tel"], .kf-form input[type="date"], .kf-form select, .kf-form textarea { background: transparent !important; border: 0; border-bottom: 1px solid var(--wp--preset--color--ink); padding: .8rem 0 !important; }
.kf-form button { border-radius: 0 !important; background: transparent !important; color: var(--wp--preset--color--ink) !important; border: 1px solid var(--wp--preset--color--ink) !important; }
.kf-form button:hover { background: var(--wp--preset--color--ink) !important; color: var(--wp--preset--color--paper) !important; }

/* Kontakt: czytelna hierarchia, ikony w kolorze tekstu, wygodny formularz na telefonie */
.kf-pg .kf-eyebrow { margin-top: 2.25rem; }
.kf-pg .wp-block-column > .kf-eyebrow:first-child { margin-top: 0; }
.kf-pg .kf-eyebrow + p { font: 400 clamp(1.3rem, 2.2vw, 1.6rem)/1.35 var(--wp--preset--font-family--display); letter-spacing: -.01em; margin-top: 0; }
.kf-pg .wp-block-column > p.has-medium-font-size { margin-bottom: 0; }
.kf-pg .wp-block-social-links .wp-social-link { background: none !important; color: var(--wp--preset--color--ink) !important; }
.kf-pg .wp-block-social-links .wp-social-link svg { fill: currentColor; width: 26px; height: 26px; }
.kf-pg .wp-block-social-links .wp-social-link a { padding: 8px 14px 8px 0; }
.kf-form .kf-consent, .kf-form .kf-consent label { font-size: .875rem; line-height: 1.45; }
.kf-form input[type="checkbox"] { width: 20px; height: 20px; margin-right: .6rem; vertical-align: -4px; accent-color: var(--wp--preset--color--ink); }
.kf-form input, .kf-form select, .kf-form textarea { font-size: 1rem; min-height: 48px; }
.kf-form textarea { min-height: 140px; }
@media (max-width: 781px) {
  .kf-pg .wp-block-columns { gap: 2.5rem !important; }
  .kf-form button { width: 100%; justify-content: center; min-height: 52px; }
  .kf-pg-title { margin-bottom: 36px !important; }
}

/* O mnie */
.kf-pg .is-vertically-aligned-center > .kf-eyebrow:first-child { display: none; }
@media (max-width: 781px) {
  .kf-pg .wp-block-column .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; }
}

/* Zawartość podstron: wszystko od lewej krawędzi, jak na stronie głównej */
.kf-pg .wp-block-post-content .is-layout-constrained > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.kf-pg .wp-block-post-content > .alignfull { padding-left: 0 !important; padding-right: 0 !important; }
.kf-pg .wp-block-post-content p.has-medium-font-size { max-width: 46ch !important; }

/* ============ Blog ============ */
.kf-bl .wp-block-post-template { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wp--preset--color--line); }
.kf-bl .wp-block-post-template > li { margin: 0; }
.kf-bl-row { display: grid !important; grid-template-columns: repeat(12, 1fr); column-gap: clamp(12px, 2vw, 28px); padding: clamp(24px, 4vw, 44px) 0 !important; margin: 0 !important; border-bottom: 1px solid var(--wp--preset--color--line); position: relative; align-items: start; }
.kf-bl-row > * { margin: 0 !important; }
.kf-bl-date, .kf-single .kf-bl-date { font: 500 11px/1.4 var(--wp--preset--font-family--body); letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.kf-bl-row .kf-bl-date { grid-column: 1 / 3; grid-row: 1; padding-top: .9rem; }
.kf-bl-row .kf-bl-title { grid-column: 3 / 9; grid-row: 1; font-size: clamp(1.6rem, 3.2vw, 2.6rem) !important; line-height: 1.1 !important; letter-spacing: -.02em !important; }
.kf-bl-row .kf-bl-title a { text-decoration: none; color: var(--wp--preset--color--ink); }
.kf-bl-row .kf-bl-title a::after { content: ""; position: absolute; inset: 0; }
.kf-bl-row .kf-bl-excerpt { grid-column: 3 / 9; grid-row: 2; margin-top: 1rem !important; color: var(--wp--preset--color--stone); max-width: 52ch; }
.kf-bl-row .kf-bl-excerpt p { margin: 0; }
.kf-bl-row .kf-bl-excerpt .wp-block-post-excerpt__more-link { display: none; }
.kf-bl-row .kf-bl-img { grid-column: 9 / 13; grid-row: 1 / span 2; overflow: hidden; background: #C9CFC8; }
.kf-bl-row .kf-bl-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--kf-ease); }
.kf-bl-row:hover .kf-bl-img img { transform: scale(1.04); }
.kf-bl-pag { margin-top: clamp(30px, 6vh, 60px) !important; font-size: .9375rem; }
.kf-bl-pag a { color: var(--wp--preset--color--ink); text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--ink); }
@media (max-width: 781px) {
  .kf-bl-row .kf-bl-date, .kf-bl-row .kf-bl-title, .kf-bl-row .kf-bl-excerpt, .kf-bl-row .kf-bl-img { grid-column: 1 / -1; grid-row: auto; }
  .kf-bl-row .kf-bl-img { order: -1; margin-bottom: 1.25rem !important; }
  .kf-bl-row .kf-bl-date { padding-top: 0; margin-bottom: .5rem !important; order: 0; }
}
/* pojedynczy wpis */
.kf-single .kf-bl-date { margin-bottom: 1.25rem; }
.kf-single .kf-single-img { margin: 0 0 clamp(36px, 7vh, 72px) !important; }
.kf-single .kf-single-body { font-size: 1.125rem; line-height: 1.65; }
.kf-single .kf-single-body > * { max-width: 680px !important; }
.kf-single .kf-single-body > .alignwide, .kf-single .kf-single-body > .wp-block-gallery, .kf-single .kf-single-body > .wp-block-image { max-width: none !important; }
.kf-single-nav { margin-top: clamp(50px, 9vh, 100px) !important; padding-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--line); font-size: .9375rem; }
.kf-single-nav a { color: var(--wp--preset--color--ink); text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--ink); }

/* ============ Ramka wizjera i klisza ============ */
.kf-frame { position: fixed; inset: 12px; z-index: 110; pointer-events: none; color: #fff; mix-blend-mode: difference; }
.admin-bar .kf-frame { top: calc(var(--wp-admin--admin-bar--height, 32px) + 12px); }
.kf-frame i { position: absolute; width: 34px; height: 34px; border: 0 solid currentColor; }
.kf-frame .c1 { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.kf-frame .c2 { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.kf-frame .c3 { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.kf-frame .c4 { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.kf-frame b { position: absolute; background: currentColor; }
.kf-frame .t1 { left: 50%; top: 0; width: 2px; height: 14px; margin-left: -1px; }
.kf-frame .t2 { left: 50%; bottom: 0; width: 2px; height: 14px; margin-left: -1px; }
.kf-frame .t3 { left: 0; top: 50%; width: 14px; height: 2px; margin-top: -1px; }
.kf-frame .t4 { right: 0; top: 50%; width: 14px; height: 2px; margin-top: -1px; }
.kf-frame .fl, .kf-frame .fr { position: absolute; top: 50%; font: 600 11px/1 var(--wp--preset--font-family--body); letter-spacing: .28em; white-space: nowrap; writing-mode: vertical-rl; }
.kf-frame .fl { left: 8px; transform: translateY(-50%) rotate(180deg); }
.kf-frame .fr { right: 8px; transform: translateY(-50%); }
.kf-ix-bar { padding-left: max(var(--kf-m), 56px) !important; padding-right: max(var(--kf-m), 56px) !important; padding-top: 30px !important; }
.kf-menu-close { right: max(var(--kf-m), 56px); top: 34px; }
@media (max-width: 820px) {
  .kf-frame { inset: 8px; }
  .kf-frame i { width: 30px; height: 30px; }
  .kf-frame .c1 { border-left-width: 3px; border-top-width: 3px; }
  .kf-frame .c2 { border-right-width: 3px; border-top-width: 3px; }
  .kf-frame .c3 { border-left-width: 3px; border-bottom-width: 3px; }
  .kf-frame .c4 { border-right-width: 3px; border-bottom-width: 3px; }
  .kf-frame .t1 { width: 3px; height: 14px; margin-left: -1.5px; }
  .kf-frame .t3, .kf-frame .t4, .kf-frame .t2, .kf-frame .fl { display: none; }
  .kf-frame .fr { writing-mode: horizontal-tb; top: auto; bottom: 3px; left: 50%; right: auto; transform: translateX(-50%); font-size: 11px; letter-spacing: .22em; }
  .kf-ix-bar { padding-left: 44px !important; padding-right: 44px !important; padding-top: 28px !important; }
  .kf-menu-close { right: 44px; top: 32px; }
}

/* ============ Stopka ============ */
.kf-ft { margin: 0 !important; padding: clamp(64px, 12vh, 130px) var(--kf-m) clamp(64px, 9vh, 84px) !important; border-top: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--paper); }
.kf-ft > * { margin: 0 !important; max-width: none !important; }
.kf-ft-cta { font: 400 clamp(2.4rem, 8vw, 7.5rem)/1 var(--wp--preset--font-family--display); letter-spacing: -.035em; margin-bottom: clamp(56px, 11vh, 120px) !important; }
.kf-ft-cta a { color: var(--wp--preset--color--ink); text-decoration: none; transition: color .3s; }
.kf-ft-cta a::after { content: " →"; font-family: var(--wp--preset--font-family--body); font-size: .5em; vertical-align: .22em; display: inline-block; transition: transform .4s var(--kf-ease); }
.kf-ft-cta a:hover { color: var(--wp--preset--color--stone); }
.kf-ft-cta a:hover::after { transform: translateX(10px); }
.kf-ft-cols { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 40px; padding-top: 28px; border-top: 1px solid var(--wp--preset--color--line); }
.kf-ft-cols > * { margin: 0 !important; }
.kf-ft-label { font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--stone); margin: 0 0 18px !important; }
.kf-ft-col p, .kf-ft-col { font-size: .9375rem; line-height: 1.9; }
.kf-ft a { color: var(--wp--preset--color--ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--kf-ease); }
.kf-ft a:hover { background-size: 100% 1px; }
.kf-ft-cta a { background: none; }
.kf-ft-base { margin-top: clamp(56px, 10vh, 110px) !important; padding-top: 20px; border-top: 1px solid var(--wp--preset--color--line); font-size: 12px; color: var(--wp--preset--color--stone); gap: 12px 28px !important; }
.kf-ft-base p { margin: 0; }
@media (max-width: 820px) {
  .kf-ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kf-ft-base { flex-direction: column; align-items: flex-start !important; }
}
.kf-ft .wp-block-social-links { flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; padding: 0; }
.kf-ft .wp-block-social-links .wp-social-link { background: none !important; color: var(--wp--preset--color--ink) !important; margin: 0; }
.kf-ft .wp-block-social-links .wp-social-link a { display: inline-flex; align-items: center; gap: 12px; padding: 0; font-size: .9375rem; background-image: none; }
.kf-ft .wp-block-social-links .wp-social-link svg { width: 22px; height: 22px; fill: currentColor; }
.kf-ft .wp-block-social-links .wp-block-social-link-label { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--kf-ease); }
.kf-ft .wp-block-social-links a:hover .wp-block-social-link-label { background-size: 100% 1px; }
.kf-ft-col > p + .wp-block-social-links { margin-top: 10px; }
.kf-ft .wp-block-social-links .wp-block-social-link-label { font-size: .9375rem !important; line-height: 1.4; }
.kf-ft .wp-block-social-links { gap: 2px; }
.kf-ft .wp-block-social-links .wp-social-link a { min-height: 34px; }
.kf-ft .wp-block-social-links .wp-social-link svg { flex: none; }
.kf-ft .wp-block-social-links .wp-block-social-link-label { margin: 0 !important; padding: 0 !important; }
@media (max-width: 820px) {
  .kf-ft-cols > .kf-ft-col:nth-child(1), .kf-ft-cols > .kf-ft-col:nth-child(4) { grid-column: 1 / -1; }
  .kf-ft-cols > .kf-ft-col:nth-child(2) { order: 2; }
  .kf-ft-cols > .kf-ft-col:nth-child(3) { order: 3; }
  .kf-ft-cols > .kf-ft-col:nth-child(4) { order: 4; }
}

/* ============ Efekty fotograficzne przy przewijaniu ============ */
@property --kf-d { syntax: "<length>"; inherits: true; initial-value: 0px; }
.kf-js .kf-fx { position: relative; }
.kf-js .kf-fx img { filter: blur(calc(var(--kf-fb, 0px) + var(--kf-blur, 0px))) grayscale(calc(var(--kf-dev, 0) * .85)) brightness(calc(1 - var(--kf-dev, 0) * .22)); scale: calc(1 + var(--kf-dev, 0) * .07); will-change: filter, scale; }
/* ramka AF na zdjęciu w ostrości */
.kf-js .kf-fx::after { content: ""; position: absolute; inset: clamp(12px, 2vw, 22px); pointer-events: none; color: #fff; mix-blend-mode: difference; opacity: 0; transform: scale(1.22); transition: opacity .3s ease, transform .55s cubic-bezier(.3, 1.5, .5, 1);
  background:
    linear-gradient(currentColor, currentColor) left top / 26px 2px no-repeat, linear-gradient(currentColor, currentColor) left top / 2px 26px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 26px 2px no-repeat, linear-gradient(currentColor, currentColor) right top / 2px 26px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 26px 2px no-repeat, linear-gradient(currentColor, currentColor) left bottom / 2px 26px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 26px 2px no-repeat, linear-gradient(currentColor, currentColor) right bottom / 2px 26px no-repeat; }
.kf-js .kf-fx.is-focus::after { opacity: 1; transform: none; }
.kf-js .kf-fx::before { content: "AF"; position: absolute; z-index: 2; left: clamp(12px, 2vw, 22px); top: clamp(12px, 2vw, 22px); transform: translate(32px, 4px); font: 600 10px/1 var(--wp--preset--font-family--body); letter-spacing: .24em; color: #fff; mix-blend-mode: difference; opacity: 0; transition: opacity .3s ease .1s; pointer-events: none; }
.kf-js .kf-fx.is-focus::before { opacity: 1; }
/* blokada AF: narożniki ramki na chwilę zbliżają się do środka i wracają */
.kf-frame i { --kf-d: 0px; }
.kf-frame .c1 { left: var(--kf-d); top: var(--kf-d); }
.kf-frame .c2 { right: var(--kf-d); top: var(--kf-d); }
.kf-frame .c3 { left: var(--kf-d); bottom: var(--kf-d); }
.kf-frame .c4 { right: var(--kf-d); bottom: var(--kf-d); }
.kf-frame.lock i { animation: kf-aflock .55s cubic-bezier(.2, .7, .1, 1); }
.kf-frame.lock b { animation: kf-afblink .55s steps(2, end); }
@keyframes kf-aflock { 0% { --kf-d: 0px; } 30% { --kf-d: 12px; } 100% { --kf-d: 0px; } }
@keyframes kf-afblink { 0%, 60% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .kf-js .kf-fx img { filter: none; } .kf-js .kf-fx::after { display: none; } .kf-frame.lock i, .kf-frame.lock b { animation: none; } }

/* zdjęcia zawsze wypełniają swoje ramki */
.kf-pf-img, .kf-bl-img, .kf-ix-grid figure, .kf-single-img { display: block; }
.kf-pf-img img, .kf-bl-img img, .kf-ix-grid figure img, .kf-single-img img { width: 100% !important; height: 100% !important; object-fit: cover; }
.kf-bl-img a, .kf-single-img a { display: block; height: 100%; }

/* stopka: ciaśniejszy rytm pionowy */
.kf-ft-col > * { margin-block: 0 !important; }
.kf-ft-label { margin-bottom: 14px !important; }
.kf-ft .wp-block-social-links { gap: 0 !important; }
.kf-ft .wp-block-social-links .wp-social-link { margin: 0 !important; }
.kf-ft .wp-block-social-links .wp-social-link a { min-height: 0; padding: 6px 0; }
.kf-ft-col > p + .wp-block-social-links { margin-top: 8px !important; }
.kf-ft-col, .kf-ft-col p { line-height: 1.75; }

/* Hero: nazwisko u góry, spis kategorii na dole, zdjęcie na całą wysokość */
.kf-ix-copy { justify-content: space-between !important; padding-top: clamp(96px, 14vh, 140px) !important; }
.kf-ix-h1 { font-size: clamp(3rem, 5.8vw, 6.6rem) !important; font-weight: 500 !important; line-height: .98 !important; letter-spacing: -.045em !important; margin: 0 !important; }
.kf-ix-h1 em { font-style: normal !important; color: var(--wp--preset--color--stone); }
@media (max-width: 820px) {
  .kf-ix-copy { padding-top: 24px !important; }
  .kf-ix-h1 { font-size: 2.9rem !important; margin-bottom: 26px !important; }
}

/* ============ Podmenu portfolio ============ */
.kf-subnav { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); margin: 0 0 clamp(36px, 7vh, 72px) !important; padding: 0; border-top: 1px solid var(--wp--preset--color--line); counter-reset: kfs -1; }
.kf-subnav li { margin: 0; counter-increment: kfs; transition: box-shadow .35s ease; }
.kf-subnav li.on { box-shadow: inset 0 2px 0 var(--wp--preset--color--ink); }
.kf-subnav li a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 0 8px; text-decoration: none; font: 500 clamp(1rem, 1.5vw, 1.35rem)/1.15 var(--wp--preset--font-family--display); letter-spacing: -.02em; color: var(--wp--preset--color--stone); transition: color .3s; }
.kf-subnav li a::before { content: "0" counter(kfs); font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .1em; }
.kf-subnav li.on a, .kf-subnav li a:hover, .kf-subnav li a:focus-visible { color: var(--wp--preset--color--ink); }
.kf-tax .wp-block-term-description { margin-bottom: 2rem; max-width: 46ch; }
.kf-tax .kf-post-card .wp-block-post-featured-image { overflow: hidden; margin: 0; }
.kf-tax .kf-post-card .wp-block-post-featured-image img { width: 100% !important; height: 100% !important; object-fit: cover; }
@media (max-width: 820px) {
  .kf-subnav { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 4px; }
  .kf-subnav li { border-top: 1px solid var(--wp--preset--color--line); margin-top: -1px; }
  .kf-subnav li.on { box-shadow: inset 0 2px 0 var(--wp--preset--color--ink); }
}

/* ============ Hero: wejście zdjęcia jak w aparacie (szukanie ostrości, blokada AF, klik migawki) ============ */
.kf-ix-frame .kf-ph img { transition: filter 1s cubic-bezier(.2, .7, .1, 1), transform 1.6s cubic-bezier(.2, .7, .1, 1); }
.kf-ix-frame.js .kf-ph.hunt img { filter: blur(22px) brightness(.92); transform: scale(1.1); }
.kf-ix-frame.js .kf-ph.hunt.sharp img { filter: none; transform: scale(1); }
.kf-ix-frame .kf-ph.on { transition: opacity .5s ease; }
.kf-hero-af { position: absolute; z-index: 4; left: var(--fx, 50%); top: var(--fy, 45%); width: 120px; height: 120px; transform: translate(-50%, -50%); pointer-events: none; color: #fff; mix-blend-mode: difference; opacity: 0;
  transition: left .35s cubic-bezier(.3, .8, .3, 1), top .35s cubic-bezier(.3, .8, .3, 1), width .45s cubic-bezier(.2, .7, .1, 1), height .45s cubic-bezier(.2, .7, .1, 1), opacity .3s ease; }
.kf-hero-af i { position: absolute; width: 22px; height: 22px; border: 0 solid currentColor; }
.kf-hero-af i:nth-child(1) { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.kf-hero-af i:nth-child(2) { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.kf-hero-af i:nth-child(3) { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.kf-hero-af i:nth-child(4) { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.kf-hero-af b { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); font: 600 10px/1 var(--wp--preset--font-family--body); letter-spacing: .24em; opacity: 0; transition: opacity .2s; }
.kf-hero-af.scan { opacity: 1; width: 280px; height: 280px; }
.kf-hero-af.lock { opacity: 1; width: 132px; height: 132px; }
.kf-hero-af.lock b { opacity: 1; }
.kf-hero-af.gone { opacity: 0; }
.kf-hero-flash { position: absolute; inset: 0; z-index: 5; background: #fff; opacity: 0; pointer-events: none; }
.kf-hero-flash.fire { animation: kf-hflash .5s ease-out; }
@keyframes kf-hflash { 0% { opacity: .55; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kf-hero-af, .kf-hero-flash { display: none; } }
@media (max-width: 820px) { .kf-hero-af.scan { width: 200px; height: 200px; } .kf-hero-af.lock { width: 100px; height: 100px; } }
.kf-tax .kf-pg-title { font-size: clamp(2.2rem, 5vw, 4.2rem) !important; max-width: 20ch; }

/* ============ Podmenu: delikatny szablon klisza 35 mm w tle ============ */
.kf-subnav { --kf-hole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12'%3E%3Crect x='6.5' y='2.5' width='13' height='7' rx='2.2' fill='none' stroke='%23A5AEA6' stroke-width='1'/%3E%3C/svg%3E");
  position: relative; background: transparent; border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); padding: 38px 0 !important; column-gap: 0; counter-reset: kfs -1; overflow: hidden; }
.kf-subnav::before, .kf-subnav::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: var(--kf-hole) repeat-x 0 0 / 26px 12px; }
.kf-subnav::before { top: 11px; }
.kf-subnav::after { bottom: 11px; }
.kf-subnav li { border-left: 1px solid var(--wp--preset--color--line); box-shadow: none !important; }
.kf-subnav li:first-child { border-left: 0; }
.kf-subnav li a { padding: 4px 22px; color: var(--wp--preset--color--stone); }
.kf-subnav li a::before { color: var(--wp--preset--color--signal); }
.kf-subnav li.on { background: rgba(22, 22, 26, .045); }
.kf-subnav li.on a { color: var(--wp--preset--color--ink); }
.kf-subnav li.on a::before { color: var(--wp--preset--color--ink); }
.kf-subnav li a:hover, .kf-subnav li a:focus-visible { color: var(--wp--preset--color--ink); }
@media (max-width: 820px) {
  .kf-subnav { display: flex; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .kf-subnav::-webkit-scrollbar { display: none; }
  .kf-subnav::before, .kf-subnav::after { right: auto; width: 1400px; }
  .kf-subnav li { flex: 0 0 auto; min-width: 150px; margin-top: 0; border-top: 0; scroll-snap-align: start; }
  .kf-subnav li.on { box-shadow: none !important; }
}

/* ============ Kontakt: biznesowy układ i zwarty formularz ============ */
@media (min-width: 782px) {
  .kf-pg .wp-block-post-content .wp-block-columns { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(40px, 7vw, 120px); align-items: start; }
  .kf-pg .wp-block-post-content .wp-block-columns > .wp-block-column { flex-basis: auto !important; width: auto !important; }
}
.kf-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px clamp(20px, 3vw, 36px); max-width: 720px; }
.kf-form > p { margin: 0 !important; min-width: 0; }
.kf-form > p:has(#kf-msg), .kf-form > .kf-consent, .kf-form > p:has(button) { grid-column: 1 / -1; }
.kf-form label { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .1rem; }
.kf-form .kf-consent label { text-transform: none; letter-spacing: 0; }
.kf-form input[type="text"], .kf-form input[type="email"], .kf-form input[type="tel"], .kf-form input[type="date"], .kf-form select, .kf-form textarea { min-height: 44px !important; padding: .5rem 0 !important; font-size: 1rem; }
.kf-form textarea { min-height: 110px !important; resize: vertical; }
.kf-form button { min-height: 48px; padding: .75rem 1.6rem !important; width: auto; }
.kf-pg .kf-form-msg { max-width: 720px; }
@media (max-width: 781px) {
  .kf-form { grid-template-columns: 1fr; gap: 20px; }
  .kf-form button { width: 100%; justify-content: center; }
}
.kf-form > p:has(#kf-name) { order: 1; } .kf-form > p:has(#kf-email) { order: 2; } .kf-form > p:has(#kf-phone) { order: 3; }
.kf-form > p:has(#kf-date) { order: 4; } .kf-form > p:has(#kf-type) { order: 5; grid-column: 1 / -1; }
.kf-form > p:has(#kf-msg) { order: 6; } .kf-form > .kf-consent { order: 7; } .kf-form > p:has(button) { order: 8; }

/* ============ Spójność zakładek: delikatna perforacja pod tytułem, numeracja klatek, linie w kolumnie kontaktu ============ */
.kf-pg:not(.kf-tax):not(.kf-bl):not(.kf-single) .kf-pg-title { margin-bottom: clamp(26px, 5vh, 52px) !important; }
.kf-pg:not(.kf-tax):not(.kf-bl):not(.kf-single) .kf-pg-title::after { content: ""; display: block; height: 34px; margin-top: clamp(26px, 5vh, 48px);
  border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line);
  background: var(--kf-hole, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12'%3E%3Crect x='6.5' y='2.5' width='13' height='7' rx='2.2' fill='none' stroke='%23A5AEA6' stroke-width='1'/%3E%3C/svg%3E")) repeat-x 0 50% / 26px 12px; }
.kf-form { counter-reset: kff; }
.kf-form > p:not(.kf-consent) > label::before { counter-increment: kff; content: "0" counter(kff); display: inline-block; min-width: 2.2em; color: var(--wp--preset--color--signal); letter-spacing: .1em; }
.kf-form > p:has(button) > label::before { content: none; }
.kf-form input:focus, .kf-form select:focus, .kf-form textarea:focus { border-bottom-color: var(--wp--preset--color--ink); box-shadow: 0 1px 0 var(--wp--preset--color--ink); }
.kf-form > p:focus-within > label { color: var(--wp--preset--color--ink); }
.kf-pg .wp-block-column > .kf-eyebrow { border-top: 1px solid var(--wp--preset--color--line); padding-top: 16px; margin-top: 2rem; }
.kf-pg .wp-block-column > .kf-eyebrow:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
/* numeracja pól według kolejności na ekranie */
.kf-form > p:not(.kf-consent) > label::before { counter-increment: none; content: ""; }
.kf-form > p:has(#kf-name) > label::before { content: "01"; }
.kf-form > p:has(#kf-email) > label::before { content: "02"; }
.kf-form > p:has(#kf-phone) > label::before { content: "03"; }
.kf-form > p:has(#kf-date) > label::before { content: "04"; }
.kf-form > p:has(#kf-type) > label::before { content: "05"; }
.kf-form > p:has(#kf-msg) > label::before { content: "06"; }

/* ============ Kalendarz: ciepłe, ale wciąż minimalne „klatki” miesięcy ============ */
.kf-cal-legend { gap: 1.75rem; margin-bottom: clamp(28px, 5vh, 48px); font-size: .8125rem; letter-spacing: .02em; }
.kf-key { border-radius: 50% !important; width: .5rem; height: .5rem; border: 0; vertical-align: .05rem; margin-right: .55rem; }
.kf-key.is-free { background: var(--wp--preset--color--ink); border: 0; }
.kf-key.is-busy { background: transparent; border: 1px solid var(--wp--preset--color--signal); }
.kf-cal-grid { gap: clamp(16px, 2vw, 28px); }
.kf-cal-month { position: relative; padding: 24px clamp(16px, 2vw, 26px) 20px; background: rgba(22, 22, 26, .028); border: 1px solid var(--wp--preset--color--line); }
.kf-cal-month::before { content: ""; position: absolute; left: 14px; right: 14px; top: 9px; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10'%3E%3Crect x='5.5' y='2.5' width='11' height='5' rx='1.8' fill='none' stroke='%23A5AEA6'/%3E%3C/svg%3E") repeat-x 0 0 / 22px 10px; }
.kf-cal-title { font: 500 1.3rem/1.1 var(--wp--preset--font-family--display); letter-spacing: -.02em; margin: 14px 0 18px; }
.kf-cal-days { gap: 2px; }
.kf-dow { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; padding-bottom: .55rem; }
.kf-day { position: relative; border: 0 !important; border-radius: 0; min-height: 42px; font-size: .9375rem; }
.kf-day.is-free { color: var(--wp--preset--color--ink); }
.kf-day.is-free::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--wp--preset--color--ink); }
.kf-day.is-free:hover, .kf-day.is-free:focus-visible { background: var(--wp--preset--color--paper) !important;
  background-image: linear-gradient(#16161A, #16161A), linear-gradient(#16161A, #16161A), linear-gradient(#16161A, #16161A), linear-gradient(#16161A, #16161A), linear-gradient(#16161A, #16161A), linear-gradient(#16161A, #16161A), linear-gradient(#16161A, #16161A), linear-gradient(#16161A, #16161A);
  background-size: 9px 1.5px, 1.5px 9px, 9px 1.5px, 1.5px 9px, 9px 1.5px, 1.5px 9px, 9px 1.5px, 1.5px 9px;
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom; background-repeat: no-repeat; outline: 0; }
.kf-day.is-busy { background: transparent !important; color: var(--wp--preset--color--signal); text-decoration: line-through; text-decoration-thickness: 1px; }
.kf-day.is-past { color: #CFCFCA; }
@media (max-width: 781px) { .kf-day { min-height: 44px; } .kf-cal-month { padding: 22px 14px 16px; } }
.kf-cal-days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.kf-cal-month { min-width: 0; }
@media (max-width: 781px) { .kf-day { min-height: 0; aspect-ratio: 1 / 1.08; } .kf-cal-grid { grid-template-columns: minmax(0, 1fr); } }

/* Menu-aparat: lista zawsze mieści się w ekranie i ma oddech nad stopką menu */
.kf-menu { padding: clamp(84px, 12vh, 120px) var(--kf-m) clamp(88px, 13vh, 130px) !important; overflow-y: auto; box-sizing: border-box; }
.kf-menu-list { margin-top: auto; margin-bottom: auto; }
.kf-menu-list li a { font-size: clamp(2.1rem, min(8vw, calc((100svh - 240px) / 6.7)), 5.6rem); padding: 4px 24px; }
.kf-menu-foot { bottom: clamp(34px, 5.5vh, 48px); padding-top: 18px; border-top: 1px solid var(--wp--preset--color--line); }
@media (max-width: 820px) { .kf-menu-list { margin-left: 0; } .kf-menu-list li a { padding: 4px 18px; gap: 16px; } }

/* Kalendarz: zajęty termin oznaczony ikoną aparatu (sesja zarezerwowana) */
.kf-day.is-busy { text-decoration: none !important; color: var(--wp--preset--color--stone); }
.kf-day.is-busy::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 13px; height: 13px; margin-left: -6.5px; background: var(--wp--preset--color--ink);
  -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='1.7' stroke-linejoin='round'%3E%3Cpath d='M3 8h3.2l1.6-2.2h8.4L17.8 8H21v11H3z'/%3E%3Ccircle cx='12' cy='13.4' r='3.5'/%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='1.7' stroke-linejoin='round'%3E%3Cpath d='M3 8h3.2l1.6-2.2h8.4L17.8 8H21v11H3z'/%3E%3Ccircle cx='12' cy='13.4' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.kf-key.is-busy { width: .95rem; height: .95rem; border: 0 !important; border-radius: 0 !important; background: var(--wp--preset--color--ink) !important; vertical-align: -.12rem;
  -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='1.7' stroke-linejoin='round'%3E%3Cpath d='M3 8h3.2l1.6-2.2h8.4L17.8 8H21v11H3z'/%3E%3Ccircle cx='12' cy='13.4' r='3.5'/%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='1.7' stroke-linejoin='round'%3E%3Cpath d='M3 8h3.2l1.6-2.2h8.4L17.8 8H21v11H3z'/%3E%3Ccircle cx='12' cy='13.4' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ============ Oferta: zdjęcie + karta danych jak w EXIF ============ */
.kf-of-lead { max-width: 46ch; font-size: 1.0625rem; color: var(--wp--preset--color--stone); margin: 0 0 clamp(36px, 7vh, 72px) !important; }
.kf-of { margin: 0 !important; }
.kf-of-row { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 3vw, 48px); align-items: start; padding: clamp(32px, 6vh, 64px) 0 !important; margin: 0 !important; border-top: 1px solid var(--wp--preset--color--line); counter-increment: kfo; }
.kf-of { counter-reset: kfo; }
.kf-of-row:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.kf-of-row > * { margin: 0 !important; }
.kf-of-img { grid-column: 1 / 5; aspect-ratio: 4 / 5; overflow: hidden; background: #C9CFC8; display: block; }
.kf-of-img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.kf-of-body { grid-column: 6 / 13; align-self: stretch; display: flex; flex-direction: column; }
.kf-of-title { font-size: clamp(1.7rem, 3.4vw, 3rem) !important; line-height: 1.05 !important; letter-spacing: -.03em !important; font-weight: 500 !important; margin: 0 0 clamp(22px, 4vh, 40px) !important; }
.kf-of-title::before { content: "0" counter(kfo); display: block; font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .1em; color: var(--wp--preset--color--stone); margin-bottom: 16px; }
.kf-of-spec { list-style: none; margin: 0 0 auto !important; padding: 0; border-top: 1px solid var(--wp--preset--color--line); }
.kf-of-spec li { display: grid; grid-template-columns: minmax(90px, 1fr) 3fr; column-gap: 20px; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--wp--preset--color--line); font-size: .9375rem; line-height: 1.5; }
.kf-of-spec li strong { font: 500 11px/1.7 var(--wp--preset--font-family--body); letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.kf-of-spec li span { color: var(--wp--preset--color--ink); }
.kf-of-links { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: clamp(22px, 4vh, 36px) !important; font-size: .9375rem; }
.kf-of-links a { color: var(--wp--preset--color--ink); text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--ink); padding-bottom: 5px; transition: border-color .3s, color .3s; }
.kf-of-links a:hover { color: var(--wp--preset--color--stone); border-bottom-color: var(--wp--preset--color--stone); }
.kf-of-links .kf-of-dl::before { content: "↓"; margin-right: 10px; }
.kf-of-links a:not(.kf-of-dl)::after { content: " →"; }
@media (max-width: 820px) {
  .kf-of-row { grid-template-columns: 1fr; row-gap: 22px; }
  .kf-of-img, .kf-of-body { grid-column: 1 / -1; }
  .kf-of-img { aspect-ratio: 3 / 2; }
  .kf-of-spec li { grid-template-columns: 1fr; row-gap: 2px; }
}

/* ============ Oferta: zdjęcie jako klatka na przewijanej kliszy (perforacja jedzie razem z przewijaniem) ============ */
.kf-of-img { --kf-vhole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='28'%3E%3Crect x='3.5' y='7.5' width='7' height='13' rx='2.2' fill='none' stroke='%23A5AEA6' stroke-width='1'/%3E%3C/svg%3E");
  --kf-wind: 0px; position: relative; padding: 0 30px !important; background: var(--kf-vhole) repeat-y 8px var(--kf-wind) / 14px 28px, var(--kf-vhole) repeat-y calc(100% - 8px) var(--kf-wind) / 14px 28px, transparent !important;
  border: 1px solid var(--wp--preset--color--line); background-clip: border-box; overflow: hidden; }
.kf-of-img img { box-shadow: 0 0 0 1px var(--wp--preset--color--line); }
@media (max-width: 820px) { .kf-of-img { padding: 0 24px !important; } }

/* ============ Stopka: spokojne CTA (formularz, e-mail, telefon) zamiast wielkiego napisu ============ */
.kf-ft-act { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 3vw, 48px); row-gap: 28px; align-items: start; margin-bottom: clamp(56px, 10vh, 104px) !important; }
.kf-ft-act > * { margin: 0 !important; min-width: 0; }
.kf-ft-act-text { grid-column: 1 / 6; }
.kf-ft-act > .kf-ft-rows, .kf-ft-act > p { grid-column: 7 / 13; }
.kf-ft-lead { font: 500 clamp(1.4rem, 2.4vw, 2.1rem)/1.2 var(--wp--preset--font-family--display); letter-spacing: -.025em; max-width: 22ch; margin: 0 !important; }
.kf-ft-rows { list-style: none; margin: 0 !important; padding: 0; border-top: 1px solid var(--wp--preset--color--line); counter-reset: kfr; }
.kf-ft-rows li { margin: 0; counter-increment: kfr; border-bottom: 1px solid var(--wp--preset--color--line); }
.kf-ft-rows a { display: grid; grid-template-columns: 34px minmax(70px, 110px) 1fr auto; align-items: baseline; padding: 18px 0; text-decoration: none; background: none !important; color: var(--wp--preset--color--ink); transition: padding .4s var(--kf-ease); }
.kf-ft-rows a::before { content: "0" counter(kfr); font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .1em; color: var(--wp--preset--color--stone); }
.kf-ft-rows a::after { content: "→"; font-size: 1rem; opacity: .4; transition: transform .35s var(--kf-ease), opacity .3s; }
.kf-ft-rows .k { font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.kf-ft-rows .v { font: 500 clamp(1.05rem, 1.7vw, 1.4rem)/1.2 var(--wp--preset--font-family--display); letter-spacing: -.015em; overflow-wrap: anywhere; }
.kf-ft-rows a:hover { padding-left: 10px; }
.kf-ft-rows a:hover::after { transform: translateX(6px); opacity: 1; }
@media (max-width: 820px) {
  .kf-ft-act-text, .kf-ft-act > .kf-ft-rows, .kf-ft-act > p { grid-column: 1 / -1; }
  .kf-ft-rows a { grid-template-columns: 28px 1fr auto; row-gap: 6px; }
  .kf-ft-rows .k { grid-column: 2; } .kf-ft-rows .v { grid-column: 2; grid-row: 2; } .kf-ft-rows a::after { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}

.kf-ft-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) {
  .kf-ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kf-ft-cols > .kf-ft-col:nth-child(1), .kf-ft-cols > .kf-ft-col:nth-child(2) { grid-column: auto; order: 0; }
  .kf-ft-cols > .kf-ft-col:nth-child(3) { grid-column: 1 / -1; order: 0; }
}
.kf-ft-lead { font-weight: 400 !important; font-size: clamp(1.15rem, 1.8vw, 1.5rem) !important; line-height: 1.4 !important; letter-spacing: -.01em !important; max-width: 34ch !important; color: var(--wp--preset--color--ink); }

/* ============ Ramka zoomu przy najechaniu na klikalne elementy ============ */
.kf-zoom { position: fixed; z-index: 105; pointer-events: none; color: #fff; mix-blend-mode: difference; opacity: 0; left: 0; top: 0; width: 0; height: 0;
  transition: left .28s cubic-bezier(.3, .8, .3, 1), top .28s cubic-bezier(.3, .8, .3, 1), width .28s cubic-bezier(.3, .8, .3, 1), height .28s cubic-bezier(.3, .8, .3, 1), opacity .18s ease; }
.kf-zoom.on { opacity: 1; }
.kf-zoom i { position: absolute; width: 9px; height: 9px; border: 0 solid currentColor; }
.kf-zoom i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.kf-zoom i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.kf-zoom i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.kf-zoom i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
@media (prefers-reduced-motion: reduce) { .kf-zoom { display: none; } }

/* ============ Oferta: klatka filmu przesuwa się w dół, zdjęcie pływa w kadrze ============ */
@property --kf-drift { syntax: "<length>"; inherits: true; initial-value: 0px; }
@keyframes kf-drift { to { --kf-drift: 28px; } }
.kf-of-img { animation: kf-drift 1.8s linear infinite;
  background: var(--kf-vhole) repeat-y 8px calc(var(--kf-wind) + var(--kf-drift)) / 14px 28px, var(--kf-vhole) repeat-y calc(100% - 8px) calc(var(--kf-wind) + var(--kf-drift)) / 14px 28px, transparent !important; }
.kf-of-row .kf-of-img img { height: calc(100% + 64px) !important; margin-top: -32px; transform: translateY(var(--kf-par, 0px)); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .kf-of-img { animation: none; } .kf-of-row .kf-of-img img { transform: none; height: 100% !important; margin-top: 0; } }

/* Przyciski w treści stron jako podkreślone linki; blok „Masz pomysł…” ukryty (CTA jest w stopce) */
.kf-pg .wp-block-post-content > .wp-block-group:has(> .kf-cta) { display: none !important; }
.kf-pg .wp-block-buttons { justify-content: flex-start !important; gap: 1rem 1.75rem !important; }
.kf-pg .wp-block-post-content .wp-block-button__link, .kf-pg .wp-block-post-content .wp-block-button.is-style-outline .wp-block-button__link { background: none !important; color: var(--wp--preset--color--ink) !important; border: 0 !important; border-bottom: 1px solid var(--wp--preset--color--ink) !important; border-radius: 0 !important; padding: 0 0 6px !important; min-height: 0; font-size: .9375rem; }
.kf-pg .wp-block-post-content .wp-block-button__link:hover { color: var(--wp--preset--color--stone) !important; border-bottom-color: var(--wp--preset--color--stone) !important; }

/* ============ Przełącznik jasny / ciemny ============ */
.kf-theme { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 4px 0; font: 500 12px/1 var(--wp--preset--font-family--body); letter-spacing: .06em; color: var(--wp--preset--color--stone); cursor: pointer; }
.kf-theme .o { transition: color .3s; }
.kf-theme .sw { position: relative; width: 42px; height: 22px; border: 1px solid var(--wp--preset--color--ink); border-radius: 11px; }
.kf-theme .sw i { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--wp--preset--color--ink); transition: transform .45s var(--kf-ease); }
.kf-theme[aria-pressed="true"] .sw i { transform: translateX(20px); }
.kf-theme:not([aria-pressed="true"]) .o:first-child, .kf-theme[aria-pressed="true"] .o:last-child { color: var(--wp--preset--color--ink); }
@media (max-width: 820px) { .kf-theme { margin-left: 0; flex-basis: 100%; } }

/* ============ Motyw ciemny ============ */
html[data-kf-theme="dark"], html[data-kf-theme="dark"] body {
  --wp--preset--color--paper: #0F0F14; --wp--preset--color--sand: #171720; --wp--preset--color--line: #2C2C38; --wp--preset--color--stone: #A3A6AD;
  --wp--preset--color--ink: #ECEDEA; --wp--preset--color--accent: #D6D8D4; --wp--preset--color--signal: #7C7F86; --wp--preset--color--twilight: #C9CBD0; --wp--preset--color--dusk: #ECEDEA;
  color-scheme: dark; }
html[data-kf-theme="dark"] .kf-ix-bar { background: rgba(15, 15, 20, .9); }
html[data-kf-theme="dark"] .home .kf-ix-bar:not(.solid) { background: transparent; }
html[data-kf-theme="dark"] .kf-ix-frame, html[data-kf-theme="dark"] .kf-ix-grid figure, html[data-kf-theme="dark"] .kf-pf-img, html[data-kf-theme="dark"] .kf-bl-img { background: #1b1b24; }
html[data-kf-theme="dark"] .kf-subnav, html[data-kf-theme="dark"] .kf-of-img { --kf-hole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12'%3E%3Crect x='6.5' y='2.5' width='13' height='7' rx='2.2' fill='none' stroke='%2338384a' stroke-width='1'/%3E%3C/svg%3E"); --kf-vhole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='28'%3E%3Crect x='3.5' y='7.5' width='7' height='13' rx='2.2' fill='none' stroke='%2338384a' stroke-width='1'/%3E%3C/svg%3E"); }
html[data-kf-theme="dark"] .kf-subnav li.on { background: rgba(255, 255, 255, .06); }
html[data-kf-theme="dark"] .kf-cal-month { background: rgba(255, 255, 255, .03); }
html[data-kf-theme="dark"] .kf-day.is-past { color: #3a3a46; }
html[data-kf-theme="dark"] .kf-day.is-free:hover, html[data-kf-theme="dark"] .kf-day.is-free:focus-visible { background-image: linear-gradient(#ECEDEA, #ECEDEA), linear-gradient(#ECEDEA, #ECEDEA), linear-gradient(#ECEDEA, #ECEDEA), linear-gradient(#ECEDEA, #ECEDEA), linear-gradient(#ECEDEA, #ECEDEA), linear-gradient(#ECEDEA, #ECEDEA), linear-gradient(#ECEDEA, #ECEDEA), linear-gradient(#ECEDEA, #ECEDEA); }
html[data-kf-theme="dark"] .kf-cal-month::before { filter: invert(.82) hue-rotate(180deg) brightness(.45); }
html[data-kf-theme="dark"] .kf-day.is-busy::after, html[data-kf-theme="dark"] .kf-key.is-busy { background: var(--wp--preset--color--ink); }
html[data-kf-theme="dark"] .kf-shadow { box-shadow: none; }
html[data-kf-theme="dark"] .kf-flash { background: #fff; }
html[data-kf-theme="dark"] .kf-form input[type="date"] { color-scheme: dark; }
html[data-kf-theme="dark"] body { background: var(--wp--preset--color--paper); color: var(--wp--preset--color--ink); }
html[data-kf-theme="dark"] .wp-block-image img, html[data-kf-theme="dark"] .wp-block-post-featured-image img { filter: none; }

/* Podpis wykonawcy: pionowo przy bocznej krawędzi stopki, jak napis na brzegu klisza */
.kf-ft { position: relative; }
.kf-ft-credit { position: absolute; right: clamp(34px, 3.4vw, 56px); bottom: clamp(96px, 14vh, 150px); margin: 0 !important; writing-mode: vertical-rl; transform: rotate(180deg); font: 500 10px/1 var(--wp--preset--font-family--body); letter-spacing: .26em; text-transform: uppercase; color: var(--wp--preset--color--stone); white-space: nowrap; }
.kf-ft-credit span { color: var(--wp--preset--color--ink); font-weight: 600; }
@media (max-width: 820px) { .kf-ft-credit { position: static; writing-mode: horizontal-tb; transform: none; margin-top: 18px !important; letter-spacing: .2em; } }

.kf-of-desc { font-size: 1.0625rem; line-height: 1.55; color: var(--wp--preset--color--ink); max-width: 52ch; margin: 0 0 clamp(20px, 3.5vh, 32px) !important; }

/* ============ O mnie: zdjęcie w kadrze klisza + tekst ============ */
.kf-ab { display: grid !important; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 4vw, 64px); align-items: start; margin: 0 !important; }
.kf-ab > * { margin: 0 !important; }
.kf-ab-img { grid-column: 1 / 6; aspect-ratio: 4 / 5; overflow: hidden; display: block; --kf-vhole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='28'%3E%3Crect x='3.5' y='7.5' width='7' height='13' rx='2.2' fill='none' stroke='%23A5AEA6' stroke-width='1'/%3E%3C/svg%3E"); --kf-wind: 0px; padding: 0 30px !important; border: 1px solid var(--wp--preset--color--line); background: var(--kf-vhole) repeat-y 8px 0 / 14px 28px, var(--kf-vhole) repeat-y calc(100% - 8px) 0 / 14px 28px, transparent; }
.kf-ab-img img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 30%; display: block; box-shadow: 0 0 0 1px var(--wp--preset--color--line); }
.kf-ab-body { grid-column: 7 / 13; }
.kf-ab-title { font-size: clamp(1.9rem, 3.8vw, 3.2rem) !important; line-height: 1.05 !important; letter-spacing: -.03em !important; font-weight: 500 !important; margin: 0 0 14px !important; }
.kf-ab-lead { font-size: 1.1875rem; color: var(--wp--preset--color--stone); margin: 0 0 clamp(20px, 3.5vh, 32px) !important; }
.kf-ab-body > p { max-width: 54ch; line-height: 1.65; }
.kf-ab-links { display: flex; gap: 28px; margin-top: clamp(24px, 4vh, 40px) !important; font-size: .9375rem; }
.kf-ab-links a { color: var(--wp--preset--color--ink); text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--ink); padding-bottom: 5px; }
.kf-ab-links a::after { content: " →"; }
@media (max-width: 820px) { .kf-ab { grid-template-columns: 1fr; row-gap: 28px; } .kf-ab-img, .kf-ab-body { grid-column: 1 / -1; } .kf-ab-img { max-width: 320px; padding: 0 24px !important; } }

/* ============ Menu poziome na desktopie; na telefonie menu-aparat ============ */
:root { --kf-bar-h: 86px; }
.kf-ix-actions { margin: 0 !important; gap: 14px !important; }
.kf-nav ul { display: flex; gap: clamp(18px, 2.6vw, 42px); list-style: none; margin: 0; padding: 0; }
.kf-nav li { margin: 0; }
.kf-nav a { position: relative; font: 500 13px/1 var(--wp--preset--font-family--body); letter-spacing: .02em; color: var(--wp--preset--color--stone); text-decoration: none; padding: 8px 0; transition: color .25s; }
.kf-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--kf-ease); }
.kf-nav a:hover, .kf-nav a[aria-current="page"] { color: var(--wp--preset--color--ink); }
.kf-nav a:hover::after, .kf-nav a[aria-current="page"]::after { transform: scaleX(1); }
.kf-theme-mini { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: none; border: 0; padding: 0; color: var(--wp--preset--color--ink); cursor: pointer; transition: transform .5s var(--kf-ease); }
.kf-theme-mini:hover { transform: rotate(180deg); }
.kf-theme-mini[aria-pressed="true"] svg { transform: scaleX(-1); }
@media (min-width: 821px) {
  .kf-menu-btn { display: none; }
  body, body:not(.home) { padding-top: var(--kf-bar-h); }
  .home .kf-ix-bar:not(.solid) { right: 0; width: auto; background: rgba(225, 229, 224, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom-color: var(--wp--preset--color--line); }
  html[data-kf-theme="dark"] .home .kf-ix-bar:not(.solid) { background: rgba(15, 15, 20, .9); }
  .kf-ix-hero { min-height: calc(100svh - var(--kf-bar-h)); }
  .kf-ix-copy { padding-top: clamp(40px, 8vh, 90px) !important; }
}
@media (max-width: 820px) { .kf-nav, .kf-theme-mini { display: none; } }

/* ============ Paski miniatur pod kategoriami (przewijają się jak klisza) ============ */
.kf-index li .kf-thumbs { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--kf-ease), opacity .4s ease, margin .4s; margin: 0; }
.kf-index li.on .kf-thumbs { max-height: 86px; opacity: 1; margin: 2px 0 14px; }
.kf-thumbs { -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.kf-thumbs-track { display: flex; gap: 8px; width: max-content; animation: kf-marq 26s linear infinite; }
.kf-thumbs:hover .kf-thumbs-track { animation-play-state: paused; }
@keyframes kf-marq { to { transform: translateX(calc(-50% - 4px)); } }
.kf-th { flex: none; width: 56px; height: 74px; padding: 0; border: 0; background: var(--wp--preset--color--sand); cursor: pointer; overflow: hidden; opacity: .62; transition: opacity .3s, transform .3s var(--kf-ease); }
.kf-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kf-th:hover, .kf-th.is-cur { opacity: 1; }
.kf-th.is-cur { box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--ink); }
@media (prefers-reduced-motion: reduce) { .kf-thumbs-track { animation: none; } .kf-thumbs { overflow-x: auto; } }
.kf-index li { display: block; }
.kf-ix-hero > *, .kf-ix-copy > * { min-width: 0; }
.kf-index, .kf-index li { min-width: 0; max-width: 100%; }
.kf-index li .kf-thumbs { max-width: 100%; }
@media (max-width: 820px) { .kf-ix-hero { grid-template-columns: minmax(0, 1fr); } }

/* ============ Menu desktop: przezroczyste przyciski z cienkim obrysem ============ */
.kf-nav ul { gap: 8px; }
.kf-nav a { display: inline-flex; align-items: center; font: 500 .9375rem/1 var(--wp--preset--font-family--body); letter-spacing: 0; padding: 12px 20px; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; color: var(--wp--preset--color--stone);
  background: rgba(127, 127, 135, .04); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: color .25s, border-color .25s, background .25s, transform .3s var(--kf-ease); }
.kf-nav a::after { display: none; }
.kf-nav a:hover { color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); background: rgba(127, 127, 135, .1); }
.kf-nav a[aria-current="page"] { color: var(--wp--preset--color--ink); border-color: var(--wp--preset--color--ink); background: rgba(127, 127, 135, .12); }
@media (min-width: 821px) and (max-width: 1100px) { .kf-nav a { padding: 10px 14px; font-size: .875rem; } .kf-nav ul { gap: 5px; } }

.kf-thumbs-track { animation-name: kf-marq; animation-timing-function: linear; animation-iteration-count: infinite; }
@keyframes kf-marq { to { transform: translateX(calc(-50% - 4px)); } }
.kf-th { width: 64px; height: 84px; }
.kf-index li.on .kf-thumbs { max-height: 98px; }

/* ============ Menu desktop v2: ramka jak okienko aparatu, numerowane pozycje, ostre narożniki ============ */
.kf-nav ul { gap: 0; counter-reset: kn; border: 1px solid var(--wp--preset--color--line); }
.kf-nav li { counter-increment: kn; border-left: 1px solid var(--wp--preset--color--line); }
.kf-nav li:first-child { border-left: 0; }
.kf-nav a { gap: 9px; align-items: baseline; padding: 14px 22px; border: 0 !important; border-radius: 0 !important; background: transparent !important; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--wp--preset--color--stone); }
.kf-nav a::before { content: "0" counter(kn); font: 500 10px/1 var(--wp--preset--font-family--body); letter-spacing: .1em; color: var(--wp--preset--color--signal); transition: color .25s; }
.kf-nav a:hover { color: var(--wp--preset--color--ink); background: transparent !important; }
.kf-nav a[aria-current="page"] { background: var(--wp--preset--color--ink) !important; color: var(--wp--preset--color--paper) !important; }
.kf-nav a[aria-current="page"]::before { color: var(--wp--preset--color--paper); opacity: .6; }
@media (min-width: 821px) and (max-width: 1100px) { .kf-nav a { padding: 12px 13px; gap: 6px; font-size: .84rem; } .kf-nav a::before { display: none; } }

/* ============ Menu desktop: delikatna klisza ukryta w ramce (perforacja u góry i u dołu) ============ */
.kf-nav ul { --kf-nh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='8'%3E%3Crect x='4' y='1.5' width='10' height='5' rx='1.6' fill='none' stroke='%23A5AEA6' stroke-width='1'/%3E%3C/svg%3E"); position: relative; padding: 11px 0; overflow: hidden; }
.kf-nav ul::before, .kf-nav ul::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: var(--kf-nh) repeat-x 0 0 / 18px 8px; pointer-events: none; animation: kf-nfilm 5s linear infinite; }
.kf-nav ul::before { top: 2px; }
.kf-nav ul::after { bottom: 2px; }
@keyframes kf-nfilm { to { background-position-x: 18px; } }
.kf-nav a { padding: 12px 22px; }
html[data-kf-theme="dark"] .kf-nav ul { --kf-nh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='8'%3E%3Crect x='4' y='1.5' width='10' height='5' rx='1.6' fill='none' stroke='%2338384a' stroke-width='1'/%3E%3C/svg%3E"); }
:root { --kf-bar-h: 100px; }
@media (prefers-reduced-motion: reduce) { .kf-nav ul::before, .kf-nav ul::after { animation: none; } }
@media (min-width: 821px) and (max-width: 1100px) { .kf-nav ul { padding: 10px 0; } .kf-nav a { padding: 10px 12px; } }

/* ============ Menu desktop v3: pozycje jako kadry wizjera (narożniki zamiast prostokątów) ============ */
.kf-nav ul { border-left: 0; border-right: 0; }
.kf-nav li { border-left: 0 !important; }
.kf-nav a { --bc: var(--wp--preset--color--signal); --al: 7px; --aw: 1px; margin: 0 6px; padding: 12px 20px; background-color: transparent !important;
  background-image: linear-gradient(var(--bc), var(--bc)), linear-gradient(var(--bc), var(--bc)), linear-gradient(var(--bc), var(--bc)), linear-gradient(var(--bc), var(--bc)), linear-gradient(var(--bc), var(--bc)), linear-gradient(var(--bc), var(--bc)), linear-gradient(var(--bc), var(--bc)), linear-gradient(var(--bc), var(--bc)) !important;
  background-size: var(--al) var(--aw), var(--aw) var(--al), var(--al) var(--aw), var(--aw) var(--al), var(--al) var(--aw), var(--aw) var(--al), var(--al) var(--aw), var(--aw) var(--al);
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom; background-repeat: no-repeat;
  transition: color .25s, background-size .3s var(--kf-ease); }
.kf-nav a:hover { --bc: var(--wp--preset--color--ink); --al: 10px; color: var(--wp--preset--color--ink); }
.kf-nav a[aria-current="page"] { --bc: var(--wp--preset--color--ink); --al: 11px; --aw: 2px; background-color: transparent !important; color: var(--wp--preset--color--ink) !important; }
.kf-nav a[aria-current="page"]::before { color: var(--wp--preset--color--ink); opacity: 1; }
@media (min-width: 821px) and (max-width: 1100px) { .kf-nav a { margin: 0 2px; padding: 10px 10px; } }
.kf-nav a {
  background-size: var(--al) var(--aw), var(--aw) var(--al), var(--al) var(--aw), var(--aw) var(--al), var(--al) var(--aw), var(--aw) var(--al), var(--al) var(--aw), var(--aw) var(--al) !important;
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom !important;
  background-repeat: no-repeat !important; }

/* ============ Telefon: pasek z logo ma własne, pełne tło; zdjęcia zaczynają się pod nim (nic nie chowa się ani nie rozmywa pod menu) ============ */
@media (max-width: 820px) {
  body, body:not(.home) { padding-top: 85px; }
  .kf-ix-bar, .home .kf-ix-bar:not(.solid) { background: var(--wp--preset--color--paper) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom: 1px solid var(--wp--preset--color--line) !important; }
  .kf-ix-hero { min-height: 0; }
  .kf-ix-frame { height: 46svh; }
  .kf-index, .kf-thumbs { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
}

/* O mnie: klisza wokół zdjęcia też płynie w dół i przesuwa się razem ze scrollem */
.kf-ab-img { animation: kf-drift 1.8s linear infinite; position: relative;
  background: var(--kf-vhole) repeat-y 8px calc(var(--kf-wind, 0px) + var(--kf-drift)) / 14px 28px, var(--kf-vhole) repeat-y calc(100% - 8px) calc(var(--kf-wind, 0px) + var(--kf-drift)) / 14px 28px, transparent !important; }
.kf-ab .kf-ab-img img { height: calc(100% + 64px) !important; margin-top: -32px; transform: translateY(var(--kf-par, 0px)); will-change: transform; }
html[data-kf-theme="dark"] .kf-ab-img { --kf-vhole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='28'%3E%3Crect x='3.5' y='7.5' width='7' height='13' rx='2.2' fill='none' stroke='%2338384a' stroke-width='1'/%3E%3C/svg%3E"); }
@media (prefers-reduced-motion: reduce) { .kf-ab-img { animation: none; } .kf-ab .kf-ab-img img { transform: none; height: 100% !important; margin-top: 0; } }

/* ============ Oferta v2: rytm naprzemienny, dane w trzech kadrach zamiast tabeli ============ */
.kf-of-title { font-size: clamp(1.5rem, 2.8vw, 2.4rem) !important; margin-bottom: clamp(16px, 3vh, 26px) !important; }
.kf-of-desc { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; max-width: 46ch; margin-bottom: clamp(24px, 4vh, 40px) !important; }
.kf-of-spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); margin: 0 0 clamp(22px, 4vh, 36px) !important; }
.kf-of-spec li { display: block; padding: 18px 18px 20px; border-bottom: 0; border-left: 1px solid var(--wp--preset--color--line); font-size: .9375rem; line-height: 1.45; }
.kf-of-spec li:first-child { border-left: 0; padding-left: 0; }
.kf-of-spec li strong { display: block; margin-bottom: 10px; }
@media (min-width: 821px) {
  .kf-of-row:nth-child(even) .kf-of-img { grid-column: 9 / 13; grid-row: 1; }
  .kf-of-row:nth-child(even) .kf-of-body { grid-column: 1 / 8; grid-row: 1; }
  .kf-of-row:nth-child(odd) .kf-of-body { grid-column: 6 / 13; }
}
@media (max-width: 820px) {
  .kf-of-spec { grid-template-columns: 1fr; }
  .kf-of-spec li { border-left: 0; border-top: 1px solid var(--wp--preset--color--line); padding: 14px 0; }
  .kf-of-spec li:first-child { border-top: 0; }
  .kf-of-spec li strong { margin-bottom: 4px; }
  .kf-of-title { font-size: 1.7rem !important; }
}

/* ============ O mnie v2: podejście, doświadczenie, prywatnie + cytat ============ */
.kf-ab-trip { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(56px, 10vh, 110px) 0 0 !important; padding: 0; border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); counter-reset: kfa; }
.kf-ab-trip li { counter-increment: kfa; display: block; margin: 0; padding: 26px 28px 30px; border-left: 1px solid var(--wp--preset--color--line); font-size: 1rem; line-height: 1.6; }
.kf-ab-trip li:first-child { border-left: 0; padding-left: 0; }
.kf-ab-trip li strong { display: block; font: 500 1.35rem/1.1 var(--wp--preset--font-family--display); letter-spacing: -.02em; margin-bottom: 14px; }
.kf-ab-trip li strong::before { content: "0" counter(kfa); display: block; font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .1em; color: var(--wp--preset--color--stone); margin-bottom: 14px; }
.kf-ab-trip li span { color: var(--wp--preset--color--ink); }
.kf-ab-quote { font: 500 clamp(1.7rem, 3.6vw, 3.1rem)/1.12 var(--wp--preset--font-family--display) !important; letter-spacing: -.03em; max-width: 24ch; margin: clamp(56px, 10vh, 120px) 0 0 !important; }
@media (max-width: 820px) {
  .kf-ab-trip { grid-template-columns: 1fr; }
  .kf-ab-trip li { border-left: 0; border-top: 1px solid var(--wp--preset--color--line); padding: 22px 0; }
  .kf-ab-trip li:first-child { border-top: 0; }
  .kf-ab-img { max-width: none; }
}

/* O mnie: obszary pracy, kroki współpracy, współpraca z Niną */
.kf-ab-h { margin: clamp(64px, 11vh, 120px) 0 22px !important; }
.kf-ab-areas { list-style: none; margin: 0 !important; padding: 0; border-top: 1px solid var(--wp--preset--color--line); counter-reset: kfx; }
.kf-ab-areas li { margin: 0; counter-increment: kfx; border-bottom: 1px solid var(--wp--preset--color--line); }
.kf-ab-areas a { display: grid; grid-template-columns: 44px minmax(0, 5fr) minmax(0, 7fr) 28px; column-gap: 20px; align-items: baseline; padding: 22px 0; text-decoration: none; color: var(--wp--preset--color--ink); background: none !important; transition: padding .4s var(--kf-ease); }
.kf-ab-areas a::before { content: "0" counter(kfx); font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .1em; color: var(--wp--preset--color--stone); }
.kf-ab-areas a::after { content: "→"; opacity: .35; justify-self: end; transition: transform .35s var(--kf-ease), opacity .3s; }
.kf-ab-areas a:hover { padding-left: 10px; } .kf-ab-areas a:hover::after { transform: translateX(6px); opacity: 1; }
.kf-ab-areas strong { font: 500 clamp(1.25rem, 2.2vw, 1.8rem)/1.1 var(--wp--preset--font-family--display); letter-spacing: -.02em; }
.kf-ab-areas span { color: var(--wp--preset--color--stone); font-size: .9375rem; line-height: 1.5; }
.kf-ab-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 !important; padding: 0; border-top: 1px solid var(--wp--preset--color--line); counter-reset: kfs2; }
.kf-ab-steps li { counter-increment: kfs2; margin: 0; padding: 22px 22px 6px 0; }
.kf-ab-steps li strong { display: block; font: 500 1.2rem/1.1 var(--wp--preset--font-family--display); letter-spacing: -.02em; margin-bottom: 10px; }
.kf-ab-steps li strong::before { content: "0" counter(kfs2); display: block; font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .1em; color: var(--wp--preset--color--stone); margin-bottom: 12px; }
.kf-ab-steps li span { color: var(--wp--preset--color--stone); font-size: .9375rem; line-height: 1.55; }
.kf-ab-nina { margin: clamp(40px, 7vh, 72px) 0 0 !important; font-size: .9375rem; color: var(--wp--preset--color--stone); }
.kf-ab-nina a { color: var(--wp--preset--color--ink); text-decoration: none; border-bottom: 1px solid var(--wp--preset--color--ink); padding-bottom: 4px; }
@media (max-width: 820px) {
  .kf-ab-areas a { grid-template-columns: 30px 1fr 22px; row-gap: 6px; }
  .kf-ab-areas span { grid-column: 2; } .kf-ab-areas a::after { grid-column: 3; grid-row: 1; }
  .kf-ab-steps { grid-template-columns: 1fr; } .kf-ab-steps li { border-bottom: 1px solid var(--wp--preset--color--line); padding: 18px 0; }
}

/* ============ O mnie v3: kadry zamiast list (przesunięte wypowiedzi, arkusz próbny z kliszą, zdanie o współpracy) ============ */
.kf-ab-trip, .kf-ab-areas, .kf-ab-steps { display: none !important; }
.kf-ab-sts { margin: clamp(64px, 11vh, 120px) 0 0 !important; display: flex; flex-direction: column; gap: clamp(36px, 7vh, 72px); }
.kf-ab-sts > * { margin: 0 !important; }
.kf-ab-st { font: 500 clamp(1.4rem, 2.7vw, 2.35rem)/1.22 var(--wp--preset--font-family--display); letter-spacing: -.02em; color: var(--wp--preset--color--stone); max-width: 30ch; }
.kf-ab-st em { font-style: normal; color: var(--wp--preset--color--ink); }
.kf-ab-st .t { display: block; width: max-content; margin-bottom: 20px; padding: 8px 12px; font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--ink);
  background: linear-gradient(currentColor, currentColor) left top / 7px 1px no-repeat, linear-gradient(currentColor, currentColor) left top / 1px 7px no-repeat, linear-gradient(currentColor, currentColor) right top / 7px 1px no-repeat, linear-gradient(currentColor, currentColor) right top / 1px 7px no-repeat, linear-gradient(currentColor, currentColor) left bottom / 7px 1px no-repeat, linear-gradient(currentColor, currentColor) left bottom / 1px 7px no-repeat, linear-gradient(currentColor, currentColor) right bottom / 7px 1px no-repeat, linear-gradient(currentColor, currentColor) right bottom / 1px 7px no-repeat; }
@media (min-width: 900px) { .kf-ab-st:nth-child(2) { margin-left: 14% !important; } .kf-ab-st:nth-child(3) { margin-left: 28% !important; } }
.kf-ab-sheet { --kf-sh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='9'%3E%3Crect x='5' y='1.5' width='12' height='6' rx='1.8' fill='none' stroke='%23A5AEA6'/%3E%3C/svg%3E"); position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 34px 0 30px; border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); margin: 0 0 0 !important; }
.kf-ab-sheet::before, .kf-ab-sheet::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background: var(--kf-sh) repeat-x 0 0 / 22px 9px; }
.kf-ab-sheet::before { top: 10px; } .kf-ab-sheet::after { bottom: 10px; }
html[data-kf-theme="dark"] .kf-ab-sheet { --kf-sh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='9'%3E%3Crect x='5' y='1.5' width='12' height='6' rx='1.8' fill='none' stroke='%2338384a'/%3E%3C/svg%3E"); }
.kf-ab-sheet .fr { display: block; padding: 0 12px; text-decoration: none; color: var(--wp--preset--color--ink); background: none !important; border-left: 1px solid var(--wp--preset--color--line); }
.kf-ab-sheet .fr:first-of-type { border-left: 0; padding-left: 0; }
.kf-ab-sheet .ph { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #C9CFC8; }
.kf-ab-sheet .ph img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.55); transition: filter .5s ease, transform 1.2s var(--kf-ease); }
.kf-ab-sheet .fr:hover .ph img, .kf-ab-sheet .fr:focus-visible .ph img { filter: none; transform: scale(1.04); }
.kf-ab-sheet .code { display: block; margin-top: 14px; font: 500 12px/1.3 var(--wp--preset--font-family--display); letter-spacing: -.01em; }
.kf-ab-sheet .code b { display: block; font: 600 9px/1 var(--wp--preset--font-family--body); letter-spacing: .22em; color: var(--wp--preset--color--stone); margin-bottom: 7px; }
.kf-ab-sheet .code { font-size: 1.05rem; }
.kf-ab-sheet .d { display: block; margin-top: 6px; font-size: .8125rem; line-height: 1.45; color: var(--wp--preset--color--stone); }
@media (max-width: 820px) {
  .kf-ab-sheet { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .kf-ab-sheet::-webkit-scrollbar { display: none; }
  .kf-ab-sheet::before, .kf-ab-sheet::after { right: auto; width: 1600px; }
  .kf-ab-sheet .fr { flex: 0 0 62%; scroll-snap-align: start; }
}
.kf-ab-flow { font: 500 clamp(1.4rem, 2.7vw, 2.35rem)/1.25 var(--wp--preset--font-family--display); letter-spacing: -.02em; color: var(--wp--preset--color--stone); max-width: 32ch; margin: 0 !important; }
.kf-ab-flow em { font-style: normal; color: var(--wp--preset--color--ink); border-bottom: 1px solid var(--wp--preset--color--ink); }

/* ============ Opinie: duży cytat, przewijany jak klatki klisza ============ */
.kf-op { position: relative; padding: clamp(80px, 15vh, 170px) var(--kf-m); border-top: 1px solid var(--wp--preset--color--line); margin: 0; }
.kf-op .kf-label { margin: 0 0 clamp(36px, 7vh, 72px) !important; }
.kf-op-stage { position: relative; display: grid; }
.kf-op-slide { grid-area: 1 / 1; margin: 0; max-width: 28ch; opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .9s var(--kf-ease); pointer-events: none; }
.kf-op-slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.kf-op-slide blockquote { margin: 0; padding: 0; border: 0; font: 500 clamp(1.7rem, 3.8vw, 3.4rem)/1.16 var(--wp--preset--font-family--display); letter-spacing: -.03em; color: var(--wp--preset--color--ink); }
.kf-op-slide blockquote::before { content: "„"; display: block; font-size: 1.4em; line-height: .6; color: var(--wp--preset--color--stone); margin-bottom: .25em; }
.kf-op-slide figcaption { margin-top: clamp(24px, 4vh, 40px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; font-size: .9375rem; }
.kf-op-slide figcaption b { font-weight: 600; }
.kf-op-slide figcaption span { color: var(--wp--preset--color--stone); }
.kf-op-slide figcaption em { font: 500 10px/1 var(--wp--preset--font-family--body); letter-spacing: .18em; text-transform: uppercase; color: var(--wp--preset--color--signal); }
.kf-op-nav { display: flex; align-items: center; gap: 14px; margin-top: clamp(32px, 6vh, 56px); }
.kf-op-cnt { font: 500 11px/1 var(--wp--preset--font-family--body); letter-spacing: .14em; color: var(--wp--preset--color--stone); margin-right: 8px; }
.kf-op-nav button { width: 44px; height: 44px; background: none; border: 1px solid var(--wp--preset--color--line); border-radius: 0; color: var(--wp--preset--color--ink); font-size: 1.05rem; cursor: pointer; transition: border-color .25s, background .25s;
  background-image: linear-gradient(var(--wp--preset--color--ink), var(--wp--preset--color--ink)), linear-gradient(var(--wp--preset--color--ink), var(--wp--preset--color--ink)); background-size: 0 0, 0 0; }
.kf-op-nav button:hover { border-color: var(--wp--preset--color--ink); }
@media (max-width: 820px) { .kf-op-slide { max-width: none; } }
@media (prefers-reduced-motion: reduce) { .kf-op-slide { transition: none; transform: none; } }
.kf-op-slide { max-width: min(100%, 980px) !important; width: 100%; }
.kf-op-slide blockquote { max-width: 26em; }

.kf-cal-h { margin: clamp(72px, 12vh, 130px) 0 14px !important; }
.kf-cal-lead { max-width: 52ch; color: var(--wp--preset--color--stone); margin: 0 0 clamp(28px, 5vh, 48px) !important; }

/* ============ Bardzo szerokie ekrany: treść wyśrodkowana, hero w ramie, bez rozciągania od krawędzi do krawędzi ============ */
.kf-ix-hero { --kf-m: var(--kf-base-m); max-width: 1920px; margin-left: auto !important; margin-right: auto !important; }
@media (min-width: 1921px) {
  .kf-ix-hero { box-shadow: 0 0 0 1px var(--wp--preset--color--line); }
}

/* Menu desktop: narożniki kadru tylko po najechaniu (domyślnie niewidoczne), aktualna strona to ciemniejszy tekst */
.kf-nav a { --al: 0px; --aw: 1.5px; --bc: var(--wp--preset--color--ink); transition: color .25s, background-size .32s var(--kf-ease); }
.kf-nav a:hover, .kf-nav a:focus-visible { --al: 11px; }
.kf-nav a[aria-current="page"] { --al: 0px; --aw: 1.5px; color: var(--wp--preset--color--ink) !important; font-weight: 600; }
.kf-nav a[aria-current="page"]:hover { --al: 11px; }

/* arkusz próbny: wszystkie klatki jednakowej szerokości */
.kf-ab-sheet .fr, .kf-ab-sheet .fr:first-of-type { padding: 0 14px !important; }
.kf-ab-sheet { align-items: start; }

/* ============ Menu desktop: wyjątkowy, techniczny krój (Martian Mono) jak napisy na wyświetlaczu aparatu ============ */
.kf-nav a { font-family: var(--wp--preset--font-family--mono) !important; font-size: .72rem !important; font-weight: 500 !important; letter-spacing: .09em !important; text-transform: uppercase; padding: 14px 20px !important; }
.kf-nav a::before { font-family: var(--wp--preset--font-family--mono) !important; font-size: 8.5px !important; letter-spacing: .06em !important; opacity: .75; }
.kf-nav a[aria-current="page"] { font-weight: 700 !important; }
@media (min-width: 821px) and (max-width: 1100px) { .kf-nav a { font-size: .64rem !important; padding: 12px 11px !important; letter-spacing: .05em !important; } }

/* ===== Baner cookies (Cookie Notice) pod design indeksu ===== */
#cookie-notice {
	position: fixed !important; left: var(--kf-edge) !important; bottom: var(--kf-edge) !important; right: auto !important;
	min-width: 0 !important; width: min(404px, calc(100vw - 2 * var(--kf-edge))) !important; max-width: none;
	background: var(--wp--preset--color--paper) !important; color: var(--wp--preset--color--ink) !important;
	border: 1px solid var(--wp--preset--color--ink); border-radius: 0; box-shadow: none; text-align: left !important;
	font-family: var(--wp--preset--font-family--body); font-size: 14px; line-height: 1.55; letter-spacing: 0; z-index: 100000;
}
#cookie-notice .cookie-notice-container { color: var(--wp--preset--color--ink) !important; padding: 20px 22px 20px; display: block; }
#cookie-notice.cookie-notice-hidden .cookie-notice-container { display: none !important; }
#cookie-notice #cn-notice-text { display: block; }
#cookie-notice #cn-notice-text::before {
	content: "Cookies"; display: block; margin-bottom: 10px;
	font: 500 10.5px/1 var(--wp--preset--font-family--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--stone);
}
#cookie-notice .cn-buttons-container { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 18px; }
#cookie-notice .cn-button, #cookie-notice .cn-button.cn-button-custom {
	margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-shadow: none !important; cursor: pointer;
	font: 500 11px/1 var(--wp--preset--font-family--mono) !important; letter-spacing: .1em !important; text-transform: uppercase;
}
#cookie-notice .cn-set-cookie.cn-button {
	background: var(--wp--preset--color--ink) !important; color: var(--wp--preset--color--paper) !important;
	border: 1px solid var(--wp--preset--color--ink) !important; padding: 13px 22px !important; transition: background .2s, color .2s;
}
#cookie-notice .cn-set-cookie.cn-button:hover, #cookie-notice .cn-set-cookie.cn-button:focus-visible {
	background: transparent !important; color: var(--wp--preset--color--ink) !important;
}
#cookie-notice .cn-more-info.cn-button {
	background: none !important; color: var(--wp--preset--color--ink) !important; border: 0 !important; padding: 4px 0 !important;
	background-image: linear-gradient(currentColor, currentColor) !important; background-size: 100% 1px !important;
	background-position: 0 100% !important; background-repeat: no-repeat !important; transition: background-size .25s var(--kf-ease);
}
#cookie-notice .cn-more-info.cn-button:hover { background-size: 0 1px !important; background-position: 100% 100% !important; }
#cookie-notice .cn-button:focus-visible { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 3px; }
#cookie-notice .cn-close-icon { display: none !important; }
@media (max-width: 600px) {
	#cookie-notice { width: auto !important; right: var(--kf-edge) !important; }
	#cookie-notice .cookie-notice-container { padding: 18px 18px 18px; }
	#cookie-notice .cn-set-cookie.cn-button { padding: 14px 22px !important; }
}
#cookie-notice .cookie-notice-container, #cookie-notice #cn-notice-text, #cookie-notice .cn-buttons-container { text-align: left !important; justify-content: flex-start; }
