/* ═══════════════════════════════════════════════════════
   REWIZJE GALERIA — main.css
   Extracted & extended from design-02-immersja.html
═══════════════════════════════════════════════════════ */

/* ── FONTS ── */
@font-face { font-family:'ATSurt'; src:url('../surtfont/AT Surt Light.otf') format('opentype'); font-weight:300; font-display:swap; }
@font-face { font-family:'ATSurt'; src:url('../surtfont/AT Surt Regular.otf') format('opentype'); font-weight:400; font-display:swap; }
@font-face { font-family:'ATSurt'; src:url('../surtfont/AT Surt Medium.otf') format('opentype'); font-weight:500; font-display:swap; }
@font-face { font-family:'ATSurt'; src:url('../surtfont/AT Surt SemiBold.otf') format('opentype'); font-weight:600; font-display:swap; }
@font-face { font-family:'ATSurt'; src:url('../surtfont/AT Surt Bold.otf') format('opentype'); font-weight:700; font-display:swap; }

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

/* ── CSS VARIABLES ── */
:root {
  --blue:       #2e3092;
  --blue-hover: #1e206e;
  --black:      #111;
  --white:      #fff;
  --cream:      #f4f1ec;
  --warm:       #e8e4de;
  --gray:       #555;
  --text-muted: #aaa;        /* bardzo drugoplanowe (np. „przystanek", meta w kontakt.html) */
  --border:     #e0ddd8;

  /* Semantyczne — używane punktowo dla feedbacku */
  --success:    #1f6f3a;
  --danger:     #c0392b;
  --warning:    #b7791f;

  --f: 'ATSurt','Helvetica Neue',Arial,sans-serif;
}

/* ── BASE ── */
html { scroll-behavior:smooth; }
body { font-family:var(--f); color:var(--black); background:var(--white); -webkit-font-smoothing:antialiased; line-height:1; }
a { color:inherit; }
img { display:block; max-width:100%; }

/* ── A11Y: widoczny focus dla nawigacji klawiaturą ── */
:focus { outline:none; }
:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:3px;
  border-radius:2px;
}
/* Dla pól formularza — focus ramkowy nie outline, żeby nie gryzł się z własnymi stylami */
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline:2px solid var(--blue);
  outline-offset:0;
}

/* ── A11Y: Skip link — widoczny dopiero po focus (Tab) ── */
.skip-link {
  position:absolute;
  top:-40px; left:8px;
  z-index:200;
  background:var(--blue); color:#fff;
  padding:10px 16px;
  font-size:14px; font-weight:500;
  text-decoration:none;
  transition:top .2s;
}
.skip-link:focus,
.skip-link:focus-visible { top:8px; }

/* ── A11Y: Reduced motion — wyłącz animacje dla użytkowników którzy tego chcą ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker-inner { animation: none !important; }
  .hero-bg { transform: none !important; }
}

::-webkit-scrollbar { width:3px; }
::-webkit-scrollbar-thumb { background:rgba(46,48,146,.35); }

/* ── NAV ── */
nav {
  position:sticky; top:0; z-index:100;
  background:var(--blue);
  height:72px;
  display:flex; align-items:center;
  padding:0 48px; gap:40px;
}
.nav-logo img { height:26px; display:block; filter:invert(1); mix-blend-mode:screen; }
.nav-links { display:flex; align-items:center; gap:36px; list-style:none; margin-left:auto; }
.nav-links a { font-size:14px; font-weight:400; letter-spacing:.14em; text-transform:uppercase; color:rgba(255,255,255,.85); text-decoration:none; transition:color .2s; }
.nav-links a:hover, .nav-links a.active { color:#fff; }
.nav-lang { display:flex; gap:6px; font-size:14px; color:rgba(255,255,255,.65); }
.nav-lang .active { color:#fff; font-weight:600; }
.nav-lang .sep { color:rgba(255,255,255,.35); }

/* Hamburger (mobile) */
.nav-hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; background:none; border:none; }
.nav-hamburger span { display:block; width:22px; height:1px; background:rgba(255,255,255,.7); transition:all .3s; }
.nav-mobile-open .nav-links { display:flex; }

/* ── HERO ──
   Wysokość liczona od małego viewportu (svh) zamiast vh — uniknie przeskoku
   gdy mobilny browser chowa URL bar. Hero musi zmieścić się ze wszystkim
   (eyebrow, tytuł, artysta, daty, przyciski) bez scrollowania, razem z nav 72px. */
.hero {
  position:relative;
  min-height:calc(100svh - 72px);
  max-height:calc(100svh - 72px);
  overflow:hidden;
  background:
    linear-gradient(135deg, rgba(46,48,146,.9) 0%, rgba(17,17,17,.75) 100%),
    var(--blue);
  display:flex; align-items:flex-end;
}
.hero-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  z-index:0;
  transform:scale(1.02);
}
.hero-overlay {
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(17,17,17,.05) 0%, rgba(17,17,17,.25) 40%, rgba(17,17,17,.75) 100%),
    linear-gradient(90deg, rgba(46,48,146,.25) 0%, rgba(46,48,146,0) 40%);
  z-index:1;
}
.hero-content {
  position:relative; z-index:2;
  padding:56px 48px;
  max-width:min(860px, 70vw);
  display:flex; flex-direction:column; align-items:flex-start;
}
.hero-eyebrow { font-size:13px; font-weight:500; letter-spacing:.28em; text-transform:uppercase; color:rgba(255,255,255,.82); margin-bottom:20px; display:flex; align-items:center; gap:14px; }
.hero-eyebrow::after { content:''; width:64px; height:1px; background:rgba(255,255,255,.45); }
.hero-title {
  font-size:clamp(36px, 4.6vw, 72px);
  font-weight:300; line-height:1.02; color:#fff;
  margin-bottom:16px; letter-spacing:-.01em;
  max-width:14ch;
}
.hero-artist { font-size:clamp(18px, 1.6vw, 24px); font-weight:300; color:rgba(255,255,255,.8); margin-bottom:6px; }
.hero-dates { font-size:14px; font-weight:400; letter-spacing:.14em; color:rgba(255,255,255,.55); margin-bottom:28px; }
.hero-actions { display:flex; gap:14px; align-items:center; flex-wrap:wrap; }
.btn-hero { display:inline-block; font-family:var(--f); font-size:13px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; text-decoration:none; padding:14px 28px; background:var(--blue); color:#fff; border:1px solid var(--blue); transition:all .3s; cursor:pointer; }
.btn-hero:hover { background:#252880; border-color:#252880; }
.btn-hero-dark { display:inline-block; font-family:var(--f); font-size:13px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; text-decoration:none; padding:14px 28px; background:var(--black); color:#fff; border:1px solid var(--black); transition:all .3s; cursor:pointer; }
.btn-hero-dark:hover { background:#333; border-color:#333; }

/* ── PAGE HERO — chapter divider, nie nagłówek strony ── */
.page-hero {
  background:var(--cream);
  min-height:200px;
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  padding:48px 24px;
  border-bottom:1px solid var(--border);
  text-align:center;
}
.page-hero-label { font-size:12px; font-weight:500; letter-spacing:.3em; text-transform:uppercase; color:var(--blue); margin-bottom:18px; }
.page-hero-title { font-size:clamp(36px,5vw,72px); font-weight:300; line-height:.96; color:var(--black); letter-spacing:-.015em; }
.page-hero-sub { font-size:18px; font-weight:300; color:#444; margin-top:14px; line-height:1.65; max-width:620px; }

/* ── TICKER ── */
.ticker { background:#fff; border-bottom:1px solid var(--border); padding:13px 0; overflow:hidden; }
.ticker-inner { display:flex; gap:72px; white-space:nowrap; animation:tick 28s linear infinite; }
@keyframes tick { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-item { font-size:14px; font-weight:400; letter-spacing:.13em; text-transform:uppercase; color:#777; flex-shrink:0; }
.ticker-dot { color:var(--blue); margin:0 16px; opacity:.7; }

/* ── SECTION HELPERS — rytm 64/96/128 zamiast 96 flat ── */
.sec { padding:96px 48px; }
/* Pierwsza sekcja tuż pod nav — spójny 48 px top-padding
   (dopasowanie do oferta.html, gdzie filter-wrap siedzi blisko menu) */
main > section.sec:first-of-type { padding-top:48px; }
/* Ale gdy strona nie ma tabów (artyści, publikacje) — dopchnij grid na wysokość,
   na której zaczyna się grid po tabach (≈ 48 + 50 + 48 ≈ 146 px). */
main > section.sec.sec-grid-first:first-of-type { padding-top:146px; }
.sec-sm { padding:64px 48px; }     /* zwarta (ticker, intro) */
.sec-lg { padding:128px 48px; }    /* feature (split CTA, duże bloki) */
.sec-cream { background:var(--cream); }
.sec-white { background:#fff; }
.sec-blue { background:var(--blue); }
.sec-hd { display:flex; align-items:center; justify-content:space-between; margin-bottom:48px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.sec-label { font-size:12px; font-weight:500; letter-spacing:.3em; text-transform:uppercase; color:var(--blue); }
.sec-link { font-size:13px; font-weight:400; letter-spacing:.04em; color:#666; text-decoration:none; border-bottom:1px solid #aaa; padding-bottom:2px; transition:all .2s; }
.sec-link:hover { color:var(--black); border-color:var(--black); }

/* ── CURRENT EXHIBITION ── */
#currentExhSection { padding:36px 48px; }
/* Feature „Aktualna wystawa" — wariant Editorial (Tate / Hauser & Wirth) */
#currentExhSection { padding-top:120px; padding-bottom:120px; }
.exh-feature { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.exh-feat-img {
  position:relative; overflow:hidden;
  aspect-ratio:1/1;                 /* domyślnie kwadrat; max-height dba o desktop */
  max-height:min(78vh, 720px);      /* nie wyższe niż ~3/4 viewportu ani niż 720 px */
  background:var(--cream);
  display:flex; align-items:center; justify-content:center;
}
.exh-feat-img img { width:100%; height:100%; display:block; object-fit:cover; }
.exh-feat-img > div { width:100%; height:100%; }

.exh-feat-text { padding-top:0; }    /* eyebrow wyrównany do górnej krawędzi zdjęcia */

/* Eyebrow — etykieta + linia rule */
.exh-feat-eyebrow {
  display:flex; align-items:center; gap:16px;
  margin-bottom:36px;
  font-size:10px; font-weight:600; letter-spacing:.28em;
  text-transform:uppercase; color:var(--blue);
}
.exh-feat-eyebrow::after {
  content:""; flex:1; height:1px; background:var(--black);
}

/* Tytuł — display type z wymuszonym zawijaniem */
.exh-feat-h2 {
  font-size:clamp(32px,4.2vw,68px); font-weight:300;
  line-height:1.04; letter-spacing:-.015em;
  color:var(--black); margin-bottom:24px;
  max-width:14ch;
}

/* Artysta — drugi kotwic wizualny */
.exh-feat-artist {
  font-size:clamp(20px,1.6vw,26px); font-weight:500;
  color:var(--black); margin-bottom:32px;
  letter-spacing:-.005em;
}

/* Daty — struktura: rule + tabular-nums + small caps */
.exh-feat-dates {
  padding-top:16px; border-top:1px solid var(--black);
  margin-bottom:36px;
  font-size:12px; font-weight:500; letter-spacing:.22em;
  text-transform:uppercase; color:var(--black);
  font-variant-numeric:tabular-nums;
}

/* Paragraf — tight print leading, narrow measure */
.exh-feat-p {
  font-size:16px; font-weight:300; line-height:1.65;
  color:#333; max-width:48ch;
  margin-bottom:36px;
}

/* CTA — te same buttony co w hero: czarny (primary) + niebieski (secondary) */
.exh-feat-cta { display:flex; gap:14px; flex-wrap:wrap; }

/* ── EXHIBITIONS GRID ── */
.exh-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.exh-card { cursor:pointer; }
.exh-img { width:100%; aspect-ratio:4/3; display:block; transition:opacity .3s; }
.exh-card:hover .exh-img { opacity:.88; }
.exh-badge-bar { display:block; width:100%; background:var(--blue); color:#fff; font-size:14px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; padding:6px 14px; }
.exh-badge-bar-planned { display:block; width:100%; background:var(--warm); color:#333; font-size:14px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; padding:6px 14px; }
.exh-info { padding:14px 0 0; }
.exh-name { font-size:16px; font-weight:400; margin-bottom:3px; }
.exh-title { font-size:17px; font-weight:300; color:var(--gray); font-style:normal; margin-bottom:6px; }
.exh-dates { font-size:15px; font-weight:400; letter-spacing:.08em; color:var(--gray); }

/* Exhibition detail page */
.exh-detail-hero { background:var(--blue); padding:80px 48px; display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:end; }
.exh-detail-body { padding:64px 48px; }
.exh-detail-text { max-width:680px; font-size:18px; font-weight:300; line-height:1.85; color:#444; }
.exh-detail-meta { display:flex; flex-direction:column; gap:12px; }
.exh-detail-meta-row { display:flex; gap:24px; font-size:16px; }
.exh-detail-meta-label { font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:#777; width:120px; flex-shrink:0; }
.exh-detail-meta-val { color:var(--black); }
.exh-works-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-top:48px; }
.exh-work-item { }
.exh-work-img { width:100%; aspect-ratio:4/3; margin-bottom:12px; }
.exh-work-title { font-size:17px; font-weight:400; margin-bottom:3px; }
.exh-work-meta { font-size:14px; font-weight:300; color:var(--gray); }

/* ── ARTISTS GRID ── */
.artists-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:20px; }
.artist-card { cursor:pointer; }
.artist-portrait { width:100%; aspect-ratio:3/4; margin-bottom:14px; overflow:hidden; transition:opacity .3s; }
.artist-card:hover .artist-portrait { opacity:.82; }
.artist-name { font-size:18px; font-weight:400; color:var(--black); margin-bottom:4px; }
.artist-nat { font-size:14px; font-weight:300; color:var(--gray); }

/* Artists page — 3-col larger cards */
.artists-grid-full { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.artist-card-full { cursor:pointer; }
.artist-portrait-full { width:100%; aspect-ratio:3/4; margin-bottom:20px; overflow:hidden; transition:opacity .3s; }
.artist-card-full:hover .artist-portrait-full { opacity:.82; }
.artist-card-full .artist-name { font-size:23px; font-weight:400; margin-bottom:6px; }
.artist-card-full .artist-nat { font-size:16px; font-weight:300; color:var(--gray); margin-bottom:10px; }
.artist-bio-excerpt { font-size:18px; font-weight:300; color:#444; line-height:1.75; margin-bottom:14px; }
.artist-tags { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.artist-tag { font-size:14px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; border:1px solid var(--border); color:var(--gray); padding:4px 10px; }
.artist-profile-link { font-size:15px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--black); text-decoration:none; border-bottom:1px solid var(--black); padding-bottom:2px; transition:all .2s; }
.artist-profile-link:hover { color:var(--blue); border-color:var(--blue); }

/* Artist detail page */
.artist-detail-grid { display:grid; grid-template-columns:1fr 2fr; gap:72px; align-items:start; }
.artist-detail-portrait { width:100%; aspect-ratio:3/4; }
.artist-detail-info { }
.artist-detail-name { font-size:clamp(36px,5vw,64px); font-weight:300; line-height:.96; margin-bottom:8px; }
.artist-detail-nat { font-size:18px; font-weight:300; color:var(--gray); margin-bottom:32px; }
.artist-detail-bio { font-size:18px; font-weight:300; line-height:1.85; color:#444; margin-bottom:40px; }
.artist-detail-meta { display:grid; grid-template-columns:1fr 1fr; gap:24px 48px; }
.artist-meta-item label { font-size:14px; font-weight:600; letter-spacing:.18em; text-transform:uppercase; color:#777; display:block; margin-bottom:6px; }
.artist-meta-item span { font-size:17px; font-weight:300; color:var(--black); }

/* ── NEWS ── */
.news-list { }
.news-item { display:grid; grid-template-columns:220px 1fr 28px; grid-template-rows:auto 1fr; column-gap:36px; row-gap:10px; padding:24px 0; border-bottom:1px solid var(--border); cursor:pointer; transition:padding-left .22s; }
.news-item:first-child { border-top:1px solid var(--border); }
.news-item:hover { padding-left:6px; }
.news-date { grid-column:1; grid-row:1; font-size:14px; font-weight:300; color:var(--gray); letter-spacing:.04em; }
.news-thumb { grid-column:1; grid-row:2; width:100%; aspect-ratio:3/2; overflow:hidden; transition:opacity .3s; align-self:start; }
.news-item:hover .news-thumb { opacity:.84; }
.news-text { grid-column:2; grid-row:2; align-self:start; }
.news-arr { grid-column:3; grid-row:2; font-size:23px; color:#999; transition:color .2s; align-self:start; padding-top:4px; }
.news-item:hover .news-arr { color:var(--blue); }
.news-ttl { font-size:22px; font-weight:300; margin-bottom:7px; line-height:1.32; }
.news-exc { font-size:16px; font-weight:300; color:var(--gray); line-height:1.65; }

/* ── PUBLICATIONS ── */
.pub-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
.pub-card { cursor:pointer; }
.pub-cover { aspect-ratio:1/1.414; margin-bottom:16px; overflow:hidden; transition:opacity .3s; background:#f3efe9; }
.pub-card:hover .pub-cover { opacity:.88; }
.pub-cover svg { width:100%; height:100%; display:block; }
.pub-title { font-size:19px; font-weight:400; margin-bottom:4px; }
.pub-sub { font-size:16px; font-weight:300; color:var(--gray); margin-bottom:6px; }
.pub-price { font-size:16px; font-weight:500; color:var(--blue); margin-bottom:10px; }

/* Publications filter */
.pub-filter { display:flex; gap:0; border-bottom:1px solid var(--border); margin-bottom:48px; }
.pub-filter-tab { font-size:15px; font-weight:500; letter-spacing:.18em; text-transform:uppercase; padding:14px 24px; cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1px; color:#777; transition:all .2s; background:none; border-top:none; border-left:none; border-right:none; font-family:var(--f); }
.pub-filter-tab.active, .pub-filter-tab:hover { color:var(--black); border-bottom-color:var(--black); }

/* ── BUTTONS ── 3 role: primary, secondary, text. Warianty kontekstu: jasne tło, granatowe tło. */

/* Wspólna baza — każdy przycisk dziedziczy te właściwości */
.btn-w, .btn-ghost, .btn-dark, .btn-outline-dark,
.btn-blue-solid, .btn-kup, .btn-pdf, .btn-hero, .btn-hero-dark {
  display:inline-block;
  font-family:var(--f);
  font-size:13px; font-weight:500;
  letter-spacing:.18em; text-transform:uppercase;
  text-decoration:none;
  padding:14px 28px;
  border:1px solid transparent;
  transition:background .3s, border-color .3s, color .3s;
  cursor:pointer;
}

/* ── PRIMARY (granat) — jeden dominujący CTA na widok ── */
.btn-dark, .btn-blue-solid, .btn-kup {
  background:var(--blue); color:#fff; border-color:var(--blue);
}
.btn-dark:hover, .btn-blue-solid:hover, .btn-kup:hover {
  background:#1e206e; border-color:#1e206e;
}

/* ── SECONDARY (outline) — alternatywa primary ── */
.btn-outline-dark {
  background:transparent; color:var(--black); border-color:var(--black);
}
.btn-outline-dark:hover {
  background:var(--black); color:#fff;
}
.btn-pdf {
  background:transparent; color:var(--blue); border-color:var(--blue);
}
.btn-pdf:hover {
  background:var(--blue); color:#fff;
}

/* ── WARIANTY NA CIEMNYM TLE (hero, footer, CTA sections) ── */
.btn-w {
  background:transparent; color:#fff; border-color:rgba(255,255,255,.55);
}
.btn-w:hover {
  background:#fff; color:var(--blue); border-color:#fff;
}
.btn-ghost {
  background:transparent; color:rgba(255,255,255,.75);
  border:none; border-bottom:1px solid rgba(255,255,255,.35);
  font-weight:400; letter-spacing:.06em; padding:14px 0;
}
.btn-ghost:hover { color:#fff; border-bottom-color:#fff; }

/* ── SPLIT CTA ── */
.split-cta { display:grid; grid-template-columns:1fr 1fr; }
.split-left { background:var(--cream); padding:80px 64px 80px 48px; }
.split-right { background:var(--black); padding:80px 64px 80px 48px; }
.split-h3 { font-size:clamp(22px,2.8vw,40px); font-weight:300; line-height:1.28; color:#fff; margin-bottom:12px; }
.split-p { font-size:18px; font-weight:300; color:rgba(255,255,255,.5); margin-bottom:32px; line-height:1.75; }
.split-left .split-h3 { color:var(--black); }
.split-left .split-p { color:#333; }
.split-left .btn-w { color:var(--black); border-color:rgba(0,0,0,.4); }
.split-left .btn-w:hover { background:var(--black); color:#fff; border-color:var(--black); }

/* ── OFFER PAGE ── */
.offer-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; }
.offer-card { background:var(--cream); padding:48px 40px; }
.offer-card-icon { width:48px; height:48px; margin-bottom:28px; }
.offer-card-icon svg { width:100%; height:100%; }
.offer-card-title { font-size:28px; font-weight:300; line-height:1.2; margin-bottom:16px; }
.offer-card-desc { font-size:18px; font-weight:300; line-height:1.75; color:#333; margin-bottom:24px; }
.offer-card-list { list-style:none; margin-bottom:32px; }
.offer-card-list li { font-size:16px; font-weight:300; color:#333; line-height:1.6; padding:7px 0 7px 18px; border-bottom:1px solid var(--border); position:relative; }
.offer-card-list li::before { content:'—'; position:absolute; left:0; color:var(--blue); }
.offer-cta { background:var(--blue); padding:80px 48px; text-align:center; }
.offer-cta h2 { font-size:clamp(28px,4vw,52px); font-weight:300; color:#fff; margin-bottom:16px; line-height:1.1; }
.offer-cta p { font-size:18px; font-weight:300; color:rgba(255,255,255,.55); margin-bottom:40px; max-width:540px; margin-left:auto; margin-right:auto; line-height:1.75; }

/* ── ABOUT PAGE ── */
.about-mission { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:start; }
.about-mission-quote { font-size:clamp(22px,3vw,38px); font-weight:300; line-height:1.35; color:var(--black); }
.about-mission-text { font-size:18px; font-weight:300; line-height:1.85; color:#444; }
.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:40px; }
.team-card { }
.team-portrait { width:100%; aspect-ratio:1/1; margin-bottom:20px; overflow:hidden; }
.team-name { font-size:23px; font-weight:400; margin-bottom:4px; }
.team-role { font-size:14px; font-weight:500; letter-spacing:.16em; text-transform:uppercase; color:var(--blue); margin-bottom:12px; }
.team-bio { font-size:17px; font-weight:300; line-height:1.65; color:#444; }
.timeline { position:relative; padding-left:32px; }
.timeline::before { content:''; position:absolute; left:0; top:8px; bottom:8px; width:1px; background:var(--border); }
.timeline-item { position:relative; padding-bottom:40px; }
.timeline-item:last-child { padding-bottom:0; }
.timeline-item::before { content:''; position:absolute; left:-36px; top:8px; width:8px; height:8px; background:var(--blue); border-radius:50%; }
.timeline-year { font-size:15px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:var(--blue); margin-bottom:8px; }
.timeline-title { font-size:22px; font-weight:400; margin-bottom:6px; }
.timeline-desc { font-size:17px; font-weight:300; color:#444; line-height:1.65; }
.partners-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2px; }
.partner-block { background:var(--warm); padding:36px 28px; display:flex; align-items:center; justify-content:center; }
.partner-name { font-size:16px; font-weight:500; letter-spacing:.12em; text-transform:uppercase; color:#666; text-align:center; }

/* ── CONTACT FORM ── */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:start; }
.contact-details { }
.contact-detail-group { margin-bottom:36px; }
.contact-detail-label { font-size:14px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:#777; margin-bottom:10px; }
.contact-detail-val { font-size:18px; font-weight:300; line-height:1.8; color:var(--black); }
.contact-hours-row { display:flex; gap:24px; font-size:17px; font-weight:300; color:var(--black); padding:8px 0; border-bottom:1px solid var(--border); }
.contact-hours-day { width:120px; flex-shrink:0; color:var(--gray); }
.contact-map { background:var(--warm); height:240px; margin-top:32px; display:flex; align-items:center; justify-content:center; }
.contact-map-placeholder { text-align:center; }
.contact-map-placeholder p { font-size:16px; font-weight:300; color:#666; line-height:1.75; }
.contact-social { display:flex; gap:20px; margin-top:16px; }
.contact-social a { font-size:14px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:var(--blue); text-decoration:none; border-bottom:1px solid rgba(46,48,146,.25); padding-bottom:2px; }
.contact-social a:hover { border-color:var(--blue); }

/* Form */
.form-group { margin-bottom:24px; }
.form-label { display:block; font-size:14px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:#777; margin-bottom:8px; }
.form-input, .form-textarea, .form-select { display:block; width:100%; font-family:var(--f); font-size:18px; font-weight:300; color:var(--black); background:#fff; border:1px solid var(--border); padding:14px 16px; outline:none; transition:border-color .2s; appearance:none; -webkit-appearance:none; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color:var(--blue); }
.form-textarea { min-height:160px; resize:vertical; line-height:1.65; }
.form-submit { display:inline-block; font-family:var(--f); font-size:13px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; padding:16px 40px; background:var(--blue); color:#fff; border:1px solid var(--blue); cursor:pointer; transition:all .3s; width:100%; }
.form-submit:hover { background:#1e206e; border-color:#1e206e; }

/* ── FOOTER ── */
footer { background:var(--blue); color:rgba(255,255,255,.5); padding:64px 48px 36px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:56px; margin-bottom:56px; }
.footer-logo { height:22px; filter:invert(1); mix-blend-mode:screen; display:block; margin-bottom:20px; }
.footer-tag { font-size:17px; font-weight:300; line-height:1.75; margin-bottom:18px; color:rgba(255,255,255,.7); }
.footer-addr { font-size:16px; font-weight:300; line-height:2; color:rgba(255,255,255,.65); }
.footer-col h5 { font-size:14px; font-weight:600; letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.25); margin-bottom:16px; }
.footer-col ul { list-style:none; }
.footer-col li { margin-bottom:10px; }
.footer-col a { color:rgba(255,255,255,.48); text-decoration:none; font-size:17px; font-weight:300; transition:color .2s; }
.footer-col a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); padding-top:24px; display:flex; justify-content:space-between; font-size:14px; letter-spacing:.06em; color:rgba(255,255,255,.25); }
.footer-bottom span:first-child { color:rgba(255,255,255,.45); }

/* ── ART PLACEHOLDER COLORS ── */
.art-a { background:linear-gradient(155deg,#cdc9c1 0%,#9a9590 100%); }
.art-b { background:linear-gradient(140deg,#2e3092 0%,#5c65c8 50%,#8d94e0 100%); }
.art-c { background:linear-gradient(160deg,#e2deda 0%,#bbb7b2 100%); }
.art-d { background:linear-gradient(150deg,#c5c9dc 0%,#8b91c0 100%); }
.art-e { background:linear-gradient(145deg,#d8cec8 0%,#a89890 100%); }
.art-f { background:linear-gradient(160deg,#1a1a2e 0%,#2e3092 50%,#4a52b5 100%); }
.ap-1 { background:linear-gradient(170deg,#d4cfc8 0%,#a8a39c 100%); }
.ap-2 { background:linear-gradient(135deg,#c8c4be 0%,#8a8782 100%); }
.ap-3 { background:linear-gradient(160deg,#e0dcd7 0%,#b5b0aa 100%); }
.ap-4 { background:linear-gradient(145deg,#d0cec9 10%,#a5a29d 100%); }
.ap-5 { background:linear-gradient(170deg,#ccc9c2 0%,#9e9a93 100%); }
.ap-6 { background:linear-gradient(135deg,#d8d4cf 0%,#aeaaa4 100%); }
.nt-a { background:linear-gradient(140deg,#d4d0c8 0%,#a8a5a0 100%); }
.nt-b { background:linear-gradient(155deg,#e0dbd4 0%,#b5b2ac 100%); }
.nt-c { background:linear-gradient(135deg,#2e3092 0%,#6b74c7 60%,#9098e0 100%); }
.tp-1 { background:linear-gradient(160deg,#ddd9d3 0%,#aaa69f 100%); }
.tp-2 { background:linear-gradient(150deg,#d5d0ca 0%,#a5a19b 100%); }
.tp-3 { background:linear-gradient(155deg,#e2dedd 0%,#b0acab 100%); }
/* Publication cover placeholders — okładki mają własną tożsamość, zostawione */
.pc-1 { background:var(--blue); }
.pc-2 { background:#c8c4be; }
.pc-3 { background:#1a1a1a; }
.pc-4 { background:#e8e4de; }
.pc-5 { background:var(--blue); }
.pc-6 { background:#3a3a3a; }
.pc-7 { background:#d4d0c8; }
.pc-8 { background:#1a1a2e; }

/* ── UTILITY ── */
.flex { display:flex; }
.flex-center { display:flex; align-items:center; justify-content:center; }
.gap-16 { gap:16px; }
.gap-24 { gap:24px; }
.mt-8  { margin-top:8px; }
.mt-16 { margin-top:16px; }
.mt-24 { margin-top:24px; }
.mt-32 { margin-top:32px; }
.mb-0  { margin-bottom:0; }
.text-gray { color:var(--gray); }
.text-blue { color:var(--blue); }
.text-white { color:#fff; }
.fw-300 { font-weight:300; }
.fw-600 { font-weight:600; }
.ls-wide { letter-spacing:.14em; }
.uppercase { text-transform:uppercase; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Exhibition filter tabs */
.exh-filter { display:flex; gap:0; border-bottom:1px solid var(--border); margin-bottom:48px; }
.exh-filter-tab { font-size:15px; font-weight:500; letter-spacing:.18em; text-transform:uppercase; padding:14px 24px; cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1px; color:#777; transition:all .2s; background:none; border-top:none; border-left:none; border-right:none; font-family:var(--f); }
.exh-filter-tab.active, .exh-filter-tab:hover { color:var(--black); border-bottom-color:var(--black); }

/* ── OFERTA PRAC GRID ── */
.offer-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:20px; }
.offer-grid .offer-card { background:transparent; padding:0; }
.offer-img { width:100%; margin-bottom:0; }
.offer-img img { width:100%; height:auto; display:block; }
.offer-caption { text-align:center; padding-top:12px; }
.offer-artist { font-size:16px; font-weight:400; margin-bottom:3px; color:var(--black); }
.offer-title { font-size:15px; font-weight:300; font-style:normal; margin-bottom:4px; color:var(--gray); }
.offer-meta { font-size:14px; font-weight:300; color:var(--gray); margin-bottom:2px; }
.offer-price { font-size:15px; font-weight:500; color:var(--blue); margin-top:6px; }

/* ── OFERTA ARTWORKS (public page, no box) ── */
.oferta-art-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.oferta-art-item { }
.oferta-art-img { width:100%; margin-bottom:0; }
.oferta-art-img img { width:100%; height:auto; display:block; }

/* ── LEGAL PAGES — współdzielone między regulamin/polityka/aml-informacja ── */
.legal { max-width:820px; margin:0 auto; padding:96px 48px; }
.legal .page-hero { border:none; min-height:auto; padding:0 0 48px; text-align:left; align-items:flex-start; border-bottom:1px solid var(--border); margin-bottom:48px; }
.legal h2 { font-size:clamp(22px,2.4vw,30px); font-weight:300; margin-top:48px; margin-bottom:18px; letter-spacing:-.005em; }
.legal h3 { font-size:17px; font-weight:500; margin-top:28px; margin-bottom:10px; }
.legal p, .legal li { font-size:16px; font-weight:300; line-height:1.8; color:#333; margin-bottom:14px; }
.legal ul, .legal ol { padding-left:22px; }
.legal ul li, .legal ol li { margin-bottom:8px; }
.legal strong { font-weight:500; color:var(--black); }
.legal a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.legal-toc { background:var(--cream); padding:28px 32px; margin-bottom:48px; }
.legal-toc h4 { font-size:11px; font-weight:600; letter-spacing:.22em; text-transform:uppercase; color:var(--blue); margin-bottom:14px; }
.legal-toc ol { padding-left:20px; font-size:15px; line-height:1.85; }
.legal-toc ol li a { color:var(--black); text-decoration:none; border-bottom:1px solid transparent; }
.legal-toc ol li a:hover { border-color:var(--blue); }
.legal-note { background:#fff; border:1px solid var(--border); padding:20px 24px; font-size:14px; color:var(--gray); margin:28px 0; }
.legal-highlight { background:var(--cream); padding:28px 32px; margin:32px 0; border-left:3px solid var(--blue); }
.legal-highlight p { font-size:15px; margin-bottom:10px; }
@media (max-width:700px) { .legal { padding:56px 24px; } }

/* ── RESPONSIVE — basic mobile ── */
@media (max-width: 900px) {
  nav { padding:0 24px; gap:20px; }
  .nav-links { display:none; flex-direction:column; position:absolute; top:72px; left:0; right:0; background:var(--blue); padding:20px 24px; gap:16px; }
  .nav-links.open { display:flex; }
  .nav-hamburger { display:flex; }
  .hero { grid-template-columns:1fr; min-height:auto; }
  .hero-right { display:none; }
  .hero-left { padding:60px 24px; }
  .sec { padding:60px 24px; }
  .page-hero { padding:36px 24px 32px; }
  .exh-feature { grid-template-columns:1fr; gap:36px; }
  .exh-feat-text { padding-top:0; }
  .exh-feat-h2 { max-width:none; }
  .exh-feat-p { max-width:none; }
  .exh-feat-img { aspect-ratio:3/4; }
  .exh-grid { grid-template-columns:1fr 1fr; }
  .artists-grid { grid-template-columns:repeat(3,1fr); }
  .artists-grid-full { grid-template-columns:1fr 1fr; }
  .pub-grid { grid-template-columns:1fr 1fr; }
  .split-cta { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .offer-cards { grid-template-columns:1fr; }
  .offer-grid { grid-template-columns:repeat(3,1fr); }
  .contact-grid { grid-template-columns:1fr; }
  .artist-detail-grid { grid-template-columns:1fr; }
  .about-mission { grid-template-columns:1fr; gap:36px; }
  .team-grid { grid-template-columns:1fr 1fr; }
  .partners-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 600px) {
  nav { padding:0 16px; }
  .sec { padding:48px 16px; }
  .page-hero { padding:28px 16px 24px; }
  .exh-grid { grid-template-columns:1fr; }
  .artists-grid { grid-template-columns:repeat(2,1fr); }
  .artists-grid-full { grid-template-columns:1fr; }
  .pub-grid { grid-template-columns:1fr; }
  .offer-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr; }
  .team-grid { grid-template-columns:1fr; }
  .news-item { grid-template-columns:1fr 24px; grid-template-rows:auto auto auto; }
  .news-date { grid-column:1; }
  .news-thumb { grid-column:1/3; grid-row:2; }
  .news-text { grid-column:1; grid-row:3; }
  .news-arr { grid-column:2; grid-row:3; }
  .split-left, .split-right { padding:60px 24px; }
  .footer-grid { grid-template-columns:1fr; }
}
