/* A framed, typographic introduction. The navigation and following sections stay independent. */
.hero.hero-gallery {
  --gallery-ease: cubic-bezier(.16,1,.3,1);
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 128px var(--gutter) 28px;
  gap: 24px;
  overflow: hidden;
}
.hero-gallery .hero-light {
  animation: none;
  background: radial-gradient(ellipse at var(--mx,65%) var(--my,40%),rgba(145,174,209,.15),transparent 58%);
}
.gallery-frame {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  gap: clamp(22px,2.6vw,38px);
  height: clamp(470px,calc(100svh - 224px),730px);
  padding: clamp(22px,2.5vw,40px);
  border: 1px solid rgba(187,196,208,.24);
  background: linear-gradient(120deg,rgba(187,196,208,.025),transparent 60%);
}
.gallery-preface {display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center}
.gallery-line {overflow:hidden;font-size:clamp(18px,1.7vw,26px);line-height:1.45;letter-spacing:-.035em;color:var(--silver)}
.gallery-line span {display:block}
.gallery-line em {font-style:normal;color:var(--white)}
.gallery-line-second {text-align:right}
.gallery-artwork {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: 0;
  border: 1px solid rgba(187,196,208,.37);
  background: linear-gradient(125deg,rgba(87,117,155,.08),rgba(12,29,52,.14));
}
.gallery-depth {position:absolute;inset:-1px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at var(--mx,60%) var(--my,35%),rgba(211,224,242,.11),transparent 60%)}
.gallery-signature {width:min(64%,690px);padding:30px 0;transform:translate3d(var(--gallery-x,0px),var(--gallery-y,0px),0);transition:transform 1.1s var(--gallery-ease)}
.gallery-logo-reveal {overflow:hidden;padding:2px 0}
.gallery-logo {width:100%}
.hero-gallery h1.gallery-tagline {margin:clamp(18px,2vw,28px) 0 0;padding:0;font-size:clamp(24px,2.4vw,38px);font-weight:400;line-height:1.1;letter-spacing:-.05em;text-align:right}
.gallery-corner {position:absolute;width:18px;height:18px;border-color:var(--square);border-style:solid;pointer-events:none}
.gallery-corner-top {top:-1px;left:-1px;border-width:1px 0 0 1px}
.gallery-corner-bottom {right:-1px;bottom:-1px;border-width:0 1px 1px 0}
.gallery-specialty {text-align:center;font-size:clamp(14px,1.2vw,18px);line-height:1.5;letter-spacing:-.015em;color:var(--white)}
.gallery-specialty span {color:var(--silver)}
.gallery-bottom {display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;min-height:38px}
.gallery-wordmark {font-size:11px;letter-spacing:.13em;color:var(--silver)}
.hero-gallery .explore {grid-column:2;max-width:none;white-space:nowrap;font-size:13px;color:var(--silver)}
.gallery-small-square {justify-self:end;width:7px;height:7px;background:var(--square)}
.hero-gallery .scroll-line {width:18px;height:29px;border-color:rgba(187,196,208,.45)}
.hero-gallery .scroll-line:after {left:7px;top:6px;animation-iteration-count:2}

/* One short sequence, then a calm composition. Content is visible without JavaScript. */
.motion-enabled .hero-gallery .gallery-frame {animation:gallery-frame-in 1.2s var(--gallery-ease) both}
.motion-enabled .hero-gallery .gallery-line-first span {animation:gallery-type-in 1.15s .25s var(--gallery-ease) both}
.motion-enabled .hero-gallery .gallery-line-second span {animation:gallery-type-in 1.15s .9s var(--gallery-ease) both}
.motion-enabled .hero-gallery .gallery-artwork {animation:gallery-art-in 1.7s .65s var(--gallery-ease) both}
.motion-enabled .hero-gallery .gallery-logo {animation:gallery-logo-in 1.65s 1.5s var(--gallery-ease) both}
.motion-enabled .hero-gallery .gallery-tagline {animation:gallery-caption-in 1.15s 2.1s var(--gallery-ease) both}
.motion-enabled .hero-gallery .gallery-specialty {animation:gallery-caption-in 1.1s 2.5s var(--gallery-ease) both}
.motion-enabled .hero-gallery .gallery-bottom {animation:gallery-caption-in 1s 2.8s var(--gallery-ease) both}
@keyframes gallery-frame-in {from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes gallery-type-in {from{opacity:0;transform:translateY(115%)}to{opacity:1;transform:translateY(0)}}
@keyframes gallery-art-in {from{opacity:0;clip-path:inset(0 48%);transform:scale(.98)}to{opacity:1;clip-path:inset(0);transform:scale(1)}}
@keyframes gallery-logo-in {from{opacity:0;transform:translateY(100%) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes gallery-caption-in {from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1700px) {
  .hero.hero-gallery {padding-top:140px}
  .gallery-frame {height:min(74svh,850px)}
  .gallery-signature {width:min(62%,850px)}
}
@media(max-width:800px) {
  .hero.hero-gallery {padding-top:112px;padding-bottom:25px;gap:22px}
  .gallery-frame {height:clamp(470px,calc(90svh - 176px),680px);padding:24px;gap:25px}
  .gallery-preface {grid-template-columns:1fr;gap:5px;text-align:center}
  .gallery-line {font-size:clamp(18px,2.8vw,23px)}
  .gallery-line-second {text-align:center}
  .gallery-signature {width:75%;padding:28px 0}
  .hero-gallery h1.gallery-tagline {font-size:clamp(24px,3.7vw,31px)}
  .gallery-wordmark {font-size:10px;letter-spacing:.08em}
}
@media(max-width:520px) {
  .hero.hero-gallery {padding:107px 18px 24px;gap:20px}
  .gallery-frame {height:clamp(440px,calc(84svh - 146px),580px);padding:22px 16px;gap:24px}
  .gallery-line {font-size:18px;letter-spacing:-.035em}
  .gallery-artwork {min-height:220px}
  .gallery-signature {width:84%;padding:30px 0}
  .hero-gallery h1.gallery-tagline {font-size:24px;margin-top:18px}
  .gallery-specialty {font-size:14px;max-width:26ch;margin:0 auto;line-height:1.55}
  .gallery-specialty span {display:block}
  .gallery-bottom {grid-template-columns:1fr auto 1fr;gap:8px}
  .gallery-wordmark {display:none}
  .hero-gallery .explore {font-size:12px;gap:12px}
}
@media(prefers-reduced-motion:reduce) {.hero-gallery .gallery-signature {transform:none}}
.reduce-motion .hero-gallery .gallery-signature {transform:none}
