/* 404.tf — Atlas warsztatu, D-404-30. Tylko body.hub-atlas; site.css pozostaje bez zmian. */
.hub-atlas {
  --atlas-desk: #16202b;
  --atlas-desk-text: #d9d2bc;
  --atlas-blue-text: #a9c1e2;
  background: var(--atlas-desk);
  line-height: 1.55;
}
.hub-atlas .wrap { max-width: 1280px; padding: 0 40px; }
.hub-atlas a { text-underline-offset: .2em; }
.hub-atlas a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.hub-atlas img { display: block; width: 100%; height: auto; }
.hub-atlas picture { display: block; }
.hub-atlas p { max-width: none; }
.hub-atlas .atlas-arrow { flex: none; vertical-align: middle; }
.hub-atlas .atlas-skip { position: absolute; left: 40px; top: -100px; z-index: 5; padding: 12px 18px; background: var(--paper); }
.hub-atlas .atlas-skip:focus { top: 10px; }
.hub-atlas .atlas-topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding: 12px 0; color: var(--atlas-desk-text); font: 500 13px/1.5 var(--mono); }
.hub-atlas .atlas-topbar a { color: inherit; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; text-decoration: none; }
.hub-atlas .atlas-topbar a:hover { text-decoration: underline; }
.hub-atlas .atlas-logo { margin-right: auto; font-size: 17px; }
.hub-atlas .atlas-logo span { color: var(--atlas-blue-text); }
.hub-atlas .atlas-languages { display: flex; gap: 2px; }
.hub-atlas .atlas-languages [aria-current] { text-decoration: underline; text-decoration-thickness: 2px; color: var(--paper); }
.hub-atlas .atlas-sheet { position: relative; isolation: isolate; margin: 0 0 36px; background: var(--paper); padding: 48px; box-shadow: 0 16px 34px #0005; }
.hub-atlas .atlas-sheet::before { content: ''; position: absolute; inset: 10px -7px -10px 7px; background: var(--paper-2); z-index: -2; }
.hub-atlas .atlas-sheet::after { content: ''; position: absolute; inset: 0; background: var(--paper); z-index: -1; }
.hub-atlas .atlas-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 36px; padding-right: 22px; }
.hub-atlas .atlas-stamps { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 26px; }
.hub-atlas .atlas-stamp { display: inline-block; margin: 0; padding: 6px 10px; border: 1px solid currentColor; color: var(--navy); font: 500 12px/1.5 var(--mono); letter-spacing: .045em; }
.hub-atlas h1 { font-size: clamp(40px, 5.1vw, 66px); text-wrap: balance; }
.hub-atlas .atlas-sub { font-size: 19px; margin: 22px 0 18px; max-width: 36ch; }
.hub-atlas .atlas-link, .hub-atlas .atlas-button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 10px 0; font: 500 14px/1.5 var(--mono); }
.hub-atlas .atlas-button { padding: 12px 18px; background: var(--navy); color: var(--paper); text-decoration: none; border: 1px solid var(--navy); }
.hub-atlas .atlas-button:hover { background: var(--ink); border-color: var(--ink); }
.hub-atlas .atlas-total { font-size: 12px; border: 1px solid currentColor; padding: 1px 5px; }
.hub-atlas .atlas-hero-project { margin-right: -38px; }
.hub-atlas .atlas-print { margin: 0; padding: 10px; background: #fff; box-shadow: 0 10px 22px #0003; }
.hub-atlas figcaption { padding: 8px 2px 0; color: var(--ink-muted); font: 400 12px/1.5 var(--mono); }
.hub-atlas .atlas-hero-caption { position: relative; margin: -1px 24px 0 -18px; padding: 22px 26px; background: var(--navy); color: var(--paper); }
.hub-atlas .atlas-hero-caption h2 { font-size: 27px; margin-bottom: 10px; }
.hub-atlas .atlas-hero-caption p { margin-bottom: 12px; font-size: 16px; }
.hub-atlas .atlas-hero-caption .atlas-link { color: var(--paper); }
.hub-atlas .atlas-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.hub-atlas .atlas-meta { margin: 0 0 10px; color: var(--ink-muted); font: 500 12px/1.6 var(--mono); }
.hub-atlas .atlas-shortcuts { padding-block: 20px; }
.hub-atlas .atlas-shortcuts .atlas-meta { margin-bottom: 4px; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.hub-atlas .atlas-shortcuts ul { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.hub-atlas .atlas-shortcuts a { display: flex; align-items: center; min-height: 44px; min-width: 44px; font-size: 15px; }
.hub-atlas .atlas-section-title { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; margin: 0 0 32px; color: var(--navy); font: 500 17px/1.5 var(--mono); }
.hub-atlas .atlas-section-title span { font-size: 12px; letter-spacing: .08em; color: var(--ink-muted); }
.hub-atlas .atlas-section-title::after { content: ''; flex: 1; border-bottom: 1px solid var(--line); }
.hub-atlas .atlas-spread { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; margin-bottom: 64px; }
.hub-atlas .atlas-spread:last-child { margin-bottom: 0; }
.hub-atlas .atlas-panel { position: relative; margin-left: -32px; padding: 30px; background: var(--navy); color: var(--paper); }
.hub-atlas .atlas-panel .atlas-meta { color: var(--atlas-blue-text); }
.hub-atlas .atlas-panel h3 { font-size: clamp(28px, 3vw, 37px); line-height: 1.12; margin: 0 0 16px; }
.hub-atlas .atlas-panel p { font-size: 17px; }
.hub-atlas .atlas-panel .atlas-meta { font-size: 12px; }
.hub-atlas .atlas-panel .atlas-stamp, .hub-atlas .atlas-panel a, .hub-atlas .atlas-panel .atlas-note { color: var(--paper); }
.hub-atlas .atlas-panel .atlas-actions { margin-top: 16px; }
.hub-atlas .atlas-spread--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.hub-atlas .atlas-spread--reverse .atlas-print { grid-column: 2; grid-row: 1; }
.hub-atlas .atlas-spread--reverse .atlas-panel { grid-column: 1; grid-row: 1; margin: 0 -32px 0 0; }
.hub-atlas .atlas-spread--portrait { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); max-width: 900px; margin-inline: auto; }
.hub-atlas .atlas-index, .hub-atlas .atlas-entry { scroll-margin-top: 20px; }
.hub-atlas .atlas-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-atlas .atlas-filter { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--navy); color: var(--navy); text-decoration: none; font: 500 13px/1.5 var(--mono); }
.hub-atlas .atlas-filter:hover { text-decoration: underline; }
.hub-atlas .atlas-filter[aria-current] { background: var(--navy); color: var(--paper); }
.hub-atlas .atlas-result, .hub-atlas .atlas-notice { margin: 18px 0; color: var(--ink-muted); font: 400 13px/1.6 var(--mono); }
.hub-atlas .atlas-list { border-top: 1.5px solid var(--ink); }
.hub-atlas .atlas-entry { display: grid; grid-template-columns: minmax(0, 1fr) 236px; align-items: center; gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.hub-atlas .atlas-entry--text { grid-template-columns: 1fr; }
.hub-atlas .atlas-entry h3 { font-size: 26px; line-height: 1.2; margin-bottom: 8px; }
.hub-atlas .atlas-entry p { max-width: 65ch; margin-bottom: 10px; }
.hub-atlas .atlas-entry .atlas-meta { margin-bottom: 7px; }
.hub-atlas .atlas-note { color: var(--ink-muted); font-size: 14px; }
.hub-atlas .atlas-state { color: var(--navy); border: 1px solid currentColor; padding: 4px 8px; font: 400 12px/1.5 var(--mono); }
.hub-atlas .atlas-state--beta { color: #805310; }
.hub-atlas .atlas-state--prelaunch { color: var(--ink-muted); border-style: dashed; }
.hub-atlas .atlas-mini { margin: 0; padding: 6px; background: #fff; }
.hub-atlas .atlas-pixels { image-rendering: pixelated; }
.hub-atlas .atlas-empty { padding-top: 22px; }
.hub-atlas .atlas-footer { padding-block: 28px; }
.hub-atlas .atlas-footer footer { padding: 0; }
.hub-atlas .titleblock { margin: 0; }
.hub-atlas .titleblock .cell { padding: 14px; }
.hub-atlas .titleblock .k { line-height: 1.5; }
.hub-atlas .titleblock .w { display: flex; align-items: center; min-height: 44px; }
.hub-atlas .titleblock a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1000px) and (min-width: 761px) {
  .hub-atlas .wrap { padding-inline: 24px; }
  .hub-atlas .atlas-sheet { padding: 30px; }
  .hub-atlas .atlas-hero { gap: 24px; }
  .hub-atlas .atlas-hero-project { margin-right: -38px; }
  .hub-atlas h1 { font-size: 43px; }
  .hub-atlas .atlas-panel { padding: 24px; }
}
@media (max-width: 760px) {
  .hub-atlas { font-size: 16px; }
  .hub-atlas .wrap { padding-inline: 12px; }
  .hub-atlas .atlas-topbar { gap: 8px 14px; }
  .hub-atlas .atlas-sheet { padding: 28px 20px; margin-bottom: 28px; }
  .hub-atlas .atlas-sheet::before { inset: 7px -4px -7px 4px; }
  .hub-atlas .atlas-hero { grid-template-columns: 1fr; gap: 24px; }
  .hub-atlas h1 { font-size: clamp(38px, 10.5vw, 52px); }
  .hub-atlas .atlas-stamps { margin-bottom: 20px; }
  .hub-atlas .atlas-stamp { font-size: 11.5px; padding: 5px 8px; }
  .hub-atlas .atlas-sub { font-size: 18px; margin-block: 18px 10px; }
  .hub-atlas .atlas-hero-project { margin: 0 -10px; }
  .hub-atlas .atlas-print { padding: 8px; }
  .hub-atlas .atlas-hero-caption { margin: 0; padding: 20px 18px; }
  .hub-atlas .atlas-hero-caption h2 { font-size: 25px; }
  .hub-atlas .atlas-shortcuts { padding-block: 18px; }
  .hub-atlas .atlas-shortcuts ul { gap: 0 18px; }
  .hub-atlas .atlas-section-title { font-size: 16px; gap: 6px 12px; margin-bottom: 24px; }
  .hub-atlas .atlas-spread, .hub-atlas .atlas-spread--reverse, .hub-atlas .atlas-spread--portrait { grid-template-columns: 1fr; margin-bottom: 36px; }
  .hub-atlas .atlas-spread:last-child { margin-bottom: 0; }
  .hub-atlas .atlas-spread--reverse .atlas-print, .hub-atlas .atlas-spread--reverse .atlas-panel { grid-column: auto; grid-row: auto; }
  .hub-atlas .atlas-panel, .hub-atlas .atlas-spread--reverse .atlas-panel { margin: 0; padding: 22px; }
  .hub-atlas .atlas-panel h3 { font-size: 28px; }
  .hub-atlas .atlas-entry { grid-template-columns: 1fr; gap: 18px; padding: 24px 0; }
  .hub-atlas .atlas-entry h3 { font-size: 24px; }
  .hub-atlas .atlas-mini { width: 252px; max-width: 100%; }
  .hub-atlas .atlas-filter { padding-inline: 12px; }
  .hub-atlas .atlas-actions { gap: 6px 16px; }
  .hub-atlas .titleblock { grid-template-columns: 1fr; }
  .hub-atlas .titleblock .cell:nth-child(n) { grid-column: auto; border-right: 0; border-bottom: 1px solid var(--ink); }
  .hub-atlas .titleblock .cell:last-child { border-bottom: 0; }
}

/* QH2 P1: obrys fokusu na wypelnionym przycisku i aktywnym filtrze mial kolor papieru i znikal na papierowym tle */
.hub-atlas .atlas-button:focus-visible,
.hub-atlas .atlas-filter[aria-current]:focus-visible { outline-color: var(--navy); }

/* QH2 P2: drobne podpisy i metadane na telefonie 13 px zamiast 12 px */
@media (max-width: 760px) {
  .hub-atlas figcaption, .hub-atlas .atlas-meta, .hub-atlas .atlas-panel .atlas-meta, .hub-atlas .atlas-state,
  .hub-atlas .atlas-section-title span, .hub-atlas .atlas-total { font-size: 13px; }
}
