  :root {
    --bg: #0f0e0d;
    --surface: #181714;
    --surface2: #211f1c;
    --text: #f0ebe2;
    --muted: #7a7570;
    --accent: #E8B84B;
    --accent-dim: rgba(232,184,75,0.12);
    --accent-hover: #F0C865;
    --border: rgba(240,235,226,0.08);
    --border-mid: rgba(240,235,226,0.15);
    --red: #C94040;
    --green: #4A9A6A;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--bg); }
  ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 64px;
    background: rgba(15,14,13,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
  }
  nav.scrolled {
    border-color: var(--border);
    background: rgba(15,14,13,0.95);
  }

  .nav-logo {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    line-height: 1.3;
  }
  .nav-logo span { display: block; color: var(--accent); }

  .nav-cta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--accent);
    border: none;
    padding: 9px 20px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }
  .nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
  }

  .hero-image-col {
    position: relative;
    overflow: hidden;
  }

  .hero-img-placeholder {
    position: absolute;
    inset: 0;
    background: 
      linear-gradient(135deg, #1a1208 0%, #0a0905 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  /* Dramatic photo placeholder with texture */
  .hero-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
      repeating-linear-gradient(
        -45deg,
        rgba(232,184,75,0.03) 0px,
        rgba(232,184,75,0.03) 1px,
        transparent 1px,
        transparent 8px
      );
  }

  .hero-img-placeholder::after {
    content: 'zdjęcie\Aotwierające';
    white-space: pre;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(232,184,75,0.25);
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
  }

  /* Dark gradient over image side */
  .hero-image-col::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 60%, var(--bg) 100%);
  }

  .hero-content {
    padding: 140px 64px 80px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }

  .hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
  }

  .hero-readers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-dim);
    border: 1px solid rgba(232,184,75,0.2);
    padding: 6px 14px;
    margin-bottom: 28px;
    width: fit-content;
  }
  .hero-readers-count {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
  }
  .hero-readers-label {
    font-size: 12px;
    color: var(--muted);
    font-family: 'IBM Plex Sans', sans-serif;
  }

  .hero h1 {
    font-family: 'Lora', serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 20px;
  }

  .hero h1 em {
    font-style: italic;
    color: var(--accent);
  }

  .hero-lead {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 440px;
    margin-bottom: 40px;
  }

  /* ── FORM ── */
  .signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 440px;
  }

  .form-row {
    display: flex;
    gap: 10px;
  }

  .form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    position: relative;
  }

  .form-field label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s;
  }

  .form-field:focus-within label { color: var(--accent); }

  .form-field input {
    background: var(--surface2);
    border: 1px solid var(--border-mid);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    width: 100%;
  }
  .form-field input::placeholder { color: rgba(122,117,112,0.6); }
  .form-field input:focus {
    border-color: var(--accent);
    background: rgba(232,184,75,0.05);
  }
  .form-field input.error { border-color: var(--red); }
  .form-field input.valid { border-color: var(--green); }

  .field-error {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--red);
    letter-spacing: 0.05em;
    min-height: 14px;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s, transform 0.2s;
  }
  .field-error.visible { opacity: 1; transform: translateY(0); }

  .btn-submit {
    background: var(--accent);
    color: var(--bg);
    border: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 16px 24px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
  }
  .btn-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }
  .btn-submit:active { transform: translateY(0); }
  .btn-submit .btn-arrow { transition: transform 0.2s; }
  .btn-submit:hover .btn-arrow { transform: translateX(4px); }

  .form-privacy {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  .form-privacy input[type="checkbox"] { 
    appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid var(--border-mid);
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 1px;
    position: relative;
    transition: border-color 0.2s;
  }
  .form-privacy input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
  }
  .form-privacy input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 3px; top: 1px;
    width: 5px; height: 8px;
    border: 2px solid var(--bg);
    border-top: none; border-left: none;
    transform: rotate(45deg);
  }

  /* ── SUCCESS STATE ── */
  .form-success {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background: rgba(74,154,106,0.08);
    border: 1px solid rgba(74,154,106,0.3);
    text-align: center;
    max-width: 440px;
  }
  .form-success.visible { display: flex; }
  .success-icon { font-size: 32px; }
  .success-title {
    font-family: 'Lora', serif;
    font-size: 20px;
    color: var(--text);
  }
  .success-text { font-size: 13px; color: var(--muted); line-height: 1.6; }

  /* ── VALUE PROPS ── */
  .value-props {
    padding: 96px 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border);
  }

  .value-prop {
    padding: 40px 48px;
    border-right: 1px solid var(--border);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s, transform 0.6s;
  }
  .value-prop:last-child { border-right: none; }
  .value-prop.visible { opacity: 1; transform: translateY(0); }

  .vp-number {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
  }

  .vp-title {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.3;
  }

  .vp-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
  }

  /* ── ARTICLES SECTION ── */
  .articles-section {
    padding: 80px 48px;
    background: var(--surface);
  }

  .section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 48px;
  }

  .section-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
  }

  .section-title {
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 600;
  }

  .section-link {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
  }
  .section-link:hover { color: var(--accent); }

  .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
  }

  .article-card {
    background: var(--surface);
    cursor: pointer;
    transition: background 0.25s;
    display: flex;
    flex-direction: column;
  }
  .article-card:hover { background: var(--surface2); }

  .article-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: #1a1812;
  }

  .article-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .article-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 10px
    );
  }

  .img-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(240,235,226,0.2);
    position: relative;
    z-index: 1;
  }

  .article-card .article-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 2;
  }

  .tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: var(--bg);
    color: var(--muted);
    border: 1px solid var(--border-mid);
    border-radius: 999px;
  }
  .tag.accent {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    border-radius: 999px;
  }

  .article-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .article-title {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 10px;
    color: var(--text);
    transition: color 0.2s;
  }
  .article-card:hover .article-title { color: var(--accent); }

  .article-excerpt {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  .article-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.05em;
  }

  .article-read {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
  }
  .article-card:hover .article-read { gap: 9px; }

  /* ── SOCIAL PROOF ── */
  .social-proof {
    padding: 100px 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: var(--bg);
  }

  .counter-display {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
  }

  .counter-number {
    font-family: 'Lora', serif;
    font-size: clamp(64px, 8vw, 96px);
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
  }

  .counter-plus {
    font-family: 'Lora', serif;
    font-size: 48px;
    color: var(--accent);
    opacity: 0.6;
  }

  .counter-label {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.5;
  }
  .counter-label strong { color: var(--text); font-weight: 500; }

  .testimonial {
    padding: 32px;
    border-left: 2px solid var(--accent);
    background: var(--surface);
  }

  .testimonial-quote {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 20px;
  }

  .testimonial-author {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .testimonial-author span { color: var(--accent); }

  /* ── AUTHOR ── */
  .author-section {
    padding: 96px 48px;
    background: var(--surface);
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
  }

  .author-image-wrap {
    position: relative;
  }

  .author-img {
    width: 100%;
    aspect-ratio: 3/4;
    background: #1c1a16;
    position: relative;
    overflow: hidden;
  }

  .author-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      -30deg,
      rgba(232,184,75,0.04) 0px,
      rgba(232,184,75,0.04) 1px,
      transparent 1px,
      transparent 12px
    );
  }
  .author-img::after {
    content: 'portret\Aautora';
    white-space: pre;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(232,184,75,0.2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
  }

  .author-accent-line {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
  }

  .author-content {
    padding-top: 8px;
  }

  .author-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
  }

  .author-name {
    font-family: 'Lora', serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.15;
  }

  .author-role {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.08em;
    margin-bottom: 32px;
  }

  .author-bio {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
    border-left: 1px solid var(--border-mid);
    padding-left: 24px;
  }

  .author-bio + .author-bio {
    margin-top: 16px;
  }

  .author-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
  }

  .author-link {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: 1px solid var(--border-mid);
    border-radius: 999px;
    transition: color 0.2s, border-color 0.2s;
  }
  .author-link:hover { color: var(--accent); border-color: var(--accent); }

  /* ── FOOTER ── */
  footer {
    background: var(--bg);
    border-top: 1px solid var(--border);
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .footer-col {
    padding: 64px 48px;
  }

  .footer-col:first-child {
    border-right: 1px solid var(--border);
  }

  .footer-col-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
  }

  .footer-col-title {
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.25;
  }

  .footer-col-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 380px;
  }

  .footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer-link {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-link:hover { color: var(--accent); }

  .btn-wspieram {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--bg);
    border: none;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 16px 28px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-wspieram:hover { background: var(--accent-hover); transform: translateY(-1px); }

  .footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-bottom-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(122,117,112,0.6);
    letter-spacing: 0.08em;
  }

  /* ── STICKY CTA ── */
  .sticky-cta {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 90;
    background: var(--surface2);
    border-top: 1px solid var(--border-mid);
    padding: 16px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  }
  .sticky-cta.visible { transform: translateY(0); }

  .sticky-cta-text {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-style: italic;
    color: var(--text);
  }

  .sticky-cta-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.08em;
    margin-top: 2px;
  }

  /* Desktop: form stacks email-row + consent vertically, takes up middle space */
  .sticky-cta-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    max-width: 480px;
  }
  .sticky-email-row {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .sticky-email-row input {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--border-mid);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s;
  }
  .sticky-email-row input:focus { border-color: var(--accent); }
  .sticky-submit {
    padding: 10px 20px;
    font-size: 11px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .sticky-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin-top: 8px;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.45;
  }
  .sticky-consent-check {
    appearance: none;
    width: 13px;
    height: 13px;
    min-width: 13px;
    border: 1px solid var(--border-mid);
    background: transparent;
    cursor: pointer;
    margin-top: 1px;
    position: relative;
    transition: border-color 0.2s;
    flex-shrink: 0;
  }
  .sticky-cta-info { flex-shrink: 0; }

  .sticky-close {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    align-self: center;
  }
  .sticky-close:hover { color: var(--text); }

  /* ── ANIMATIONS ── */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s, transform 0.7s;
  }
  .fade-in.visible { opacity: 1; transform: translateY(0); }

  .hero-content .fade-in { transition-delay: calc(var(--d, 0) * 120ms); }

  /* ── TWEAKS PANEL ── */
  #tweaks-panel {
    position: fixed;
    bottom: 80px;
    right: 24px;
    width: 260px;
    background: var(--surface2);
    border: 1px solid var(--border-mid);
    padding: 20px;
    z-index: 200;
    display: none;
    flex-direction: column;
    gap: 16px;
  }
  #tweaks-panel.open { display: flex; }
  #tweaks-panel h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
  }

  .tweak-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .tweak-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .tweak-options {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
  }
  .tweak-btn {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    background: transparent;
    border: 1px solid var(--border-mid);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
  }
  .tweak-btn.active, .tweak-btn:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
  }
  .tweak-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .tweak-switch {
    width: 32px; height: 16px;
    background: var(--border-mid);
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
  }
  .tweak-switch.on { background: var(--accent); }
  .tweak-switch::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 12px; height: 12px;
    background: var(--text);
    border-radius: 50%;
    transition: transform 0.2s;
  }
  .tweak-switch.on::after { transform: translateX(16px); }

  /* ════════════════════════════════════════
     MOBILE — max 768px
     Nie zmienia nic na desktopie (min-width: 769px)
  ════════════════════════════════════════ */
  @media (max-width: 768px) {

    /* NAV */
    nav {
      padding: 0 20px;
      height: 56px;
    }
    .nav-logo { font-size: 10px; }
    .nav-cta { padding: 8px 14px; font-size: 10px; }

    /* HERO — stack vertically, image as bg */
    .hero {
      grid-template-columns: 1fr;
      min-height: auto;
      position: relative;
    }
    .hero-image-col {
      height: 260px;
      order: -1;
    }
    /* fade image into content below */
    .hero-image-col::after {
      background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
    }
    .hero-content {
      padding: 24px 20px 56px;
      justify-content: flex-start;
    }
    .hero h1 {
      font-size: clamp(28px, 8vw, 40px);
    }
    .hero-lead { font-size: 15px; max-width: 100%; margin-bottom: 32px; }
    .hero-readers { margin-bottom: 20px; }

    /* FORM — stack name/email vertically */
    .signup-form { max-width: 100%; }
    .form-row { flex-direction: column; gap: 12px; }
    .btn-submit { padding: 16px; font-size: 12px; }
    .form-success { max-width: 100%; padding: 24px 20px; }

    /* VALUE PROPS — single column */
    .value-props {
      grid-template-columns: 1fr;
      padding: 48px 20px 32px;
    }
    .value-prop {
      padding: 28px 0;
      border-right: none;
      border-bottom: 1px solid var(--border);
    }
    .value-prop:last-child { border-bottom: none; }

    /* ARTICLES — single column */
    .articles-section { padding: 48px 20px; }
    .section-header { flex-direction: column; gap: 12px; align-items: flex-start; margin-bottom: 32px; }
    .articles-grid { grid-template-columns: 1fr; }
    .article-body { padding: 18px; }
    .article-title { font-size: 17px; }

    /* SOCIAL PROOF — stack */
    .social-proof {
      grid-template-columns: 1fr;
      gap: 40px;
      padding: 60px 20px;
    }
    .counter-number { font-size: clamp(56px, 16vw, 80px); }

    /* AUTHOR — stack, image narrower */
    .author-section {
      grid-template-columns: 1fr;
      gap: 32px;
      padding: 56px 20px;
    }
    .author-image-wrap { max-width: 200px; }
    .author-name { font-size: 28px; }
    .author-bio { padding-left: 16px; font-size: 14px; }

    /* FOOTER */
    .footer-main { grid-template-columns: 1fr; }
    .footer-col { padding: 40px 20px; }
    .footer-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
    .footer-col-title { font-size: 22px; }
    .footer-bottom {
      flex-direction: column;
      gap: 8px;
      text-align: center;
      padding: 20px;
    }

    /* STICKY CTA — mobile: grid layout, każdy element na własnym rzędzie */
    .sticky-cta {
      position: fixed;
      display: grid;
      grid-template-columns: 1fr auto;
      grid-template-rows: auto auto;
      grid-template-areas:
        "info close"
        "form form";
      align-items: start;
      padding: 14px 16px 16px;
      gap: 10px 8px;
    }
    .sticky-cta-info { grid-area: info; }
    .sticky-close    { grid-area: close; align-self: start; margin-top: 2px; }
    .sticky-cta-form {
      grid-area: form;
      display: flex;
      flex-direction: column;
      gap: 8px;
      width: 100%;
      max-width: 100%;
    }
    .sticky-email-row {
      display: flex;
      gap: 8px;
      width: 100%;
    }
    .sticky-email-row input {
      flex: 1;
      min-width: 0;
      font-size: 16px; /* prevent iOS zoom */
    }
    .sticky-submit {
      flex-shrink: 0;
      white-space: nowrap;
      padding: 10px 14px;
      font-size: 11px;
    }
    .sticky-cta-text { font-size: 14px; }

    /* TWEAKS PANEL */
    #tweaks-panel {
      right: 12px;
      bottom: auto;
      top: 70px;
      width: calc(100vw - 24px);
      max-width: 300px;
    }

    /* Tap targets — minimum 44px height */
    .btn-submit,
    .btn-wspieram,
    .nav-cta,
    .author-link,
    .footer-link,
    .article-read { min-height: 44px; }

    .author-link { padding: 12px 16px; }

    /* Prevent horizontal overflow */
    .hero-readers { flex-wrap: wrap; }
  }

  /* ════════════════════════
     Extra small — max 400px
  ════════════════════════ */
  @media (max-width: 400px) {
    .hero h1 { font-size: 26px; }
    .hero-image-col { height: 200px; }
    .author-image-wrap { max-width: 160px; }
  }

  /* ── ACF / WP ADDITIONS ────────────────────────────
     The HTML design uses <em> for the accented h1 word;
     ACF stores the equivalent inside <span>. Mirror styling.
     Same for hero-readers (ACF gives one inner <span> for
     the count and the label as trailing text).
  ───────────────────────────────────────────────── */
  .hero h1 span {
    font-style: italic;
    color: var(--accent);
  }
  /* Parent picks up label styling so trailing text matches the design. */
  .hero-readers {
    font-size: 12px;
    color: var(--muted);
    font-family: 'IBM Plex Sans', sans-serif;
  }
  .hero-readers > span:first-child {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
  }

  /* Sticky consent: design relied on inline onchange to toggle visuals — use :checked instead. */
  .sticky-consent-check:checked {
    background: var(--accent);
    border-color: var(--accent);
  }
  .sticky-consent-check:checked::after {
    content: '';
    position: absolute;
    left: 3px; top: 1px;
    width: 5px; height: 8px;
    border: 2px solid var(--bg);
    border-top: none; border-left: none;
    transform: rotate(45deg);
  }

  .hero-image-col .hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero-image-col { position: relative; }

  .article-img .article-img-real {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .article-img { position: relative; }
  .article-img:has(.article-img-real) > .article-img-placeholder { display: none; }

  .author-img.author-img--real {
    display: block;
  }
  .author-img.author-img--real::before,
  .author-img.author-img--real::after { content: none; }
  .author-img .author-img-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
  }
  .author-img.author-img--real { position: relative; }

  /* Article titles + "Czytaj →" use <a>; keep them visually consistent with the design's <span>. */
  .article-title a,
  .article-read {
    color: inherit;
    text-decoration: none;
  }
  .article-read { color: var(--accent); }
  .article-card:hover .article-title a { color: var(--accent); }

  .footer-bottom-text a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-bottom-text a:hover { color: var(--accent); }

  /* btn-wspieram is now <a> (linkable) — drop the default underline. */
  a.btn-wspieram { text-decoration: none; }

  /* ── ARTICLE VIEW ───────────────────────────────────
     Used when ic-newsletter has a parent.
  ───────────────────────────────────────────────── */
  #reading-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: var(--accent);
    width: 0%;
    z-index: 200;
    transition: width 0.1s linear;
  }

  .newsletter-nav--article .nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .newsletter-nav--article .nav-back {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
  }
  .newsletter-nav--article .nav-back:hover { color: var(--text); }

  .article-hero {
    margin-top: 64px;
    position: relative;
    height: clamp(340px, 50vh, 580px);
    overflow: hidden;
    background: #1a1812;
  }
  .article-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .article-hero-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1208 0%, #0a0905 100%);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .article-hero-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      -45deg,
      rgba(232,184,75,0.03) 0px,
      rgba(232,184,75,0.03) 1px,
      transparent 1px,
      transparent 8px
    );
  }
  .article-hero-placeholder::after {
    content: 'fotografia reportażowa';
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: rgba(232,184,75,0.2);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
  }
  .article-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
    pointer-events: none;
  }

  .article-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px 120px;
  }

  .article-header {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
  }
  .article-header .article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
  }
  .article-header .article-title {
    font-family: 'Lora', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text);
  }
  .article-lead {
    font-family: 'Lora', serif;
    font-size: 19px;
    font-style: italic;
    color: rgba(240,235,226,0.7);
    line-height: 1.65;
    margin-bottom: 28px;
  }

  .article-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }
  .article-byline {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .byline-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface2);
    border: 1px solid var(--border-mid);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
  }
  .byline-avatar:not(.byline-avatar--real)::after {
    content: attr(data-initials);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--accent);
  }
  .byline-avatar--real .byline-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }
  .byline-name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--text);
  }
  .byline-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.06em;
    margin-top: 2px;
  }

  .article-stats {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .article-stat {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .article-stat + .article-stat::before {
    content: '';
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
  }

  .article-wrap .article-body {
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.85;
    color: rgba(240,235,226,0.88);
  }
  .article-wrap .article-body p { margin-bottom: 28px; }
  .article-wrap .article-body h2 {
    font-family: 'Lora', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--text);
    margin: 52px 0 20px;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }
  .article-wrap .article-body h3 {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 40px 0 16px;
  }
  .article-wrap .article-body blockquote {
    border-left: 2px solid var(--accent);
    padding: 4px 0 4px 28px;
    margin: 40px 0;
    font-style: italic;
    font-size: 20px;
    color: var(--text);
    line-height: 1.6;
  }
  .article-wrap .article-body blockquote cite {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-style: normal;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 12px;
  }

  .article-figure {
    margin: 48px -48px;
  }
  .article-figure-img-real {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    background: var(--surface2);
  }
  .article-figure figcaption {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.06em;
    padding: 10px 0 0;
    line-height: 1.5;
  }

  .data-callout {
    background: var(--surface);
    border: 1px solid var(--border-mid);
    padding: 28px 32px;
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .data-callout .data-item {
    padding: 0 24px;
    border-right: 1px solid var(--border);
    text-align: center;
  }
  .data-callout .data-item:first-child { padding-left: 0; }
  .data-callout .data-item:last-child { border-right: none; padding-right: 0; }
  .data-number {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
  }
  .data-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.4;
  }

  .article-footer-section {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
  }
  .share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
  }
  .share-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .share-buttons { display: flex; gap: 10px; }
  .share-btn {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border-mid);
    border-radius: 999px;
    background: transparent;
    padding: 7px 16px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
  }
  .share-btn:hover { color: var(--accent); border-color: var(--accent); }
  .share-btn.copied { color: var(--green); border-color: var(--green); }

  .newsletter-cta-box {
    background: var(--surface);
    border: 1px solid var(--border-mid);
    padding: 40px 48px;
    text-align: center;
    margin-bottom: 64px;
  }
  .newsletter-cta-box.success {
    background: rgba(74,154,106,0.08);
    border-color: rgba(74,154,106,0.3);
  }
  .ncta-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
  }
  .ncta-title {
    font-family: 'Lora', serif;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.25;
  }
  .ncta-text {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 28px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
  }
  .ncta-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 480px;
    margin: 0 auto;
  }
  .ncta-form input {
    flex: 1;
    min-width: 200px;
    background: var(--surface2);
    border: 1px solid var(--border-mid);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s;
  }
  .ncta-form input:focus { border-color: var(--accent); }
  .ncta-form input::placeholder { color: rgba(122,117,112,0.6); }
  .ncta-form input.error { border-color: var(--red); }
  .ncta-form input.valid { border-color: var(--green); }
  .ncta-consent {
    font-size: 11px;
    color: var(--muted);
    margin-top: 12px;
    line-height: 1.5;
  }

  .related-section { margin-bottom: 0; }
  .related-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
  }
  .related-title {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 28px;
  }
  .related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
  }
  .related-card {
    background: var(--bg);
    padding: 24px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: block;
  }
  .related-card:hover { background: var(--surface); }
  .related-card-tags { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
  .related-card-title {
    font-family: 'Lora', serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 12px;
    transition: color 0.2s;
  }
  .related-card:hover .related-card-title { color: var(--accent); }
  .related-card-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 0.05em;
  }

  /* Mobile overrides for the article view. */
  @media (max-width: 768px) {
    .newsletter-nav--article .nav-back { display: none; }

    .article-hero { height: 260px; }
    .article-wrap { padding: 0 20px 100px; }
    .article-header { margin-top: -60px; }
    .article-meta-row { flex-direction: column; align-items: flex-start; gap: 16px; }
    .article-figure { margin: 32px 0; }

    .data-callout { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
    .data-callout .data-item { border-right: none; padding: 0; text-align: left; }
    .data-callout .data-item + .data-item { border-top: 1px solid var(--border); padding-top: 20px; }

    .newsletter-cta-box { padding: 28px 20px; }
    .ncta-form { flex-direction: column; }
    .ncta-form input, .ncta-form .btn-submit { width: 100%; }

    .related-grid { grid-template-columns: 1fr; }
  }

  /* WP admin bar sits above fixed nav — shift the nav down. */
  body.admin-bar .newsletter-nav { top: 32px; }
  @media screen and (max-width: 782px) {
    body.admin-bar .newsletter-nav { top: 46px; }
  }

  /* Author bio paragraphs (ACF stores them wrapped in <p class="author-bio">). */
  .author-content .author-bio + .author-bio { margin-top: 16px; }

  .sticky-email-row input.error { border-color: var(--red); }
  .sticky-email-row input.valid { border-color: var(--green); }

  .form-privacy.error input[type="checkbox"],
  .sticky-consent-label.error .sticky-consent-check {
    border-color: var(--red);
  }
  .form-privacy.error > span,
  .sticky-consent-label.error > span {
    color: var(--red);
  }
  .signup-form .form-privacy + .field-error { margin-top: -4px; }
  .sticky-cta-form .field-error { line-height: 1; }
  .sticky-cta-form .field-error.visible { margin-top: 2px; }

