/* Shared full-width image hero, English and Polish. */
.landing-masthead{position:relative;isolation:isolate;overflow:hidden;background:#faf9f6 url("assets/landing-scene-1.webp") center bottom/cover no-repeat}
.landing-scenes{position:absolute;inset:0;z-index:0;pointer-events:none}
.landing-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom;opacity:0;animation:landing-fade 27s infinite}
.landing-scene.scene-1{opacity:1;animation-name:landing-first}
.landing-scene.scene-2{animation-delay:9s}
.landing-scene.scene-3{animation-delay:18s}
.landing-masthead:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(250,249,246,.96),rgba(250,249,246,.84) 37%,rgba(250,249,246,.3) 64%,rgba(250,249,246,0) 82%);pointer-events:none}
.landing-masthead>header{position:relative;z-index:2;background:rgba(250,249,246,.72);border-bottom:1px solid rgba(32,33,31,.12)}
.landing-masthead>.hero{position:relative;z-index:2;max-width:1600px;margin:auto;min-height:560px;padding-bottom:100px}
.landing-masthead .hero h1{max-width:1100px;font-size:clamp(48px,6.1vw,96px)}
.landing-masthead .intro{position:relative;z-index:1;max-width:1000px}
.landing-masthead .intro p{color:#444640}


@keyframes landing-fade{0%{opacity:0}8%,30%{opacity:1}38%,100%{opacity:0}}
@keyframes landing-first{0%,30%{opacity:1}38%,92%{opacity:0}100%{opacity:1}}
@media(max-width:1000px){.landing-masthead>.hero{min-height:520px}.landing-masthead .intro{flex-direction:column;align-items:flex-start;gap:25px}.landing-masthead:after{background:linear-gradient(90deg,rgba(250,249,246,.95),rgba(250,249,246,.75) 65%,rgba(250,249,246,.3))}}
/* Mobile: give the sculptures their own visible space below the copy. */
@media(max-width:768px){
 .landing-masthead{background:#faf9f6}
 .landing-masthead>header{padding:18px 6% 14px;gap:12px;flex-wrap:wrap;background:#faf9f6}
 .landing-masthead>header nav{display:flex;flex-wrap:wrap;width:100%;gap:8px 20px;font-size:13px}
 .landing-masthead>header nav a{display:inline-flex;align-items:center;min-height:40px}
 .landing-masthead>.hero{min-height:0;padding:32px 6% 12px;overflow:visible}
 .landing-masthead .hero h1{font-size:clamp(34px,9.4vw,58px);line-height:1.08;letter-spacing:-.04em;margin:20px 0 24px;overflow-wrap:normal;text-wrap:balance}
 .landing-masthead .eyebrow{font-size:10px;line-height:1.7;letter-spacing:.1em}
 .landing-masthead .intro{display:flex;flex-direction:column;gap:20px;align-items:stretch}
 .landing-masthead .intro p{font-size:16px;line-height:1.65;max-width:38rem;color:#353630}
 .landing-masthead .hero-actions{gap:10px 22px;align-items:center}
 .landing-masthead .hero-actions a{min-height:44px;display:inline-flex;align-items:center;margin-top:0}
 .landing-scenes{
   position:relative;
   inset:auto;
   width:100%;
   height:clamp(210px,68vw,360px);
   overflow:hidden;
   background:#faf9f6 url("assets/landing-scene-1.webp") right bottom/cover no-repeat;
 }
 .landing-scene{object-position:right bottom}
 .landing-masthead:after{display:none}
}
@media(max-width:360px){.landing-masthead>header nav{gap:6px 14px}.landing-masthead .hero h1{font-size:33px}.landing-masthead .hero-actions{gap:6px 15px}}
@media(prefers-reduced-motion:reduce){.landing-scene{animation:none!important;opacity:0}.landing-scene.scene-1{opacity:1}}

/* Extend the artwork through the section boundary, including fractional-pixel seams. */
.landing-masthead{
  z-index:1;
  margin-bottom:-1px;
}
.landing-masthead + main > .work:first-child{padding-top:0}
.landing-masthead + main > .work:first-child > .section-top,
.landing-masthead + main > .seo-services:first-child{border-top:0}
@media(min-width:769px){
  .landing-masthead{padding-bottom:31px}
}
