/* All content shares one centered 1280px frame inside full-width backgrounds. */
:root{--content-width:1280px;--content-gutter:56px}
.hero-stage,.section,.site-footer,.interior-hero,.interior-content,.subpage-cta{
  width:min(var(--content-width),calc(100% - var(--content-gutter) * 2));margin-inline:auto
}
.site-header{max-width:var(--content-width)}
.hero{background:#eee7f5}
/* The main banner is a still composition, including all decorative layers. */
.hero,.hero::before,.hero::after,.hero *,.hero *::before,.hero *::after{animation:none!important;transition:none!important}
.hero::after{
  z-index:0;inset:auto 0 0;height:145px;
  background:linear-gradient(0deg,var(--paper),rgba(246,243,250,.7) 32%,transparent);
  pointer-events:none
}
.hero-ambient{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;
  background:radial-gradient(ellipse at 8% 28%,#dfd1ed 0,transparent 43%),radial-gradient(ellipse at 92% 36%,#d5c1e8 0,transparent 49%),linear-gradient(180deg,#f1ebf7 0,#e9dff2 62%,#f6f3fa 100%)}
.hero-ambient::before{
  content:'';position:absolute;inset:-8%;
  background:radial-gradient(ellipse at 9% 30%,#ffffffc9 0,transparent 28%),radial-gradient(ellipse at 88% 22%,#ffffffa6 0,transparent 28%),radial-gradient(ellipse at 72% 76%,#bda0d761 0,transparent 32%);
  filter:blur(22px)
}
.hero-ambient::after{
  content:'';position:absolute;left:-5%;right:-5%;bottom:5%;height:68%;
  background:url('/assets/hero-reflections.svg') center bottom/100% 100% no-repeat;
  opacity:.82
}
.hero-stage{position:relative;z-index:1;isolation:isolate;height:100%}
.hero-stage::before{content:'';position:absolute;z-index:1;inset:100px 42% 160px -25px;pointer-events:none;background:radial-gradient(ellipse closest-side,#f3edf8e6 0,#f3edf8a6 47%,transparent 100%);filter:blur(24px)}
.hero .hero-content{width:100%;margin:0}
.hero .hero-foundation{
  z-index:3;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));
  padding:25px 0;border-radius:999px
}
.hero .hero-foundation>div{justify-content:center;min-width:0;padding:0 20px;gap:16px}
.hero .hero-foundation p{min-width:0;text-align:left}
.hero .hero-art{
  z-index:0;right:12px;top:65px;width:min(1120px,calc(100% - 24px));height:746px;
  overflow:hidden;transform:none;transition:none;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 19%,#000 90%,transparent),linear-gradient(0deg,transparent,#000 17%,#000 95%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(90deg,transparent,#000 19%,#000 90%,transparent),linear-gradient(0deg,transparent,#000 17%,#000 95%,transparent);
  mask-composite:intersect
}
.hero .hero-art img{object-position:57% 54%;transform:none}
@media(max-width:1150px){
  :root{--content-gutter:36px}
  .hero .hero-art{right:10px;top:100px;width:calc(100% - 20px);height:670px}
}
@media(max-width:900px){
  .hero .hero-art{right:8px;top:110px;width:calc(100% - 16px);height:610px;
    -webkit-mask-image:linear-gradient(90deg,transparent,#00000029 34%,#000 70%,#000 90%,transparent),linear-gradient(0deg,transparent,#000 17%,#000 95%,transparent);
    mask-image:linear-gradient(90deg,transparent,#00000029 34%,#000 70%,#000 90%,transparent),linear-gradient(0deg,transparent,#000 17%,#000 95%,transparent)}
  .hero-stage::before{right:28%;opacity:.8}
  .hero .hero-foundation>div{flex-direction:column;gap:9px;padding-inline:16px}
}
@media(max-width:700px){
  .hero{background:#f2edf8}
  :root{--content-gutter:20px}
  .hero-stage{height:auto}
  .hero-stage::before{display:none}
  .hero .hero-content{width:100%}
  .hero .hero-art{right:8px;top:300px;width:calc(100% - 16px);height:440px;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent),linear-gradient(0deg,transparent,#000 22%,#000 74%,transparent);
    mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent),linear-gradient(0deg,transparent,#000 22%,#000 74%,transparent)}
  .hero .hero-art img{object-position:58% 50%}
  .hero .hero-foundation{width:100%;grid-template-columns:1fr;padding:8px 24px;border-radius:32px}
  .hero .hero-foundation>div{flex-direction:row;justify-content:center;padding:17px 0;gap:14px}
  .hero-ambient{background:radial-gradient(ellipse at 90% 48%,#dfcdeb 0,transparent 60%),linear-gradient(180deg,#f5f1f9 24%,#ece2f4 65%,#f6f3fa)}
  .hero-ambient::before{opacity:.5;filter:blur(16px)}
  .hero-ambient::after{height:45%;bottom:19%;opacity:.45}
}
