:root {
  --yellow: #ffd250;
  --blue: #879bc3;
  --blue-light: #bfd0de;
  --cream: #f5dcbe;
  --coral: #eb6e64;
  --coral-deep: #d25550;
  --page-bg: #dce6ed;
  --yellow-soft: #f1dda0;
  --coral-soft: #dba9a5;
  --surface: rgba(255, 255, 255, 0.34);
  --black: #111111;
  --white: #ffffff;
  --ink-muted: #111111;
  --line: rgba(17, 17, 17, 0.18);
  --header-h: 104px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
#o-gabinecie, #wsparcie, #tus, #kontakt { scroll-margin-top: 30px; }
body { margin: 0; color: var(--black); background: var(--page-bg); font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: 16px; line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.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; }

.site-header { position: fixed; z-index: 30; inset: 0 0 auto 0; min-height: var(--header-h); display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 1fr); align-items: center; gap: 28px; padding: 8px clamp(24px, 5vw, 76px); background: rgba(220, 230, 237, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.brand-logo { width: fit-content; text-decoration: none; }
.logo-crop { position: relative; display: block; width: 248px; height: 88px; overflow: hidden; }
.logo-crop img { position: absolute; width: 280px; max-width: none; left: 50%; top: -34px; transform: translateX(-50%); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.main-nav a, .back-top { position: relative; text-decoration: none; font-size: .88rem; font-weight: 700; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--black); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-cta { justify-self: end; }
.menu-toggle { display: none; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 13px 25px; border: 1px solid var(--black); border-radius: 999px; text-decoration: none; font-size: .86rem; font-weight: 700; letter-spacing: 0; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); box-shadow: 0 5px 0 rgba(17,17,17,.08); }
.button-black { color: var(--black); background: rgba(255,255,255,.42); }

.hero { min-height: 100svh; position: relative; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(58px, 7vw, 112px); padding: calc(var(--header-h) + 72px) clamp(24px, 7vw, 110px) 118px; background: transparent; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 220px; height: 220px; left: -90px; top: 20%; border: 2px solid var(--coral); border-radius: 50%; opacity: .75; }
.hero-copy { position: relative; z-index: 3; max-width: 780px; }
.eyebrow { margin: 0 0 22px; font-size: .88rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2 { margin: 0; font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }
.hero h1 { max-width: 720px; font-size: clamp(2.8rem, 4.4vw, 4.8rem); }
.hero-lead { max-width: 620px; margin: 34px 0 46px; color: var(--ink-muted); font-size: clamp(1rem, 1.2vw, 1.14rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.hero-media { position: relative; z-index: 2; width: 100%; min-height: 0; aspect-ratio: 1.2 / 1; }
.family-photo { position: absolute; inset: 0 4% 4% 3%; border-radius: 46% 46% 14px 14px; overflow: hidden; background: var(--blue); box-shadow: 30px 34px 0 var(--blue); }
.family-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 24% center; }
.avatar-sticker { position: absolute; z-index: 3; width: 166px; height: 166px; right: -10%; top: 4%; border: 6px solid var(--page-bg); border-radius: 50%; background: var(--page-bg); overflow: hidden; transform: rotate(6deg); }
.avatar-sticker img, .mini-face img, .avatar-small img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; object-fit: contain; transform: none; }
.avatar-large img { position: absolute; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -49%); }
.hero-note { position: absolute; z-index: 4; left: -6%; bottom: 10%; padding: 18px 24px; border: 2px solid var(--black); border-radius: 18px; background: var(--yellow); box-shadow: 9px 9px 0 var(--black); transform: rotate(-3deg); }
.hero-note strong, .hero-note span { display: block; }
.hero-note strong { font-size: 1.22rem; }
.hero-note span { font-size: .86rem; font-weight: 700; }
.hero-wave { position: absolute; z-index: 1; width: 55vw; height: 55vw; right: -23vw; bottom: -40vw; border: 2px solid var(--coral); border-radius: 50%; }

.section { position: relative; min-height: 100svh; padding: clamp(108px, 11vw, 176px) clamp(24px, 7vw, 110px); }
.section-label { display: grid; grid-template-columns: minmax(32px, 1fr) auto minmax(32px, 1fr); align-items: center; gap: 24px; width: 100%; margin-bottom: clamp(70px, 8vw, 112px); }
.section-label span { display: block; width: 100%; height: 1px; background: var(--line); }
.section-label h2, .work-heading h2 { margin: 0; font-size: .86rem; font-weight: 600; letter-spacing: .04em; line-height: 1.3; text-align: center; }
.section-display { margin: 0; font-size: clamp(2.5rem, 4vw, 4.25rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; }

.about { background: transparent; }
.about-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(72px, 10vw, 164px); }
.profile-grid, .work-grid { min-height: calc(100svh - var(--header-h) - 120px); }
.about-portrait { width: 100%; aspect-ratio: 1 / 1.04; margin: 0; overflow: hidden; border-radius: 50% 50% 8px 8px; background: rgba(255,255,255,.58); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.work-photo { width: 100%; aspect-ratio: 1.2 / 1; margin: 0; overflow: hidden; border-radius: 46% 46% 14px 14px; background: var(--cream); }
.work-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.about-mark { position: relative; min-height: 520px; display: grid; place-items: center; border-radius: 50% 50% 8px 8px; background: var(--blue-light); overflow: hidden; }
.about-mark::before, .about-mark::after { content: ""; position: absolute; border: 2px solid rgba(17,17,17,.2); border-radius: 50%; }
.about-mark::before { width: 72%; aspect-ratio: 1; left: -18%; top: -8%; }
.about-mark::after { width: 95%; aspect-ratio: 1; right: -40%; bottom: -30%; }
.avatar-large { position: relative; z-index: 2; width: min(70%, 330px); aspect-ratio: 1; border: 7px solid var(--page-bg); border-radius: 50%; background: var(--yellow); overflow: hidden; box-shadow: 14px 14px 0 var(--coral-soft); }
.avatar-large img { width: 610px; }
.about-copy { max-width: 760px; }
.about-copy p { color: var(--black); font-size: 1.02rem; }
.about-copy .lead-copy { margin-top: 0; color: var(--black); font-size: clamp(1.4rem, 2vw, 1.95rem); font-weight: 600; line-height: 1.42; letter-spacing: -.02em; }
.about-copy .profile-name { margin: 0; color: var(--black); font-size: clamp(2.2rem, 3.2vw, 3.5rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.about-copy .profile-role { margin: 18px 0 40px; color: var(--black); font-size: 1rem; font-weight: 600; }
.profile-copy > p:not(.profile-name):not(.profile-role) { max-width: 68ch; margin: 0 0 18px; }
.profile-copy > p:last-child { margin-bottom: 0; }
.work { background: transparent; }
.work-heading { display: grid; grid-template-columns: minmax(32px, 1fr) auto minmax(32px, 1fr); align-items: center; gap: 22px; margin: 0 0 clamp(58px, 7vw, 90px); }
.work-heading span { height: 1px; background: var(--line); }

.services { color: var(--black); background: transparent; }
.section-label-light { color: var(--black); }
.services-heading { margin-bottom: 82px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 300px; display: flex; flex-direction: column; padding: clamp(30px, 4vw, 48px); color: var(--black); border-radius: 34px; transition: transform .25s ease; }
.service-card:hover { transform: translateY(-7px) rotate(-.4deg); }
.card-yellow { background: var(--yellow-soft); }
.card-cream { background: var(--surface); }
.card-coral { background: var(--coral-soft); }
.card-white { background: rgba(255,255,255,.56); }
.card-number { align-self: flex-end; display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid currentColor; border-radius: 50%; font-size: .75rem; font-weight: 800; }
.service-card h3 { max-width: 560px; margin: auto 0 18px; font-size: clamp(1.55rem, 2.25vw, 2.3rem); font-weight: 700; line-height: 1.16; letter-spacing: -.025em; }
.service-card p { max-width: 560px; margin: 0; font-size: .96rem; }

.tus { color: var(--black); background: transparent; overflow: hidden; }
.tus-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(50px, 8vw, 120px); }
.tus-copy > p { max-width: 700px; margin: 38px 0 44px; color: var(--black); font-size: 1.03rem; }
.tus-graphic { position: relative; min-height: 520px; }
.age-bubble { position: absolute; z-index: 2; width: min(33vw, 400px); aspect-ratio: 1; inset: 0 0 auto auto; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--coral); }
.age-bubble strong { font-size: clamp(5.4rem, 9vw, 9.5rem); line-height: .8; letter-spacing: -.08em; }
.age-bubble span { margin-top: 14px; font-size: .9rem; font-weight: 700; letter-spacing: .04em; text-transform: none; }
.line-circle { position: absolute; width: min(26vw, 300px); aspect-ratio: 1; left: 0; bottom: 0; border: 2px solid var(--blue); border-radius: 50%; }
.mini-face { position: absolute; z-index: 3; width: 150px; height: 150px; left: 6%; bottom: 4%; border: 5px solid var(--page-bg); border-radius: 50%; background: var(--yellow); overflow: hidden; transform: rotate(-8deg); }

.contact { display: grid; grid-template-columns: 1.12fr .88fr; align-items: end; gap: clamp(64px, 9vw, 140px); background: transparent; }
.contact > .section-label { grid-column: 1 / -1; margin-bottom: 0; }
.contact-copy > p:not(.eyebrow) { max-width: 640px; margin: 38px 0 46px; color: var(--black); }
.contact-card { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--black); border-radius: 30px; background: rgba(255,255,255,.58); box-shadow: 8px 8px 0 rgba(17,17,17,.78); }
.contact-logo { display: flex; align-items: center; gap: 18px; padding-bottom: 24px; border-bottom: 2px solid var(--black); }
.contact-logo-copy { display: grid; gap: 4px; }
.contact-logo-copy strong { color: var(--black); font-size: 1.55rem; line-height: 1.08; letter-spacing: -.04em; }
.contact-logo-copy span { color: var(--black); font-size: .92rem; line-height: 1.3; }
.avatar-small { position: relative; width: 62px; height: 62px; flex: 0 0 62px; background: transparent; overflow: visible; }
.contact-options { display: grid; gap: 16px; padding-top: 24px; }
.contact-option { padding: 20px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.34); }
.contact-option h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.02em; }
.contact-option p { margin: 10px 0 18px; font-size: .94rem; line-height: 1.55; }
.contact-option .button { width: 100%; min-height: 54px; padding-inline: 18px; text-align: center; }
.detail { padding: 20px 0; border-bottom: 1px solid var(--line); }
.detail:last-child { border-bottom: 0; padding-bottom: 0; }
.detail span { color: var(--black); font-size: .78rem; font-weight: 600; letter-spacing: .03em; text-transform: none; }
.detail p { margin: 5px 0 0; font-size: 1.28rem; font-weight: 700; line-height: 1.35; }

footer { display: grid; grid-template-columns: minmax(240px, 1fr) auto; align-items: center; gap: 34px; min-height: 136px; padding: 30px clamp(24px, 5vw, 76px); color: var(--black); background: transparent; border-top: 1px solid var(--line); }
footer p { margin: 0; font-size: .76rem; opacity: .74; }
.back-top { text-decoration: underline; text-underline-offset: 5px; }
.reveal { transform: translateY(24px); transition: transform .7s ease; }
.reveal.visible { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { transform: none; }
}

@media (max-width: 1100px) {
  :root { --header-h: 88px; }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 24px; }
  .logo-crop { width: 210px; height: 76px; }
  .logo-crop img { width: 238px; top: -29px; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; gap: 5px; place-content: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--black); border-radius: 50%; background: var(--yellow); }
  .menu-toggle span:not(.sr-only) { width: 19px; height: 2px; background: var(--black); }
  .main-nav { position: absolute; top: 80px; left: 24px; right: 24px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px; border: 2px solid var(--black); border-radius: 20px; background: #e7eef3; box-shadow: 9px 9px 0 var(--black); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 150px; }
  .hero-copy { max-width: 850px; }
  .hero-media { width: min(80vw, 720px); margin-left: auto; }
  .family-photo { border-radius: 320px 320px 18px 18px; }
  .about-grid, .tus-layout, .contact { grid-template-columns: 1fr; }
  .about-mark { min-height: 520px; }
  .tus-graphic { min-height: 470px; }
  .age-bubble { width: min(52vw, 400px); }
  .line-circle { width: min(38vw, 300px); }
}

@media (max-width: 680px) {
  body { line-height: 1.55; }
  .logo-crop { width: 172px; height: 66px; }
  .logo-crop img { width: 198px; top: -24px; }
  .hero { gap: 54px; padding: 128px 24px 96px; }
  .hero::before { display: none; }
  .hero h1 { font-size: clamp(2.45rem, 11vw, 3.35rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-media { width: 100%; aspect-ratio: .72 / 1; }
  .family-photo { inset: 0 7% 4% 0; box-shadow: 18px 20px 0 var(--blue); }
  .family-photo img { object-position: 24% top; transform: none; }
  .avatar-sticker { width: 120px; height: 120px; right: -21%; border-width: 4px; }
  .hero-note { left: 0; bottom: 8%; padding: 13px 17px; }
  .section { padding: 90px 24px; }
  .section-label { gap: 14px; margin-bottom: 58px; }
  .section-label h2, .work-heading h2 { font-size: .8rem; }
  .section-display { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .about-portrait { aspect-ratio: 1; border-radius: 42% 42% 8px 8px; }
  .work-photo { aspect-ratio: 1.08 / 1; border-radius: 38% 38% 10px 10px; }
  .about-mark { min-height: 390px; }
  .avatar-large { width: 68%; }
  .avatar-large img { width: 470px; }
  .about-grid { gap: 52px; }
  .profile-grid { gap: 40px; }
  .about-copy .profile-name { font-size: clamp(2.1rem, 10vw, 3rem); }
  .about-copy .profile-role { margin-bottom: 28px; }
  .work-heading { gap: 12px; margin: 0 0 52px; }
  .about-copy .lead-copy { font-size: 1.45rem; }
  .services-heading { margin-bottom: 44px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 285px; border-radius: 26px; }
  .tus-layout { gap: 40px; }
  .tus-graphic { min-height: 350px; }
  .age-bubble { width: min(80vw, 320px); }
  .line-circle { width: 210px; }
  .mini-face { width: 116px; height: 116px; }
  .profile-grid, .work-grid { min-height: auto; }
  .contact-card { box-shadow: 6px 6px 0 rgba(17,17,17,.78); }
  .contact-option { padding: 18px; }
  .contact-option .button { min-height: 58px; }
  footer { grid-template-columns: 1fr; align-items: start; padding-block: 44px; }
  footer .back-top { justify-self: start; }
}
