/* Nakręcaj — blog. Tokens mirror the landing (static/_next/.../1e9cf3670f39d309.css). */

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../static/_next/static/media/7178b3e590c64307-s.p.55554cd0.woff2) format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../static/_next/static/media/caa3a2e1cccd8315-s.p.3b6cae6d.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --light: #f3f1eb;
  --light-2: #fcfbf8;
  --ink: #0b0b0b;
  --ink-soft: rgba(11, 11, 11, .62);
  --ink-faint: rgba(11, 11, 11, .38);
  --line: rgba(11, 11, 11, .08);
  --orange: #ff6a00;
  --orange-ink: #c24f00;
  --orange-soft: rgba(255, 106, 0, .1);
  --max: 1240px;
  --prose: 720px;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body.nk {
  margin: 0;
  background: var(--light);
  color: var(--ink);
  font-family: Geist, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 1024px) { body.nk { font-size: 18px; } }
.nk a { color: inherit; text-decoration: none; }
.nk img { max-width: 100%; height: auto; display: block; }
::selection { background: rgba(255, 106, 0, .25); }

.nk-frame { padding: 8px; min-height: 100svh; }
.nk-shell {
  background: var(--light-2);
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(11, 11, 11, .05), 0 28px 80px rgba(11, 11, 11, .08);
  overflow: clip;
  min-height: calc(100svh - 16px);
}
.nk-wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
@media (min-width: 900px) { .nk-wrap { width: min(100% - 4.5rem, var(--max)); } }

/* Header */
.nk-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 251, 248, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nk-header__bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.nk-logo img { height: 26px; width: auto; max-width: 168px; }
.nk-nav { display: flex; align-items: center; gap: 1.5rem; font-size: .84rem; color: rgba(11, 11, 11, .55); }
.nk-nav > a:hover, .nk-nav > a.is-active { color: var(--ink); }
.nk-nav__side { display: flex; align-items: center; gap: .9rem; margin-left: 1.25rem; }
.nk-nav__muted { color: rgba(11, 11, 11, .45); }
.nk-menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nk-burger { display: none; width: 40px; height: 40px; border-radius: 999px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: rgba(11, 11, 11, .05); }
.nk-burger span { width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }

@media (max-width: 1023px) {
  .nk-burger { display: inline-flex; }
  .nk-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1rem 1.25rem; background: var(--light-2); border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nk-nav > a { padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nk-nav__side { margin: 1rem 0 0; flex-wrap: wrap; }
  .nk-menu-toggle:checked ~ .nk-nav { display: flex; }
  .nk-menu-toggle:checked + .nk-burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nk-menu-toggle:checked + .nk-burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
}

/* Buttons & small bits */
.nk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem 1.1rem; border-radius: 999px;
  background: var(--ink); color: #fff !important; font-weight: 500; font-size: .86rem;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.nk-btn:hover { transform: translateY(-1px); }
.nk-btn--orange { background: var(--orange); }
.nk-btn--ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .18); }
.nk-eyebrow { margin: 0 0 .9rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); font-weight: 600; }
.nk-muted { color: rgba(11, 11, 11, .3); }
.nk-orange { color: var(--orange-ink) !important; font-weight: 500; }
.nk-tag {
  display: inline-block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  color: var(--orange-ink); background: var(--orange-soft); padding: .25rem .6rem; border-radius: 999px;
}
.nk-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; color: var(--ink-faint); margin-bottom: 1.75rem; }
.nk-crumbs a:hover { color: var(--ink); }

/* Hero */
.nk-hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.nk-hero__title { margin: 0; font-size: clamp(2.4rem, 6.5vw, 5rem); line-height: 1; letter-spacing: -.045em; font-weight: 500; max-width: 16ch; }
.nk-hero__lead { margin: 1.5rem 0 0; max-width: 60ch; color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.nk-chips { list-style: none; margin: 2.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.nk-chips a { display: inline-block; padding: .45rem .95rem; border-radius: 999px; font-size: .84rem; box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .12); color: var(--ink-soft); transition: all .25s var(--ease); }
.nk-chips a:hover { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .35); }
.nk-chips a.is-active { background: var(--ink); color: #fff; box-shadow: none; }
.nk-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 2rem; }
.nk-list-links { margin: 2.5rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }
.nk-list-links a { text-decoration: underline; text-underline-offset: 3px; }

/* Cards */
.nk-grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: 1fr; }
@media (min-width: 700px) { .nk-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .nk-grid { grid-template-columns: repeat(3, 1fr); } }
.nk-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.nk-card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(11, 11, 11, .08); }
.nk-card__media { display: block; aspect-ratio: 16 / 9; background: var(--light); overflow: hidden; }
.nk-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.nk-card:hover .nk-card__media img { transform: scale(1.03); }
.nk-card__body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.nk-card__meta { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; font-size: .78rem; color: var(--ink-faint); }
.nk-card__title { margin: 0; font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 500; }
.nk-card__title a:hover { color: var(--orange-ink); }
.nk-card__excerpt { margin: 0; color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }
.nk-card__more { margin-top: auto; font-size: .78rem; color: var(--ink-faint); }
@media (min-width: 900px) {
  .nk-card--lead { grid-column: 1 / -1; flex-direction: row; }
  .nk-card--lead .nk-card__media { flex: 1.45; aspect-ratio: auto; min-height: 360px; }
  .nk-card--lead .nk-card__body { flex: 1; padding: 2.25rem; justify-content: center; }
  .nk-card--lead .nk-card__title { font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.035em; }
  .nk-card--lead .nk-card__excerpt { font-size: 1rem; }
  .nk-card--lead .nk-card__more { margin-top: .5rem; }
}
.nk-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem; margin: 3rem 0 0; }
.nk-pagination .page-numbers { padding: .5rem .9rem; border-radius: 999px; font-size: .86rem; box-shadow: inset 0 0 0 1px rgba(11, 11, 11, .12); }
.nk-pagination .current { background: var(--ink); color: #fff; box-shadow: none; }
.nk-empty { color: var(--ink-soft); padding: 2rem 0 4rem; }

/* Article */
.nk-article__head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; max-width: 900px; }
.nk-article__title { margin: 1rem 0 0; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; }
.nk-article__lead { margin: 1.25rem 0 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.nk-article__meta { margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; font-size: .84rem; color: var(--ink-faint); }
.nk-article__cover { margin-block: 0 clamp(2rem, 5vw, 3.5rem); }
.nk-article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--light); }
.nk-article__layout { display: grid; gap: 2rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
@media (min-width: 1100px) {
  .nk-article__layout { grid-template-columns: 260px minmax(0, var(--prose)); gap: 4rem; justify-content: center; }
  .nk-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
}
.nk-toc details { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding: 1rem 1.15rem; background: #fff; }
.nk-toc summary { cursor: pointer; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-faint); }
.nk-toc ol { margin: .75rem 0 0; padding-left: 1.1rem; font-size: .86rem; line-height: 1.45; color: var(--ink-soft); }
.nk-toc li + li { margin-top: .45rem; }
.nk-toc a:hover { color: var(--orange-ink); }

.nk-prose { max-width: var(--prose); min-width: 0; }
.nk-prose > * + * { margin-top: 1.15em; }
.nk-prose p, .nk-prose li { color: rgba(11, 11, 11, .82); }
.nk-prose h2 { margin: 2.2em 0 0; font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; }
.nk-prose h3 { margin: 1.8em 0 0; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; }
.nk-prose h2 + *, .nk-prose h3 + * { margin-top: .7em; }
.nk-prose a { color: var(--orange-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nk-prose a:hover { color: var(--ink); }
.nk-prose ul, .nk-prose ol { padding-left: 1.3rem; }
.nk-prose li + li { margin-top: .45em; }
.nk-prose li::marker { color: var(--orange); }
.nk-prose strong { font-weight: 600; color: var(--ink); }
.nk-prose blockquote { margin-inline: 0; padding: 1rem 1.25rem; border-left: 3px solid var(--orange); background: var(--orange-soft); border-radius: 0 12px 12px 0; }
.nk-prose blockquote p { margin: 0; }
.nk-prose figure { margin-inline: 0; }
.nk-prose .wp-block-table, .nk-prose figure.wp-block-table { overflow-x: auto; }
.nk-prose table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.45; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.nk-prose th, .nk-prose td { padding: .7rem .85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.nk-prose th { background: var(--light); font-weight: 600; }
.nk-prose tr:last-child td { border-bottom: 0; }

.nk-author { display: flex; gap: 1rem; align-items: flex-start; margin-top: 3rem !important; padding: 1.25rem; border-radius: 16px; background: var(--light); }
.nk-author img { width: 48px; height: 48px; border-radius: 12px; flex: none; background: #fff; padding: 8px; }
.nk-author p { margin: 0; }
.nk-author__name { font-weight: 600; color: var(--ink) !important; }
.nk-author__bio { font-size: .9rem; color: var(--ink-soft) !important; margin-top: .25rem !important; }

.nk-related { padding-bottom: clamp(3rem, 6vw, 5rem); }
.nk-related__title { margin: 0 0 1.5rem; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.03em; font-weight: 500; }

/* CTA + footer */
.nk-main { min-height: 50vh; }
.nk-cta { padding: clamp(2rem, 5vw, 4rem) 0; }
.nk-cta__box {
  display: grid; gap: 1.75rem; align-items: end;
  padding: clamp(1.75rem, 4vw, 3.25rem); border-radius: var(--radius);
  background: radial-gradient(ellipse 60% 90% at 100% 100%, rgba(255, 106, 0, .35), transparent 60%), var(--ink); color: #fff;
}
@media (min-width: 900px) { .nk-cta__box { grid-template-columns: 1.4fr auto; } }
.nk-cta .nk-eyebrow { color: var(--orange); }
.nk-cta__title { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 500; max-width: 20ch; }
.nk-cta__lead { margin: 1rem 0 0; color: rgba(255, 255, 255, .62); max-width: 52ch; }
.nk-cta__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.nk-cta .nk-btn--ghost { color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }

.nk-footer { border-top: 1px solid var(--line); padding: 3rem 0 1.5rem; font-size: .9rem; }
.nk-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .nk-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.nk-footer__grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .nk-footer__grid > div:first-child { grid-column: auto; } }
.nk-footer__about { margin: 1rem 0 0; color: var(--ink-soft); max-width: 34ch; }
.nk-footer__head { margin: 0; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.nk-footer ul { list-style: none; margin: 1rem 0 0; padding: 0; color: rgba(11, 11, 11, .6); }
.nk-footer li + li { margin-top: .55rem; }
.nk-footer ul a:hover { color: var(--ink); }
.nk-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-faint); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nk *, .nk *::before, .nk *::after { transition: none !important; }
}
