@font-face { font-family:"JP Bodoni"; src:url("jestes-piekna/bodoni.ttf") format("truetype"); font-weight:400 900; font-style:normal; font-display:swap; }
.jp-case-page { --jp-nav-space:calc(114px + env(safe-area-inset-top,0px)); }
body.kwd-navigation.jp-case-page:not(.mobile-nav-open) #topbar#topbar { position:absolute!important; }
body.kwd-navigation.elite-detail-page.jp-case-page #tresc { padding-top:var(--jp-nav-space); background:linear-gradient(115deg,#0b1823,#070e15 75%) top / 100% var(--jp-nav-space) no-repeat; }
.jp-case-page .hw-case { --hw-ink:#35282f; --hw-muted:#725b65; --hw-accent:#89435d; --hw-line:#dcc9d0; color:var(--hw-ink); background:#fff9f6; }
.jp-wrap { width:min(1480px,calc(100% - 8vw)); margin-inline:auto; }
.jp-opening { padding-block:12px clamp(36px,5vw,74px); background:#422a35; color:#fff9f6; color-scheme:dark; }
.jp-trail { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:12px; color:#d9c0ca; font-size:12px; }
.jp-trail a { display:inline-flex; align-items:center; gap:10px; min-height:32px; }
.jp-opening__head { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); align-items:center; gap:20px 5vw; margin-bottom:22px; }
.jp-opening .hw-case__label { color:#f0d4a0; }
.jp-case-page .jp-opening h1 { max-width:none; margin-top:10px; color:#fff9f6; font-family:"JP Bodoni",serif; font-size:clamp(42px,4.8vw,72px); font-weight:400; line-height:1.05; letter-spacing:-.035em; }
.jp-opening__scope > p { max-width:40ch; color:#e3cfd6; font-size:14px; line-height:1.6; }
.jp-opening__scope dl { display:flex; flex-wrap:wrap; gap:8px 18px; margin:12px 0 0; font-size:10px; line-height:1.4; }
.jp-opening__scope dl > div { display:flex; gap:6px; }
.jp-opening__scope dt { color:#c4a7b3; }
.jp-opening__scope dd { margin:0; }
.hw-case figure.jp-hero-scene { width:min(100%,calc((100svh - 300px)*1.7768)); margin-inline:auto; overflow:hidden; border:1px solid #efdbc242; border-radius:5px; background:#9c7e83; }
.jp-opening__links { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px 30px; max-width:1150px; margin:22px auto 0; color:#dcc8d0; font-size:12px; }
.jp-opening__links a { display:inline-flex; align-items:center; gap:18px; min-height:36px; border-bottom:1px solid #f0d4a059; color:#f0d4a0; }
.jp-section { padding-block:clamp(62px,8vw,120px); scroll-margin-top:30px; }
.jp-section--cream { --hw-ink:#35282f; --hw-muted:#725b65; --hw-accent:#89435d; --hw-line:#dcc9d0; color:var(--hw-ink); background:#fff9f6; color-scheme:light; }
.jp-section--paper { --hw-ink:#35282f; --hw-muted:#725b65; --hw-accent:#89435d; --hw-line:#d7c0ca; color:var(--hw-ink); background:#f2e8e8; color-scheme:light; }
.jp-section--wine { --hw-ink:#fff9f6; --hw-muted:#e2ccd5; --hw-accent:#f0d4a0; --hw-line:#f4e2e132; color:var(--hw-ink); background:#63374b; color-scheme:dark; }
.jp-section--dark { --hw-ink:#fff9f6; --hw-muted:#cfb8c1; --hw-accent:#f0d4a0; --hw-line:#e4c8d132; color:var(--hw-ink); background:#35232d; color-scheme:dark; }
.jp-section-head { display:grid; grid-template-columns:minmax(0,1.06fr) minmax(0,1fr); align-items:end; gap:28px 7vw; margin-bottom:clamp(36px,4.5vw,68px); }
.jp-case-page .jp-heading { margin-top:16px; font-family:"JP Bodoni",serif; font-size:clamp(38px,4.7vw,72px); font-weight:400; line-height:1.08; letter-spacing:-.035em; text-wrap:balance; }
.jp-section-head > p { max-width:54ch; color:var(--hw-muted); font-size:clamp(15px,1.3vw,18px); line-height:1.78; }
.jp-hero-scene :is(a,img), .jp-screen :is(a,img), .jp-framed-screen :is(a,img), .jp-workspace-scene :is(a,img), .jp-mobile-screen :is(a,img) { display:block; width:100%; height:auto; }
.jp-browser { overflow:hidden; border:1px solid #8b6a7744; border-radius:6px; background:#fff; box-shadow:0 28px 65px #63374b16; }
.jp-browser__bar { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; min-height:37px; padding-inline:18px; border-bottom:1px solid #ad839638; background:#f0e3e6; color:#725b65; font-size:11px; }
.jp-browser__bar > span:first-child { width:5px; height:5px; border-radius:50%; background:#b799a5; box-shadow:9px 0 #b799a5,18px 0 #b799a5; }
.jp-browser__bar > span:last-child { justify-self:end; }
.jp-site-link { display:inline-flex; align-items:center; justify-content:space-between; gap:25px; min-height:48px; margin-top:28px; padding-bottom:4px; border-bottom:1px solid var(--hw-accent); color:var(--hw-ink); font-size:14px; }
.jp-framed-screen { overflow:hidden; padding:clamp(18px,2.8vw,42px); border:1px solid var(--hw-line); background:#ffffff08; }
.jp-section--paper .jp-framed-screen { background:#fff9f6; }
.jp-section--cream .jp-framed-screen { background:#f0e7e7; }
.jp-framed-screen figcaption { margin-top:18px; max-width:65ch; color:var(--hw-muted); font-size:12px; line-height:1.7; }
.jp-editorial-head { display:flex; justify-content:space-between; align-items:start; gap:20px 40px; margin-top:clamp(46px,6vw,88px); padding-top:26px; padding-bottom:28px; border-top:1px solid var(--hw-line); }
.jp-editorial-head > p:last-child { max-width:38ch; color:var(--hw-muted); font-size:14px; line-height:1.7; }
.jp-notes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px 5vw; margin-top:clamp(38px,5vw,70px); }
.jp-notes > div { padding-top:22px; border-top:1px solid var(--hw-line); }
.jp-notes span { color:#89435d; font-size:11px; letter-spacing:.08em; }
.jp-notes h3 { margin:18px 0 12px; font-family:"JP Bodoni",serif; font-size:29px; font-weight:400; line-height:1.15; }
.jp-notes p { max-width:35ch; color:var(--hw-muted); font-size:14px; line-height:1.75; }
.jp-workspace-scene { margin-bottom:clamp(36px,5vw,72px)!important; overflow:hidden; border:1px solid var(--hw-line); border-radius:5px; background:#9d7f8b; }
.jp-mobile-detail { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.8fr); align-items:center; gap:clamp(36px,8vw,110px); }
.jp-mobile-detail h3 { margin:22px 0 28px; max-width:16ch; font-family:"JP Bodoni",serif; font-size:clamp(38px,4.8vw,72px); font-weight:400; line-height:1.07; letter-spacing:-.035em; }
.jp-mobile-detail p:not(.hw-case__label) { max-width:45ch; color:var(--hw-muted); font-size:16px; line-height:1.75; }
.hw-case figure.jp-mobile-screen { width:min(100%,310px); justify-self:center; overflow:hidden; border:10px solid #63374b; border-radius:32px; background:#63374b; box-shadow:0 26px 70px #63374b29; }
.jp-end { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:28px 40px; }
.jp-end > p { font-family:"JP Bodoni",serif; font-size:clamp(38px,4.5vw,68px); line-height:1.08; letter-spacing:-.035em; }
.jp-end__actions { display:grid; justify-items:start; gap:16px; }
.jp-end__actions > a:not(.jp-end__site) { display:inline-flex; align-items:center; gap:24px; min-height:54px; padding:14px 20px; border-radius:4px; background:#f0d4a0; color:#422a35; font-size:14px; }
.jp-end__site { display:inline-flex; align-items:center; gap:24px; min-height:44px; border-bottom:1px solid #f0d4a075; color:#f0d4a0; font-size:13px; }
.jp-end__back { display:inline-flex; align-items:center; gap:9px; grid-column:1 / -1; min-height:40px; color:#cfb8c1; font-size:12px; }
.jp-case-page :is(a,button):focus-visible { outline:2px solid currentColor; outline-offset:5px; }
body.jp-case-page:has(#topbar:not(.is-condensed)) .dock { visibility:hidden!important; }
body.jp-case-page:has(.hw-gallery[open]) { overflow:hidden; }
body.jp-case-page .hw-gallery { --hw-ink:#fff9f6; --hw-muted:#cfb8c1; --hw-line:#e4c8d132; }
body.jp-case-page .hw-gallery[open], body.jp-case-page .hw-gallery[open] * { cursor:auto!important; }
body.jp-case-page .hw-gallery[open] button, body.jp-case-page .hw-gallery[open] button * { cursor:pointer!important; }
body.jp-case-page:has(.hw-gallery[open]) .kwd-cursor { visibility:hidden; }
@media(max-width:870px) { .jp-case-page { --jp-nav-space:calc(84px + env(safe-area-inset-top,0px)); } }
@media(max-width:760px) {
 .jp-opening__head,.jp-section-head,.jp-notes,.jp-mobile-detail,.jp-end { grid-template-columns:1fr; }
 .hw-case figure.jp-hero-scene { width:100%; }
 .jp-opening__head { gap:18px; }
 .jp-opening__links { font-size:11px; }
 .jp-editorial-head { flex-direction:column; }
 .jp-end__actions > a { gap:16px; }
 .jp-contact-end { padding-bottom:110px; }
}
@media(min-width:761px) and (max-height:650px) { .hw-case figure.jp-hero-scene { width:100%; } }
