:root{--wine:#391b28;--wine-dark:#21141b;--gold:#c9ab6f;--ivory:#f4efe4;--ink:#252124;--muted:#71685e;--line:#d5c9b5;--serif:Georgia,'Times New Roman',serif;--body:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--ivory);font:1rem/1.65 var(--body)}a{color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #bb8540;outline-offset:5px}button{color:inherit}img{display:block;max-width:100%}.header{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 6%;background:var(--wine);color:var(--ivory);border-bottom:1px solid #c9ab6f66}.brand{display:flex;align-items:center;gap:18px;text-decoration:none;font:1.05rem var(--serif);letter-spacing:.16em}.brand small{display:block;font: .68rem var(--body);letter-spacing:.24em;color:var(--gold);margin-top:9px}.monogram{display:grid;place-content:center;position:relative;font:2.25rem var(--serif);color:var(--gold);width:56px;height:60px;border:1px solid #c9ab6f80;border-radius:50% 50% 3px 3px}.monogram span{position:absolute;font-size:1.15rem;right:7px;bottom:7px}.header nav{display:flex;gap:32px;font-size:.9rem}.header nav a{text-decoration:none;border-bottom:1px solid transparent;padding:6px 0}.header nav a:hover{border-color:var(--gold)}.hero{isolation:isolate;position:relative;min-height:650px;display:flex;align-items:center;background:var(--wine-dark);color:var(--ivory);overflow:hidden}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;object-position:center 45%}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(25,13,20,.9),rgba(25,13,20,.48) 55%,rgba(25,13,20,.12)),linear-gradient(0deg,rgba(25,13,20,.3),transparent)}.hero-copy{width:min(760px,85%);padding:75px 0 95px;margin-left:8%}.eyebrow{font-size:.73rem;letter-spacing:.23em;font-weight:600;text-transform:uppercase;color:var(--muted);margin:0 0 20px}.hero .eyebrow{color:#e3c58e}.hero h1{font:clamp(3.2rem,6.2vw,6rem)/1.06 var(--serif);font-weight:400;margin:0 0 28px;letter-spacing:-.035em}.hero h1 em{color:#e5c997;font-weight:400}.hero-description{font-size:1.05rem;max-width:405px;color:#e7e0d4;line-height:1.8;margin-bottom:34px}.button{display:inline-flex;text-decoration:none;border:1px solid var(--gold);padding:13px 25px;background:var(--gold);color:var(--wine-dark);font-size:.88rem;letter-spacing:.035em}.button:hover{background:#e3c58e}.hero-note{position:absolute;right:28px;bottom:20px;color:#e2dacd;font-size:.7rem;letter-spacing:.1em;writing-mode:vertical-rl}.showcase{background:var(--wine);color:var(--ivory);padding:35px 8%;display:grid;grid-template-columns:1fr 1fr 1fr;gap:45px}.showpiece{display:flex;align-items:center;gap:20px;text-decoration:none;min-width:0}.showpiece img{height:115px;width:98px;object-fit:contain;background:#eee6d7;border:5px solid #e8ddc6;box-shadow:0 4px 20px #0003}.showpiece p{margin:0;color:var(--gold);font-size:.65rem;letter-spacing:.14em}.showpiece h2{font:1.3rem/1.25 var(--serif);margin:7px 0}.showpiece span{font-size:.78rem;color:#d2c4c6}.collection{padding:75px 7% 90px;max-width:1600px;margin:auto}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:40px}.section-heading h1,.section-heading h2{font:clamp(2.2rem,4vw,3.5rem)/1.1 var(--serif);font-weight:400;margin:0;letter-spacing:-.025em}.section-heading p{max-width:380px;color:var(--muted);margin:0;font-size:.95rem}.section-heading .eyebrow{margin:0 0 15px}.category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:30px 24px}.category-card{text-decoration:none;display:block}.category-picture{position:relative;overflow:hidden;aspect-ratio:4/4.7;background:#e8dfcf;border:1px solid #d4c6ad;padding:14px}.category-picture:after{content:"";position:absolute;inset:6px;border:1px solid #b9a58760;pointer-events:none}.category-picture img{width:100%;height:100%;object-fit:contain;transition:transform .4s}.category-card:hover img{transform:scale(1.055)}.category-card h3{font:1.2rem/1.3 var(--serif);margin:16px 0 3px}.category-card p{font-size:.76rem;color:var(--muted);margin:0}.category-bar{display:flex;gap:10px;flex-wrap:wrap;padding:24px 7%;border-bottom:1px solid var(--line);background:#eee6d7}.category-bar a{font-size:.84rem;text-decoration:none;padding:7px 13px;border:1px solid transparent}.category-bar a:hover{border-color:var(--line)}.category-bar a[aria-current=page]{background:var(--wine);color:var(--ivory)}.breadcrumb{display:flex;gap:10px;font-size:.8rem;color:var(--muted);margin:0 0 34px;flex-wrap:wrap}.breadcrumb a{text-decoration:none}.category-intro{max-width:650px;margin:22px 0 40px;color:var(--muted)}.objects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.object-card{border-bottom:1px solid var(--line);padding-bottom:24px}.object-card>a:first-child{display:block;background:#e9e0d0;aspect-ratio:4/3;padding:22px}.object-card img{width:100%;height:100%;object-fit:contain;transition:transform .4s}.object-card>a:hover img{transform:scale(1.03)}.object-card .eyebrow{margin:20px 0 9px;font-size:.66rem}.object-card h2{font:1.8rem/1.2 var(--serif);margin:0 0 13px}.object-card h2 a{text-decoration:none}.object-card p{color:var(--muted);font-size:.91rem}.text-link{font-size:.86rem;text-underline-offset:5px}.detail{display:grid;grid-template-columns:1.25fr 1fr;gap:6%;align-items:start}.detail-cover{border:1px solid var(--line);background:#e9e0d0;width:100%;padding:30px;position:relative}.detail-cover img{width:100%;height:520px;object-fit:contain}.detail-cover span{position:absolute;bottom:18px;right:18px;padding:7px 12px;color:var(--ivory);background:var(--wine);font-size:.76rem}.detail-copy{padding:15px 0}.detail-copy h1{font:clamp(2.1rem,4vw,3.8rem)/1.1 var(--serif);font-weight:400;margin:0 0 22px}.detail-copy .description{color:var(--muted);line-height:1.9}.facts{margin:28px 0;border-top:1px solid var(--line);font-size:.86rem}.facts div{display:grid;grid-template-columns:110px 1fr;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}.facts dt{color:var(--muted)}.facts dd{margin:0}.thumbs{display:flex;gap:12px;margin-top:15px;flex-wrap:wrap}.thumbs button{width:95px;height:90px;border:1px solid var(--line);background:#e9e0d0;padding:6px}.thumbs img{width:100%;height:100%;object-fit:contain}.fine{font-size:.76rem;color:var(--muted)}footer{background:var(--wine-dark);color:#e0d1bb;text-align:center;padding:45px 20px;border-top:3px double var(--gold)}.footer-name{font:1.9rem var(--serif);text-decoration:none}footer p{margin:12px 0}footer a:not(.footer-name){font-size:.76rem;color:#c8bca9;text-underline-offset:4px}footer .fine{color:#ac9c97}.sources{max-width:1000px}.sources article{padding:24px 0;border-bottom:1px solid var(--line)}.sources h2{font:1.5rem var(--serif)}.sources a{overflow-wrap:anywhere}.source-meta{color:var(--muted);font-size:.85rem}dialog{padding:25px;width:min(1200px,96vw);max-height:94vh;border:1px solid var(--gold);background:#171417;color:#eee5d5}dialog::backdrop{background:#140d14eb}.gallery-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.gallery-top .eyebrow{color:var(--gold);margin-bottom:5px}.gallery-top h2{font:1.6rem/1.2 var(--serif);margin:0}.close{background:transparent;color:#e8dcca;border:1px solid #776253;width:44px;height:44px;font-size:1.8rem;flex-shrink:0}.gallery-stage{position:relative;height:57vh;overflow:auto;background:#252125}.gallery-stage>img{width:100%;height:100%;object-fit:contain}.gallery-stage.zoomed>img{width:auto;max-width:none;height:auto;min-width:100%;min-height:100%;object-fit:initial}.gallery-prev,.gallery-next{position:sticky;bottom:50%;background:#291d25dd;color:white;width:44px;height:50px;border:1px solid #ad967b;font-size:2rem;z-index:1}.gallery-prev{left:10px}.gallery-next{left:calc(100% - 54px)}.gallery-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:.8rem}.gallery-controls{display:flex;gap:10px;flex-wrap:wrap}.outline{border:1px solid #786655;background:transparent;color:#e4d5bb;padding:9px 13px;text-decoration:none;font-size:.78rem}.gallery-bottom p{color:#cbbca7}#gallery-thumbs{display:flex;gap:10px}#gallery-thumbs button{width:70px;height:60px;padding:3px;background:#e9e0d0;border:2px solid transparent}#gallery-thumbs button[aria-pressed=true]{border-color:var(--gold)}#gallery-thumbs img{width:100%;height:100%;object-fit:contain}.noscript{padding:30px}.empty{min-height:45vh;padding:70px 8%}.image-failed{opacity:.35}@media(min-width:1500px){.hero{min-height:720px}}@media(max-width:1100px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.showcase{gap:24px;padding:30px 6%}.showpiece{gap:12px}.showpiece img{width:70px;height:90px}.objects{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-cover img{height:430px}.detail{gap:4%}}@media(max-width:700px){.header{padding:16px 6%;min-height:90px}.brand{font-size:.85rem;gap:10px;letter-spacing:.09em}.brand small{font-size:.55rem}.monogram{width:42px;height:48px;font-size:1.9rem}.header nav{gap:15px;font-size:.76rem}.header nav a:last-child{display:none}.hero{min-height:540px}.hero-copy{margin-left:7%;padding:65px 0;width:86%}.hero h1{font-size:3.6rem}.hero-description{font-size:.96rem;max-width:300px}.hero:after{background:linear-gradient(90deg,#190d14e8,#190d1466)}.hero-note{display:none}.showcase{grid-template-columns:1fr;gap:18px;padding:25px 7%}.showpiece{gap:20px}.showpiece img{width:58px;height:65px}.showpiece h2{font-size:1.2rem;margin:4px 0}.showpiece p{font-size:.6rem}.showpiece span{font-size:.74rem}.collection{padding:45px 6% 60px}.section-heading{display:block}.section-heading>p{margin-top:20px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px}.category-picture{padding:10px}.category-card h3{font-size:1.1rem}.category-bar{flex-wrap:nowrap;overflow:auto;padding:15px 6%;gap:4px}.category-bar a{white-space:nowrap}.objects{grid-template-columns:1fr}.detail{grid-template-columns:1fr;gap:25px}.detail-cover img{height:360px}.detail-copy h1{font-size:2.6rem}.detail-copy{padding:0}.facts div{grid-template-columns:95px 1fr}dialog{padding:16px}.gallery-top h2{font-size:1.25rem}.gallery-stage{height:49vh}.gallery-bottom{display:block}.gallery-controls{margin-bottom:15px}.gallery-controls>*{flex-grow:1;text-align:center}.hero h1{overflow-wrap:normal}.hero .eyebrow{font-size:.65rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* Jasna strona główna: kość słoniowa, mosiądz i galeria eksponatów. */
body:has(.hero){background:#faf7ef;color:#302c24}
body:has(.hero) .header{background:#faf7ef;color:#302c24;border-bottom:1px solid #d9ceb8;padding-inline:7%}
body:has(.hero) .brand small{color:#796338}
body:has(.hero) .monogram{color:#92733b;border-color:#bba375}
body:has(.hero) .hero{min-height:620px;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:5%;padding:65px 7% 75px;background:#faf7ef;color:#302c24;overflow:hidden}
body:has(.hero) .hero:after{display:none}
body:has(.hero) .hero-photo{position:relative;inset:auto;z-index:auto;grid-column:2;grid-row:1;width:100%;height:480px;object-fit:cover;object-position:50% 50%;border-radius:48% 48% 0 0;border:8px solid #faf7ef;outline:1px solid #bba375;box-shadow:14px 18px 0 #ede6d8}
body:has(.hero) .hero-copy{grid-column:1;grid-row:1;width:100%;padding:25px 0;margin:0}
body:has(.hero) .hero .eyebrow{color:#796338;font-size:.68rem;letter-spacing:.2em}
body:has(.hero) .hero h1{font-family:Palatino,'Palatino Linotype','Book Antiqua',Georgia,serif;font-size:clamp(2.8rem,4.4vw,5rem);line-height:1.13;letter-spacing:-.04em}
body:has(.hero) .hero h1 em{color:#88682e}
body:has(.hero) .hero-description{color:#625b4d;max-width:370px;font-size:1rem;line-height:1.85}
body:has(.hero) .hero .button{background:#80652f;border-color:#80652f;color:#fffdf7;padding:15px 28px}
body:has(.hero) .hero .button:hover{background:#634d21}
body:has(.hero) .hero-note{right:9%;bottom:25px;writing-mode:horizontal-tb;color:#796338;font-size:.65rem;letter-spacing:.2em}
body:has(.hero) .showcase{background:#f0eadd;color:#302c24;padding:32px 7%;gap:30px;border-top:1px solid #d9ceb8;border-bottom:1px solid #d9ceb8}
body:has(.hero) .showpiece{gap:20px}
body:has(.hero) .showpiece img{width:100px;height:120px;background:#faf7ef;border:5px solid #faf7ef;box-shadow:0 3px 12px #493a1912}
body:has(.hero) .showpiece p{color:#796338;font-size:.6rem}
body:has(.hero) .showpiece h2{font-size:1.3rem}
body:has(.hero) .showpiece span{color:#625b4d}
body:has(.hero) .collection{padding-top:80px}
body:has(.hero) .section-heading .eyebrow{color:#796338}
body:has(.hero) .category-picture{background:#f1ece1;border-color:#ded2bd;padding:18px}
body:has(.hero) .category-picture:after{border-color:#bba37570}
body:has(.hero) .category-card h3{color:#423620}
body:has(.hero) .category-card:hover h3{color:#88682e}
body:has(.hero) footer{background:#eee7d9;color:#423620;border-top:1px solid #bba375}
body:has(.hero) footer .fine,body:has(.hero) footer a:not(.footer-name){color:#625b4d}
@media(max-width:1100px){
 body:has(.hero) .hero{gap:4%;padding-inline:6%;min-height:560px}
 body:has(.hero) .hero-photo{height:410px}
 body:has(.hero) .showpiece{gap:12px}
 body:has(.hero) .showpiece img{width:72px;height:95px}
 body:has(.hero) .showpiece h2{font-size:1.1rem}
}
@media(max-width:700px){
 body:has(.hero) .hero{grid-template-columns:1fr;gap:32px;padding:38px 7% 48px}
 body:has(.hero) .hero-copy{grid-column:1;grid-row:1;padding:0}
 body:has(.hero) .hero h1{font-size:clamp(2.35rem,9vw,3.6rem)}
 body:has(.hero) .hero-photo{grid-column:1;grid-row:2;width:90%;height:290px;justify-self:center;border-radius:45% 45% 0 0}
 body:has(.hero) .hero-description{max-width:100%;font-size:.96rem}
 body:has(.hero) .showcase{padding:25px 7%;gap:22px}
 body:has(.hero) .showpiece{gap:20px}
 body:has(.hero) .showpiece img{width:70px;height:85px}
 body:has(.hero) .collection{padding-top:45px}
}

/* Hierarchia napisów i spokojne odstępy w sekcji powitalnej. */
body:has(.hero) .hero-copy{min-width:0}
body:has(.hero) .hero .eyebrow{margin-bottom:26px;line-height:1.7}
body:has(.hero) .hero h1{font-size:clamp(2rem,3.7vw,4.2rem);line-height:1.14;letter-spacing:-.035em;margin:0}
body:has(.hero) .hero-title-line{display:block}
body:has(.hero) .hero-tagline{font-family:Palatino,'Palatino Linotype','Book Antiqua',Georgia,serif;font-size:clamp(1.35rem,2.2vw,2.2rem);font-style:italic;line-height:1.4;color:#88682e;margin:24px 0 34px}
@media(max-width:700px){
 body:has(.hero) .hero h1{font-size:clamp(1.85rem,7.5vw,3.5rem)}
 body:has(.hero) .hero .eyebrow{margin-bottom:20px;font-size:.6rem;letter-spacing:.16em}
 body:has(.hero) .hero-tagline{font-size:clamp(1.3rem,5vw,1.8rem);margin:20px 0 28px}
}

/* Symetryczna kompozycja nagłówka, podtytułu i przycisku. */
body:has(.hero) .hero-copy{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 0}
body:has(.hero) .hero h1{width:100%;text-align:center;line-height:1.18}
body:has(.hero) .hero-tagline{text-align:center;margin:28px 0 36px}
body:has(.hero) .hero .button{align-self:center}
@media(max-width:700px){
 body:has(.hero) .hero-copy{padding:16px 0}
 body:has(.hero) .hero-tagline{margin:24px 0 30px}
}
