﻿:root {
      --bg: #ffffff;
      --bg-subtle: #f4f7fb;
      --text: #0f172a;
      --text-secondary: #475569;
      --text-muted: #64748b;
      --border: #e2e8f0;
      --border-strong: #cbd5e1;
      --accent: #0f172a;
      --accent-hover: #334155;
      --brand: #2563eb;
      --brand-soft: rgba(37, 99, 235, 0.08);
      --brand-mid: rgba(37, 99, 235, 0.15);
      --teal: #0d9488;
      --teal-soft: rgba(13, 148, 136, 0.1);
      --radius: 12px;
      --radius-lg: 20px;
      --font: "Inter", system-ui, -apple-system, sans-serif;
      --max: 1080px;
      --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
      --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.08);
      --shadow-float: 0 20px 50px rgba(15, 23, 42, 0.12);
    }

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

    html {
      scroll-behavior: smooth;
    }

    .skip-link {
      position: absolute;
      left: -9999px;
      z-index: 100;
      padding: 0.65rem 1rem;
      font-weight: 600;
      font-size: 0.875rem;
      color: var(--bg);
      background: var(--text);
      border-radius: 0 0 8px 0;
    }

    .skip-link:focus {
      left: 0;
      top: 0;
      outline: 2px solid var(--brand);
      outline-offset: 2px;
    }

    body {
      margin: 0;
      min-height: 100vh;
      font-family: var(--font);
      font-size: 1rem;
      line-height: 1.65;
      color: var(--text-secondary);
      background: var(--bg);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    a {
      color: var(--accent);
      text-decoration: none;
      transition: color 0.15s ease;
    }

    a:hover {
      color: var(--accent-hover);
    }

    .wrap {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 1.5rem 5rem;
    }

    /* Subtle page background */
    .page-bg {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background:
        radial-gradient(900px 500px at 85% -5%, var(--brand-soft), transparent 55%),
        radial-gradient(700px 400px at 5% 30%, var(--teal-soft), transparent 50%),
        var(--bg);
    }

    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 255, 255, 0.88);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      transition: box-shadow 0.35s ease, background-color 0.35s ease;
    }

    header.is-scrolled {
      background: rgba(255, 255, 255, 0.96);
      box-shadow: 0 6px 28px rgba(15, 23, 42, 0.07);
    }

    nav {
      max-width: var(--max);
      margin: 0 auto;
      padding: 1rem 1.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .logo {
      display: flex;
      align-items: center;
      line-height: 0;
    }

    .logo-img {
      height: 32px;
      width: auto;
      display: block;
    }

    @media (min-width: 480px) {
      .logo-img {
        height: 34px;
      }
    }

    .logo:hover {
      opacity: 0.88;
    }

    .logo:focus-visible {
      outline: 2px solid var(--brand);
      outline-offset: 4px;
      border-radius: 6px;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .nav-links a {
      position: relative;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text-muted);
    }

    .nav-links a:hover {
      color: var(--text);
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: -4px;
      height: 2px;
      border-radius: 2px;
      background: var(--brand);
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.22s ease;
      opacity: 0.9;
    }

    .nav-links a:hover::after,
    .nav-links a:focus-visible::after {
      transform: scaleX(1);
    }

    .nav-cta {
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--bg);
      background: var(--accent);
      padding: 0.5rem 1rem;
      border-radius: 8px;
    }

    .nav-cta:hover {
      color: var(--bg);
      background: var(--accent-hover);
    }

    /* Hero */
    .hero {
      position: relative;
      padding: 3.5rem 0 0;
      border-bottom: 1px solid var(--border);
      background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 72%);
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: radial-gradient(circle at center, var(--border) 1px, transparent 1px);
      background-size: 28px 28px;
      opacity: 0.28;
      mask-image: linear-gradient(180deg, black 0%, transparent 85%);
      -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 85%);
    }

    .hero-inner {
      position: relative;
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 1.5rem 3rem;
      display: grid;
      gap: 2.5rem;
      align-items: center;
    }

    @media (min-width: 900px) {
      .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        padding-bottom: 2.5rem;
      }
    }

    .hero-copy {
      padding-top: 0.5rem;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8125rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--brand);
      margin: 0 0 1rem;
    }

    .hero-eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--teal);
      box-shadow: 0 0 0 3px var(--teal-soft);
    }

    .hero h1 {
      font-size: clamp(2rem, 4.2vw, 2.65rem);
      font-weight: 700;
      letter-spacing: -0.035em;
      line-height: 1.12;
      color: var(--text);
      margin: 0 0 1.25rem;
    }

    .hero h1 em {
      font-style: normal;
      color: var(--brand);
    }

    .hero .lead {
      font-size: 1.0625rem;
      line-height: 1.72;
      color: var(--text-secondary);
      margin: 0 0 1.75rem;
      max-width: 52ch;
    }

    .hero-trust {
      font-size: 0.875rem;
      line-height: 1.55;
      color: var(--text-muted);
      margin: -0.75rem 0 1.25rem;
      max-width: 52ch;
    }

    .hero-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      align-items: center;
    }

    .hero-subcta {
      margin: 0.85rem 0 0;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--text-muted);
    }

    .hero-subcta a {
      color: var(--brand);
      font-weight: 600;
      text-decoration: none;
    }

    .hero-subcta a:hover {
      text-decoration: underline;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font);
      font-size: 0.9375rem;
      font-weight: 600;
      padding: 0.75rem 1.25rem;
      border-radius: 10px;
      border: none;
      cursor: pointer;
      transition: background 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
    }

    .btn-primary {
      background: var(--accent);
      color: var(--bg);
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      color: var(--bg);
      box-shadow: var(--shadow-md);
      transform: translateY(-1px);
    }

    .btn:active {
      transform: translateY(0) scale(0.98);
    }

    .btn-secondary {
      background: var(--bg);
      color: var(--text);
      border: 1px solid var(--border-strong);
    }

    .btn-secondary:hover {
      background: var(--bg-subtle);
      color: var(--text);
      border-color: var(--text-muted);
    }

    .btn:focus-visible,
    .nav-cta:focus-visible,
    .nav-links a:focus-visible {
      outline: 2px solid var(--brand);
      outline-offset: 3px;
    }

    /* Hero visual card */
    .hero-visual {
      position: relative;
      min-height: 280px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: var(--bg);
      box-shadow: var(--shadow-float);
      overflow: hidden;
    }

    @media (min-width: 900px) {
      .hero-visual {
        min-height: 320px;
      }
    }

    .hero-visual-blob {
      position: absolute;
      width: 220px;
      height: 220px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--brand-mid), transparent);
      top: -40px;
      right: -30px;
      filter: blur(2px);
    }

    .hero-visual-blob2 {
      position: absolute;
      width: 160px;
      height: 160px;
      border-radius: 50%;
      background: linear-gradient(200deg, var(--teal-soft), transparent);
      bottom: -20px;
      left: 10%;
    }

    .hero-visual-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 24px 24px;
      opacity: 0.35;
      mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black, transparent);
      -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black, transparent);
    }

    .hero-visual-card {
      position: absolute;
      left: 1.25rem;
      right: 1.25rem;
      bottom: 1.25rem;
      padding: 1rem 1.125rem;
      border-radius: 14px;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid var(--border);
      box-shadow: var(--shadow-md);
      backdrop-filter: blur(8px);
    }

    .hero-visual-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0.75rem;
      gap: 0.75rem;
    }

    .hero-card-top-left {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      min-width: 0;
    }

    .hero-card-logo {
      height: 22px;
      width: auto;
      flex-shrink: 0;
      opacity: 0.95;
    }

    @media (min-width: 520px) {
      .hero-card-logo {
        height: 24px;
      }
    }

    .hero-dots {
      display: flex;
      gap: 6px;
    }

    .hero-dots span {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--border-strong);
    }

    .hero-dots span:nth-child(1) {
      background: #f87171;
    }

    .hero-dots span:nth-child(2) {
      background: #fbbf24;
    }

    .hero-dots span:nth-child(3) {
      background: #4ade80;
    }

    .hero-badge {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: var(--bg);
      padding: 0.35rem 0.6rem;
      border-radius: 8px;
      background: var(--brand);
      border: 1px solid rgba(29, 78, 216, 0.35);
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    }

    .hero-mock-lines {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .hero-mock-lines i {
      display: block;
      height: 8px;
      border-radius: 4px;
      background: var(--bg-subtle);
    }

    .hero-mock-lines i:nth-child(1) {
      width: 55%;
      background: linear-gradient(90deg, var(--brand-soft), var(--bg-subtle));
    }

    .hero-mock-lines i:nth-child(2) {
      width: 85%;
    }

    .hero-mock-lines i:nth-child(3) {
      width: 40%;
    }

    /* Stats strip */
    .stats-strip {
      position: relative;
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 1.5rem 2.5rem;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      text-align: center;
    }

    @media (min-width: 900px) {
      .stats-strip {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
      }

      .stat {
        border-right: 1px solid var(--border);
      }

      .stat:last-child {
        border-right: none;
      }
    }

    .stat {
      padding: 1rem 0.5rem;
      border-radius: var(--radius);
      background: transparent;
    }

    .stat-value {
      font-size: clamp(1.5rem, 3vw, 1.875rem);
      font-weight: 700;
      letter-spacing: -0.03em;
      color: var(--text);
      margin: 0 0 0.25rem;
      font-variant-numeric: tabular-nums;
    }

    .stat-label {
      font-size: 0.8125rem;
      color: var(--text-muted);
      margin: 0;
    }

    /* Section ornament */
    .section-head {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.75rem;
    }

    .section-head-text {
      flex: 1;
      min-width: min(100%, 280px);
    }

    .section-label {
      font-size: 0.8125rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--brand);
      margin: 0 0 0.5rem;
    }

    .section-title {
      font-size: clamp(1.5rem, 3vw, 1.875rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
      margin: 0 0 0.75rem;
      line-height: 1.25;
    }

    .section-intro {
      font-size: 1.0625rem;
      color: var(--text-secondary);
      margin: 0;
      max-width: 58ch;
    }

    .section-ornament {
      display: none;
      align-items: center;
      gap: 0.5rem;
      color: var(--text-muted);
      font-size: 0.75rem;
      font-weight: 500;
    }

    @media (min-width: 720px) {
      .section-ornament {
        display: flex;
      }
    }

    .section-ornament::before,
    .section-ornament::after {
      content: "";
      width: 40px;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--border-strong));
    }

    .section-ornament::after {
      background: linear-gradient(90deg, var(--border-strong), transparent);
    }

    section {
      margin-top: 4rem;
    }

    section.reveal {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }

    section.reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Services */
    .grid-3 {
      display: grid;
      gap: 1.25rem;
    }

    @media (min-width: 720px) {
      .grid-3 {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .panel {
      position: relative;
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.5rem 1.5rem 1.625rem;
      box-shadow: var(--shadow);
      overflow: hidden;
      transition: box-shadow 0.25s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .panel:hover {
      box-shadow: var(--shadow-md);
      border-color: var(--border-strong);
    }

    .panel--featured {
      border-color: rgba(37, 99, 235, 0.25);
      box-shadow: var(--shadow-md), 0 0 0 1px rgba(37, 99, 235, 0.06);
    }

    .panel--featured::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--brand), var(--teal));
    }

    @media (min-width: 720px) {
      .panel--featured {
        transform: translateY(-4px);
      }
    }

    .panel h3 {
      font-size: 1.0625rem;
      font-weight: 600;
      color: var(--text);
      margin: 0 0 0.5rem;
      letter-spacing: -0.01em;
    }

    .panel p {
      margin: 0;
      font-size: 0.9375rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .panel-icon {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1rem;
      background: var(--bg-subtle);
      border: 1px solid var(--border);
      color: var(--brand);
    }

    .panel-icon svg {
      width: 22px;
      height: 22px;
    }

    /* Process */
    .process-wrap {
      position: relative;
    }

    .process {
      display: grid;
      gap: 0;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--bg);
      box-shadow: var(--shadow);
    }

    @media (min-width: 768px) {
      .process {
        grid-template-columns: repeat(5, 1fr);
      }

      .process--simple {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .step {
      padding: 1.35rem 1.15rem 1.5rem;
      border-bottom: 1px solid var(--border);
      position: relative;
      background: linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%);
    }

    @media (min-width: 768px) {
      .step {
        border-bottom: none;
        border-right: 1px solid var(--border);
      }

      .step:last-child {
        border-right: none;
      }

      .step::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -6px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--bg);
        border: 2px solid var(--border-strong);
        transform: translateY(-50%);
        z-index: 2;
      }

      .step:last-child::after {
        display: none;
      }
    }

    .step-num {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 1.75rem;
      height: 1.75rem;
      padding: 0 0.35rem;
      font-size: 0.6875rem;
      font-weight: 700;
      color: var(--bg);
      background: var(--text);
      border-radius: 6px;
      margin-bottom: 0.65rem;
    }

    .step h3 {
      font-size: 0.9375rem;
      font-weight: 600;
      color: var(--text);
      margin: 0 0 0.375rem;
    }

    .step p {
      margin: 0;
      font-size: 0.8125rem;
      color: var(--text-muted);
      line-height: 1.55;
    }

    /* Quote band */
    .quote-band {
      margin-top: 3.5rem;
      padding: 2rem 1.5rem;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: linear-gradient(120deg, var(--bg-subtle) 0%, var(--bg) 45%, var(--brand-soft) 100%);
      position: relative;
      overflow: hidden;
    }

    .quote-band::before {
      content: "”";
      position: absolute;
      top: -0.2rem;
      right: 1.5rem;
      font-size: 6rem;
      line-height: 1;
      font-family: Georgia, serif;
      color: var(--brand);
      opacity: 0.12;
      pointer-events: none;
    }

    .quote-band blockquote {
      margin: 0;
      position: relative;
      z-index: 1;
    }

    .quote-band p {
      font-size: clamp(1.05rem, 2vw, 1.2rem);
      font-weight: 500;
      color: var(--text);
      line-height: 1.55;
      margin: 0 0 0.75rem;
      max-width: 50ch;
    }

    .quote-band cite {
      font-size: 0.875rem;
      font-style: normal;
      font-weight: 500;
      color: var(--text-muted);
    }

    /* Projects */
    .projects {
      display: grid;
      gap: 1rem;
    }

    @media (min-width: 720px) {
      .projects {
        grid-template-columns: repeat(2, 1fr);
      }

      .project--wide {
        grid-column: span 2;
        display: grid;
        grid-template-columns: minmax(200px, 0.95fr) 1.15fr;
        gap: 1.5rem;
        align-items: center;
      }
    }

    .project {
      position: relative;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      padding: 1.5rem;
      background: var(--bg);
      box-shadow: var(--shadow);
      transition: box-shadow 0.25s ease, border-color 0.2s ease, transform 0.25s ease;
      overflow: hidden;
    }

    .project:hover {
      box-shadow: var(--shadow-md);
      border-color: rgba(37, 99, 235, 0.2);
      transform: translateY(-3px);
    }

    .project-thumb {
      display: none;
      border-radius: 12px;
      min-height: 200px;
      aspect-ratio: 1 / 1;
      box-sizing: border-box;
      padding: 1.25rem;
      background-color: var(--bg-subtle);
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      border: 1px solid var(--border);
    }

    @media (min-width: 720px) {
      .project--wide .project-thumb {
        display: block;
        align-self: stretch;
        min-height: 220px;
      }
    }

    @media (min-width: 960px) {
      .project--wide .project-thumb {
        min-height: 260px;
      }
    }

    /* Logo Studio R2 — plik PNG z assets (szeroki znak, białe tło jak oryginał) */
    .project-thumb--r2 {
      background-color: #ffffff;
      background-image: url("studior2.png");
      aspect-ratio: 2.25 / 1;
      min-height: 150px;
    }

    @media (min-width: 720px) {
      .project--wide .project-thumb--r2 {
        min-height: 165px;
        max-height: 210px;
        align-self: center;
      }
    }

    @media (min-width: 960px) {
      .project--wide .project-thumb--r2 {
        min-height: 175px;
        max-height: 220px;
      }
    }

    .project-thumb--kompres {
      background-color: #f0f4f8;
      background-image: url("kompres.pl.png");
    }

    .project h3 {
      font-size: 1.0625rem;
      font-weight: 600;
      color: var(--text);
      margin: 0 0 0.5rem;
    }

    .project p {
      font-size: 0.875rem;
      color: var(--text-muted);
      margin: 0 0 1rem;
      line-height: 1.6;
    }

    .tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.375rem;
    }

    .tag {
      font-size: 0.6875rem;
      font-weight: 500;
      padding: 0.25rem 0.5rem;
      border-radius: 6px;
      background: var(--bg-subtle);
      color: var(--text-muted);
      border: 1px solid var(--border);
    }

    .project-footer {
      margin-top: 1rem;
      padding-top: 1rem;
      border-top: 1px solid var(--border);
      font-size: 0.875rem;
      font-weight: 500;
    }

    .project-footer a {
      color: var(--brand);
    }

    .project-footer a:hover {
      color: var(--accent);
      text-decoration: none;
    }

    .project-soon {
      display: inline-flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.5rem 0.65rem;
      font-size: 0.9375rem;
      font-weight: 600;
      line-height: 1.35;
      color: var(--text);
      cursor: default;
      user-select: none;
      padding: 0.6rem 1rem;
      border-radius: 10px;
      background: var(--bg);
      border: 2px solid var(--brand);
      box-shadow: var(--shadow-md);
    }

    .project-soon::before {
      content: "Wkrótce";
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--bg);
      background: #1d4ed8;
      padding: 0.32rem 0.55rem;
      border-radius: 6px;
      line-height: 1;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
    }

    /* O mnie — twarz marki */
    .about-me {
      display: grid;
      gap: 2rem;
      align-items: start;
    }

    @media (min-width: 768px) {
      .about-me {
        grid-template-columns: minmax(200px, 280px) 1fr;
        gap: 2.5rem;
        align-items: center;
      }
    }

    .about-me-photo-wrap {
      position: relative;
      margin: 0 auto;
      max-width: 300px;
    }

    @media (min-width: 768px) {
      .about-me-photo-wrap {
        margin: 0;
        max-width: none;
      }
    }

    .about-me-photo {
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-md);
      aspect-ratio: 4 / 5;
      background: linear-gradient(145deg, var(--bg-subtle), var(--brand-soft));
      isolation: isolate;
    }

    .about-me-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.45s ease;
    }

    @media (hover: hover) and (pointer: fine) {
      .about-me-photo:hover img {
        transform: scale(1.03);
      }
    }

    .about-me-photo-fallback {
      display: none;
      align-items: center;
      justify-content: center;
      position: absolute;
      inset: 0;
      padding: 1.25rem;
      text-align: center;
      font-size: 0.8125rem;
      color: var(--text-muted);
      line-height: 1.55;
      background: var(--bg-subtle);
    }

    .about-me-photo-wrap.no-img .about-me-photo-fallback {
      display: flex;
    }

    .about-me-name {
      font-size: clamp(1.35rem, 2.5vw, 1.6rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
      margin: 0 0 0.35rem;
    }

    .about-me-role {
      font-size: 0.9375rem;
      color: var(--text-muted);
      margin: 0 0 1.25rem;
    }

    .about-me-role strong {
      color: var(--brand);
      font-weight: 600;
    }

    .about-me-body p {
      margin: 0 0 1rem;
      font-size: 1rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    .about-me-body p:last-child {
      margin-bottom: 0;
    }

    .passion-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 1.25rem;
    }

    .passion-tags span {
      font-size: 0.8125rem;
      font-weight: 500;
      padding: 0.4rem 0.75rem;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: var(--bg);
      color: var(--text-secondary);
    }

    /* Split about */
    .split {
      display: grid;
      gap: 2rem;
      align-items: start;
    }

    @media (min-width: 768px) {
      .split {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
      }
    }

    .split p {
      margin: 0 0 1rem;
      font-size: 1rem;
      color: var(--text-secondary);
    }

    .split p:last-child {
      margin-bottom: 0;
    }

    .values {
      list-style: none;
      margin: 0;
      padding: 1.25rem 1.25rem 1rem;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: var(--bg);
      box-shadow: var(--shadow);
    }

    .values li {
      display: flex;
      gap: 0.75rem;
      padding: 0.75rem 0;
      border-bottom: 1px solid var(--border);
      font-size: 0.9375rem;
      color: var(--text-secondary);
    }

    .values li:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .values li:first-child {
      padding-top: 0;
    }

    .values-icon {
      flex-shrink: 0;
      width: 22px;
      height: 22px;
      border-radius: 6px;
      background: var(--teal-soft);
      color: var(--teal);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 700;
    }

    .values strong {
      color: var(--text);
      font-weight: 600;
      display: block;
      margin-bottom: 0.125rem;
    }

    /* Contact */
    .contact-block {
      position: relative;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: var(--bg);
      padding: 2.75rem 1.75rem;
      text-align: center;
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }

    .contact-block::before {
      content: "";
      position: absolute;
      top: -50%;
      left: 50%;
      width: 120%;
      height: 120%;
      transform: translateX(-50%);
      background: radial-gradient(circle at center, var(--brand-soft), transparent 55%);
      pointer-events: none;
    }

    .contact-block-inner {
      position: relative;
      z-index: 1;
    }

    .contact-block-logo {
      display: block;
      height: 38px;
      width: auto;
      margin: 0 auto 1.25rem;
    }

    .contact-block p {
      margin: 0 auto 1.5rem;
      max-width: 38ch;
      font-size: 1.0625rem;
      color: var(--text-secondary);
    }

    .socials {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .socials a {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      font-size: 0.9375rem;
      font-weight: 600;
      padding: 0.625rem 1.125rem;
      border-radius: 10px;
      border: 1px solid var(--border-strong);
      background: var(--bg);
      color: var(--text);
    }

    .socials a:hover {
      border-color: var(--brand);
      color: var(--brand);
      background: var(--brand-soft);
    }

    .socials a.social-ig:hover {
      border-color: #e4405f;
      color: #c1356d;
      background: rgba(228, 64, 95, 0.08);
    }

    .socials a.social-fb:hover {
      border-color: #1877f2;
      color: #1877f2;
      background: rgba(24, 119, 242, 0.08);
    }

    .social-icon {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    .footer-socials {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
      margin-top: 0.75rem;
    }

    .footer-socials a {
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--text-muted);
    }

    .footer-socials a:hover {
      color: var(--brand);
    }

    /* Narzędzia — taśma z „życiem” */
    .tools-band {
      position: relative;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      padding: 1.5rem 1.25rem;
      background: linear-gradient(135deg, var(--bg) 0%, var(--bg-subtle) 50%, rgba(37, 99, 235, 0.06) 100%);
      overflow: hidden;
      box-shadow: var(--shadow-md);
    }

    .tools-band::before {
      content: "";
      position: absolute;
      top: -40%;
      right: -10%;
      width: 180px;
      height: 180px;
      border-radius: 50%;
      background: radial-gradient(circle, var(--teal-soft), transparent 70%);
      pointer-events: none;
    }

    .tools-band h3 {
      position: relative;
      margin: 0 0 1rem;
      font-size: 1rem;
      font-weight: 600;
      color: var(--text);
    }

    .tools-scroller {
      position: relative;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      z-index: 1;
    }

    .tool-chip {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.45rem 0.85rem;
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--text-secondary);
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 999px;
      box-shadow: var(--shadow);
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .tool-chip:hover {
      transform: translateY(-3px) scale(1.02);
      border-color: rgba(37, 99, 235, 0.35);
      box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
    }

    .tool-chip i {
      font-style: normal;
      opacity: 0.85;
    }

    /* Partnerzy */
    .partner-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
    }

    @media (min-width: 640px) {
      .partner-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 880px;
        margin-left: auto;
        margin-right: auto;
      }
    }

    .partner-card {
      position: relative;
      padding: 1.25rem 1.125rem;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: var(--bg);
      overflow: hidden;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .partner-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(145deg, transparent 60%, var(--brand-soft));
      opacity: 0;
      transition: opacity 0.25s ease;
    }

    .partner-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .partner-card:hover::before {
      opacity: 1;
    }

    .partner-card > * {
      position: relative;
      z-index: 1;
    }

    .partner-kind {
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--brand);
      margin: 0 0 0.35rem;
    }

    .partner-name {
      font-size: 0.9375rem;
      font-weight: 700;
      color: var(--text);
      margin: 0 0 0.5rem;
      line-height: 1.3;
    }

    .partner-desc {
      margin: 0;
      font-size: 0.8125rem;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .partner-dot {
      display: inline-block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--teal);
      margin-right: 0.35rem;
      vertical-align: middle;
      box-shadow: 0 0 0 3px var(--teal-soft);
    }

    /* Full-bleed marquee */
    .marquee-outer {
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-top: 2rem;
      overflow: hidden;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      background: linear-gradient(90deg, var(--text) 0%, #1e3a5f 50%, var(--text) 100%);
    }

    .marquee-view {
      padding: 0.85rem 0;
      overflow: hidden;
      mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
      -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
    }

    .marquee-track {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      width: max-content;
      will-change: transform;
      animation: marquee-move 95s linear infinite;
    }

    @keyframes marquee-move {
      from {
        transform: translate3d(0, 0, 0);
      }

      to {
        transform: translate3d(-50%, 0, 0);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .marquee-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        max-width: var(--max);
        margin: 0 auto;
        padding: 0.5rem 1rem;
        gap: 0.75rem;
      }

      .marquee-track .marquee-group:last-child {
        display: none;
      }

      .marquee-group {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
        padding-right: 0;
        white-space: normal;
      }

      .marquee-pair {
        flex-wrap: nowrap;
      }
    }

    .marquee-group {
      display: flex;
      flex-shrink: 0;
      align-items: center;
      gap: 1.75rem;
      padding-right: 2.5rem;
      color: rgba(255, 255, 255, 0.95);
      font-size: 0.875rem;
      font-weight: 600;
      white-space: nowrap;
    }

    .marquee-pair {
      display: inline-flex;
      align-items: center;
      gap: 0.65rem;
    }

    .marquee-txt {
      opacity: 0.96;
    }

    .marquee-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      flex-shrink: 0;
    }

    /* Poza kodem — pas z podróżami */
    .life-strip {
      position: relative;
      width: 100vw;
      margin-left: calc(50% - 50vw);
      margin-top: 3rem;
      padding: 2.5rem 1.5rem;
      background:
        radial-gradient(800px 120px at 20% 0%, rgba(255, 255, 255, 0.25), transparent),
        linear-gradient(115deg, #0f172a 0%, #1e40af 42%, #0d9488 100%);
      color: rgba(255, 255, 255, 0.92);
      overflow: hidden;
    }

    .life-strip-inner {
      max-width: var(--max);
      margin: 0 auto;
      display: grid;
      gap: 1.5rem;
      align-items: center;
    }

    @media (min-width: 800px) {
      .life-strip-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
      }
    }

    .life-strip h2 {
      margin: 0 0 0.75rem;
      font-size: clamp(1.35rem, 2.5vw, 1.65rem);
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #fff;
    }

    .life-strip p {
      margin: 0;
      font-size: 1rem;
      line-height: 1.65;
      color: rgba(255, 255, 255, 0.88);
      max-width: 52ch;
    }

    .life-icons {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-top: 1.25rem;
    }

    .life-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.45rem 0.85rem;
      border-radius: 999px;
      font-size: 0.8125rem;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.22);
      backdrop-filter: blur(6px);
    }

    .life-map {
      position: relative;
      min-height: 200px;
      border-radius: var(--radius-lg);
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: rgba(0, 0, 0, 0.15);
      overflow: hidden;
    }

    .life-map-grid {
      position: absolute;
      inset: 0;
      background-image:
        radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.35) 0 3px, transparent 4px),
        radial-gradient(circle at 55% 55%, rgba(255, 255, 255, 0.45) 0 3px, transparent 4px),
        radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.3) 0 3px, transparent 4px),
        radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.25) 0 2px, transparent 3px),
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
      background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 24px 24px, 24px 24px;
      opacity: 0.9;
    }

    .life-plane {
      position: absolute;
      top: 38%;
      left: 0;
      width: 28px;
      height: 28px;
      color: #fff;
      opacity: 0.95;
      animation: plane-drift 10s ease-in-out infinite;
    }

    @keyframes plane-drift {
      0%,
      100% {
        left: 8%;
        transform: translateY(0) rotate(-8deg);
      }
      50% {
        left: 72%;
        transform: translateY(-12px) rotate(4deg);
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .life-plane {
        animation: none;
        left: 45%;
        top: 40%;
      }
    }

    /* Dekor: pływające kółka przy sekcji partnerów */
    .section-sparkle {
      position: relative;
    }

    .section-sparkle::after {
      content: "";
      position: absolute;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: radial-gradient(circle, var(--brand-mid), transparent 65%);
      top: -20px;
      right: -30px;
      pointer-events: none;
      z-index: 0;
      opacity: 0.7;
    }

    .section-sparkle .section-head,
    .section-sparkle .partner-grid,
    .section-sparkle .marquee-outer {
      position: relative;
      z-index: 1;
    }

    footer {
      margin-top: 4.5rem;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
      text-align: center;
      font-size: 0.8125rem;
      color: var(--text-muted);
    }

    footer strong {
      color: var(--text);
      font-weight: 600;
    }

    .footer-legal {
      max-width: 52rem;
      margin: 1.25rem auto 0;
      padding: 0 0.5rem;
      font-size: 0.75rem;
      line-height: 1.55;
      color: var(--text-muted);
    }

    .contact-email-line {
      margin: 0 0 1rem;
      font-size: 1.0625rem;
      font-weight: 600;
    }

    .contact-email-line a {
      color: var(--brand);
      word-break: break-all;
    }

    .contact-privacy {
      margin: 1.35rem 0 0;
      padding-top: 1.1rem;
      border-top: 1px solid var(--border);
      font-size: 0.8125rem;
      line-height: 1.55;
      color: var(--text-muted);
    }

    .contact-privacy a {
      font-weight: 600;
      color: var(--brand);
    }

    @media (max-width: 900px) {
      .nav-links {
        gap: 1.15rem;
      }
    }

    @media (max-width: 640px) {
      nav {
        flex-wrap: wrap;
        row-gap: 0.5rem;
      }

      .logo {
        order: 1;
      }

      .nav-cta {
        order: 2;
        margin-left: auto;
      }

      .nav-links {
        order: 3;
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        gap: 1.1rem;
        padding: 0.65rem 0 0.15rem;
        margin: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-top: 1px solid var(--border);
        mask-image: linear-gradient(90deg, transparent 0%, black 2%, black 98%, transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 2%, black 98%, transparent 100%);
      }

      .nav-links::-webkit-scrollbar {
        display: none;
      }

      .nav-links a {
        flex-shrink: 0;
      }

      .stats-strip {
        grid-template-columns: 1fr;
      }

      .stat {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 1rem;
      }

      .stat:last-child {
        border-bottom: none;
      }
    }

    /* CTA oferta / stack teaser */
    .cta-split {
      margin-top: 3rem;
    }

    .cta-split-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1.25rem;
      padding: 1.5rem 1.5rem;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: linear-gradient(135deg, var(--bg) 0%, var(--bg-subtle) 100%);
      box-shadow: var(--shadow);
    }

    .cta-split-title {
      font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    }

    .cta-split-intro {
      margin-bottom: 0;
    }

    .cta-mid {
      margin-top: 3rem;
    }

    .cta-mid-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1.5rem;
      padding: 1.75rem 1.5rem;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: linear-gradient(145deg, var(--brand-soft) 0%, var(--bg) 42%, var(--bg-subtle) 100%);
      box-shadow: var(--shadow-md);
    }

    .cta-mid-copy {
      flex: 1 1 18rem;
      min-width: 0;
    }

    .cta-mid-title {
      font-size: clamp(1.2rem, 2.4vw, 1.45rem);
      margin-bottom: 0.35rem;
    }

    .cta-mid-intro {
      margin-bottom: 0;
    }

    .cta-mid-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      flex-shrink: 0;
    }

    .trust-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
    }

    @media (min-width: 720px) {
      .trust-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    .trust-tile {
      padding: 1.35rem 1.25rem;
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      background: var(--bg);
      box-shadow: var(--shadow);
    }

    .trust-tile h3 {
      margin: 0 0 0.5rem;
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--text);
    }

    .trust-tile p {
      margin: 0;
      font-size: 0.875rem;
      color: var(--text-muted);
      line-height: 1.55;
    }

    .faq-list {
      max-width: 720px;
      margin: 0 auto;
    }

    .faq-item {
      border: 1px solid var(--border);
      border-radius: var(--radius);
      margin-bottom: 0.65rem;
      background: var(--bg);
      overflow: hidden;
    }

    .faq-item summary {
      list-style: none;
      cursor: pointer;
      padding: 1rem 1.15rem;
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--text);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      transition: background-color 0.22s ease;
    }

    .faq-item summary:hover {
      background: var(--bg-subtle);
    }

    .faq-item[open] summary {
      background: var(--bg-subtle);
    }

    .faq-item summary::-webkit-details-marker {
      display: none;
    }

    .faq-item summary::after {
      content: "+";
      font-weight: 700;
      color: var(--brand);
      font-size: 1.1rem;
      flex-shrink: 0;
      transition: color 0.2s ease, opacity 0.2s ease;
    }

    .faq-item[open] summary::after {
      content: "–";
    }

    .faq-a {
      padding: 0 1.15rem 1.1rem;
      font-size: 0.875rem;
      color: var(--text-secondary);
      line-height: 1.6;
      border-top: 1px solid var(--border);
      padding-top: 0.85rem;
    }

    .faq-a a {
      font-weight: 600;
      color: var(--brand);
    }

    .faq-template {
      font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
      font-size: 0.8125rem;
      line-height: 1.55;
      padding: 1rem 1.15rem;
      margin: 0 0 1.5rem;
      border-radius: var(--radius);
      border: 1px solid var(--border);
      background: var(--bg-subtle);
      color: var(--text-secondary);
      overflow-x: auto;
      white-space: pre-wrap;
      word-break: break-word;
    }

    .testimonial-row {
      display: grid;
      gap: 1rem;
    }

    @media (min-width: 720px) {
      .testimonial-row {
        grid-template-columns: repeat(2, 1fr);
      }

      .testimonial-row:has(.testimonial:only-child) {
        grid-template-columns: 1fr;
        max-width: 38rem;
        margin-left: auto;
        margin-right: auto;
      }
    }

    .testimonial {
      margin: 0;
      padding: 1.5rem;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      background: var(--bg-subtle);
    }

    .testimonial-stars {
      display: flex;
      gap: 0.15rem;
      margin: 0 0 0.85rem;
      font-size: 1.35rem;
      line-height: 1;
      color: #f59e0b;
      letter-spacing: 0.02em;
    }

    .testimonial-stars span {
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .testimonial p {
      margin: 0 0 0.85rem;
      font-size: 0.9375rem;
      color: var(--text-secondary);
      font-style: italic;
      line-height: 1.65;
    }

    .testimonial cite {
      font-size: 0.8125rem;
      font-style: normal;
      font-weight: 600;
      color: var(--text-muted);
    }

    /* Podstrony: nagłówek strony + treść artykułu */
    .page-hero {
      padding: 2.5rem 0 2rem;
      border-bottom: 1px solid var(--border);
      background: linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
    }

    .page-hero h1 {
      margin: 0 0 0.65rem;
      font-size: clamp(1.65rem, 3.5vw, 2.1rem);
      letter-spacing: -0.03em;
      color: var(--text);
    }

    .page-hero .lead {
      margin: 0;
      max-width: 60ch;
      color: var(--text-secondary);
      font-size: 1.0625rem;
      line-height: 1.65;
    }

    .prose {
      max-width: 680px;
      margin: 0 auto;
      padding: 0 0 3rem;
    }

    .prose h2 {
      margin: 2rem 0 0.75rem;
      font-size: 1.2rem;
      color: var(--text);
    }

    .prose h2:first-child {
      margin-top: 0;
    }

    .prose p,
    .prose ul {
      color: var(--text-secondary);
      line-height: 1.7;
      margin: 0 0 1rem;
    }

    .prose ul {
      padding-left: 1.25rem;
    }

    .prose code {
      font-size: 0.86em;
      padding: 0.12em 0.4em;
      border-radius: 6px;
      background: var(--bg-subtle);
      border: 1px solid var(--border);
      font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
      color: var(--text);
    }

    .prose kbd {
      font-size: 0.86em;
      padding: 0.1em 0.4em;
      border-radius: 5px;
      background: var(--text);
      color: var(--bg);
      font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
      font-weight: 600;
    }

    .back-link {
      display: inline-block;
      margin-bottom: 1.5rem;
      font-size: 0.875rem;
      font-weight: 600;
    }

    /* —— Motion (hero, dekor, stagger po scrollu) —— */
    @keyframes motion-fade-up {
      from {
        opacity: 0;
        transform: translateY(14px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes motion-fade-in {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    @keyframes motion-blob-a {
      0%,
      100% {
        transform: translate(0, 0) scale(1);
      }

      50% {
        transform: translate(-10px, 12px) scale(1.04);
      }
    }

    @keyframes motion-blob-b {
      0%,
      100% {
        transform: translate(0, 0) scale(1);
      }

      50% {
        transform: translate(14px, -8px) scale(1.06);
      }
    }

    @keyframes motion-card-float {
      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-6px);
      }
    }

    @keyframes motion-mock-pulse {
      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.55;
      }
    }

    @keyframes motion-eyebrow-dot {
      0%,
      100% {
        transform: scale(1);
        box-shadow: 0 0 0 3px var(--teal-soft);
      }

      50% {
        transform: scale(1.12);
        box-shadow: 0 0 0 5px var(--teal-soft);
      }
    }

    @media (prefers-reduced-motion: no-preference) {
      .hero-copy > * {
        opacity: 0;
        animation: motion-fade-up 0.58s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      }

      .hero-copy > *:nth-child(1) {
        animation-delay: 0.04s;
      }

      .hero-copy > *:nth-child(2) {
        animation-delay: 0.1s;
      }

      .hero-copy > *:nth-child(3) {
        animation-delay: 0.18s;
      }

      .hero-copy > *:nth-child(4) {
        animation-delay: 0.24s;
      }

      .hero-copy > *:nth-child(5) {
        animation-delay: 0.3s;
      }

      .hero-copy > *:nth-child(6) {
        animation-delay: 0.36s;
      }

      .hero-visual-blob {
        animation: motion-blob-a 14s ease-in-out infinite;
      }

      .hero-visual-blob2 {
        animation: motion-blob-b 18s ease-in-out infinite;
      }

      .hero-visual-card {
        animation: motion-card-float 7s ease-in-out infinite;
        animation-delay: 0.5s;
      }

      .hero-mock-lines i:nth-child(1) {
        animation: motion-mock-pulse 3.2s ease-in-out infinite;
        animation-delay: 0.2s;
      }

      .hero-mock-lines i:nth-child(2) {
        animation: motion-mock-pulse 3.2s ease-in-out infinite;
        animation-delay: 0.9s;
      }

      .hero-mock-lines i:nth-child(3) {
        animation: motion-mock-pulse 3.2s ease-in-out infinite;
        animation-delay: 1.5s;
      }

      .hero-eyebrow::before {
        animation: motion-eyebrow-dot 2.8s ease-in-out infinite;
      }

      section.reveal:not(.is-visible) .grid-3 .panel {
        opacity: 0;
      }

      section.reveal.is-visible .grid-3 .panel {
        animation: motion-fade-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
      }

      section.reveal.is-visible .grid-3 .panel:nth-child(1) {
        animation-delay: 0.05s;
      }

      section.reveal.is-visible .grid-3 .panel:nth-child(2) {
        animation-delay: 0.12s;
      }

      section.reveal.is-visible .grid-3 .panel:nth-child(3) {
        animation-delay: 0.19s;
      }

      section.reveal:not(.is-visible) .projects .project {
        opacity: 0;
      }

      section.reveal.is-visible .projects .project:nth-child(1) {
        animation: motion-fade-up 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
      }

      section.reveal.is-visible .projects .project:nth-child(2) {
        animation: motion-fade-up 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.14s forwards;
      }

      section.reveal:not(.is-visible) .process .step {
        opacity: 0;
      }

      section.reveal.is-visible .process .step:nth-child(1) {
        animation: motion-fade-in 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
      }

      section.reveal.is-visible .process .step:nth-child(2) {
        animation: motion-fade-in 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
      }

      section.reveal.is-visible .process .step:nth-child(3) {
        animation: motion-fade-in 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.19s forwards;
      }

      section.reveal:not(.is-visible) .testimonial-row .testimonial {
        opacity: 0;
      }

      section.reveal.is-visible .testimonial-row .testimonial {
        animation: motion-fade-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .hero-copy > *,
      .hero-visual-blob,
      .hero-visual-blob2,
      .hero-visual-card,
      .hero-mock-lines i,
      .hero-eyebrow::before {
        animation: none !important;
      }

      section.reveal .grid-3 .panel,
      section.reveal .projects .project,
      section.reveal .process .step,
      section.reveal .testimonial-row .testimonial {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
      }

      header {
        transition: none !important;
      }
    }

    /* Baner cookies */
    body.cookie-consent-open {
      overflow: hidden;
    }

    .cookie-consent {
      position: fixed;
      inset: 0;
      z-index: 200;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding: 1rem;
      padding-bottom: max(1rem, env(safe-area-inset-bottom));
      background: rgba(15, 23, 42, 0.48);
      backdrop-filter: blur(5px);
    }

    .cookie-consent__panel {
      width: 100%;
      max-width: 520px;
      max-height: min(88vh, 520px);
      overflow: auto;
      padding: 1.35rem 1.35rem 1.25rem;
      border-radius: var(--radius-lg);
      background: var(--bg);
      border: 1px solid var(--border-strong);
      box-shadow: var(--shadow-float);
    }

    .cookie-consent__title {
      margin: 0 0 0.65rem;
      font-size: 1.25rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--text);
    }

    .cookie-consent__text {
      margin: 0 0 1.15rem;
      font-size: 0.9375rem;
      line-height: 1.65;
      color: var(--text-secondary);
    }

    .cookie-consent__text a {
      font-weight: 600;
      color: var(--brand);
    }

    .cookie-consent__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.65rem;
    }

    .cookie-consent__btn {
      flex: 1 1 auto;
      min-width: min(100%, 140px);
    }

    @media (min-width: 480px) {
      .cookie-consent {
        align-items: center;
      }
    }

    /* Dokumenty prawne: spis treści + treść */
    .legal-doc {
      padding: 2rem 0 4rem;
    }

    .legal-doc__grid {
      display: grid;
      gap: 2rem;
      align-items: start;
    }

    @media (min-width: 900px) {
      .legal-doc__grid {
        grid-template-columns: minmax(220px, 280px) 1fr;
        gap: 2.5rem;
      }
    }

    .legal-toc {
      margin: 0;
      padding: 1.25rem 1.25rem 1.35rem;
      border-radius: var(--radius-lg);
      background: var(--bg);
      border: 1px solid var(--border);
      box-shadow: var(--shadow);
      border-left: 4px solid #c9a227;
    }

    @media (min-width: 900px) {
      .legal-toc {
        position: sticky;
        top: 5.5rem;
      }
    }

    .legal-toc__label {
      margin: 0 0 1rem;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--text-muted);
    }

    .legal-toc ol {
      margin: 0;
      padding: 0 0 0 1.25rem;
      font-size: 0.875rem;
      color: var(--text-secondary);
      line-height: 1.75;
    }

    .legal-toc a {
      font-weight: 500;
      color: var(--text);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .legal-toc a:hover {
      color: var(--brand);
    }

    .legal-callout {
      display: flex;
      gap: 1rem;
      align-items: flex-start;
      margin: 0 0 2rem;
      padding: 1.1rem 1.15rem;
      border-radius: var(--radius);
      border: 1px solid #6ee7b7;
      background: #ecfdf5;
      color: #065f46;
      font-size: 0.9375rem;
      line-height: 1.65;
    }

    .legal-callout__icon {
      flex-shrink: 0;
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 8px;
      background: #059669;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 0.1rem;
    }

    .legal-callout__icon svg {
      width: 1.1rem;
      height: 1.1rem;
      display: block;
    }

    .legal-prose h2 {
      scroll-margin-top: 5.5rem;
    }

    .legal-prose-actions {
      margin-top: 1rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 0.75rem;
    }

    @media (prefers-reduced-motion: reduce) {
      .cookie-consent {
        backdrop-filter: none;
      }
    }
