/* blazejwenderlich.pl · wenli 文理 · wspólne style PL i EN */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pjs-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pjs-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/pjs-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/pjs-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/pjs-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/pjs-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/pjs-latin-ext-800.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/pjs-latin-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Sans SC"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/noto-sc-500.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans SC"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/noto-sc-700.woff2") format("woff2"); }
:root {
  --paper: #F3F5F4;
  --white: #FFFFFF;
  --ink: #1E1E24;
  --ink-soft: #555A66;
  --on-ink: #F3F5F4;
  --on-ink-muted: #A7ABB5;
  --coral: #E8472B;          /* znak 文, grafika */
  --accent: #C93A20;         /* przyciski i linki */
  --accent-hover: #A82F19;
  --accent-light: #FF7A5C;   /* koral na ciemnym tle */
  --coral-tint: #FCE3DC;
  --jade-deep: #0B6E55;
  --mint: #DDF1EA;
  --line: #DCE0DE;
  --line-2: #C9CECB;
  --line-dark: #3A3A44;
  --max: 1200px;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --han: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --gutter: clamp(16px, 4.4vw, 64px);
  --seam: clamp(220px, 21vw, 300px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--line-2) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 500; font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-hover); }
::selection { background: var(--coral-tint); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
[lang="zh"] { font-family: var(--han); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 12px 16px; z-index: 60; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; text-decoration: none; font-weight: 600; font-size: 1.05rem; padding: 12px 24px; border-radius: 10px; border: 2px solid var(--accent); background: var(--accent); color: var(--white); transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn-block { width: 100%; min-height: 56px; font-size: 1.1rem; }
.actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Nagłówek */
.site-header { border-bottom: 1px solid var(--line); }
.nav { max-width: none; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink-soft); font-size: .95rem; }
.brand img { height: 40px; width: auto; }
.brand > span { white-space: nowrap; padding-left: 14px; border-left: 1px solid var(--line-2); }
.nav-links { display: flex; align-items: center; gap: 8px; font-size: .95rem; white-space: nowrap; }
.nav-text, .lang-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; }
.nav-text { color: var(--ink-soft); }
.nav-text:hover { color: var(--ink); }
.lang-link { color: var(--ink); font-weight: 600; margin-right: 8px; }

/* Hero */
.hero { text-align: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.75rem); letter-spacing: -0.035em; line-height: 1.02; max-width: 15em; }
.hero .lead { margin-top: 22px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--ink-soft); max-width: 40em; }
.hero .actions { justify-content: center; }

/* 文 | 理 */
.wenli, .proof { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.half { display: flex; flex-direction: column; }
.half-wen { background: var(--white); }
.half-li { background: var(--ink); color: var(--on-ink); }
.wenli .half-wen { padding: 56px calc(var(--seam) / 2 + 48px) 64px var(--gutter); }
.wenli .half-li { padding: 56px var(--gutter) 64px calc(var(--seam) / 2 + 48px); }
.glyph { display: flex; align-items: baseline; gap: 16px; }
.glyph [lang="zh"] { font-weight: 700; font-size: clamp(5.5rem, 9vw, 8.25rem); line-height: .9; }
.half-wen .glyph [lang="zh"] { color: var(--coral); }
.glyph small { font-size: 1.05rem; font-weight: 600; color: var(--ink-soft); }
.half-li .glyph small { color: var(--on-ink-muted); }
.wenli h2 { margin-top: 28px; font-size: clamp(1.6rem, 2.3vw, 2rem); max-width: 16em; }
.lines { margin-top: 24px; border-top: 1px solid var(--line-2); }
.lines li { padding: 16px 0; border-bottom: 1px solid var(--line-2); color: var(--ink-soft); }
.lines strong { color: var(--ink); font-weight: 700; }
.half-li .lines, .half-li .lines li { border-color: var(--line-dark); }
.half-li .lines li { color: var(--on-ink-muted); }
.half-li .lines strong { color: var(--on-ink); }
.seam { margin: 0; position: absolute; left: 50%; top: 56px; width: var(--seam); transform: translateX(-50%); z-index: 2; }
.seam img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 44px rgba(30, 30, 36, .28); }
.seam figcaption { margin-top: 14px; text-align: center; font-size: .875rem; font-weight: 600; background: var(--paper); color: var(--ink); border-radius: 999px; padding: 8px 14px; box-shadow: 0 6px 18px rgba(30, 30, 36, .12); }

.proof .half-wen { padding: 8px calc(var(--seam) / 2 + 48px) 72px var(--gutter); }
.proof .half-li { padding: 8px var(--gutter) 72px calc(var(--seam) / 2 + 48px); }
.proof h3 { font-size: 1.45rem; }
.proof p { margin-top: 14px; color: var(--ink-soft); max-width: 36em; }
.proof .half-li p { color: var(--on-ink-muted); }

/* Opinia (gdy będzie) */
.quote-band { background: var(--mint); }
.quote { padding-top: 72px; padding-bottom: 72px; margin: 0 auto; }
.quote p { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.35; max-width: 34em; }
.quote footer { margin-top: 18px; font-weight: 600; color: var(--jade-deep); }

/* Wystąpienia */
.talks-band { background: var(--mint); }
.talks-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); align-items: start; }
.talks-grid h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
.talk-meta { margin-top: 12px; font-weight: 700; color: var(--jade-deep); }
.talks-grid > div > p:not(.talk-meta) { margin-top: 16px; font-size: 1.12rem; color: #3F4450; max-width: 34em; }
.talk-list { border-top: 2px solid var(--ink); }
.talk-list li { padding: 22px 0; border-bottom: 1px solid #B9D9CD; }
.talk-list li:last-child { border-bottom: 2px solid var(--ink); }
.talk-list h3 { font-size: 1.3rem; }
.talk-list p { margin-top: 6px; color: #3F4450; }

/* O mnie */
.about { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.portrait { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.about h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
.about p { margin-top: 18px; font-size: 1.15rem; color: var(--ink-soft); max-width: 36em; }

/* Kontakt */
.contact { background: var(--white); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.contact h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; }
.contact-grid > div > p { margin-top: 18px; font-size: 1.15rem; color: var(--ink-soft); }
.contact-actions { display: flex; flex-direction: column; gap: 8px; }
.contact-line { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-weight: 700; font-size: 1.1rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-line span { font-size: .875rem; font-weight: 600; color: var(--ink-soft); }
a.contact-line:hover { color: var(--accent); }
.btn-note { margin-left: 10px; font-size: .875rem; font-weight: 500; opacity: .85; }
.wechat { display: flex; align-items: center; gap: 18px; padding-top: 14px; }
.wechat img { width: 132px; height: 132px; flex-shrink: 0; border: 1px solid var(--line-2); border-radius: 10px; }
.wechat p { display: flex; flex-direction: column; gap: 2px; color: var(--ink-soft); font-size: .95rem; }
.wechat p span { font-size: .875rem; font-weight: 600; }

/* Stopka */
.site-footer { padding-top: 24px; padding-bottom: 24px; display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; color: var(--ink-soft); font-size: .95rem; }
.site-footer nav { display: flex; gap: 0 20px; flex-wrap: wrap; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* Tablet */
@media (max-width: 1100px) {
  .nav-text { display: none; }
}
@media (max-width: 860px) {
  .wenli, .proof { grid-template-columns: 1fr; }
  .wenli .half-wen, .wenli .half-li { padding: 48px var(--gutter); }
  .proof .half-wen, .proof .half-li { padding: 40px var(--gutter) 48px; }
  .proof .half-wen { border-top: 1px solid var(--line); }
  .wenli .half-wen { padding-bottom: 32px; }
  .seam { position: static; transform: none; width: 100%; background: linear-gradient(var(--white) 50%, var(--ink) 50%); padding: 0 var(--gutter); display: flex; flex-direction: column; align-items: center; }
  .seam img { max-width: 280px; }
  .seam figcaption { margin-top: -20px; position: relative; }
  .proof { display: flex; flex-direction: column; }
  .talks-grid, .about, .contact-grid { grid-template-columns: 1fr; }
  .about .portrait { max-width: 300px; }
}
/* Telefon */
@media (max-width: 640px) {
  .brand > span { display: none; }
  .brand img { height: 34px; }
  .lang-link { margin-right: 0; }
  .hero { text-align: left; align-items: flex-start; }
  .hero .actions { justify-content: flex-start; }
  .actions .btn { flex: 1 1 100%; }
  .seam img { max-width: 240px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Baner zgód (analytics.js) */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin-left: auto; background: var(--white); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px 24px; box-shadow: 0 12px 40px rgba(18, 23, 34, .18); }
.consent[hidden] { display: none; }
.consent-title { font-weight: 700; font-size: 1.05rem; }
.consent-text { margin-top: 6px; font-size: .95rem; color: var(--ink-soft); }
.consent-options { margin-top: 12px; display: grid; gap: 4px; font-size: .95rem; }
.consent-options[hidden] { display: none; }
.consent-options label { display: flex; align-items: center; min-height: 44px; }
.consent-options input { width: 20px; height: 20px; accent-color: var(--accent); margin-right: 10px; }
.consent-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.consent-actions .btn { min-height: 44px; padding: 8px 18px; font-size: .95rem; cursor: pointer; font-family: inherit; }
.consent-link { background: none; border: 0; min-height: 44px; padding: 0 8px; font: inherit; font-size: .95rem; font-weight: 600; color: var(--accent); text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) {
  .consent { left: 8px; right: 8px; bottom: 8px; padding: 14px 16px; border-radius: 12px; }
  .consent-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .consent-text { margin-top: 0; font-size: .875rem; line-height: 1.45; }
  .consent-actions { margin-top: 10px; gap: 6px; }
  .consent-actions .btn { flex: 1 1 auto; padding: 8px 12px; font-size: .9rem; }
}

/* Strony tekstowe (polityka prywatności) */
.legal { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.legal h2 { font-size: 1.35rem; margin-top: 40px; letter-spacing: -0.01em; }
.legal p, .legal li { color: var(--ink-soft); margin-top: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal .updated { margin-top: 8px; font-size: .95rem; }
.legal-header .nav-links { gap: 8px; }
