/* Broad curved transitions carry the same warm gradient through the page. */
:root{--brand-gradient:linear-gradient(115deg,#f1ce69 8%,#f3b15e 55%,#e5b9aa 100%)}
main>.section{position:relative;isolation:isolate;border-top:0;border-bottom:0;padding-top:115px}
main>.section:before{content:'';position:absolute;z-index:-1;left:0;right:0;top:-1px;height:98px;background:url('assets/section-wave.svg') center top/100% 100% no-repeat;pointer-events:none}
main>.section:nth-of-type(even):before{transform:scaleX(-1)}
.hero-editorial{border-bottom:0}
/* All wave cutouts and fades share the page cream, without a separate band. */
:is(#news,#about,#services,#works,#approach,#resources,#company){background:var(--paper)}
.contact{background:var(--brand-gradient);border-radius:48% 52% 0 0 / 52px 64px 0 0;padding-top:105px!important}.contact:before{display:none}.contact-sun{opacity:.42}
.capacity-ring{background:linear-gradient(var(--paper),var(--paper)) padding-box,var(--brand-gradient) border-box}
@media(max-width:850px){main>.section{padding-top:95px}main>.section:before{height:77px}.contact{border-radius:45% 55% 0 0 / 36px 43px 0 0;padding-top:85px!important}}
@media(max-width:560px){main>.section{padding-top:83px}main>.section:before{height:58px}.contact{border-radius:45% 55% 0 0 / 27px 35px 0 0;padding-top:73px!important}}
/* Translucent, crossing ribbons sit behind the contact copy and opaque form. */
.contact>.contact-sun{width:clamp(650px,64vw,940px);height:1000px;top:30px;right:clamp(-210px,-12vw,-100px);border:0;border-radius:0;background:url('assets/contact-ribbons.svg') top right/100% auto no-repeat;opacity:1;pointer-events:none}
.contact>.contact-sun:after{display:none}
@media(max-width:850px){.contact>.contact-sun{width:690px;height:850px;top:48px;right:-280px;opacity:.72}}
@media(max-width:560px){.contact>.contact-sun{width:540px;height:700px;top:15px;right:-305px;opacity:.55}}
/* Let these waves overlap the preceding section instead of leaving a plain band. */
main>:is(#services,#resources,#company){padding-top:64px}
main>:is(#services,#resources,#company):before{top:-40px}
main>:is(#about,#approach,#resources){padding-bottom:64px}
@media(max-width:850px){main>:is(#services,#resources,#company){padding-top:52px}main>:is(#services,#resources,#company):before{top:-30px}main>:is(#about,#approach,#resources){padding-bottom:52px}}
@media(max-width:560px){main>:is(#services,#resources,#company){padding-top:42px}main>:is(#services,#resources,#company):before{top:-24px}main>:is(#about,#approach,#resources){padding-bottom:40px}}
