/* On wide screens the artwork moves with the scroll-linked project panels.
   On smaller screens each caption and its image form one card in the page. */
.hero-story { background:#000; }
.hero-story .hero-slide { background:#000; overflow:hidden; }
.hero-story .hero-copy { margin:0; padding:0; width:100%; text-shadow:none; }
.hero-story .hero-category {
  color:#488bd7; font-size:1.125rem; line-height:1.5rem;
  font-weight:500; letter-spacing:normal; margin:0;
}
.hero-story .hero-copy :is(h1,h2) {
  font-family:"DM Sans",Arial,sans-serif; font-size:5.625rem; font-weight:700;
  line-height:6.25rem; letter-spacing:-.035em; margin:0 0 15px; color:#fff;
}
.hero-story .hero-copy :is(h1,h2) a {
  color:inherit; text-shadow:3px 3px 5px #0007;
  transition:color .3s ease; text-decoration:none;
}
.hero-story .hero-copy :is(h1,h2) a:is(:hover,:focus-visible) { color:#71aafa; }
.hero-story .hero-art { background:#000; mask-image:none; margin:0; }
.hero-story .hero-art::after { display:none; }
.hero-story .hero-slide .hero-art img {
  width:100%; height:100%; object-fit:cover; object-position:50% 30%; animation:none;
}
.hero-story .hero-desc {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip-path:inset(50%); white-space:nowrap; border:0;
}
.hero-story .hero-copy :focus-visible { outline:3px solid #82b8ff; outline-offset:5px; }

@media (min-width:992px) {
  .hero-story .hero-slide { height:100vh; display:block; }
  .hero-story .hero-art {
    position:absolute; inset:min(8vw,22vh) 0 auto calc(15vw + 144px); height:73vh;
    width:auto; z-index:0;
  }
  .hero-story .hero-slide .hero-in {
    position:absolute; top:min(8vw,22vh); left:5vw; height:73vh; min-height:0; 
    width:50vw; max-width:none; margin:0; padding:0; z-index:1; display:flex; align-items:center;
  }
  .hero-story.scroll-story .hero-viewport { height:100vh; }
  .hero-story.scroll-story .hero-copy { margin:0; padding:0; }
  .hero-story .slide-tabs {
    border:none; width:min(690px,100%); margin-inline:auto 0; padding:0 12px; 
    background:#080a0ef5; border-radius:8px;
  }
  .scroll-story .hero>.wrap { bottom:15px; }
  .scroll-story .slide-tabs { opacity:0; pointer-events:none; transition:opacity .18s ease; }
  .scroll-story .slide-tabs:focus-within { opacity:1; pointer-events:auto; }
  .hero-story .slide-tabs button { color:#d8dce2; }
  .quick-contact { left:22px; bottom:22px; gap:20px; }
  .quick-contact :is(a,button) { font-size:1rem; padding:7px 14px; min-height:42px; background:#fafbfd; }
  .quick-contact #share-status:empty { display:none; }
}
@media (max-width:991px) {
  .hero-story .hero-track { display:grid; gap:50px; padding:80px 30px; }
  .hero-story .hero-slide,.hero-story .hero-slide:last-child { padding:0; }
  .hero-story .hero-slide .hero-in {
    width:100%; margin:0; padding:30px 30px 10px;
    border:1px solid #ffffff26; border-bottom:0; box-sizing:border-box;
  }
  .hero-story .hero-copy { padding:0; width:100%; }
  .hero-story .hero-copy :is(h1,h2) { font-size:3.75rem; line-height:4.375rem; text-wrap:pretty; }
  .hero-story .hero-slide .hero-art { width:100%; height:auto; aspect-ratio:16/9; margin:0; }
}
@media (max-width:767px) {
  .hero-story .hero-track { padding-block:60px; }
}
@media (max-width:575px) {
  .hero-story .hero-copy :is(h1,h2) { font-size:1.875rem; line-height:2.5rem; letter-spacing:-.025em; }
}
@media (prefers-reduced-motion:reduce) {
  .hero-story .hero-copy a,.scroll-story .slide-tabs { transition:none; }
}
.quick-contact {
  position:fixed; z-index:10; left:22px; bottom:max(22px,env(safe-area-inset-bottom));
  display:grid; justify-items:start; align-items:start; gap:20px; padding:0;
  background:transparent; pointer-events:none;
}
.quick-contact :is(a,button) {
  pointer-events:auto; width:auto; min-height:42px; padding:7px 14px;
  color:#181b20; background:#fafbfd; font-size:1rem;
}
.quick-contact button::before { content:none; }
.quick-contact button svg { width:21px; height:21px; color:#2876be; }
.quick-contact #share-status:empty { display:none; }
.quick-contact #share-status:not(:empty) { position:absolute; left:100%; bottom:0; margin-left:8px; min-width:132px; }
body:has(.site-navigation.nav-open) .quick-contact { visibility:hidden; }
@media (prefers-reduced-motion:no-preference) {
  .quick-contact { animation:home-contact-in .4s ease 3s backwards; }
  .quick-contact:focus-within { animation:none; }
  @keyframes home-contact-in {
    from { opacity:0; transform:translateY(20px); }
    to { opacity:1; transform:translateY(0); }
  }
}
