/* Full-bleed scrolling mosaic. All styles stay scoped to the header and hero. */
.site-header{position:relative;z-index:10;height:72px;max-width:none;padding:0 5.08%;background:#fff;gap:32px}
.site-header .editorial-brand{font-family:Georgia,'Times New Roman',serif;font-size:clamp(24px,1.9vw,32px);font-weight:400;line-height:1.12;letter-spacing:-.045em;display:block;flex-shrink:0}
.site-header .editorial-brand span{white-space:nowrap}
.site-header nav{gap:42px;font-size:16px;font-weight:400;line-height:1.3}
.site-header nav a{display:flex;align-items:center;min-height:44px}
.site-header nav a:hover{text-decoration:underline;text-underline-offset:5px}
.site-header .menu{display:none}
.scrolling-hero{--photo-gap:10px;--photo-unit:max(150px,22svh);position:relative;isolation:isolate;display:grid;place-items:center;width:100%;min-height:max(480px,calc(100svh - 72px));padding:120px 32px 130px;overflow:hidden;background:#151515}
/* Drift Wall adaptation: source and license are retained in hero-motion.js.
   Turn is yaw (0deg), not pitch: the reference's 16deg X tilt is preserved.
   The clipping/mask stage must remain outside the preserve-3d transform chain. */
.mosaic-stage{position:absolute;inset:0;z-index:0;overflow:hidden;perspective:1200px;perspective-origin:50% 50%;-webkit-mask-image:radial-gradient(ellipse 95% 100% at 50% 46%,#000 65%,rgba(0,0,0,.65) 100%);-webkit-mask-composite:source-in;mask-image:radial-gradient(ellipse 95% 100% at 50% 46%,#000 65%,rgba(0,0,0,.65) 100%);mask-composite:intersect}
.mosaic-wall{position:absolute;inset:min(-100px,-22%) min(-56px,calc(-12% - 4svh));display:grid;grid-template-columns:1.18fr .82fr 1.1fr .95fr .86fr 1.19fr;gap:var(--photo-gap);transform-style:preserve-3d;transform:scale(1.18) rotateX(calc(16deg + var(--wall-tilt-x,0deg))) rotateY(var(--wall-tilt-y,0deg)) rotateZ(0deg) translateZ(-120px);transform-origin:center}
.mosaic-column{position:relative;min-width:0;overflow:visible;transform-style:preserve-3d}
.mosaic-track{display:flex;flex-direction:column;width:100%;transform-style:preserve-3d}
.mosaic-group{display:grid;gap:var(--photo-gap);padding-bottom:var(--photo-gap);transform-style:preserve-3d}
.mosaic-card{display:block;position:relative;height:calc(var(--photo-unit)*var(--card-height));width:100%;margin:0;border-radius:10px;overflow:hidden;background:#292929;transform:translateZ(var(--card-lift,0px));box-shadow:0 24px 60px -18px rgba(0,0,0,var(--card-shadow,0));cursor:default}
.mosaic-card img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--focus,50% 50%);border-radius:10px;filter:none;opacity:1;user-select:none;-webkit-user-drag:none}
.motion-ready[data-motion="running"] .mosaic-track,.motion-ready[data-motion="running"] .mosaic-wall{will-change:transform}
.mosaic-card:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* A fixed, local readability scrim, never an image or hover dimming effect. */
.hero-shade{position:absolute;inset:0;z-index:1;background:radial-gradient(ellipse 560px 285px at 50% 51%,rgba(0,0,0,.64) 0%,rgba(0,0,0,.52) 42%,rgba(0,0,0,.12) 76%,transparent 100%);pointer-events:none}
.editorial-copy{pointer-events:none;position:relative;z-index:2;width:min(100%,920px);text-align:center;margin:0 auto;padding:0}
.editorial-copy h1{font-family:Georgia,'Times New Roman',serif;color:#fff;font-size:clamp(60px,6.2vw,100px);font-weight:400;line-height:1.03;letter-spacing:-.045em;text-shadow:0 2px 24px #0005;margin:0}
.editorial-copy h1 span{white-space:normal}
.hero-cta{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;min-height:52px;min-width:236px;padding:13px 30px;margin-top:38px;border:1px solid #ffffff99;border-radius:999px;background:#0a0a0a;color:#fff;font-size:18px;font-weight:600;line-height:1.4;text-align:center;transition:background .15s,color .15s}
.hero-cta:hover{background:#fff;color:#0a0a0a}.hero-cta:focus-visible,.photo-motion:focus-visible{outline:3px solid white;outline-offset:5px}
.photo-motion{position:absolute;z-index:3;right:24px;bottom:22px;display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:9px 15px;border:1px solid #ffffff80;border-radius:999px;background:#111d;color:#fff;font-size:13px;line-height:1.4;backdrop-filter:blur(8px)}
.photo-motion[hidden]{display:none}.photo-motion:disabled{cursor:default}.motion-symbol{display:inline-block;flex:none;width:9px;height:12px;border-left:3px solid currentColor;border-right:3px solid currentColor}.photo-motion[aria-pressed="true"] .motion-symbol{width:0;height:0;border-left:9px solid currentColor;border-right:0;border-top:6px solid transparent;border-bottom:6px solid transparent}
.hero-supporting-copy{max-width:600px;margin:30px auto 22px;padding:0 24px;text-align:center;font-size:14px;line-height:1.6;color:#555}
.editorial-hero + .hero-supporting-copy + .preview-note{max-width:1544px;margin:30px 5.08% 0;padding:16px 0;line-height:1.6}
.preview-note button{min-height:44px}
@media(max-width:1199px){.mosaic-wall{grid-template-columns:1.15fr .85fr 1.1fr .95fr;inset:min(-100px,-22%) min(-56px,calc(-12% - 4svh))}.column-5,.column-6{display:none}.editorial-copy h1{font-size:clamp(60px,7vw,84px)}}
@media(max-width:1100px){
 .site-header{height:80px;padding:0 28px;gap:16px}.site-header .editorial-brand{font-size:26px}
 .site-header .menu{display:flex;align-items:center;justify-content:center;gap:14px;min-width:76px;min-height:44px;padding:8px 0;border:0;border-radius:0;background:#fff;font-size:14px}
 .site-header .menu span{font-size:22px;font-weight:400}
 .site-header nav{display:none;position:absolute;left:0;right:0;top:80px;background:#fff;padding:20px 28px;box-shadow:0 10px 12px #0001;gap:8px}
 .site-header nav.open{display:flex;flex-direction:column;align-items:stretch}
 .scrolling-hero{min-height:max(480px,calc(100svh - 80px))}
}
@media(max-width:767px){
 .site-header{height:88px;padding:0 24px;position:relative;gap:10px}.site-header .editorial-brand{font-size:24px;letter-spacing:-.035em}.site-header .editorial-brand span{display:block}.site-header nav{top:88px;padding:16px 24px}
 .scrolling-hero{--photo-gap:8px;--photo-unit:max(112px,18svh);min-height:max(420px,calc(100svh - 88px));padding:90px 24px 110px}
 .mosaic-wall{grid-template-columns:1.18fr .82fr 1.1fr;inset:min(-100px,-22%) min(-56px,calc(-12% - 4svh))}.column-4{display:none}
 .hero-shade{background:radial-gradient(ellipse 78% 245px at 50% 51%,rgba(0,0,0,.64) 0%,rgba(0,0,0,.52) 44%,rgba(0,0,0,.12) 78%,transparent 100%)}
 .editorial-copy h1{font-size:clamp(44px,10vw,64px);line-height:1.05}.editorial-copy h1 span{display:block;max-width:580px;margin:auto}
 .hero-cta{min-width:218px;min-height:50px;margin-top:32px;padding:12px 28px;font-size:16px}
 .photo-motion{right:16px;bottom:16px;font-size:12px;min-height:44px}
 .hero-supporting-copy{font-size:13px;margin:28px auto 18px}
 .editorial-hero + .hero-supporting-copy + .preview-note{margin:24px 24px 0;display:block}.preview-note>div{margin-top:10px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
}
@media(max-width:359px){.site-header{padding:0 16px}.site-header .editorial-brand{font-size:22px}.site-header .menu{font-size:13px;min-width:60px;gap:8px}.scrolling-hero{padding-left:16px;padding-right:16px}.editorial-hero + .hero-supporting-copy + .preview-note{margin-left:16px;margin-right:16px}}
@media(min-height:1400px){.mosaic-wall{inset:-30% min(-56px,calc(-20% - 4svh))}}
@media(prefers-reduced-motion:reduce){html:not([data-photo-motion="playing"]) .mosaic-track,html:not([data-photo-motion="playing"]) .mosaic-column,html:not([data-photo-motion="playing"]) .mosaic-wall,html:not([data-photo-motion="playing"]) .mosaic-card{animation:none!important;transform:none!important;will-change:auto!important}.mosaic-card{box-shadow:none}.hero-cta{transition:none}}

/* Mobile hero: keep the three photo lanes inside the viewport rather than
   overscanning horizontally. Vertical overscan still covers the moving loop.
   A flat plane prevents perspective from pushing either edge off-screen. */
@media(max-width:767px){
 .scrolling-hero .mosaic-wall{
  left:8px;right:8px;
  transform:none;
 }
 .scrolling-hero .mosaic-stage{perspective:none}
 .scrolling-hero .mosaic-card{transform:none}
}
