@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400i-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400i-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/cormorant-garamond-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* maciejstrzelecki.com — arkusz stylów
   Paleta i krój: głęboka zieleń (marynarka ze zdjęcia), kość słoniowa, cienka złota linia. */

:root {
  --tlo: #fbf9f5;
  --tlo-alt: #f3eee4;
  --tlo-ciemne: #16211d;
  --atrament: #1a1d1c;
  --tekst: #2c312f;
  --szary: #6e7370;
  --zielen: #1f3d32;
  --zloty: #a8875a;
  --linia: #ddd5c7;

  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --max: 1180px;
  --waskie: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--tlo);
  color: var(--tekst);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--zielen); text-decoration: none; }
a:hover { color: var(--zloty); }

/* ---------------------------------------------------------------- nagłówek */

.naglowek {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--linia);
}

.naglowek-w {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.znak {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--atrament);
  white-space: nowrap;
}
.znak:hover { color: var(--zielen); }

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav a { color: var(--szary); padding-bottom: 3px; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--atrament); }
.nav a[aria-current='page'] { color: var(--atrament); border-bottom-color: var(--zloty); }

.jezyki { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: 0.12em; }
.jezyki a { color: var(--szary); text-transform: uppercase; }
.jezyki a[aria-current='true'] { color: var(--atrament); font-weight: 500; }
.jezyki span { color: var(--linia); }

/* ---------------------------------------------------------------- hero */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 32px 96px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.hero-zdjecie { position: relative; }
.hero-zdjecie::after {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--linia);
}
.hero-zdjecie img { width: 100%; height: auto; position: relative; }

.etykieta {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--zloty);
  font-weight: 500;
  margin: 0 0 22px;
}

h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--atrament);
}

.podtytul {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 400;
  color: var(--zielen);
  margin: 0 0 30px;
  line-height: 1.35;
}

.lead {
  font-size: 18.5px;
  line-height: 1.8;
  color: var(--tekst);
  max-width: 54ch;
  margin: 0 0 34px;
}

.przyciski { display: flex; flex-wrap: wrap; gap: 14px; }

.przycisk {
  display: inline-block;
  padding: 13px 28px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid var(--zielen);
  color: var(--zielen);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}
.przycisk:hover { background: var(--zielen); color: var(--tlo); }
.przycisk.pelny { background: var(--zielen); color: var(--tlo); }
.przycisk.pelny:hover { background: var(--atrament); border-color: var(--atrament); }

/* ---------------------------------------------------------------- sekcje */

.sekcja {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 32px;
}
/* kolumna do czytania: ta sama lewa krawędź co reszta strony, węższa treść */
.sekcja.waskie { max-width: var(--max); }
.sekcja.waskie > * { max-width: var(--waskie); }
.sekcja.alt { background: var(--tlo-alt); max-width: none; padding-left: 0; padding-right: 0; }
.sekcja.alt > .wnetrze { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.sekcja.ciemna { background: var(--tlo-ciemne); color: #e8e4da; max-width: none; }
.sekcja.ciemna > .wnetrze { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.sekcja.ciemna h2, .sekcja.ciemna h3 { color: #f4f1e9; }
.sekcja.ciemna a { color: #d9c9a8; }

h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--atrament);
  margin: 0 0 28px;
}
h2::after {
  content: '';
  display: block;
  width: 54px;
  height: 1px;
  background: var(--zloty);
  margin-top: 22px;
}

h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--atrament);
  margin: 44px 0 12px;
}

h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zloty);
  margin: 0 0 16px;
}

p { margin: 0 0 1.15em; }

.duzy { font-size: 19px; line-height: 1.8; }
.waski-tekst { max-width: 68ch; }

/* ---------------------------------------------------------------- siatki */

.siatka-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.siatka-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.karta {
  border-top: 1px solid var(--linia);
  padding-top: 22px;
}
.karta h3 { margin-top: 0; font-size: 20px; }

.fakt {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 300;
  color: var(--zielen);
  line-height: 1.1;
  margin: 0 0 6px;
}
.fakt-opis {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--szary);
  margin: 0;
}

/* ---------------------------------------------------------------- listy */

dl.zyciorys { margin: 0; }
dl.zyciorys > div {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid var(--linia);
}
dl.zyciorys dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--zloty);
  font-weight: 500;
  padding-top: 4px;
}
dl.zyciorys dd { margin: 0; }
dl.zyciorys dd strong { font-weight: 500; color: var(--atrament); }

ul.lista { list-style: none; padding: 0; margin: 0; }
ul.lista li { padding: 11px 0 11px 26px; position: relative; border-bottom: 1px solid var(--linia); }
ul.lista li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 22px;
  width: 8px;
  height: 1px;
  background: var(--zloty);
}
ul.lista li:last-child { border-bottom: 0; }

.rok { font-variant-numeric: tabular-nums; color: var(--zloty); font-weight: 500; }
.rola { color: var(--szary); font-size: 15px; }

/* ---------------------------------------------------------------- koncerty */

.wydarzenie {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--linia);
  align-items: start;
}
.wydarzenie .data {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  color: var(--zielen);
  line-height: 1.1;
}
.wydarzenie .data span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--szary); margin-top: 6px; }
.wydarzenie h3 { margin: 0 0 6px; font-size: 23px; }
.wydarzenie .miejsce { color: var(--szary); font-size: 15px; }
.wydarzenie .program { margin: 8px 0 0; font-style: italic; font-family: var(--serif); font-size: 19px; color: var(--tekst); }

/* ---------------------------------------------------------------- galeria */

.galeria { display: grid; gap: 20px; align-content: start; }
.galeria img { width: 100%; height: auto; }

/* ---------------------------------------------------------------- CV */

.pobieranie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 30px 0 0;
}
.plik {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--linia);
  background: #fff;
  transition: border-color 0.2s, transform 0.2s;
}
.plik:hover { border-color: var(--zloty); transform: translateY(-2px); }
.plik .nazwa { font-family: var(--serif); font-size: 20px; color: var(--atrament); }
.plik .meta { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--szary); }
.plik .strzalka { color: var(--zloty); font-size: 20px; }

/* ---------------------------------------------------------------- stopka */

.stopka {
  background: var(--tlo-ciemne);
  color: #b9b3a6;
  padding: 64px 32px 40px;
  font-size: 14.5px;
}
.stopka-w { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.stopka h4 { color: var(--zloty); }
.stopka a { color: #ddd6c6; }
.stopka a:hover { color: #fff; }
.stopka .drobne {
  max-width: var(--max);
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #8c877b;
}
.stopka .znak-stopki { font-family: var(--serif); font-size: 24px; letter-spacing: 0.16em; text-transform: uppercase; color: #f4f1e9; margin-bottom: 12px; }

/* ---------------------------------------------------------------- podstrony */

.naglowek-strony {
  background: var(--tlo-alt);
  padding: 78px 32px 62px;
  border-bottom: 1px solid var(--linia);
}
.naglowek-strony .wnetrze { max-width: var(--max); margin: 0 auto; }
.naglowek-strony h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 14px; }
.naglowek-strony p { max-width: 62ch; font-size: 18px; color: var(--szary); margin: 0; }

/* ---------------------------------------------------------------- responsywność */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding: 52px 24px 64px; }
  .hero-zdjecie { order: -1; }
  .hero-zdjecie::after { display: none; }
  .siatka-2, .siatka-3 { grid-template-columns: 1fr; gap: 36px; }
  .pobieranie { grid-template-columns: 1fr; }
  .stopka-w { grid-template-columns: 1fr; gap: 32px; }
  .sekcja { padding: 60px 24px; }
  dl.zyciorys > div { grid-template-columns: 1fr; gap: 6px; }
  .wydarzenie { grid-template-columns: 1fr; gap: 10px; }
  .naglowek-w { padding: 14px 20px; flex-wrap: wrap; gap: 14px; }
  .nav { gap: 18px; font-size: 11.5px; flex-wrap: wrap; }
  .naglowek-strony { padding: 48px 24px 40px; }
}

/* ---------------------------------------------------------------- druk */

@media print {
  .naglowek, .stopka, .przyciski { display: none; }
  body { background: #fff; font-size: 11pt; }
  .sekcja { padding: 0 0 18pt; }
  a { color: var(--atrament); }
}

/* ---------------------------------------------------------------- formularz kontaktowy */

.formularz { display: grid; gap: 18px; max-width: 620px; margin-top: 8px; }

.formularz label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--szary);
  font-weight: 400;
}

.formularz input[type='text'],
.formularz input[type='email'],
.formularz textarea {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--atrament);
  background: #fff;
  border: 1px solid var(--linia);
  padding: 13px 15px;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 0.2s;
  width: 100%;
}
.formularz input:focus,
.formularz textarea:focus { outline: none; border-color: var(--zielen); }
.formularz textarea { resize: vertical; min-height: 140px; }

.formularz .zgoda {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--szary);
}
.formularz .zgoda input { margin-top: 4px; accent-color: var(--zielen); }

.formularz button { justify-self: start; cursor: pointer; font-family: var(--sans); }

/* ---------------------------------------------------------------- karty wideo */

.wideo {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 26px;
  border: 1px solid var(--linia);
  background: #fff;
  transition: border-color 0.2s, transform 0.2s;
}
.wideo:hover { border-color: var(--zloty); transform: translateY(-2px); }

.wideo-ikona {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--zielen);
  color: var(--tlo);
  display: grid;
  place-items: center;
  font-size: 14px;
  padding-left: 3px;
}

.wideo-tytul {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--atrament);
  line-height: 1.3;
}
.wideo-meta {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--szary);
  margin-top: 4px;
}

/* ---------------------------------------------------------------- zdjęcia prasowe */

.siatka-3 > a { display: block; overflow: hidden; }
.siatka-3 > a img {
  width: 100%;
  height: auto;            /* neutralizuje atrybut height="…" z HTML */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 0.45s ease;
}
.siatka-3 > a:hover img { transform: scale(1.03); }

/* ---------------------------------------------------------------- zdanie na stronie startowej */

.cytat-wstep {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--zielen);
  margin: 30px 0 34px;
  max-width: 15ch;
}

/* ---------------------------------------------------------------- strona startowa */

.podtytul-strony {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--szary);
  margin: 0 0 34px;
}

.kontakt-mgmt {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--linia);
  font-size: 14.5px;
  color: var(--szary);
}

/* siedem pozycji w menu — ciaśniejsze odstępy */
.nav { gap: 26px; }

/* ---------------------------------------------------------------- nagłówek z rolą */

.znak { display: block; line-height: 1.1; }
.znak-nazwa { display: block; }
.znak-rola {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--szary);
  margin-top: 5px;
}

/* ---------------------------------------------------------------- szerokie hero */

.hero-szeroki { grid-template-columns: 0.9fr 1.25fr; }
.hero-szeroki .hero-zdjecie img { aspect-ratio: auto; height: auto; }

/* ---------------------------------------------------------------- zdjęcie w nagłówku podstrony */

.naglowek-strony .wnetrze.z-foto {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
}
.foto-naglowek {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
}

@media (max-width: 900px) {
  .naglowek-strony .wnetrze.z-foto { grid-template-columns: 1fr; gap: 24px; }
  .foto-naglowek { max-width: 320px; }
  .hero-szeroki { grid-template-columns: 1fr; }
}

/* sekcja z jedną kolumną tekstu — bez pustej prawej połowy */
.siatka-2.jedna-kolumna { grid-template-columns: 1fr; }
.siatka-2.jedna-kolumna > div { max-width: 68ch; }

/* ---------------------------------------------------------------- ruch */

/* powiększenie zdjęcia pod kursorem */
.hero-zdjecie,
.foto-naglowek-ramka,
.siatka-3 > a { overflow: hidden; }

.hero-zdjecie img { transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1); }
.hero-zdjecie:hover img { transform: scale(1.035); }

.foto-naglowek-ramka { display: block; }
.foto-naglowek-ramka img { transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1); }
.foto-naglowek-ramka:hover img { transform: scale(1.05); }

.siatka-3 > a img { transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1); }

/* delikatne wejście sekcji — tylko gdy przeglądarka pozwala na ruch
   i tylko gdy JavaScript zadziałał; bez tego treść jest widoczna od razu */
@media (prefers-reduced-motion: no-preference) {
  .js-ruch .obserwuj {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
  }
  .js-ruch .obserwuj.widac {
    opacity: 1;
    transform: none;
  }
}

/* przycisk CV na końcu biografii */
.pobierz-cv { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--linia); }

/* ---------------------------------------------------------------- miesiące na liście koncertów */

.miesiac {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--zloty);
  margin: 52px 0 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--linia);
}
.miesiac:first-of-type { margin-top: 12px; }

/* ================================================================
   REDESIGN: fotografia prowadzi stronę
   ================================================================ */

/* --- wejście pełnoekranowe --- */

.hero-pelne {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hero-pelne-img {
  display: block;
  width: 100%;
  height: clamp(520px, 78vh, 760px);
  object-fit: cover;
  object-position: 50% 45%;
}

.hero-pelne::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(10, 14, 12, 0.9) 0%,
    rgba(10, 14, 12, 0.72) 38%,
    rgba(10, 14, 12, 0.3) 62%,
    rgba(10, 14, 12, 0.05) 100%
  );
  pointer-events: none;
  z-index: 1;   /* przyciemnienie pod tekstem, nie nad nim */
}

.hero-pelne-tresc {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  z-index: 2;
}

.etykieta.jasna { color: #d9b36a; }
.podtytul-strony.jasne { color: rgba(251, 247, 239, 0.72); }

.hero-pelne .cytat-wstep {
  color: #fbf7ef;
  font-size: clamp(40px, 5.4vw, 74px);
  max-width: 16ch;
  margin: 26px 0 30px;
}

.przycisk.jasny {
  border-color: rgba(251, 247, 239, 0.5);
  color: #fbf7ef;
  align-self: flex-start;
}
.przycisk.jasny:hover { background: #fbf7ef; color: #111513; }

/* --- pas fotograficzny z cytatem --- */

.pas-foto {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.pas-foto img {
  display: block;
  width: 100%;
  height: clamp(320px, 46vh, 470px);
  object-fit: cover;
  object-position: 50% 22%;
}

.pas-foto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 12, 0.58);
  z-index: 1;
}

.pas-cytat {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.3vw, 46px);
  line-height: 1.25;
  color: #fbf7ef;
  z-index: 2;
}

/* --- sekcja z portretem obok tekstu --- */

.siatka-2.z-portretem {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.foto-bok { overflow: hidden; }
.foto-bok img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.foto-bok:hover img { transform: scale(1.03); }

/* --- większe nagłówki --- */

h2 { font-size: clamp(32px, 4vw, 50px); }

@media (max-width: 900px) {
  .hero-pelne-img { height: clamp(430px, 62vh, 560px); }
  .hero-pelne-tresc { padding: 0 24px; }
  .hero-pelne::after {
    background: linear-gradient(180deg, rgba(10,14,12,0.55) 0%, rgba(10,14,12,0.86) 55%, rgba(10,14,12,0.94) 100%);
  }
  .siatka-2.z-portretem { grid-template-columns: 1fr; gap: 36px; }
  .pas-cytat { padding: 0 24px; }
}

/* ---------------------------------------------------------------- para zdjęć (rozrzut redakcyjny) */

.para-foto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 48px 0 52px;
}
.para-foto figure { margin: 0; overflow: hidden; }
.para-foto img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  transition: transform 1s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.para-foto figure:hover img { transform: scale(1.035); }

/* cytat wciągnięty w tekst */
.cytat-w-tekscie {
  margin: 44px 0;
  padding-left: 28px;
  border-left: 2px solid var(--zloty);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  color: var(--zielen);
}

@media (max-width: 900px) {
  .para-foto { grid-template-columns: 1fr; gap: 14px; }
}

/* pas z cytatem po lewej — gdy bohater zdjęcia jest w środku kadru */
.pas-foto--lewo::after {
  background: linear-gradient(
    90deg,
    rgba(10, 14, 12, 0.88) 0%,
    rgba(10, 14, 12, 0.7) 42%,
    rgba(10, 14, 12, 0.18) 100%
  );
}
.pas-foto--lewo .pas-cytat {
  justify-content: flex-start;
  text-align: left;
  padding-left: max(24px, calc((100% - 1180px) / 2 + 32px));
  max-width: 26ch;
}
.pas-foto--gora img { object-position: 50% 42%; }

/* pas w naturalnych proporcjach — gdy kadr jest portretowy i nie wolno go ciąć */
.pas-foto--naturalna img { height: auto; object-position: 50% 50%; }

/* ================================================================
   Nagłówek podstrony jako pasmo fotograficzne
   ================================================================ */

.naglowek-foto {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.naglowek-foto-img {
  display: block;
  width: 100%;
  height: clamp(340px, 46vh, 500px);
  object-fit: cover;
  object-position: 50% 22%;
}

.naglowek-foto::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    92deg,
    rgba(10, 14, 12, 0.88) 0%,
    rgba(10, 14, 12, 0.66) 40%,
    rgba(10, 14, 12, 0.2) 68%,
    rgba(10, 14, 12, 0.02) 100%
  );
  z-index: 1;
}

.naglowek-foto-tresc {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 52px;
}

.naglowek-foto-tresc .etykieta { margin-bottom: 14px; }

.naglowek-foto-tresc h1 {
  color: #fbf7ef;
  font-size: clamp(44px, 6vw, 82px);
  margin: 0;
  line-height: 1;
}

.naglowek-foto-tresc h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background: #d9b36a;
  margin-top: 22px;
}

@media (max-width: 900px) {
  .naglowek-foto-img { height: clamp(300px, 40vh, 400px); }
  .naglowek-foto-tresc { padding: 0 24px 36px; }
  .naglowek-foto::after {
    background: linear-gradient(180deg, rgba(10,14,12,0.35) 0%, rgba(10,14,12,0.9) 100%);
  }
}

/* ================================================================
   Nagłówek dzielony: panel z tytułem + zdjęcie obok
   ================================================================ */

.naglowek-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: none;
  margin: 0;
  padding: 0;
  height: clamp(380px, 52vh, 560px);
  background: #16211d;
}

.naglowek-split-tekst {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 64px 64px max(32px, calc((100vw - 1180px) / 2 + 32px));
  background: #16211d;
}

.naglowek-split-tekst .etykieta { color: #d9b36a; margin-bottom: 16px; }

.naglowek-split-tekst h1 {
  color: #fbf7ef;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1;
  margin: 0;
}

.naglowek-split-tekst h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background: #d9b36a;
  margin-top: 24px;
}

.naglowek-split-foto { position: relative; overflow: hidden; height: 100%; }

.naglowek-split-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.naglowek-split-foto:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .naglowek-split { grid-template-columns: 1fr; height: auto; }
  .naglowek-split-tekst { padding: 40px 24px 32px; }
  .naglowek-split-foto { height: 320px; }
}

/* ================================================================
   Nagłówek boczny: tekst na kremie + zdjęcie do krawędzi ekranu
   ================================================================ */

.naglowek-bok {
  display: grid;
  grid-template-columns: 1fr 44%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: var(--tlo);
  height: clamp(420px, 54vh, 600px);
}

.naglowek-bok-tekst {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 56px 0 max(32px, calc((100vw - 1180px) / 2 + 32px));
}

.naglowek-bok-tekst .etykieta { color: var(--zloty); margin-bottom: 16px; }

.naglowek-bok-tekst h1 {
  color: var(--atrament);
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 0.98;
  margin: 0;
}

.naglowek-bok-tekst h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background: var(--zloty);
  margin-top: 26px;
}

.naglowek-bok-foto { position: relative; overflow: hidden; height: 100%; min-height: 0; }

.naglowek-bok-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;  /* kadr dobrany tak, by twarz była w całości */
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.naglowek-bok-foto:hover img { transform: scale(1.03); }

/* wariant z zdjęciem po lewej */
.naglowek-bok--lewo { grid-template-columns: 44% 1fr; }
.naglowek-bok--lewo .naglowek-bok-tekst {
  order: 2;
  padding: 0 max(32px, calc((100vw - 1180px) / 2 + 32px)) 0 56px;
}

@media (max-width: 900px) {
  .naglowek-bok,
  .naglowek-bok--lewo { grid-template-columns: 1fr; height: auto; }
  .naglowek-bok-tekst,
  .naglowek-bok--lewo .naglowek-bok-tekst {
    order: 1;
    padding: 44px 24px 32px;
  }
  .naglowek-bok-foto { order: 2; height: 340px; }
  .naglowek-bok-foto img { object-position: 50% 12%; }
}

/* ================================================================
   Listy życiorysu — czytelniejsze
   ================================================================ */

dl.zyciorys > div {
  grid-template-columns: 120px 1fr;
  gap: 36px;
  padding: 22px 0;
  align-items: baseline;
}

dl.zyciorys dt {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--zloty);
  padding-top: 0;
  font-variant-numeric: tabular-nums;
}

dl.zyciorys dd {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.35;
  color: var(--atrament);
}

dl.zyciorys dd strong {
  font-weight: 600;
  color: var(--atrament);
}

dl.zyciorys dd a { color: var(--zielen); }

/* ================================================================
   Nagłówek pełnoekranowy 2.0 — zdjęcie z tytułem na nim (jak na starcie)
   ================================================================ */

.naglowek-pelny2 {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #101412;
}

.naglowek-pelny2 img {
  display: block;
  width: 100%;
  height: clamp(520px, 70vh, 760px);
  object-fit: cover;
  object-position: 50% 18%;
  transition: transform 1.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.naglowek-pelny2:hover img { transform: scale(1.02); }

.naglowek-pelny2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    92deg,
    rgba(8, 12, 10, 0.88) 0%,
    rgba(8, 12, 10, 0.64) 38%,
    rgba(8, 12, 10, 0.22) 66%,
    rgba(8, 12, 10, 0.04) 100%
  );
  z-index: 1;
}

.naglowek-pelny2-tresc {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px 64px;
}

.naglowek-pelny2-tresc .etykieta { color: #d9b36a; margin-bottom: 16px; }

.naglowek-pelny2-tresc h1 {
  color: #fbf7ef;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 0.98;
  margin: 0;
}

.naglowek-pelny2-tresc h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background: #d9b36a;
  margin-top: 26px;
}

@media (max-width: 900px) {
  .naglowek-pelny2 img { height: clamp(420px, 56vh, 560px); object-position: 50% 14%; }
  .naglowek-pelny2-tresc { padding: 0 24px 40px; }
  .naglowek-pelny2::after {
    background: linear-gradient(180deg, rgba(8,12,10,0.42) 0%, rgba(8,12,10,0.9) 72%, rgba(8,12,10,0.96) 100%);
  }
}

/* ================================================================
   Harmonijka (konkursy, festiwale)
   ================================================================ */

.harmonijka {
  border-top: 1px solid var(--linia);
  max-width: 820px;
}
.harmonijka:last-of-type { border-bottom: 1px solid var(--linia); }

.harmonijka summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--atrament);
  transition: color 0.2s;
}
.harmonijka summary::-webkit-details-marker { display: none; }
.harmonijka summary:hover { color: var(--zielen); }

.harmonijka summary::after {
  content: '+';
  font-family: var(--sans);
  font-weight: 300;
  font-size: 26px;
  line-height: 1;
  color: var(--zloty);
  transition: transform 0.3s ease;
}
.harmonijka[open] summary::after { transform: rotate(45deg); }

.harmonijka .lista { margin: 0 0 26px; }
.harmonijka[open] summary { color: var(--zielen); }

/* ================================================================
   Nagłówek bez kadrowania: zdjęcie w całości na rozmytym tle
   ================================================================ */

.naglowek-bez-kadru {
  display: grid;
  grid-template-columns: 1fr 42%;
  max-width: none;
  margin: 0;
  padding: 0;
  height: clamp(480px, 60vh, 660px);
  background: #101412;
}

.naglowek-bez-kadru-tekst {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #101412;
  padding: 0 56px 0 max(32px, calc((100vw - 1180px) / 2 + 32px));
}

.naglowek-bez-kadru-tekst .etykieta { color: #d9b36a; margin-bottom: 16px; }

.naglowek-bez-kadru-tekst h1 {
  color: #fbf7ef;
  font-size: clamp(46px, 5.6vw, 78px);
  line-height: 0.98;
  margin: 0;
}
.naglowek-bez-kadru-tekst h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  background: #d9b36a;
  margin-top: 26px;
}

.naglowek-bez-kadru-foto {
  position: relative;
  overflow: hidden;
  height: 100%;
}

/* rozmyte tło z tego samego zdjęcia — wypełnia boki bez kadrowania */
.naglowek-bez-kadru-foto::before {
  content: '';
  position: absolute;
  inset: -50px;
  background-image: var(--foto);
  background-size: cover;
  background-position: 50% 25%;
  filter: blur(52px) brightness(0.3) saturate(0.75);
  transform: scale(1.1);
}

.naglowek-bez-kadru-foto img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;      /* całe zdjęcie, zero przycinania */
  object-position: 50% 50%;
}

@media (max-width: 900px) {
  .naglowek-bez-kadru { grid-template-columns: 1fr; height: auto; }
  .naglowek-bez-kadru-tekst { padding: 44px 24px 36px; }
  .naglowek-bez-kadru-foto { height: 380px; }
}

/* wariant z fotografią po lewej */
.naglowek-bez-kadru--lewo { grid-template-columns: 42% 1fr; }
.naglowek-bez-kadru--lewo .naglowek-bez-kadru-foto { order: 1; }
.naglowek-bez-kadru--lewo .naglowek-bez-kadru-tekst {
  order: 2;
  padding: 0 max(32px, calc((100vw - 1180px) / 2 + 32px)) 0 56px;
}
@media (max-width: 900px) {
  .naglowek-bez-kadru--lewo { grid-template-columns: 1fr; }
  .naglowek-bez-kadru--lewo .naglowek-bez-kadru-foto { order: 2; }
  .naglowek-bez-kadru--lewo .naglowek-bez-kadru-tekst { order: 1; padding: 44px 24px 36px; }
}

/* zdjęcie poziome wypełnia kolumnę — przy takim kadrze cięcie nie szkodzi */
.naglowek-bez-kadru--krycie .naglowek-bez-kadru-foto img { object-fit: cover; object-position: 50% 25%; }
.naglowek-bez-kadru--krycie .naglowek-bez-kadru-foto::before { filter: blur(52px) brightness(0.28) saturate(0.75); }

/* biografia: jaśniejsza zieleń + większe zdjęcie w kolorze */
.naglowek-bez-kadru--zielony,
.naglowek-bez-kadru--zielony .naglowek-bez-kadru-tekst { background: #1f3d32; }
.naglowek-bez-kadru--zielony { grid-template-columns: 1fr 50%; }
.naglowek-bez-kadru--zielony .naglowek-bez-kadru-foto::before { filter: blur(56px) brightness(0.5) saturate(1.05); }

/* ---------------------------------------------------------------- odnośniki */

.sekcja p > a,
.sekcja li > a,
.sekcja dd a {
  font-weight: 500;
  color: var(--zielen);
  border-bottom: 1px solid var(--zloty);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.sekcja p > a:hover,
.sekcja li > a:hover,
.sekcja dd a:hover {
  color: var(--atrament);
  border-bottom-width: 2px;
  border-bottom-color: var(--atrament);
}

/* ---------------------------------------------------------------- pas zdjęciowy — twarz w kadrze */

.pas-foto img { height: clamp(360px, 50vh, 540px); object-position: 50% 42%; }

/* ---------------------------------------------------------------- general management */

.kontakt-mgmt {
  margin-top: 46px;
  padding: 30px 34px;
  background: var(--tlo-alt);
  border-left: 2px solid var(--zloty);
  font-size: 16px;
  color: var(--tekst);
}
.kontakt-mgmt .mgmt-label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zloty);
  margin-bottom: 10px;
}
.kontakt-mgmt .mgmt-nazwa {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.2;
  color: var(--atrament);
  margin-bottom: 6px;
}
.kontakt-mgmt a {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--zielen);
  border-bottom: 1px solid var(--zloty);
}

/* ---------------------------------------------------------------- harmonijka studentów */

.harmonijka--studenci summary { font-size: clamp(26px, 3vw, 34px); }
.harmonijka--studenci .lista li { font-size: 17.5px; padding: 13px 0 13px 26px; }

/* ---------------------------------------------------------------- formularz */

.formularz .status {
  font-size: 15px;
  color: var(--zielen);
  min-height: 22px;
}
.formularz .status.blad { color: #a33; }
.formularz .zapas { font-size: 14.5px; color: var(--szary); margin-top: 6px; }
.formularz button[disabled] { opacity: 0.55; cursor: default; }

/* ---------------------------------------------------------------- efekt wyłaniania */

.wylanianie img {
  filter: brightness(0.82) saturate(0.9) contrast(1.02);
  transform: scale(1.06);
  transition: filter 1.8s ease, transform 1.8s cubic-bezier(0.2, 0.6, 0.2, 1);
  will-change: transform, filter;
}
.wylanianie:hover img,
.wylanianie:focus-within img {
  filter: brightness(1) saturate(1) contrast(1);
  transform: scale(1);
}

/* ---------------------------------------------------------------- wejście jasne */

.hero-pelne--jasne::after {
  background: linear-gradient(
    95deg,
    rgba(251, 247, 239, 0.95) 0%,
    rgba(251, 247, 239, 0.84) 34%,
    rgba(251, 247, 239, 0.38) 62%,
    rgba(251, 247, 239, 0) 100%
  );
}
.hero-pelne--jasne .etykieta.jasna { color: #8a6420; }
.hero-pelne--jasne .cytat-wstep { color: #16211d; }
.hero-pelne--jasne .podtytul-strony.jasne { color: #46514c; }
.hero-pelne--jasne .przycisk.jasny {
  border-color: var(--zielen);
  color: var(--zielen);
  background: transparent;
}
.hero-pelne--jasne .przycisk.jasny:hover { background: var(--zielen); color: #fbf7ef; }

@media (max-width: 900px) {
  .hero-pelne--jasne::after {
    background: linear-gradient(
      180deg,
      rgba(251, 247, 239, 0.55) 0%,
      rgba(251, 247, 239, 0.88) 62%,
      rgba(251, 247, 239, 0.97) 100%
    );
  }
}

/* media: jaśniejszy panel nagłówka */
.naglowek-bez-kadru--jasny,
.naglowek-bez-kadru--jasny .naglowek-bez-kadru-tekst { background: #3c5a4e; }
.naglowek-bez-kadru--jasny .naglowek-bez-kadru-foto::before { filter: blur(50px) brightness(0.55) saturate(0.9); }

/* na ekranach dotykowych nie ma najechania — zdjęcie pokazujemy od razu */
@media (hover: none) and (pointer: coarse) {
  .wylanianie img { filter: none; transform: none; }
}

/* pas z cytatem: łagodniejszy stan wyjściowy, żeby nie był za ciemny */
.pas-foto.wylanianie img { filter: brightness(0.94) saturate(0.95); transform: scale(1.04); }
.pas-foto.wylanianie:hover img { filter: none; transform: scale(1); }

/* pełnoekranowy nagłówek na jasnym zdjęciu */
.naglowek-pelny2--jasne::after {
  background: linear-gradient(
    95deg,
    rgba(251, 247, 239, 0.96) 0%,
    rgba(251, 247, 239, 0.86) 34%,
    rgba(251, 247, 239, 0.36) 66%,
    rgba(251, 247, 239, 0) 100%
  );
}
.naglowek-pelny2--jasne .etykieta { color: #8a6420; }
.naglowek-pelny2--jasne h1 { color: #16211d; }
.naglowek-pelny2--jasne h1::after { background: #8a6420; }

@media (max-width: 900px) {
  .naglowek-pelny2--jasne::after {
    background: linear-gradient(
      180deg,
      rgba(251, 247, 239, 0.6) 0%,
      rgba(251, 247, 239, 0.9) 58%,
      rgba(251, 247, 239, 0.97) 100%
    );
  }
}

/* na wąskich ekranach: zdjęcie nad tytułem, bez kremowej zasłony */
@media (max-width: 900px) {
  .naglowek-pelny2--jasne {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .naglowek-pelny2--jasne img {
    height: 340px;
    order: 1;
    object-position: 50% 22%;
  }
  .naglowek-pelny2--jasne::after { display: none; }
  .naglowek-pelny2--jasne .naglowek-pelny2-tresc {
    position: static;
    order: 2;
    background: var(--tlo);
    padding: 32px 24px 36px;
    max-width: none;
  }
}

/* korekta: zasłona tylko pod tytułem, zdjęcie w pełnym kolorze */
.naglowek-pelny2--jasne::after {
  background: linear-gradient(
    95deg,
    rgba(251, 247, 239, 0.97) 0%,
    rgba(251, 247, 239, 0.92) 24%,
    rgba(251, 247, 239, 0.55) 38%,
    rgba(251, 247, 239, 0.12) 52%,
    rgba(251, 247, 239, 0) 62%
  );
}

/* na wąskich ekranach: panel tytułu na całą szerokość */
@media (max-width: 900px) {
  .naglowek-pelny2--jasne { background: var(--tlo); }
  .naglowek-pelny2--jasne .naglowek-pelny2-tresc { width: 100%; }
  .naglowek-pelny2--jasne .naglowek-pelny2-tresc h1 { font-size: clamp(38px, 9vw, 54px); }
}


/* biografia: większe zdjęcie, wyższy pas, węższy panel */
.naglowek-bez-kadru--duze {
  grid-template-columns: 33% 1fr;
  height: clamp(520px, 72vh, 720px);
}
.naglowek-bez-kadru--duze.naglowek-bez-kadru--zielony { grid-template-columns: 33% 1fr; }

@media (max-width: 900px) {
  .naglowek-bez-kadru--duze,
  .naglowek-bez-kadru--duze.naglowek-bez-kadru--zielony { grid-template-columns: 1fr; height: auto; }
  .naglowek-bez-kadru--duze .naglowek-bez-kadru-foto { height: 460px; }
}

/* biografia: zdjęcie na jednolitym tle zamiast rozmycia */
.naglowek-bez-kadru--duze .naglowek-bez-kadru-foto { background: #16281f; }
.naglowek-bez-kadru--duze .naglowek-bez-kadru-foto::before { display: none; }
.naglowek-bez-kadru--duze .naglowek-bez-kadru-foto img { object-position: 50% 50%; }

/* tło komórki dobrane do tła fotografii — zdjęcie rozpływa się w czerni */
.naglowek-bez-kadru--duze .naglowek-bez-kadru-foto { background: #060d12; }

/* wejście: łagodniejszy stan wyjściowy niż reszta */
.hero-pelne.wylanianie img { filter: brightness(0.9) saturate(0.96) contrast(1.01); transform: scale(1.045); }
.hero-pelne.wylanianie:hover img { filter: none; transform: scale(1); }

/* archiwum koncertów */
.archiwum-opis { color: var(--szary); font-size: 15px; margin: 0 0 18px; }
#archiwum-lista .wydarzenie { opacity: 0.75; }
#archiwum-lista .wydarzenie h3 { font-size: 19px; }
#archiwum-lista .data { font-size: 21px; }

/* archiwum: mniej pustki nad sekcją */
#archiwum-sekcja { padding-top: 0; }
#archiwum-sekcja .harmonijka { max-width: none; }

/* ================================================================
   Menu mobilne
   ================================================================ */

.menu-przycisk {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-przycisk span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--atrament);
  transition: transform 0.3s ease, opacity 0.3s;
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--tlo);
  display: flex;
  flex-direction: column;
  padding: 22px 24px 40px;
  transform: translateY(-102%);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  visibility: hidden;
}
body.menu-otwarte .menu-panel { transform: none; visibility: visible; }
body.menu-otwarte { overflow: hidden; }

.menu-panel-gora {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--linia);
}
.menu-panel-znak {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--atrament);
}
.menu-zamknij {
  background: none;
  border: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--atrament);
  cursor: pointer;
  padding: 0 4px;
}

.menu-panel-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 4px;
}
.menu-panel-nav a {
  font-family: var(--serif);
  font-size: clamp(30px, 9vw, 40px);
  line-height: 1.25;
  color: var(--atrament);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, padding-left 0.3s;
}
.menu-panel-nav a:hover,
.menu-panel-nav a:focus { color: var(--zielen); padding-left: 10px; }

.menu-panel-dol {
  border-top: 1px solid var(--linia);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.menu-panel-jezyki { display: flex; gap: 14px; font-size: 13px; letter-spacing: 0.16em; }
.menu-panel-jezyki a { color: var(--szary); }
.menu-panel-jezyki a[aria-current='true'] { color: var(--atrament); font-weight: 500; }
.menu-panel-jezyki span { color: var(--linia); }
.menu-panel-rola {
  margin: 0;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--szary);
}

@media (max-width: 900px) {
  .naglowek .nav { display: none; }
  .naglowek .jezyki { display: none; }
  .menu-przycisk { display: flex; }
  .naglowek-w { flex-wrap: nowrap; }
}
