:root {
  --roz: #e1bec4;
  --bez: #f1e7da;
  --krem: #faf8f4;
  --szalwia: #97aa97;
  --grafit: #373737;
  --szampan: #c7aa7d;
  --cien: 0 24px 60px -28px rgba(55, 55, 55, 0.25);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--grafit);
  background: var(--krem);
  line-height: 1.6;
}
.reading-progress { position: fixed; inset: 0 0 auto; z-index: 100; height: 3px; background: transparent; }
.reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--szalwia), var(--roz), var(--szampan)); transition: width .12s linear; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); margin: 0.4em 0 0; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: #6c6660; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 26px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 0.95rem; cursor: pointer; text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--cien); }
.btn-primary { background: var(--szalwia); color: #fff; }
.btn-outline { background: rgba(255,255,255,0.7); border-color: #e3dbd0; }
.btn-soft { background: var(--roz); }
header.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(250,248,244,0.55); backdrop-filter: blur(6px); transition: all 0.4s ease;
}
header.top.scrolled { background: rgba(250,248,244,0.85); backdrop-filter: blur(18px); box-shadow: 0 10px 40px -30px rgba(0,0,0,0.5); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b { font-family: "Cormorant Garamond", serif; font-size: 1.3rem; letter-spacing: 0.28em; font-weight: 500; }
.brand small { display: block; font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: #6c6660; }
.menu { display: none; gap: 4px; align-items: center; }
.menu a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 0.9rem; }
.menu a:hover { background: var(--bez); }
.burger { display: inline-flex; }
@media (min-width: 1024px) { .menu { display: flex; } .burger { display: none; } }
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--krem); padding: 20px; display: none; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 8px; font-family: "Cormorant Garamond", serif; font-size: 1.7rem; text-decoration: none; }
.bottombar { position: fixed; inset: auto 0 0 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px; background: rgba(250,248,244,0.94); border-top: 1px solid #e8e0d5; backdrop-filter: blur(12px); }
@media (min-width: 1024px) { .bottombar { display: none; } }
main { padding-top: 86px; }
.hero { position: relative; overflow: hidden; }
.hero canvas, .hero .fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .fallback { background: linear-gradient(135deg, var(--krem), var(--bez) 45%, var(--roz)); opacity: 0.85; }
.hero .inner { position: relative; display: grid; gap: 40px; padding: 60px 0 80px; }
@media (min-width: 900px) { .hero .inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.lead { font-size: 1.15rem; color: #5c5751; max-width: 34rem; }
.quote { font-family: "Cormorant Garamond", serif; font-size: 1.45rem; }
.card { background: #fff; border: 1px solid #ece4d9; border-radius: var(--radius); box-shadow: var(--cien); padding: 28px; }
.photo { display: grid; place-content: center; text-align: center; gap: 6px; aspect-ratio: 4/5; background: linear-gradient(135deg, var(--krem), var(--bez) 45%, var(--roz)); }
#o-mnie .photo { aspect-ratio: 3/2; }
.photo span.file { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; }
.photo small { color: #6c6660; }
section { padding: 72px 0; }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid.four { grid-template-columns: repeat(4, 1fr); } .grid.three { grid-template-columns: repeat(3, 1fr); } }
.tile { text-align: left; cursor: pointer; font: inherit; }
.tile h3 { font-size: 1.25rem; margin: 0; }
.tile p { font-size: 0.9rem; color: #5c5751; display: none; }
.tile[aria-expanded="true"] p { display: block; }
.tile[aria-expanded="true"] { background: var(--bez); }
.accordion { border: 1px solid #ece4d9; border-radius: var(--radius); background: #fff; overflow: hidden; margin-bottom: 12px; box-shadow: var(--cien); }
.accordion button { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: center; background: none; border: 0; padding: 20px 24px; font: inherit; text-align: left; cursor: pointer; font-family: "Cormorant Garamond", serif; font-size: 1.3rem; }
.accordion .body { display: none; border-top: 1px solid #ece4d9; padding: 18px 24px; font-size: 0.95rem; color: #5c5751; }
.accordion.open .body { display: block; }
.banner { border-radius: var(--radius); background: linear-gradient(135deg, var(--krem), var(--bez) 45%, var(--roz)); padding: 46px 32px; text-align: center; }
ol.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 1px solid #e3dbd0; }
ol.timeline li { position: relative; padding-bottom: 28px; }
ol.timeline li span.num { position: absolute; left: -42px; top: 2px; width: 30px; height: 30px; border-radius: 999px; background: var(--roz); display: grid; place-items: center; font-family: "Cormorant Garamond", serif; }
label { display: block; font-size: 0.9rem; font-weight: 600; margin-top: 16px; }
input, textarea { width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #e3dbd0; border-radius: 16px; font: inherit; background: #fff; }
.error { color: #a33; font-size: 0.85rem; margin: 4px 0 0; }
.quiz { max-width: 760px; margin-top: 28px; }
.quiz-progress { height: 6px; border-radius: 99px; background: var(--bez); overflow: hidden; margin-bottom: 28px; }
.quiz-progress span { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--szalwia); transition: width .35s ease; }
.quiz h3 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 20px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option { display: flex; align-items: center; gap: 12px; min-height: 50px; border: 1px solid #e3dbd0; border-radius: 16px; padding: 12px 16px; cursor: pointer; }
.quiz-option:hover, .quiz-option:has(input:checked) { background: var(--bez); border-color: var(--szalwia); }
.quiz-option input { width: auto; margin: 0; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.privacy-note { color: #6c6660; font-size: .82rem; margin-bottom: 0; }
.visit-dialog { width: min(92vw, 580px); border: 1px solid #e3dbd0; border-radius: 28px; padding: 34px; color: var(--grafit); background: var(--krem); box-shadow: 0 30px 90px rgba(55,55,55,.25); }
.visit-dialog::backdrop { background: rgba(55,55,55,.34); backdrop-filter: blur(5px); }
.visit-dialog h2 { margin: .25em 0; }
.dialog-close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e3dbd0; background: #fff; font-size: 1.5rem; cursor: pointer; }
.hp { position: absolute; width: 0; height: 0; overflow: hidden; }
footer { margin-top: 60px; background: rgba(241,231,218,0.6); border-top: 1px solid #e8e0d5; padding: 48px 0 100px; font-size: 0.9rem; }
@media (min-width: 1024px) { footer { padding-bottom: 48px; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.vis { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid var(--szalwia); outline-offset: 3px; }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 84px; z-index: 80; }
@media (min-width: 1024px) { .cookie { right: auto; bottom: 24px; max-width: 26rem; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* --- Logo, zdjęcia, responsywność, dostępność --- */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; border-radius: 999px; box-shadow: var(--cien); }
.logo-crop { position: relative; display: block; width: clamp(205px, 18vw, 250px); height: 76px; overflow: hidden; flex: 0 0 auto; }
.logo-crop .brand-logo { position: absolute; left: 50%; top: 50%; width: clamp(245px, 21vw, 286px); max-width: none; height: auto; transform: translate(-50%, -50%); display: block; }
.footer-logo { width: 270px; height: 90px; margin-bottom: 8px; }
.footer-logo .brand-logo { width: 310px; }
.nav { min-height: 84px; }
main { padding-top: clamp(86px, 14vw, 108px); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo { padding: 0; overflow: hidden; }
.hero-photo { aspect-ratio: auto; max-height: 78vh; margin-inline: auto; }
.hero-photo { aspect-ratio: 2/3; max-width: 420px; }
.hero-photo-contain img { object-fit: cover; padding: 0; background: linear-gradient(135deg, var(--krem), var(--bez) 45%, var(--roz)); }
@media (max-width: 899px) { .hero-photo { max-width: 420px; } }
@media (max-width: 380px) {
  .logo-crop { width: 190px; height: 66px; }
  .logo-crop .brand-logo { width: 225px; }
  .btn { padding: 12px 18px; font-size: 0.9rem; }
  .wrap { padding: 0 14px; }
}
img { height: auto; }
iframe { max-width: 100%; }
@media (max-width: 560px) {
  .card { padding: 22px; }
  .hero .inner { padding-top: 42px; }
  .quiz-actions .btn { flex: 1 1 auto; }
  .visit-dialog { padding: 28px 22px; }
}
.legal-page main { padding-top: 130px; }
.legal-content { max-width: 820px; padding-bottom: 80px; }
.legal-content h1 { margin-bottom: 32px; }
.legal-content h2 { margin-top: 40px; }
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 32px; text-align: center; background: linear-gradient(135deg, var(--krem), var(--bez), var(--roz)); }
.not-found > div { max-width: 680px; }
