  :root {
    --sc-canvas:     #0A0C16;   /* noc w mieście */
    --sc-surface:    #151827;
    --sc-ink:        #F5F2EA;
    --sc-ink-soft:   #A9ADC2;
    --sc-accent:     #FF5B3A;   /* koral z ekranów */
    --sc-accent-ink: #0A0C16;
    --sc-font-display: "Bricolage Grotesque", system-ui, sans-serif;
    --sc-font-text:    "Geist", system-ui, sans-serif;
    --cobalt: #0B1FF0;
    --cobalt-ink: #F5F2EA;
    --bone: #EFEADF;
    --r: 4px;
  }
  .display { font-family: var(--sc-font-display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.92; margin: 0; text-wrap: balance; }

  /* ---------------------------------------------------------------- bar */
  .bar {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    display: flex; align-items: center; gap: var(--sc-5);
    padding: var(--sc-4) var(--sc-gutter);
    color: var(--sc-ink);
    transition: background-color 220ms var(--sc-ease-out), box-shadow 220ms var(--sc-ease-out);
  }
  .bar.is-solid { background: color-mix(in oklab, var(--sc-canvas) 86%, transparent); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--sc-hairline); }
  .bar__mark { font-family: var(--sc-font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; text-decoration: none; white-space: nowrap; }
  .bar__mark b { color: var(--sc-accent); }
  .bar__nav { display: flex; gap: var(--sc-5); margin-left: auto; align-items: center; }
  .bar__nav a { text-decoration: none; font-size: var(--sc-t-sm); opacity: 0.82; }
  .bar__nav a:hover { opacity: 1; }
  .bar__cta { opacity: 1 !important; }
  .bar__menu { display: none; margin-left: auto; background: none; color: inherit; border: 1px solid currentColor; border-radius: var(--r); padding: 0.4rem 0.8rem; font-size: var(--sc-t-sm); cursor: pointer; }

  .btn {
    display: inline-flex; align-items: center; gap: 0.6em;
    padding: 0.9rem 1.35rem; border-radius: var(--r);
    background: var(--sc-accent); color: var(--sc-accent-ink);
    text-decoration: none; font-weight: 600; white-space: nowrap;
    box-shadow: 0 10px 28px -12px rgba(255, 91, 58, 0.7);
    transition: background-color 150ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
  }
  .btn:hover { background: #FF7556; }
  .btn:active { transform: translateY(1px); }
  .btn--sm { padding: 0.55rem 0.95rem; box-shadow: none; }
  .btn svg { width: 1em; height: 1em; }

  /* ---------------------------------------------------------- hero (act 1) */
  .hero .sc-copy { max-width: min(54rem, 86vw); bottom: clamp(2.5rem, 9vh, 6rem); }
  .hero__who { font-size: var(--sc-t-sm); margin: 0 0 var(--sc-4); color: #DCDDEA; display: flex; gap: 0.6rem; align-items: center; }
  .hero__who::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--sc-accent); box-shadow: 0 0 0 4px rgba(255, 91, 58, 0.25); }
  .hero h1 { font-size: clamp(2.8rem, 1.2rem + 5vw, 6.6rem); max-width: 13ch; margin: 0 0 var(--sc-5); }
  .hero h1 em { font-style: normal; color: var(--sc-accent); }
  .hero p.lede { margin: 0 0 var(--sc-6); max-width: 40ch; color: #E3E4EF; font-size: var(--sc-t-lg); line-height: 1.45; }
  /* Zanim film się wczyta, zdjęcie startowe przybliża się do ekranu w rytm przewijania, więc wejście nigdy nie stoi. */
  .hero .sc-stage__poster { transform: scale(calc(1 + var(--sc-p, 0) * 2.2)); transform-origin: 49% 34%; will-change: transform; }
  @media (max-width: 860px) { .hero .sc-stage__poster { transform-origin: 50% 30%; } }
  @media (prefers-reduced-motion: reduce) { .hero .sc-stage__poster { transform: none; } }
  /* Szczyt: wjazd w ekran, jego kolor staje się stroną. */
  .screen-wash { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: var(--cobalt);
    opacity: clamp(0, calc((var(--sc-p, 0) - 0.93) * 16), 1); }

  /* ------------------------------------------------- lejek (act 2, signature) */
  .funnel [data-sc-stage] { background: var(--cobalt); color: var(--cobalt-ink); display: grid; place-items: center; }
  /* Lejek nachodzi na ostatni ekran filmu: "Uwaga" wjeżdża, gdy kamera wpada w niebieski ekran, bez pustej przerwy. */
  @media (prefers-reduced-motion: no-preference) {
    .hero { position: relative; z-index: 1; }
    .funnel { position: relative; z-index: 2; margin-top: -100vh;
      background: linear-gradient(to bottom, transparent 0, transparent 100vh, var(--cobalt) 100vh); }
    .funnel [data-sc-stage] { background: transparent; }
    .funnel .stage-word--1 > * { opacity: var(--uw, 1); }
  }
  .funnel__inner { position: relative; width: 100%; height: 100%; display: grid; align-content: center; justify-items: center; gap: 0.6vh; padding: 12vh var(--sc-gutter) 8vh; }
  .funnel__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .funnel__lines path { fill: none; stroke: rgba(245, 242, 234, 0.55); stroke-width: 1.5; vector-effect: non-scaling-stroke;
    stroke-dasharray: 1; stroke-dashoffset: calc(1 - min(1, var(--sc-p, 0) * 1.4)); }
  .stage-word { position: relative; display: flex; align-items: baseline; gap: 1.2vw; }
  .stage-word .display { font-size: var(--fs); line-height: 0.88; }
  .stage-word small { font-family: var(--sc-font-text); font-size: var(--sc-t-sm); letter-spacing: 0; width: 13rem; line-height: 1.3; color: rgba(245, 242, 234, 0.85); position: absolute; left: 100%; top: 50%; translate: 1.4vw -50%; }
  .stage-word--1 { --fs: clamp(3.4rem, 14vw, 13rem); }
  .stage-word--2 { --fs: clamp(2.8rem, 11vw, 10rem); }
  .stage-word--3 { --fs: clamp(2.3rem, 8.4vw, 7.6rem); }
  .stage-word--4 { --fs: clamp(2rem, 6vw, 5.4rem); }
  .stage-word--4 .display { color: var(--sc-accent); }
  .funnel__out { margin-top: 3vh; font-size: var(--sc-t-lg); text-align: center; max-width: 34ch; line-height: 1.35; }
  .funnel__out b { font-weight: 600; }

  /* ------------------------------------------------------------- chapters */
  .chapter { position: relative; padding-block: var(--sc-section); }
  .page { width: min(78rem, 100% - 2 * var(--sc-gutter)); margin-inline: auto; }
  .soft { color: var(--sc-ink-soft); }

  /* o mnie */
  .about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sc-8); align-items: center; }
  .portrait-wrap { position: relative; }
  .portrait-wrap::before { content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; background: var(--sc-accent); border-radius: var(--r); }
  .portrait { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: #DADADA; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
  .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
  .portrait figcaption { position: absolute; left: 0; bottom: 0; padding: 0.55rem 0.9rem; background: var(--sc-canvas); color: var(--sc-ink); font-size: var(--sc-t-xs); border-top-right-radius: var(--r); }
  .about h2 { font-size: var(--sc-t-3xl); margin-bottom: var(--sc-6); }
  .about h2 em { font-style: normal; color: var(--sc-accent); }
  .about p { margin: 0 0 1em; max-width: 58ch; }
  .facts { display: flex; flex-wrap: wrap; gap: var(--sc-3) var(--sc-6); margin: var(--sc-6) 0 0; padding-top: var(--sc-5); border-top: 1px solid var(--sc-hairline); font-size: var(--sc-t-sm); }
  .facts div span { display: block; color: var(--sc-ink-soft); font-size: var(--sc-t-xs); }
  .facts a { color: var(--sc-ink); }

  /* badania: pan rail z plakatami kampanii */
  .rail { gap: 1.4vw; align-items: stretch; height: 100%; padding: 13vh 4vw 7vh; }
  .rail__lead { flex: 0 0 min(30rem, 80vw); display: flex; flex-direction: column; justify-content: flex-end; padding-right: 3vw; }
  .rail__lead h2 { font-size: var(--sc-t-3xl); margin-bottom: var(--sc-5); }
  .rail__lead p { margin: 0; max-width: 34ch; }
  .poster { flex: 0 0 min(34rem, 82vw); border-radius: var(--r); padding: clamp(1.4rem, 2.6vw, 2.6rem); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
  .poster h3 { font-family: var(--sc-font-display); font-weight: 800; letter-spacing: -0.045em; line-height: 0.9; font-size: clamp(2.4rem, 4.4vw, 4.4rem); margin: 0; text-wrap: balance; }
  .poster p { margin: 0 0 var(--sc-5); max-width: 36ch; }
  .poster cite { display: block; font-style: normal; font-size: var(--sc-t-sm); padding-top: var(--sc-4); border-top: 1px solid currentColor; opacity: 0.86; }
  .poster cite b { display: block; font-weight: 500; margin-bottom: 0.2rem; }
  .poster--coral { background: var(--sc-accent); color: #160904; }
  .poster--bone { background: var(--bone); color: #0A0C16; }
  .poster--cobalt { background: var(--cobalt); color: #F5F2EA; }
  .poster--ink { background: #15182A; color: var(--sc-ink); box-shadow: inset 0 0 0 1px rgba(245, 242, 234, 0.14); }
  .poster__big { position: absolute; right: -0.06em; bottom: -0.22em; font-family: var(--sc-font-display); font-weight: 800; font-size: 15rem; line-height: 1; letter-spacing: -0.08em; opacity: 0.12; pointer-events: none; }
  .rail__end { flex: 0 0 min(24rem, 70vw); display: flex; flex-direction: column; justify-content: flex-end; gap: var(--sc-4); padding-left: 2vw; }
  .rail__end p { margin: 0; font-size: var(--sc-t-lg); line-height: 1.35; }
  .rail__end a { color: var(--sc-accent); }

  /* publikacje */
  .pubs__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--sc-6); margin-bottom: var(--sc-6); }
  .pubs__top h2 { font-size: var(--sc-t-3xl); }
  .pubs__count { font-family: var(--sc-font-display); font-weight: 800; color: var(--sc-accent); }
  .filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: var(--sc-5); }
  .filters button { border: 1px solid var(--sc-hairline-strong); background: transparent; border-radius: 99px; padding: 0.45rem 0.95rem; font-size: var(--sc-t-sm); cursor: pointer; color: var(--sc-ink); transition: background-color 150ms var(--sc-ease-out), color 150ms, border-color 150ms; }
  .filters button:hover { border-color: var(--sc-ink); }
  .filters button[aria-pressed="true"] { background: var(--sc-accent); color: var(--sc-accent-ink); border-color: var(--sc-accent); }
  .search { display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--sc-ink); padding: 0.3rem 0; min-width: min(20rem, 100%); }
  .search input { border: 0; background: transparent; outline: none; flex: 1; padding: 0.3rem 0; }
  .search input::placeholder { color: var(--sc-ink-soft); }
  .search:focus-within { border-color: var(--sc-accent); box-shadow: 0 1px 0 var(--sc-accent); }
  .pubs__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sc-hairline-strong); }
  .pub { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: var(--sc-5); padding: var(--sc-4) 0; border-bottom: 1px solid var(--sc-hairline); align-items: baseline; transition: background-color 150ms; }
  .pub:hover { background: rgba(245, 242, 234, 0.03); }
  .pub__y { font-variant-numeric: tabular-nums; color: var(--sc-accent); font-weight: 600; font-size: var(--sc-t-sm); }
  .pub__t { font-size: 1.06rem; line-height: 1.35; font-weight: 500; }
  .pub__j { display: block; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); margin-top: 0.2rem; }
  .pub__a { font-size: var(--sc-t-sm); color: var(--sc-ink); white-space: nowrap; }
  .pubs__more { margin-top: var(--sc-6); display: flex; gap: var(--sc-5); align-items: center; flex-wrap: wrap; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
  .linkbtn { background: none; border: 1px solid var(--sc-ink); border-radius: var(--r); padding: 0.6rem 1.1rem; cursor: pointer; color: var(--sc-ink); transition: background-color 150ms, color 150ms; }
  .linkbtn:hover { background: var(--sc-ink); color: var(--sc-canvas); }
  .pubs__empty { padding: var(--sc-6) 0; color: var(--sc-ink-soft); }

  /* notatki: twarde cięcie na jasne tło, jak magazyn */
  .notes { background: var(--bone); color: #0A0C16; --sc-ink: #0A0C16; --sc-ink-soft: #50536A; }
  .notes h2 { font-size: var(--sc-t-3xl); }
  .notes__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sc-6); margin-top: var(--sc-7); }
  .note { text-decoration: none; display: block; color: inherit; }
  .note__tag { font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
  .note h3 { font-family: var(--sc-font-display); font-weight: 800; letter-spacing: -0.04em; margin: 0.4rem 0 0.6rem; line-height: 0.98; text-wrap: balance; }
  .note p { margin: 0; color: var(--sc-ink-soft); max-width: 48ch; }
  .note--lead { padding: var(--sc-7); background: var(--cobalt); color: #F5F2EA; border-radius: var(--r); position: relative; overflow: hidden; min-height: 26rem; display: flex; flex-direction: column; justify-content: flex-end; }
  .note--lead .note__tag, .note--lead p { color: rgba(245, 242, 234, 0.82); }
  .note--lead h3 { font-size: var(--sc-t-2xl); max-width: 14ch; }
  .note--lead > * { position: relative; z-index: 1; }
  .note--lead::before { content: ""; position: absolute; right: -7rem; top: -9rem; width: 18rem; height: 18rem; border-radius: 50%; background: var(--sc-accent); opacity: 0.9; transition: transform 400ms var(--sc-ease-out); }
  .note--lead:hover::before { transform: scale(1.06); }
  .note--side { padding: var(--sc-5) 0; border-top: 2px solid #0A0C16; }
  .note--side h3 { font-size: var(--sc-t-xl); }
  .note:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
  .note__more { display: inline-block; margin-top: var(--sc-4); font-weight: 600; font-size: var(--sc-t-sm); }

  /* materiały */
  .mat h2 { font-size: var(--sc-t-3xl); }
  .mat__layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--sc-7); margin-top: var(--sc-7); }
  .tabs { display: flex; flex-direction: column; gap: 0.4rem; }
  .tabs button { text-align: left; background: var(--sc-surface); border: 0; border-radius: var(--r); padding: var(--sc-4) var(--sc-5); cursor: pointer; display: grid; gap: 0.15rem; color: var(--sc-ink); transition: background-color 150ms var(--sc-ease-out), color 150ms; }
  .tabs button span:first-child { font-family: var(--sc-font-display); font-weight: 800; letter-spacing: -0.03em; font-size: 1.3rem; line-height: 1.1; }
  .tabs button span:last-child { font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
  .tabs button:hover { background: #1D2135; }
  .tabs button[aria-selected="true"] { background: var(--sc-accent); color: var(--sc-accent-ink); }
  .tabs button[aria-selected="true"] span:last-child { color: rgba(10, 12, 22, 0.7); }
  .panel[hidden] { display: none; }
  .panel__intro { margin: 0 0 var(--sc-5); color: var(--sc-ink-soft); max-width: 56ch; }
  .files { list-style: none; margin: 0; padding: 0; }
  .file { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) auto; gap: var(--sc-4); align-items: center; padding: var(--sc-4) 0; border-bottom: 1px solid var(--sc-hairline); }
  .file__ext { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-align: center; padding: 0.55rem 0; border-radius: 3px; background: var(--cobalt); color: #F5F2EA; }
  .file__ext.is-pptx { background: var(--sc-accent); color: #160904; }
  .file__ext.is-xlsx { background: #2BB673; color: #04140B; }
  .file__name { font-weight: 500; }
  .file__meta { display: block; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }
  .demo-note { margin-top: var(--sc-5); font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }

  /* kontakt: koralowe zamknięcie */
  .close [data-sc-stage] { background: var(--sc-accent); color: #160904; display: grid; align-items: center; }
  .close__inner { width: min(78rem, 100% - 2 * var(--sc-gutter)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sc-8); align-items: end; }
  .close h2 { font-size: clamp(3.4rem, 1.4rem + 7vw, 9rem); margin: 0 0 var(--sc-6); }
  .close .btn { background: #0A0C16; color: #F5F2EA; box-shadow: 0 12px 28px -14px rgba(10, 12, 22, 0.8); }
  .close .btn:hover { background: #1F2236; }
  .close address { font-style: normal; display: grid; gap: var(--sc-4); }
  .close address a { color: inherit; font-weight: 600; }
  .close address span { display: block; font-size: var(--sc-t-xs); opacity: 0.75; }
  .foot { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sc-4) var(--sc-gutter); display: flex; justify-content: space-between; gap: var(--sc-4); font-size: var(--sc-t-xs); border-top: 1px solid rgba(22, 9, 4, 0.2); }

  /* ------------------------------------------------------------ mobile */
  @media (max-width: 860px) {
    .bar__nav { display: none; }
    .bar__menu { display: inline-block; }
    .bar.is-open { background: var(--sc-canvas); }
    .bar.is-open .bar__nav { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 100%; left: 0; right: 0; padding: var(--sc-3) var(--sc-gutter) var(--sc-5); background: var(--sc-canvas); box-shadow: 0 12px 24px -16px rgba(0,0,0,0.6); }
    .bar.is-open .bar__nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--sc-hairline); font-size: var(--sc-t-base); }
    .bar.is-open .bar__nav .btn { margin-top: var(--sc-4); justify-content: center; border: 0; }
    .hero h1 { font-size: clamp(2.5rem, 11vw, 3.4rem); }
    .hero p.lede { font-size: var(--sc-t-base); }
    .stage-word { flex-direction: column; align-items: center; gap: 0.2rem; }
    .stage-word small { position: static; translate: none; text-align: center; max-width: 30ch; font-size: var(--sc-t-xs); }
    .stage-word--1 { --fs: 17vw; } .stage-word--2 { --fs: 14vw; } .stage-word--3 { --fs: 11vw; } .stage-word--4 { --fs: 9vw; }
    .funnel__out { font-size: var(--sc-t-base); }
    .about__grid, .notes__grid, .mat__layout, .close__inner { grid-template-columns: 1fr; gap: var(--sc-6); }
    .portrait { aspect-ratio: 1 / 1; }
    .portrait-wrap { margin: 0 1.4rem 2.2rem 0; }
    .rail { padding: 12vh 6vw 6vh; gap: 4vw; }
    .poster { flex-basis: 84vw; }
    .poster h3 { font-size: clamp(2.2rem, 10vw, 3rem); }
    .pub { grid-template-columns: 3.2rem minmax(0, 1fr); }
    .pub__a { grid-column: 2; }
    .note--lead { padding: var(--sc-5); min-height: 20rem; }
    .tabs { flex-direction: row; overflow-x: auto; padding-bottom: 0.3rem; }
    .tabs button { flex: 0 0 auto; padding: 0.7rem 1rem; }
    .tabs button span:first-child { font-size: 1.05rem; }
    .file { grid-template-columns: 2.8rem minmax(0, 1fr); }
    .file a { grid-column: 2; }
    .close [data-sc-stage] { align-items: start; padding-top: 16vh; }
    .foot { flex-direction: column; gap: 0.2rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero { height: 120svh !important; }
    .screen-wash { display: none; }
    .funnel__lines path { stroke-dashoffset: 0; }
    .rail { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr)); height: auto; }
  }

/* ==================================================================
   WordPress: dodatki do stylów z obecnej strony
   ================================================================== */
body { background: var(--sc-canvas); color: var(--sc-ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.file__ext.is-ppt, .file__ext.is-key { background: var(--sc-accent); color: #160904; }
.file__ext.is-xls, .file__ext.is-csv, .file__ext.is-ods { background: #2BB673; color: #04140B; }
.file__ext.is-doc, .file__ext.is-docx, .file__ext.is-odt { background: #EFEADF; color: #0A0C16; }
.notes__empty { margin-top: var(--sc-6); color: var(--sc-ink-soft); }
.notes__all { margin: var(--sc-5) 0 0; }
.notes__all a { color: inherit; }

/* nagłówek podstron */
.page--narrow { width: min(44rem, 100% - 2 * var(--sc-gutter)); margin-inline: auto; }
.page--wide { width: min(64rem, 100% - 2 * var(--sc-gutter)); margin-inline: auto; }
.page-head, .article__head { padding-top: clamp(7rem, 16vh, 10rem); }
.page-head__kicker { font-size: var(--sc-t-sm); margin: 0 0 var(--sc-5); color: var(--sc-ink-soft); }
.page-head__kicker a { color: inherit; text-decoration: none; }
.page-head__kicker a:hover { color: var(--sc-ink); text-decoration: underline; }
.page-head__kicker b { color: var(--sc-accent); }
.page-head h1, .article__head h1 { font-size: var(--sc-t-3xl); }
.page-head__lede { margin: var(--sc-5) 0 0; max-width: 52ch; color: var(--sc-ink-soft); font-size: var(--sc-t-lg); line-height: 1.45; }

/* lista notatek */
.notes--page { min-height: 100svh; padding-bottom: var(--sc-section); }
.notes--page .page-head { margin-bottom: var(--sc-7); }
.notes__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(20rem, 100%), 1fr)); gap: 0 var(--sc-6); }
.pager { margin-top: var(--sc-7); }
.pager .nav-links { display: flex; gap: var(--sc-3); flex-wrap: wrap; align-items: center; }
.pager .page-numbers { padding: 0.5rem 0.9rem; border: 1px solid currentColor; border-radius: var(--r); text-decoration: none; color: inherit; font-size: var(--sc-t-sm); }
.pager .page-numbers.current { background: #0A0C16; color: var(--bone); border-color: #0A0C16; }

/* pojedyncza notatka: jasna kartka jak magazyn */
.article { background: var(--bone); color: #0A0C16; --sc-ink: #0A0C16; --sc-ink-soft: #50536A; padding-bottom: var(--sc-section); min-height: 100svh; }
.article__meta { margin: var(--sc-5) 0 0; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); }
.article__cover { margin-top: var(--sc-7); margin-bottom: 0; }
.article__cover img { width: 100%; height: auto; border-radius: var(--r); display: block; }
.article__body { margin-top: var(--sc-7); font-size: 1.12rem; line-height: 1.7; }
.article__body > * { margin-block: 0 1.1em; }
.article__body h2, .article__body h3 { font-family: var(--sc-font-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-top: 1.8em; }
.article__body h2 { font-size: var(--sc-t-2xl); }
.article__body h3 { font-size: var(--sc-t-xl); }
.article__body a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
.article__body blockquote { margin-inline: 0; padding: 0.2em 0 0.2em 1.2em; border-left: 4px solid var(--sc-accent); font-family: var(--sc-font-display); font-size: 1.35rem; line-height: 1.3; letter-spacing: -0.02em; }
.article__body img { max-width: 100%; height: auto; border-radius: var(--r); }
.article__body figure { margin-inline: 0; }
.article__body figcaption { font-size: var(--sc-t-sm); color: var(--sc-ink-soft); margin-top: 0.5em; }
.article__body ul, .article__body ol { padding-left: 1.3em; }
.article__body table { width: 100%; border-collapse: collapse; font-size: var(--sc-t-sm); }
.article__body th, .article__body td { border-bottom: 1px solid rgba(10, 12, 22, 0.15); padding: 0.5em 0.4em; text-align: left; }
.article__body .has-koral-color { color: var(--sc-accent); } .article__body .has-koral-background-color { background: var(--sc-accent); }
.article__body .has-kobalt-color { color: var(--cobalt); } .article__body .has-kobalt-background-color { background: var(--cobalt); color: #F5F2EA; }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sc-5); margin-top: var(--sc-8); padding-top: var(--sc-5); border-top: 2px solid #0A0C16; }
.article__nav a { color: inherit; text-decoration: none; font-family: var(--sc-font-display); font-weight: 800; letter-spacing: -0.03em; font-size: 1.2rem; line-height: 1.1; }
.article__nav a span { display: block; font-family: var(--sc-font-text); font-weight: 500; letter-spacing: 0; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); margin-bottom: 0.3rem; }
.article__nav a:hover { text-decoration: underline; }
.article__nav-next { text-align: right; grid-column: 2; }
.article--404 { display: grid; align-items: center; }

/* stopka podstron */
.foot--page { position: static; background: #0A0C16; color: var(--sc-ink-soft); border-top: 0; }
.foot--page a { color: var(--sc-ink); }

@media (max-width: 860px) {
  .article__nav { grid-template-columns: 1fr; }
  .article__nav-next { grid-column: 1; text-align: left; }
}

/* Zalogowana autorka widzi pasek WordPressa: menu strony schodzi pod niego. */
.admin-bar .bar { top: 32px; }
@media (max-width: 782px) { .admin-bar .bar { top: 46px; } }
